Generated by
JDiff

Class com.itextpdf.kernel.pdf.PdfDocument

Removed interface com.itextpdf.kernel.events.IEventDispatcher.

Removed Methods
void  addCustomMetadataExtensions( XMPMeta) Adds custom XMP metadata extension.
void  checkIsoConformance() Checks whether PDF document conforms to a specific standard.
void  checkIsoConformance( Object, IsoKey ) Checks whether PDF document conforms a specific standard.
void  checkIsoConformance( Object, IsoKey , PdfResources , PdfStream ) Checks whether PDF document conforms a specific standard.
void  checkIsoConformance( Object, IsoKey , PdfResources , PdfStream , Object ) Checks whether PDF document conforms a specific standard.
void  checkShowTextIsoConformance( CanvasGraphicsState, PdfResources ) Checks whether PDF document conforms a specific standard.
void  dispatchEvent( Event) {@inheritDoc}
void  dispatchEvent( Event, boolean ) {@inheritDoc}
void  flushInfoDictionary( boolean) Flush info dictionary if needed.
IConformanceLevel  getConformanceLevel() Get the IConformanceLevel
void  markObjectAsMustBeFlushed( PdfObject) Mark an object with PdfObject.MUST_BE_FLUSHED.
 

Added Methods
void  checkIsoConformance( IValidationContext)  
void  dispatchEvent( AbstractPdfDocumentEvent) Dispatches an event.
PdfConformance  getConformance() Get the PdfConformance
byte[]  getXmpMetadataBytes() Gets XMP Metadata.
byte[]  getXmpMetadataBytes( boolean) Gets XMP Metadata or create a new one.
boolean  isClosing() Checks if the document closing has been started or not.
 

Changed Methods
void  addEventHandler( String, AbstractPdfDocumentEventHandler ) Change in signature from (String, IEventHandler) to (String, AbstractPdfDocumentEventHandler).
Documentation changed from old to new.
Adds new event handler.
PdfDocumentInfo  getDocumentInfo() Documentation changed from old to new.
Gets document information dictionary.
PdfString  getOriginalDocumentId() Documentation changed from old to new.
Gets original document id
boolean  hasEventHandler( AbstractPdfDocumentEventHandler) Change in signature from String to AbstractPdfDocumentEventHandler.
Documentation changed from old to new.
Checks if provided event handler assigned for this document.
void  removeAllHandlers() Documentation changed from old to new.
Removes all event handlers for this document.
void  removeEventHandler( AbstractPdfDocumentEventHandler) Change in signature from (String, IEventHandler) to AbstractPdfDocumentEventHandler.
Documentation changed from old to new.
Removes event handler.
XMPMeta  getXmpMetadata() Change in return type from byte[] to XMPMeta.
Change in exceptions thrown from no exceptions to com.itextpdf.kernel.xmp.XMPException.
Documentation changed from old to new.
Gets XMP Metadata.
XMPMeta  getXmpMetadata( boolean) Change in return type from byte[] to XMPMeta.
Change in exceptions thrown from no exceptions to com.itextpdf.kernel.xmp.XMPException.
Documentation changed from old to new.
Gets XMP Metadata or create a new one.
void  setXmpMetadata( XMPMeta) Documentation changed from old to new.
Sets the XMP Metadata.
void  setXmpMetadata( XMPMeta, SerializeOptions ) Documentation changed from old to new.
Sets the XMP Metadata.
void  setXmpMetadata( byte[]) Documentation changed from old to new.
Sets the XMP Metadata.
 

Removed Fields
EventDispatcher  eventDispatcher  
PdfDocumentInfo  info Document info.
byte[]  xmpMetadata XMP Metadata for the document.
 

Added Fields
DefaultFontStrategy  defaultFontStrategy  
DocumentInfoHelper  documentInfoHelper  
PdfConformance  pdfConformance  
IPdfPageFactory  pdfPageFactory