Generated by
JDiff

Class com.itextpdf.kernel.pdf.PdfDocument

Changed Constructors
PdfDocument( PdfReader, DocumentProperties ) Documentation changed from old to new.
Open PDF document in reading mode.
PdfDocument( PdfWriter, DocumentProperties ) Documentation changed from old to new.
Open PDF document in writing mode.
 

Added Methods
void  storeDestinationToReaddress( PdfDestination, Consumer , Consumer ) Save destinations in a temporary storage for further copying.
 

Changed Methods
void  addAssociatedFile( String, PdfFileSpec ) Documentation changed from old to new.
Adds file associated with PDF document as a whole and identifies the relationship between them.
void  addOutputIntent( PdfOutputIntent) Documentation changed from old to new.
Adds PdfOutputIntent that shall specify the colour characteristics of output devices on which the document might be rendered.
PdfFont  findFont( String, String ) Documentation changed from old to new.
Find PdfFont from loaded fonts with corresponding fontProgram and encoding or CMAP.
void  flushCopiedObjects( PdfDocument) Documentation changed from old to new.
Flush all copied objects and remove them from copied cache.
void  flushObject( PdfObject, boolean ) Documentation changed from old to new.
Flush an object.
PdfString  getModifiedDocumentId() Documentation changed from old to new.
Gets modified document id
PdfString  getOriginalDocumentId() Documentation changed from old to new.
Gets original document id
PdfOutline  getOutlines( boolean) Documentation changed from old to new.
This method returns a complete outline tree of the whole document.
PdfObject  getPdfObject( int) Documentation changed from old to new.
Gets PdfObject by object number.
List  listIndirectReferences() Documentation changed from old to new.
Gets static copy of cross reference table.
void  open( PdfVersion) Documentation changed from old to new.
Initializes document.
boolean  registerProduct( ProductData) Documentation changed from old to new.
Registers a product for debugging purposes.
void  storeLinkAnnotation( PdfPage, PdfLinkAnnotation ) Documentation changed from old to new.
Now deprecated.
will be removed in next major version, it is being replaced with storeDestinationToReaddress
XMPMeta  updateDefaultXmpMetadata() Documentation changed from old to new.
Update XMP metadata values from PdfDocumentInfo.
PdfPage  addNewPage( PageSize) Documentation changed from old to new.
Creates and adds new page with the specified page size.
PdfPage  addNewPage( int) Documentation changed from old to new.
Creates and inserts new page to the document.
PdfPage  addNewPage( int, PageSize ) Documentation changed from old to new.
Creates and inserts new page to the document.
PdfPage  addPage( PdfPage) Documentation changed from old to new.
Adds page to the end of document.
PdfPage  addPage( int, PdfPage ) Documentation changed from old to new.
Inserts page to the document.
void  checkIsoConformance( Object, IsoKey , PdfResources , PdfStream ) Documentation changed from old to new.
Checks whether PDF document conforms a specific standard.
List  copyPagesTo( int, int , PdfDocument ) Documentation changed from old to new.
Copies a range of pages from current document to {@code toDocument} appending copied pages to the end.
List  copyPagesTo( int, int , PdfDocument , IPdfPageExtraCopier ) Documentation changed from old to new.
Copies a range of pages from current document to {@code toDocument} appending copied pages to the end.
List  copyPagesTo( int, int , PdfDocument , int ) Documentation changed from old to new.
Copies a range of pages from current document to {@code toDocument}.
List  copyPagesTo( int, int , PdfDocument , int , IPdfPageExtraCopier ) Documentation changed from old to new.
Copies a range of pages from current document to {@code toDocument}.
List  copyPagesTo( List, PdfDocument ) Documentation changed from old to new.
Copies a range of pages from current document to {@code toDocument} appending copied pages to the end.
List  copyPagesTo( List, PdfDocument , IPdfPageExtraCopier ) Documentation changed from old to new.
Copies a range of pages from current document to {@code toDocument} appending copied pages to the end.
List  copyPagesTo( List, PdfDocument , int ) Documentation changed from old to new.
Copies a range of pages from current document to {@code toDocument}.
List  copyPagesTo( List, PdfDocument , int , IPdfPageExtraCopier ) Documentation changed from old to new.
Copies a range of pages from current document to {@code toDocument}.
PdfPage  getPage( PdfDictionary) Documentation changed from old to new.
Gets the PdfPage instance by PdfDictionary.
PdfPage  getPage( int) Documentation changed from old to new.
Gets the page by page number.
int  getPageNumber( PdfDictionary) Documentation changed from old to new.
Gets page number by PdfDictionary.
int  getPageNumber( PdfPage) Documentation changed from old to new.
Gets page number by page.
byte[]  getXmpMetadata( boolean) Documentation changed from old to new.
Gets XMPMetadata or create a new one.
boolean  movePage( PdfPage, int ) Documentation changed from old to new.
Moves page to new place in same document with all it tag structure
void  movePage( int, int ) Documentation changed from old to new.
Moves page to new place in same document with all it tag structure
boolean  removePage( PdfPage) Documentation changed from old to new.
Removes the first occurrence of the specified page from this document, if it is present.
void  setXmpMetadata( XMPMeta, SerializeOptions ) Documentation changed from old to new.
Sets the XMP Metadata.