#include <FlowDocument.h>
Inheritance diagram for pdftron::Layout::FlowDocument:Public Attributes | |
| TRN_FlowDocument | m_flowdoc_impl |
Public Attributes inherited from pdftron::Layout::ContentElement | |
| TRN_ContentElement | m_impl |
Additional Inherited Members | |
Protected Member Functions inherited from pdftron::Layout::ContentContainer | |
| ContentContainer (TRN_ContentContainer impl) | |
Protected Member Functions inherited from pdftron::Layout::ContentNode | |
| ContentNode (TRN_ContentNode impl) | |
Protected Member Functions inherited from pdftron::Layout::ContentElement | |
| ContentElement (TRN_ContentElement impl) | |
The class FlowDocument. Encapsulates document creation API.
Definition at line 17 of file FlowDocument.h.
| pdftron::Layout::FlowDocument::FlowDocument | ( | ) |
A constructor. Creates an empty document containing a single section.
| pdftron::Layout::FlowDocument::~FlowDocument | ( | ) |
Destroy the FlowDocument object
| Section pdftron::Layout::FlowDocument::AddSection | ( | ) |
Add a new section at the end of the document and make it the current section.
Content added directly to the FlowDocument afterwards is added to the newly created section.
| Section pdftron::Layout::FlowDocument::GetCurrentSection | ( | ) |
Get the current section, i.e. the section that content added directly to the FlowDocument goes into.
| UInt32 pdftron::Layout::FlowDocument::GetNumSections | ( | ) |
Get the number of sections in the document.
Get a section of the document by index.
| index | The zero based index of the section. |
| PDF::PDFDoc pdftron::Layout::FlowDocument::PaginateToPDF | ( | ) |
Paginates the content tree into a PDFDoc object.
| void pdftron::Layout::FlowDocument::SetDefaultMargins | ( | double | left, |
| double | top, | ||
| double | right, | ||
| double | bottom | ||
| ) |
Set the default margins for the document.
| left | The left margin in points |
| top | The top margin in points |
| right | The right margin in points |
| bottom | The bottom margin in points |
| void pdftron::Layout::FlowDocument::SetDefaultPageSize | ( | double | width, |
| double | height | ||
| ) |
Set the default page size for the document.
| width | The width in points |
| height | The height in points |
| TRN_FlowDocument pdftron::Layout::FlowDocument::m_flowdoc_impl |
Definition at line 92 of file FlowDocument.h.