CFx SDK Documentation  2023 SP0
PdfPublishText.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 
34 #include "PdfPublishBaseObject.h"
35 
39 namespace OdPdfPublish{
40 
46 {
47 public:
48  //DOM-IGNORE-BEGIN
51  //DOM-IGNORE-END
52 
56  OdText();
57 
61  virtual ~OdText();
62 
68  void setText(const OdString& text);
69 
79 
80  void setFont(const OdString& fontName, Text::Language language, bool embed);
81 
88 
94  void setColor(ODCOLORREF color);
95 
102  void getText(OdString& text) const;
103 
104  void getFont(Text::StorageType& storageType, Text::StandardFontsType& fontType, OdString& fontName, Text::Language& language, bool& embed) const;
105 
112  void getSize(OdUInt16& size) const;
113 
120  void getColor(ODCOLORREF& color) const;
121 
122 };
123 
128 
129 }
130 #endif // _PDF_PUBLISH_TEXT_INCLUDED_
131 
#define ODCOLORREF
Definition: OdPlatform.h:883
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 setColor(ODCOLORREF color)
ODRX_DECLARE_MEMBERS(OdText)
void setFont(const OdString &fontName, Text::Language language, bool embed)
void getColor(ODCOLORREF &color) const
GLsizeiptr size
Definition: gles2_ext.h:182
SMARTPTR(OdFile)