|
| size_t | GetNumElements () const |
| | Gets the number of elements in a content array.
|
| |
| Element | GetElement (size_t index) const |
| | Gets the element at the specified index in the content array.
|
| |
| void | InsertElement (size_t index, const Element &element) |
| | Inserts an element at the specified index inside the element array.
|
| |
| void | AppendElement (const Element &element) |
| | Appends an element to the end of the content array.
|
| |
| void | RemoveElement (size_t index) |
| | Removes the element at the specified index.
|
| |
|
| Content (PDEContent handle, bool adopt=false) noexcept |
| |
|
| Content (const Content &rhs) noexcept |
| |
|
Content & | operator= (const Content &rhs) noexcept |
| |
|
| Content (Content &&rhs) noexcept |
| |
|
Content & | operator= (Content &&rhs) noexcept |
| |
Represents a content array.
This class provides methods to manipulate the elements that make up the content array. When content objects are arranged in a tree structure and serialized - they create the content stream. The content stream consists of a sequence of instructions that describe the 8 element types
- See also
- PDEElementType. Five of the elements are the graphical elements (path, text, external, inline and shading). There are also the Place element
-
kPDEElementPlace, which represents the MP and DP marked-content operators and the Container element
-
kPDEElementContainer, which represents the other marked-content operators BMC and BDC. The content stream together with the page dictionary define a PDF page.
For more information refer to ISO 32000-2:2020 - 7.8.2 Content streams, 8.2 Graphics objects, 14.6 Marked content