|
iText 9.6.0 API
|
Document outline object See ISO-320001, 12.3.3 Document Outline. More...
Public Member Functions |
|
| virtual String | GetTitle () |
| Gets title of the outline. More... |
|
| virtual void | SetTitle (String title) |
Sets title of the outline with iText.IO.Font.PdfEncodings.UNICODE_BIG encoding, Title key. More... |
|
| virtual void | SetColor (Color color) |
Sets color for the outline entry’s text, C key. More... |
|
| virtual Color | GetColor () |
Gets color for the outline entry's text, C key. More... |
|
| virtual void | SetStyle (int style) |
Sets text style for the outline entry’s text, F key. More... |
|
| virtual ? int | GetStyle () |
Gets text style for the outline entry's text, F key. More... |
|
| virtual PdfDictionary | GetContent () |
| Gets content dictionary. More... |
|
| virtual IList< iText.Kernel.Pdf.PdfOutline > | GetAllChildren () |
| Gets list of children outlines. More... |
|
| virtual iText.Kernel.Pdf.PdfOutline | GetParent () |
| Gets parent outline. More... |
|
| virtual PdfDestination | GetDestination () |
| Gets iText.Kernel.Pdf.Navigation.PdfDestination. More... |
|
| virtual void | AddDestination (PdfDestination destination) |
Adds iText.Kernel.Pdf.Navigation.PdfDestination for the outline, Dest key. More... |
|
| virtual void | AddAction (PdfAction action) |
Adds iText.Kernel.Pdf.Action.PdfAction for the outline, A key. More... |
|
| virtual void | SetOpen (bool open) |
| Defines if the outline needs to be closed or not. More... |
|
| virtual bool | IsOpen () |
| Defines if the outline is open or closed. More... |
|
| virtual iText.Kernel.Pdf.PdfOutline | AddOutline (String title, int position) |
Adds a new PdfOutline with specified parameters as a child to existing PdfOutline and put it to specified position in the existing PdfOutline children list. More... |
|
| virtual iText.Kernel.Pdf.PdfOutline | AddOutline (String title) |
Adds an PdfOutline as a child to existing PdfOutline and put it in the end of the existing PdfOutline children list. More... |
|
| virtual iText.Kernel.Pdf.PdfOutline | AddOutline (iText.Kernel.Pdf.PdfOutline outline) |
Adds an PdfOutline as a child to existing PdfOutline and put it to the end of the existing PdfOutline children list. More... |
|
| virtual void | RemoveOutline () |
| Remove this outline from the document. More... |
|
Static Public Attributes |
|
| const int | FLAG_ITALIC = 1 |
| A flag for displaying the outline item’s text with italic font. More... |
|
| const int | FLAG_BOLD = 2 |
| A flag for displaying the outline item’s text with bold font. More... |
|
Document outline object See ISO-320001, 12.3.3 Document Outline.
|
inlinevirtual |
Adds iText.Kernel.Pdf.Action.PdfAction for the outline, A key.
| action | instance of iText.Kernel.Pdf.Action.PdfAction. |
|
inlinevirtual |
Adds iText.Kernel.Pdf.Navigation.PdfDestination for the outline, Dest key.
| destination | instance of iText.Kernel.Pdf.Navigation.PdfDestination. |
|
inlinevirtual |
Adds an PdfOutline as a child to existing PdfOutline and put it to the end of the existing PdfOutline children list.
| outline | an outline to add. |
|
inlinevirtual |
Adds an PdfOutline as a child to existing PdfOutline and put it in the end of the existing PdfOutline children list.
| title | an outline title |
|
inlinevirtual |
Adds a new PdfOutline with specified parameters as a child to existing PdfOutline and put it to specified position in the existing PdfOutline children list.
| title | an outline title |
| position | a position in the current outline child List where a new outline should be added. If the position equals -1, then the outline will be put in the end of children list. |
|
inlinevirtual |
Gets list of children outlines.
|
inlinevirtual |
Gets color for the outline entry's text, C key.
|
inlinevirtual |
Gets content dictionary.
|
inlinevirtual |
|
inlinevirtual |
Gets parent outline.
|
inlinevirtual |
Gets text style for the outline entry's text, F key.
|
inlinevirtual |
Gets title of the outline.
|
inlinevirtual |
Defines if the outline is open or closed.
|
inlinevirtual |
Remove this outline from the document.
|
inlinevirtual |
|
inlinevirtual |
Defines if the outline needs to be closed or not.
Defines if the outline needs to be closed or not. By default, outlines are open.
| open | if false, the outline will be closed by default |
|
inlinevirtual |
Sets text style for the outline entry’s text, F key.
| style | Could be either FLAG_BOLD or FLAG_ITALIC . Default value is 0. |
|
inlinevirtual |
Sets title of the outline with iText.IO.Font.PdfEncodings.UNICODE_BIG encoding, Title key.
| title | String value. |
|
static |
A flag for displaying the outline item’s text with bold font.
|
static |
A flag for displaying the outline item’s text with italic font.