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 {
18  {
19  void Destroy();
20  public:
25  FlowDocument();
26 
30  ~FlowDocument();
31 
42 
50 
57 
64  Section GetSection(UInt32 index);
65 
74  void SetDefaultMargins(double left, double top, double right, double bottom);
75 
82  void SetDefaultPageSize(double width, double height);
83 
90 
91 #ifndef SWIGHIDDEN
92  TRN_FlowDocument m_flowdoc_impl;
93 #endif
94  };
95 
96 #include <Impl/FlowDocument.inl>
97 } //end pdftron
98 } //end PDF
99 
100 #endif // PDFTRON_H_CPPFlowDocument
void SetDefaultMargins(double left, double top, double right, double bottom)
void SetDefaultPageSize(double width, double height)
Section GetSection(UInt32 index)
TRN_UInt32 UInt32
Definition: BasicTypes.h:13
TRN_FlowDocument m_flowdoc_impl
Definition: FlowDocument.h:92