CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
PdfPublishCADDefinition.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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#include "SSet.h"
38
39
44namespace OdPdfPublish{
45
49class PDFPUBLISH_TOOLKIT OdCADDefinition : public OdObject
50{
51 //DOM-IGNORE-BEGIN
52protected:
54 //DOM-IGNORE-END
55public:
56
61 {
62 public:
67
72
78 virtual void startDatabaseHandling() = 0;
79
85 virtual void endDatabaseHandling() = 0;
86
92 };
93
94
95 //DOM-IGNORE-BEGIN
98 //DOM-IGNORE-END
99
104
113
122
128
137 void setMediaSize(const Page::PaperUnits units, const double width, const double height);
138
145 void setEmbededTrueTypeFonts(const bool state);
146
153 void setTrueTypeFontAsGeometry(const bool state);
154
161 void setSHXTextAsGeometry(const bool state);
162
170 void setTextSearchable(const bool state);
171
179 void setSearchableTextAsHiddenText(const bool state);
180
187 void setSearchableTextInRenderedViews(const bool state);
188
195 void setExportHyperlinks(const bool state);
196
201 void setGeomDPI(const OdUInt32 dpi);
202
207 void setBWImagesDPI(const OdUInt32 dpi);
208
214
219 void setMeasuring(const bool state);
220
226
231 void setUseSimpleGeomOptimization(const bool state);
232
238 void setUseHLR(bool state);
239
245 void setUseFlateCompression(const bool state);
246
252 void setUseDctCompression(const bool state);
253
261
266 void setUseASCIIHexEncoding(const bool state);
267
273 void setUseGsCache(const bool state);
274
280 void setUseParallelVectorization(const bool state);
281
287 void setEnableLayers(const bool state);
288
294 void setIncludeOffLayers(const bool state);
295
300 void setSelectionSet(const OdSelectionSetPtr& selection);
301
307
313
320
330 void getMediaSize(Page::PaperUnits& units, double& width, double& height) const;
331
339 void getEmbededTrueTypeFonts(bool& state) const;
340
348 void getTrueTypeFontAsGeometry(bool& state) const;
349
356 void getSHXTextAsGeometry(bool& state) const;
357
366 void getTextSearchable(bool& state) const;
367
376 void getSearchableTextAsHiddenText(bool& state) const;
377
385 void getSearchableTextInRenderedViews(bool& state) const;
386
394 void getExportHyperlinks(bool& state) const;
395
401 void getGeomDPI(OdUInt32& dpi) const;
402
408 void getBWImagesDPI(OdUInt32& dpi) const;
409
415 void getColorImagesDPI(OdUInt32& dpi) const;
416
422 void getMeasuring(bool& state) const;
423
429 void getColorPolicy(CAD::ColorPolicy& policy) const;
430
436 void getUseSimpleGeomOptimization(bool& state) const;
437
443 void getUseHLR(bool& state) const;
444
450 void getUseFlateCompression(bool& state) const;
451
457 void getUseDctCompression(bool& state) const;
458
464 void getDctCompressionQuality(OdUInt16& quality) const;
465
471 void getUseASCIIHexEncoding(bool& state) const;
472
479 void getUseGsCache(bool& state) const;
480
486 void getUseParallelVectorization(bool& state) const;
487
493 void getEnableLayers(bool& state) const;
494
500 void getIncludeOffLayers(bool& state) const;
501
507 void getSelectionSet(OdSelectionSetPtr& selection) const;
508};
509
514
515}
516#endif // _PDF_PUBLISH_CADDEFINITION_INCLUDED_
517
OdRxObject OdDbBaseDatabase
#define SMARTPTR(classname)
Definition IfcCommon.h:33
unsigned int OdUInt32
unsigned short OdUInt16
#define PDFPUBLISH_TOOLKIT
OdSmartPtr< class OdSelectionSet > OdSelectionSetPtr
Definition SSet.h:156
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 getDctCompressionQuality(OdUInt16 &quality) const
void getSearchableTextInRenderedViews(bool &state) const
void setSelectionSet(const OdSelectionSetPtr &selection)
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 setSearchableTextAsHiddenText(const bool state)
void getSearchableTextAsHiddenText(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)
void setUseDctCompression(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 getUseDctCompression(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 getSelectionSet(OdSelectionSetPtr &selection) const
void setSearchableTextInRenderedViews(const bool state)
void setDctCompressionQuality(const OdUInt16 quality)
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