java.lang.Object
org.sejda.sambox.pdmodel.PDDocumentNameDictionary
- All Implemented Interfaces:
COSObjectable
This class holds all of the name trees that are available at the document level.
- Author:
- Ben Litchfield
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Modifier and TypeMethodDescriptionConvert this standard java object to a COS object.getDests()Get the destination named tree node.Get the embedded files named tree node.Get the document level javascript entries.voidSet the named destinations that are associated with this document.voidSet the named embedded files that are associated with this document.voidSet the named javascript entries that are associated with this document.
-
Constructor Details
-
PDDocumentNameDictionary
- Parameters:
cat- The document catalog that this dictionary is part of.
-
PDDocumentNameDictionary
Constructor.- Parameters:
names- The names dictionary.
-
-
Method Details
-
getCOSObject
Convert this standard java object to a COS object.- Specified by:
getCOSObjectin interfaceCOSObjectable- Returns:
- The cos dictionary for this object.
-
getDests
Get the destination named tree node. The value in this name tree will be PDDestination objects.- Returns:
- The destination name tree node.
-
setDests
Set the named destinations that are associated with this document.- Parameters:
dests- The destination names.
-
getEmbeddedFiles
Get the embedded files named tree node. The value in this name tree will be PDComplexFileSpecification objects.- Returns:
- The embedded files name tree node.
-
setEmbeddedFiles
Set the named embedded files that are associated with this document.- Parameters:
ef- The new embedded files
-
getJavaScript
Get the document level javascript entries. The value in this name tree will be PDTextStream.- Returns:
- The document level named javascript.
-
setJavascript
Set the named javascript entries that are associated with this document.- Parameters:
js- The new Javascript entries.
-