#include <FlowDocument.h>
Public Member Functions | |
| FlowDocument () | |
| ~FlowDocument () | |
| Paragraph | AddParagraph () |
| Paragraph | AddParagraph (const UString &text) |
| List | AddList () |
| Table | AddTable () |
| void | SetDefaultMargins (double left, double top, double right, double bottom) |
| void | SetDefaultPageSize (double width, double height) |
| ContentNode | GetBody () const |
| PDF::PDFDoc | PaginateToPDF () |
Public Attributes | |
| TRN_FlowDocument | m_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.
| pdftron::Layout::FlowDocument::~FlowDocument | ( | ) |
Destroy the FlowDocument object
| List pdftron::Layout::FlowDocument::AddList | ( | ) |
Adds a list to the document.
| Paragraph pdftron::Layout::FlowDocument::AddParagraph | ( | ) |
Adds a paragraph to the document.
Adds a paragraph to the document and sets the text.
| Table pdftron::Layout::FlowDocument::AddTable | ( | ) |
Adds a table to the document.
| ContentNode pdftron::Layout::FlowDocument::GetBody | ( | ) | const |
Gets the body of the document.
The body is the root of the content tree. It can be used to traverse the content tree via the ContentNodeIterator object.
| 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_impl |
Definition at line 95 of file FlowDocument.h.