Loading...
Searching...
No Matches
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
BasicTypes.h
ContentTree.h
PDFDoc.h
UString.h
pdftron::Layout::ContentNode
Definition ContentTree.h:341
pdftron::Layout::FlowDocument::SetDefaultPageSize
void SetDefaultPageSize(double width, double height)
pdftron::Layout::FlowDocument::m_impl
TRN_FlowDocument m_impl
Definition FlowDocument.h:95
pdftron::Layout::FlowDocument::AddTable
Table AddTable()
pdftron::Layout::FlowDocument::~FlowDocument
~FlowDocument()
pdftron::Layout::FlowDocument::GetBody
ContentNode GetBody() const
pdftron::Layout::FlowDocument::SetDefaultMargins
void SetDefaultMargins(double left, double top, double right, double bottom)
pdftron::Layout::FlowDocument::AddParagraph
Paragraph AddParagraph(const UString &text)
pdftron::Layout::FlowDocument::PaginateToPDF
PDF::PDFDoc PaginateToPDF()
pdftron::Layout::FlowDocument::FlowDocument
FlowDocument()
pdftron::Layout::FlowDocument::AddList
List AddList()
pdftron::Layout::FlowDocument::AddParagraph
Paragraph AddParagraph()
pdftron::Layout::List
Definition ContentTree.h:874
pdftron::Layout::Paragraph
Definition ContentTree.h:372
pdftron::Layout::Table
Definition ContentTree.h:786
pdftron::PDF::PDFDoc
Definition PDFDoc.h:72
pdftron::UString
Definition UString.h:28
pdftron::Layout
Definition ContentTree.h:18
pdftron
Definition BasicTypes.h:10