- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FlowDocument.h
Go to the documentation of this file.
1 #ifndef PDFTRON_H_CPPFlowDocument
2 #define PDFTRON_H_CPPFlowDocument
3 #include <C/Layout/TRN_FlowDocument.h>
4
5 #include <Common/BasicTypes.h>
6 #include <Common/UString.h>
7 #include <PDF/PDFDoc.h>
8
9 #include "ContentTree.h"
10
11 namespace pdftron {
12 namespace Layout {
17 class FlowDocument
18 {
19 void Destroy();
20 public:
24 FlowDocument();
25
29 ~FlowDocument();
30
36 Paragraph AddParagraph();
37
43 Paragraph AddParagraph(const UString& text);
44
50 List AddList();
51
57 Table AddTable();
58
67 void SetDefaultMargins(double left, double top, double right, double bottom);
68
75 void SetDefaultPageSize(double width, double height);
76
85 ContentNode GetBody() const;
86
92 PDF::PDFDoc PaginateToPDF();
93
94 #ifndef SWIGHIDDEN
95 TRN_FlowDocument m_impl;
96 #endif
97 };
98
99 #include <Impl/FlowDocument.inl>
100 } //end pdftron
101 } //end PDF
102
103 #endif // PDFTRON_H_CPPFlowDocument
pdftron::Layout::FlowDocument::SetDefaultMargins
void SetDefaultMargins(double left, double top, double right, double bottom)
UString.h
pdftron::Layout::FlowDocument::SetDefaultPageSize
void SetDefaultPageSize(double width, double height)
pdftron::Layout::List
Definition: ContentTree.h:873
pdftron::Layout::FlowDocument::AddParagraph
Paragraph AddParagraph()
pdftron::Layout::FlowDocument::PaginateToPDF
PDF::PDFDoc PaginateToPDF()
pdftron::Layout::FlowDocument::GetBody
ContentNode GetBody() const
pdftron::Layout::FlowDocument::AddList
List AddList()
pdftron::Layout::FlowDocument
Definition: FlowDocument.h:17
pdftron::PDF::PDFDoc
Definition: PDFDoc.h:71
pdftron::Layout::ContentNode
Definition: ContentTree.h:340
pdftron::Layout::FlowDocument::m_impl
TRN_FlowDocument m_impl
Definition: FlowDocument.h:95
PDFDoc.h
BasicTypes.h
pdftron::Layout::Paragraph
Definition: ContentTree.h:371
pdftron::Layout::FlowDocument::AddTable
Table AddTable()
pdftron::Layout::FlowDocument::~FlowDocument
~FlowDocument()
ContentTree.h
pdftron::Layout::FlowDocument::FlowDocument
FlowDocument()
pdftron::UString
Definition: UString.h:27
pdftron::Layout::Table
Definition: ContentTree.h:785