CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublishText.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// PdfPublishText.h
28//
30
31#ifndef _PDF_PUBLISH_TEXT_INCLUDED_
32#define _PDF_PUBLISH_TEXT_INCLUDED_
33
36
41namespace OdPdfPublish{
42
48{
49 //DOM-IGNORE-BEGIN
50protected:
52 //DOM-IGNORE-END
53public:
54 //DOM-IGNORE-BEGIN
57 //DOM-IGNORE-END
58
62 virtual ~OdText();
63
69 void setText(const OdString& text);
70
80
97 void setFont(const OdString& fontName, Text::Language language, bool embed);
98
105
111 void setColor(ODCOLORREF color);
112
119 void getText(OdString& text) const;
120
136 void getFont(Text::StorageType& storageType, Text::StandardFontsType& fontType, OdString& fontName, Text::Language& language, bool& embed) const;
137
144 void getSize(OdUInt16& size) const;
145
152 void getColor(ODCOLORREF& color) const;
153
160 void setLayer(const Od2dGeometryLayerPtr& layer);
161
169 void getLayer(Od2dGeometryLayerPtr& layer) const;
170
171};
172
177
178}
179#endif // _PDF_PUBLISH_TEXT_INCLUDED_
180
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
#define ODCOLORREF
Definition: OdPlatform.h:933
unsigned short OdUInt16
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void getSize(OdUInt16 &size) const
void getFont(Text::StorageType &storageType, Text::StandardFontsType &fontType, OdString &fontName, Text::Language &language, bool &embed) const
void setText(const OdString &text)
void getText(OdString &text) const
void setSize(OdUInt16 size)
void setFont(Text::StandardFontsType fontType)
void setLayer(const Od2dGeometryLayerPtr &layer)
void setColor(ODCOLORREF color)
ODRX_DECLARE_MEMBERS(OdText)
void setFont(const OdString &fontName, Text::Language language, bool embed)
void getLayer(Od2dGeometryLayerPtr &layer) const
void getColor(ODCOLORREF &color) const
GLsizeiptr size
Definition: gles2_ext.h:182