CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublishCADDefinition.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24
26//
27// PdfPublishCADDefinition.h
28//
30
31#ifndef _PDF_PUBLISH_CADDEFINITION_INCLUDED_
32#define _PDF_PUBLISH_CADDEFINITION_INCLUDED_
33
34#include "PdfPublishCommon.h"
36#include "DbBaseDatabase.h"
37
38
43namespace OdPdfPublish{
44
49{
50 //DOM-IGNORE-BEGIN
51protected:
53 //DOM-IGNORE-END
54public:
55
60 {
61 public:
66
71
77 virtual void startDatabaseHandling() = 0;
78
84 virtual void endDatabaseHandling() = 0;
85
91 };
92
93
94 //DOM-IGNORE-BEGIN
97 //DOM-IGNORE-END
98
103
111
119
125
134 void setMediaSize(const Page::PaperUnits units, const double width, const double height);
135
142 void setEmbededTrueTypeFonts(const bool state);
143
150 void setTrueTypeFontAsGeometry(const bool state);
151
158 void setSHXTextAsGeometry(const bool state);
159
167 void setTextSearchable(const bool state);
168
175 void setExportHyperlinks(const bool state);
176
181 void setGeomDPI(const OdUInt32 dpi);
182
187 void setBWImagesDPI(const OdUInt32 dpi);
188
194
199 void setMeasuring(const bool state);
200
206
211 void setUseSimpleGeomOptimization(const bool state);
212
217 void setUseHLR(bool state);
218
223 void setUseFlateCompression(const bool state);
224
229 void setUseASCIIHexEncoding(const bool state);
230
235 void setUseGsCache(const bool state);
236
241 void setUseParallelVectorization(const bool state);
242
247 void setEnableLayers(const bool state);
248
253 void setIncludeOffLayers(const bool state);
254
260
266
273
283 void getMediaSize(Page::PaperUnits& units, double& width, double& height) const;
284
292 void getEmbededTrueTypeFonts(bool& state) const;
293
301 void getTrueTypeFontAsGeometry(bool& state) const;
302
309 void getSHXTextAsGeometry(bool& state) const;
310
319 void getTextSearchable(bool& state) const;
320
328 void getExportHyperlinks(bool& state) const;
329
335 void getGeomDPI(OdUInt32& dpi) const;
336
342 void getBWImagesDPI(OdUInt32& dpi) const;
343
349 void getColorImagesDPI(OdUInt32& dpi) const;
350
356 void getMeasuring(bool& state) const;
357
363 void getColorPolicy(CAD::ColorPolicy& policy) const;
364
370 void getUseSimpleGeomOptimization(bool& state) const;
371
376 void getUseHLR(bool& state) const;
377
382 void getUseFlateCompression(bool& state) const;
383
388 void getUseASCIIHexEncoding(bool& state) const;
389
395 void getUseGsCache(bool& state) const;
396
401 void getUseParallelVectorization(bool& state) const;
402
407 void getEnableLayers(bool& state) const;
408
413 void getIncludeOffLayers(bool& state) const;
414};
415
420
421}
422#endif // _PDF_PUBLISH_CADDEFINITION_INCLUDED_
423
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
unsigned int OdUInt32
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void setLayoutName(const OdString &name)
void getTextSearchable(bool &state) const
void setSHXTextAsGeometry(const bool state)
void setColorPolicy(const CAD::ColorPolicy policy)
void setDatabaseWrapper(DatabaseWrapperInterface *database_wrapper)
void getEnableLayers(bool &state) const
void getColorPolicy(CAD::ColorPolicy &policy) const
void setEmbededTrueTypeFonts(const bool state)
void getUseFlateCompression(bool &state) const
void setUseFlateCompression(const bool state)
OdDbBaseDatabase * getDatabase() const
void getBWImagesDPI(OdUInt32 &dpi) const
void getMediaSize(Page::PaperUnits &units, double &width, double &height) const
void setUseGsCache(const bool state)
DatabaseWrapperInterface * getDatabaseWrapper() const
void setTextSearchable(const bool state)
void getSHXTextAsGeometry(bool &state) const
void getEmbededTrueTypeFonts(bool &state) const
void setUseParallelVectorization(const bool state)
void setExportHyperlinks(const bool state)
void setColorImagesDPI(const OdUInt32 dpi)
void setIncludeOffLayers(const bool state)
ODRX_DECLARE_MEMBERS(OdCADDefinition)
void getIncludeOffLayers(bool &state) const
void getUseSimpleGeomOptimization(bool &state) const
void setEnableLayers(const bool state)
void setUseSimpleGeomOptimization(const bool state)
void getUseParallelVectorization(bool &state) const
void getGeomDPI(OdUInt32 &dpi) const
void setMediaSize(const Page::PaperUnits units, const double width, const double height)
void getMeasuring(bool &state) const
void getColorImagesDPI(OdUInt32 &dpi) const
void getLayoutName(OdString &name) const
void setUseASCIIHexEncoding(const bool state)
void setGeomDPI(const OdUInt32 dpi)
void setMeasuring(const bool state)
void getExportHyperlinks(bool &state) const
void setDatabase(OdDbBaseDatabase *database)
void getTrueTypeFontAsGeometry(bool &state) const
void getUseHLR(bool &state) const
void getUseGsCache(bool &state) const
void getUseASCIIHexEncoding(bool &state) const
void setTrueTypeFontAsGeometry(const bool state)
void setBWImagesDPI(const OdUInt32 dpi)
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110