Loading...
Searching...
No Matches
CADConvertOptions.h
Go to the documentation of this file.
1// This file is autogenerated: please see the codegen template "Options"
2#ifndef PDFTRON_H_CPPPDFCADConvertOptions
3#define PDFTRON_H_CPPPDFCADConvertOptions
4
5#include <PDF/OptionsBase.h>
6
7 namespace pdftron{ namespace PDF{
8
9 class CADConvertOptions
10{
11 public:
15 enum LayoutSortOrder
16 {
17 e_default_order = 0,
18 e_alphabetic_order = 1,
19 e_alphanumeric_order = 2
20 };
21
22 CADConvertOptions();
23 ~CADConvertOptions();
24
25
31 bool GetAllowThinLines();
32
39 CADConvertOptions& SetAllowThinLines(bool value);
40
41
47 bool GetAutoRotate();
48
55 CADConvertOptions& SetAutoRotate(bool value);
56
57
63 ColorPt GetBackgroundColor();
64
71 CADConvertOptions& SetBackgroundColor(ColorPt value);
72
73
79 UString GetColorMode();
80
87 CADConvertOptions& SetColorMode(const UString& value);
88
95 bool GetIncludeInvisibleLayers();
96
104 CADConvertOptions& SetIncludeInvisibleLayers(bool value);
105
106
112 bool GetIncludeModel();
113
120 CADConvertOptions& SetIncludeModel(bool value);
121
122
129 bool GetIncludeNonPlottableLayers();
130
138 CADConvertOptions& SetIncludeNonPlottableLayers(bool value);
139
145 LayoutSortOrder GetLayoutSortOrder();
146
153 CADConvertOptions& SetLayoutSortOrder(LayoutSortOrder value);
154
155
161 UInt32 GetMaxXrefDepth();
162
169 CADConvertOptions& SetMaxXrefDepth(UInt32 value);
170
171
177 double GetPageHeight();
178
185 CADConvertOptions& SetPageHeight(double value);
186
187
193 double GetPageWidth();
194
201 CADConvertOptions& SetPageWidth(double value);
202
203
209 double GetRasterDPI();
210
217 CADConvertOptions& SetRasterDPI(double value);
218
219
220
227 CADConvertOptions& AddSheets(const UString& value);
228
229
235 bool GetUnderlineTextDataFields();
236
243 CADConvertOptions& SetUnderlineTextDataFields(bool value);
244
245
251 bool GetUseScaleFromDocument();
252
259 CADConvertOptions& SetUseScaleFromDocument(bool value);
260
261
267 bool GetZoomToExtents();
268
275 CADConvertOptions& SetZoomToExtents(bool value);
276
277
278 // @cond PRIVATE_DOC
279 #ifndef SWIGHIDDEN
280 const SDF::Obj& GetInternalObj() const;
281 SDF::Obj& GetInternalObj();
282
283 private:
284
285 SDF::ObjSet m_obj_set;
286 SDF::Obj m_dict;
287 #endif
288 // @endcond
289};
290
291}
292}
293
294#include "../Impl/CADConvertOptions.inl"
295#endif // PDFTRON_H_CPPPDFCADConvertOptions
OptionsBase.h
pdftron::PDF::CADConvertOptions::SetPageHeight
CADConvertOptions & SetPageHeight(double value)
pdftron::PDF::CADConvertOptions::SetAllowThinLines
CADConvertOptions & SetAllowThinLines(bool value)
pdftron::PDF::CADConvertOptions::GetPageWidth
double GetPageWidth()
pdftron::PDF::CADConvertOptions::GetAutoRotate
bool GetAutoRotate()
pdftron::PDF::CADConvertOptions::AddSheets
CADConvertOptions & AddSheets(const UString &value)
pdftron::PDF::CADConvertOptions::SetRasterDPI
CADConvertOptions & SetRasterDPI(double value)
pdftron::PDF::CADConvertOptions::~CADConvertOptions
~CADConvertOptions()
pdftron::PDF::CADConvertOptions::SetIncludeInvisibleLayers
CADConvertOptions & SetIncludeInvisibleLayers(bool value)
pdftron::PDF::CADConvertOptions::SetUnderlineTextDataFields
CADConvertOptions & SetUnderlineTextDataFields(bool value)
pdftron::PDF::CADConvertOptions::SetBackgroundColor
CADConvertOptions & SetBackgroundColor(ColorPt value)
pdftron::PDF::CADConvertOptions::GetLayoutSortOrder
LayoutSortOrder GetLayoutSortOrder()
pdftron::PDF::CADConvertOptions::GetAllowThinLines
bool GetAllowThinLines()
pdftron::PDF::CADConvertOptions::GetUnderlineTextDataFields
bool GetUnderlineTextDataFields()
pdftron::PDF::CADConvertOptions::SetIncludeModel
CADConvertOptions & SetIncludeModel(bool value)
pdftron::PDF::CADConvertOptions::GetPageHeight
double GetPageHeight()
pdftron::PDF::CADConvertOptions::GetColorMode
UString GetColorMode()
pdftron::PDF::CADConvertOptions::SetLayoutSortOrder
CADConvertOptions & SetLayoutSortOrder(LayoutSortOrder value)
pdftron::PDF::CADConvertOptions::GetIncludeModel
bool GetIncludeModel()
pdftron::PDF::CADConvertOptions::SetAutoRotate
CADConvertOptions & SetAutoRotate(bool value)
pdftron::PDF::CADConvertOptions::SetIncludeNonPlottableLayers
CADConvertOptions & SetIncludeNonPlottableLayers(bool value)
pdftron::PDF::CADConvertOptions::SetZoomToExtents
CADConvertOptions & SetZoomToExtents(bool value)
pdftron::PDF::CADConvertOptions::GetIncludeNonPlottableLayers
bool GetIncludeNonPlottableLayers()
pdftron::PDF::CADConvertOptions::SetMaxXrefDepth
CADConvertOptions & SetMaxXrefDepth(UInt32 value)
pdftron::PDF::CADConvertOptions::GetUseScaleFromDocument
bool GetUseScaleFromDocument()
pdftron::PDF::CADConvertOptions::SetPageWidth
CADConvertOptions & SetPageWidth(double value)
pdftron::PDF::CADConvertOptions::GetIncludeInvisibleLayers
bool GetIncludeInvisibleLayers()
pdftron::PDF::CADConvertOptions::GetRasterDPI
double GetRasterDPI()
pdftron::PDF::CADConvertOptions::GetBackgroundColor
ColorPt GetBackgroundColor()
pdftron::PDF::CADConvertOptions::CADConvertOptions
CADConvertOptions()
pdftron::PDF::CADConvertOptions::SetColorMode
CADConvertOptions & SetColorMode(const UString &value)
pdftron::PDF::CADConvertOptions::GetMaxXrefDepth
UInt32 GetMaxXrefDepth()
pdftron::PDF::CADConvertOptions::LayoutSortOrder
LayoutSortOrder
Definition CADConvertOptions.h:16
pdftron::PDF::CADConvertOptions::e_default_order
@ e_default_order
Default sort order. In this case there is no explicit sort performed, and pages are placed in the ord...
Definition CADConvertOptions.h:17
pdftron::PDF::CADConvertOptions::e_alphabetic_order
@ e_alphabetic_order
Alphabetic sort order.
Definition CADConvertOptions.h:18
pdftron::PDF::CADConvertOptions::e_alphanumeric_order
@ e_alphanumeric_order
Alphanumeric sort order (also called natural sort order)
Definition CADConvertOptions.h:19
pdftron::PDF::CADConvertOptions::SetUseScaleFromDocument
CADConvertOptions & SetUseScaleFromDocument(bool value)
pdftron::PDF::CADConvertOptions::GetZoomToExtents
bool GetZoomToExtents()
pdftron::PDF::ColorPt
Definition ColorSpace.h:21
pdftron::SDF::Obj
Definition Obj.h:41
pdftron::SDF::ObjSet
Definition ObjSet.h:18
pdftron::UString
Definition UString.h:28
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10
pdftron::UInt32
TRN_UInt32 UInt32
Definition BasicTypes.h:13