Class DocumentCopyOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf set totrue: All embedded files are copied.booleanCopy document information dictionary and XMP metadata.booleanCopy the PDF/A output intent.booleanCopy viewer properties, which include: Page Layout, Page Mode, Open Actions, Piece Info, and Collection properties.voidsetCopyEmbeddedFiles(boolean value) If set totrue: All embedded files are copied.voidsetCopyMetadata(boolean value) Copy document information dictionary and XMP metadata.voidsetCopyOutputIntent(boolean value) Copy the PDF/A output intent.voidsetCopyViewerSettings(boolean value) Copy viewer properties, which include: Page Layout, Page Mode, Open Actions, Piece Info, and Collection properties.Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
Constructor Details
-
DocumentCopyOptions
public DocumentCopyOptions()
-
-
Method Details
-
getCopyMetadata
public boolean getCopyMetadata()Copy document information dictionary and XMP metadata.
Default:
false. -
setCopyMetadata
public void setCopyMetadata(boolean value) Copy document information dictionary and XMP metadata.
Default:
false. -
getCopyOutputIntent
public boolean getCopyOutputIntent()Copy the PDF/A output intent.
Default:
false. -
setCopyOutputIntent
public void setCopyOutputIntent(boolean value) Copy the PDF/A output intent.
Default:
false. -
getCopyViewerSettings
public boolean getCopyViewerSettings()Copy viewer properties, which include: Page Layout, Page Mode, Open Actions, Piece Info, and Collection properties.
Default:
false. -
setCopyViewerSettings
public void setCopyViewerSettings(boolean value) Copy viewer properties, which include: Page Layout, Page Mode, Open Actions, Piece Info, and Collection properties.
Default:
false. -
getCopyEmbeddedFiles
public boolean getCopyEmbeddedFiles()If set to
true: All embedded files are copied. If set tofalse: Only embedded files associated with pages within the given page range are copied. (PDF/A-3 only,PageCopyOptions.getCopyAssociatedFiles()must be set.)Default:
false. -
setCopyEmbeddedFiles
public void setCopyEmbeddedFiles(boolean value) If set to
true: All embedded files are copied. If set tofalse: Only embedded files associated with pages within the given page range are copied. (PDF/A-3 only,PageCopyOptions.getCopyAssociatedFiles()must be set.)Default:
false.
-