Class DocumentCopyOptions
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.documentassembly.DocumentCopyOptions
-
public class DocumentCopyOptions extends NativeObject
The document-level copy options applied when copying a document.
-
-
Constructor Summary
Constructors Constructor Description DocumentCopyOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getCopyEmbeddedFiles()
If set totrue
: All embedded files are copied.boolean
getCopyMetadata()
Copy document information dictionary and XMP metadata.boolean
getCopyOutputIntent()
Copy the PDF/A output intent.boolean
getCopyViewerSettings()
Copy viewer properties, which include: Page Layout, Page Mode, Open Actions, Piece Info, and Collection properties.void
setCopyEmbeddedFiles(boolean value)
If set totrue
: All embedded files are copied.void
setCopyMetadata(boolean value)
Copy document information dictionary and XMP metadata.void
setCopyOutputIntent(boolean value)
Copy the PDF/A output intent.void
setCopyViewerSettings(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
-
-
-
-
Method Detail
-
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
.
-
-