|
iText 9.4.0 API
|
A target dictionary locates the target in relation to the source, in much the same way that a relative path describes the physical relationship between two files in a file system. More...
Public Member Functions |
|
| virtual iText.Kernel.Pdf.Action.PdfTarget | SetName (String name) |
| Sets the name of the file in the EmbeddedFiles name tree for the child target located in the EmbeddedFiles. More... |
|
| virtual String | GetName () |
| Gets name of the file in the EmbeddedFiles name tree for the child target located in the EmbeddedFiles. More... |
|
| virtual iText.Kernel.Pdf.Action.PdfTarget | SetAnnotation (PdfFileAttachmentAnnotation pdfAnnotation, PdfDocument pdfDocument) |
| Sets the /P and /A values corresponding to provided annotation, which is already added to a page. More... |
|
| virtual PdfFileAttachmentAnnotation | GetAnnotation (PdfDocument pdfDocument) |
| Gets the annotation specified by /A and /P entry values. More... |
|
| virtual iText.Kernel.Pdf.Action.PdfTarget | SetTarget (iText.Kernel.Pdf.Action.PdfTarget target) |
| Sets a target dictionary specifying additional path information to the target document. More... |
|
| virtual iText.Kernel.Pdf.Action.PdfTarget | GetTarget () |
| Get a target dictionary specifying additional path information to the target document. More... |
|
| virtual iText.Kernel.Pdf.Action.PdfTarget | Put (PdfName key, PdfObject value) |
| This is a convenient method to put key-value pairs to the underlying iText.Kernel.Pdf.PdfObject. More... |
|
Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > |
|
| virtual T | GetPdfObject () |
| virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document, PdfIndirectReference reference) |
| Marks object behind wrapper to be saved as indirect. More... |
|
| virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document) |
| Marks object behind wrapper to be saved as indirect. More... |
|
| virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | SetModified () |
| virtual void | Flush () |
| virtual bool | IsFlushed () |
Static Public Member Functions |
|
| static iText.Kernel.Pdf.Action.PdfTarget | Create (PdfDictionary pdfObject) |
| Creates a new PdfTarget object by the underlying dictionary. More... |
|
| static iText.Kernel.Pdf.Action.PdfTarget | CreateParentTarget () |
| Creates a new target object pointing to the parent of the current document. More... |
|
| static iText.Kernel.Pdf.Action.PdfTarget | CreateChildTarget () |
| Creates a new target object pointing to the child of the current document. More... |
|
| static iText.Kernel.Pdf.Action.PdfTarget | CreateChildTarget (String embeddedFileName) |
| Creates a new target object pointing to a file in the EmbeddedFiles name tree. More... |
|
| static iText.Kernel.Pdf.Action.PdfTarget | CreateChildTarget (String namedDestination, String annotationIdentifier) |
| Creates a new target object pointing to a file attachment annotation. More... |
|
| static iText.Kernel.Pdf.Action.PdfTarget | CreateChildTarget (int pageNumber, int annotationIndex) |
| Creates a new target object pointing to a file attachment annotation. More... |
|
Package Functions |
|
| override bool | IsWrappedObjectMustBeIndirect () |
| Defines if the object behind this wrapper must be an indirect object in the resultant document. More... |
|
Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > |
|
| PdfObjectWrapper (T pdfObject) | |
| virtual void | SetPdfObject (T pdfObject) |
| virtual void | SetForbidRelease () |
| virtual void | UnsetForbidRelease () |
| virtual void | EnsureUnderlyingObjectHasIndirectReference () |
Additional Inherited Members |
|
Static Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > |
|
| static void | MarkObjectAsIndirect (PdfObject pdfObject) |
| static void | EnsureObjectIsAddedToDocument (PdfObject @object) |
Some wrappers use object's indirect reference to obtain the PdfDocument to which the object belongs to. More... |
|
A target dictionary locates the target in relation to the source, in much the same way that a relative path describes the physical relationship between two files in a file system.
A target dictionary locates the target in relation to the source, in much the same way that a relative path describes the physical relationship between two files in a file system. Target dictionaries may be nested recursively to specify one or more intermediate targets before reaching the final one.
|
inlinestatic |
|
inlinestatic |
Creates a new target object pointing to the child of the current document.
|
inlinestatic |
Creates a new target object pointing to a file attachment annotation.
| pageNumber | the number of the page in the current document, one-based |
| annotationIndex | the index of the annotation in the Annots entry of the page, zero-based |
|
inlinestatic |
Creates a new target object pointing to a file in the EmbeddedFiles name tree.
| embeddedFileName | the name of the file in the EmbeddedFiles name tree |
|
inlinestatic |
Creates a new target object pointing to a file attachment annotation.
| namedDestination | a named destination in the current document that provides the page number of the file attachment annotation |
| annotationIdentifier | a unique annotation identifier ( iText.Kernel.Pdf.PdfName.NM entry) of the annotation |
|
inlinestatic |
Creates a new target object pointing to the parent of the current document.
|
inlinevirtual |
Gets the annotation specified by /A and /P entry values.
| pdfDocument | specifies the corresponding document |
|
inlinevirtual |
Gets name of the file in the EmbeddedFiles name tree for the child target located in the EmbeddedFiles.
|
inlinevirtual |
Get a target dictionary specifying additional path information to the target document.
Get a target dictionary specifying additional path information to the target document. If the current target object is the final node in the target path, null is returned.
|
inlinepackagevirtual |
Defines if the object behind this wrapper must be an indirect object in the resultant document.
Implements iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary >.
|
inlinevirtual |
This is a convenient method to put key-value pairs to the underlying iText.Kernel.Pdf.PdfObject.
| key | the key, a iText.Kernel.Pdf.PdfName instance |
| value | the value |
|
inlinevirtual |
Sets the /P and /A values corresponding to provided annotation, which is already added to a page.
| pdfAnnotation | the annotation to be set |
| pdfDocument | the corresponding document |
|
inlinevirtual |
Sets the name of the file in the EmbeddedFiles name tree for the child target located in the EmbeddedFiles.
| name | the name of the file |
|
inlinevirtual |
Sets a target dictionary specifying additional path information to the target document.
Sets a target dictionary specifying additional path information to the target document. If this entry is absent, the current document is the target file containing the destination.
| target | the additional path target dictionary |