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
11namespace pdftron {
12 namespace Layout {
18 {
19 void Destroy();
20 public:
25
30
37
44
51
58
67 void SetDefaultMargins(double left, double top, double right, double bottom);
68
75 void SetDefaultPageSize(double width, double height);
76
86
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
void SetDefaultPageSize(double width, double height)
ContentNode GetBody() const
void SetDefaultMargins(double left, double top, double right, double bottom)
Paragraph AddParagraph(const UString &text)