CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
PdfPublishTextField.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// PdfPublishTextField.h
28//
30
31#ifndef _PDF_PUBLISH_TEXTFIELD_INCLUDED_
32#define _PDF_PUBLISH_TEXTFIELD_INCLUDED_
33
35
40namespace OdPdfPublish{
41
46class PDFPUBLISH_TOOLKIT OdTextField : public OdObject
47{
48 //DOM-IGNORE-BEGIN
49protected:
51 //DOM-IGNORE-END
52public:
53 //DOM-IGNORE-BEGIN
56 //DOM-IGNORE-END
57
61 virtual ~OdTextField();
62
71 void setName(const OdString& name);
72
82
101 void setFont(const OdString& fontName, Text::FontStyle fontStyle = Text::kRegular, Text::Language language = Text::kDefault, bool embed = false);
102
109
116
123 void setTooltip(const OdString& tooltip);
124
131 void setVisibility(bool state);
132
139 void setPrintability(bool state);
140
147 void setLock(bool state);
148
155 void setBorder(bool state);
156
163
173
183
190
197
207
215 void setMultiline(bool state);
216
224 void setScrolling(bool state);
225
232 void setReadOnly(bool state);
233
243
250 void getName(OdString& name) const;
251
269 void getFont(Text::StorageType& storageType, Text::StandardFontsType& fontType, OdString& fontName, Text::FontStyle& fontStyle, Text::Language& language, bool& embed) const;
270
278
285 void getTextColor(ODCOLORREF& color) const;
286
295 void getTooltip(OdString& tooltip) const;
296
304 void getVisibility(bool& state) const;
305
313 void getPrintability(bool& state) const;
314
322 void getLock(bool& state) const;
323
331 void getBorder(bool& state) const;
332
339 void getBorderColor(ODCOLORREF& color) const;
340
350 void getBorderThickness(Border::Thickness& thickness) const;
351
360 void getBorderStyle(Border::Style& style) const;
361
368 void getFillColor(ODCOLORREF& color) const;
369
377
387 void getTextJustification(Text::Justification& justification) const;
388
397 void getMultiline(bool& state) const;
398
407 void getScrolling(bool& state) const;
408
416 void getReadOnly(bool& state) const;
417
427 void getTextRotation(Text::Rotation& rotation) const;
428
429};
430
435
436}
437#endif // _PDF_PUBLISH_TEXTFIELD_INCLUDED_
438
#define SMARTPTR(classname)
Definition IfcCommon.h:33
#define ODCOLORREF
unsigned short OdUInt16
#define PDFPUBLISH_TOOLKIT
void getTextRotation(Text::Rotation &rotation) const
void setFont(Text::StandardFontsType fontType)
void setTextColor(ODCOLORREF color)
void getTextJustification(Text::Justification &justification) const
void setVisibility(bool state)
void getTooltip(OdString &tooltip) const
void setReadOnly(bool state)
void getLock(bool &state) const
ODRX_DECLARE_MEMBERS(OdTextField)
void getMultiline(bool &state) const
void getReadOnly(bool &state) const
void getFillColor(ODCOLORREF &color) const
void setTooltip(const OdString &tooltip)
void setBorder(bool state)
void setFont(const OdString &fontName, Text::FontStyle fontStyle=Text::kRegular, Text::Language language=Text::kDefault, bool embed=false)
void getBorder(bool &state) const
void setPrintability(bool state)
void getTextColor(ODCOLORREF &color) const
void setFontSize(OdUInt16 size)
void setTextJustification(Text::Justification justification)
void setScrolling(bool state)
void setLock(bool state)
void setDefaultValue(const OdString &value)
void setBorderStyle(Border::Style style)
void setBorderThickness(Border::Thickness thickness)
void setTextRotation(Text::Rotation rotation)
void getBorderColor(ODCOLORREF &color) const
void getPrintability(bool &state) const
void setMultiline(bool state)
void setFillColor(ODCOLORREF color)
void setBorderColor(ODCOLORREF color)
void getBorderStyle(Border::Style &style) const
void getVisibility(bool &state) const
void getDefaultValue(OdString &value) const
void getBorderThickness(Border::Thickness &thickness) const
void setName(const OdString &name)
void getFontSize(OdUInt16 &size) const
void getName(OdString &name) const
void getFont(Text::StorageType &storageType, Text::StandardFontsType &fontType, OdString &fontName, Text::FontStyle &fontStyle, Text::Language &language, bool &embed) const
void getScrolling(bool &state) const
GLsizeiptr size
Definition gles2_ext.h:182
GLuint const GLchar * name
Definition gles2_ext.h:265
GLsizei const GLfloat * value
Definition gles2_ext.h:302