A PDF outline item has an title and a destination.
More...
#include <PdfOutlines.h>
|
class | PdfOutlines |
|
class | PdfDocument |
|
A PDF outline item has an title and a destination.
It is an element in the documents outline which shows its hierarchical structure.
- See also
- PdfDocument
-
PdfOutlines
-
PdfDestination
◆ CreateChild()
Create a PdfOutlineItem that is on the same level and follows the current item.
- Parameters
-
◆ CreateNext()
Create a PdfOutlineItem that is on the same level and follows the current item.
- Parameters
-
◆ First()
- Returns
- the first outline item that is a child of this item
◆ GetAction()
Get the action of this outline.
- Returns
- the action, if there is one, or nullptr
◆ GetDestination()
Get the destination of this outline.
- Returns
- the destination, if there is one, or nullptr
◆ GetParentOutline()
- Returns
- the parent item of this item or nullptr if it is the top level outlines dictionary
◆ GetTextColor()
PdfColor PdfOutlineItem::GetTextColor |
( |
| ) |
const |
Get the color of the title of this item.
Supported since PDF 1.4.
- See also
- SetTextColor
◆ GetTextFormat()
Get the text format of the title.
- Returns
- the text format of the title
◆ GetTitle()
const PdfString & PdfOutlineItem::GetTitle |
( |
| ) |
const |
Get the title of this item.
- Returns
- the title as PdfString
◆ Last()
- Returns
- the last outline item that is a child of this item
◆ Next()
- Returns
- the next item or nullptr if this is the last on the current level
◆ Prev()
- Returns
- the previous item or nullptr if this is the first on the current level
◆ SetAction()
Set the action of this outline.
- Parameters
-
◆ SetDestination()
Set the destination of this outline.
- Parameters
-
◆ SetTextColor()
void PdfOutlineItem::SetTextColor |
( |
const PdfColor & |
color | ) |
|
Set the color of the title of this item.
This property is supported since PDF 1.4.
- Parameters
-
color | the RGB color that should be set |
◆ SetTextFormat()
Set the text format of the title.
Supported since PDF 1.4.
- Parameters
-
format | the formatting options for the title |
◆ SetTitle()
void PdfOutlineItem::SetTitle |
( |
const PdfString & |
title | ) |
|
Set the title of this outline item.
- Parameters
-
The documentation for this class was generated from the following files: