示例#1
0
        internal PDFDocumentInformation GetDocumentInformation(PDDocument pdfDocument)
        {
            PDDocumentInformation  documentInformation    = pdfDocument.getDocumentInformation();
            PDFDocumentInformation pDFDocumentInformation = new PDFDocumentInformation()
            {
                Author = documentInformation.getAuthor()
            };

            documentInformation.getCreationDate();
            pDFDocumentInformation.CreationDate = this.ConvertJavaDateToCSharp(documentInformation.getCreationDate());
            pDFDocumentInformation.Creator      = documentInformation.getCreator();
            pDFDocumentInformation.Keywords     = documentInformation.getKeywords();
            pDFDocumentInformation.ModifiedDate = this.ConvertJavaDateToCSharp(documentInformation.getModificationDate());
            pDFDocumentInformation.Producer     = documentInformation.getProducer();
            pDFDocumentInformation.Subject      = documentInformation.getSubject();
            pDFDocumentInformation.Title        = documentInformation.getTitle();
            pDFDocumentInformation.Trapped      = documentInformation.getTrapped();
            return(pDFDocumentInformation);
        }
示例#2
0
 public void SetDocumentInformation(PDFDocumentInformation info)
 {
     this.pdfDocument.setDocumentInformation(info.PDFBoxDocumentInformation);
 }