Poppler CPP 24.12.0
|
#include "poppler/cpp/poppler-toc.h"
Public Types | |
typedef std::vector< toc_item * >::const_iterator | iterator |
Public Member Functions | |
~toc_item () | |
std::vector< toc_item * > | children () const |
iterator | children_begin () const |
iterator | children_end () const |
bool | is_open () const |
ustring | title () const |
Represents an item of the TOC (Table of Contents) of a PDF document.
std::vector< toc_item * >::const_iterator poppler::toc_item::iterator |
An iterator for the children of a TOC item.
toc_item::~toc_item | ( | ) |
Destroys the TOC item.
std::vector< toc_item * > toc_item::children | ( | ) | const |
toc_item::iterator toc_item::children_begin | ( | ) | const |
toc_item::iterator toc_item::children_end | ( | ) | const |
bool toc_item::is_open | ( | ) | const |
Returns whether the TOC item should be represented as open when showing the TOC.
This is not a functional behaviour, but a visualisation hint of the item. Regardless of this state, the item can be expanded and collapsed freely when represented in a TOC view of a PDF viewer.
ustring toc_item::title | ( | ) | const |