CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublishListBox.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// PdfPublishListBox.h
28//
30
31#ifndef _PDF_PUBLISH_LISTBOX_INCLUDED_
32#define _PDF_PUBLISH_LISTBOX_INCLUDED_
33
35#include "StringArray.h"
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 ~OdListBox();
63
72 void setName(const OdString& name);
73
89 void setFont(const OdString& fontName, Text::FontStyle fontStyle = Text::kRegular);
90
99 void setFont(const Text::StandardFontsType fontType);
100
107
114
121 void setTooltip(const OdString& tooltip);
122
129 void setVisibility(bool state);
130
137 void setPrintability(bool state);
138
148
155 void setLock(bool state);
156
163 void setBorder(bool state);
164
171
181
191
198
205 void setMultipleSelection(bool state);
206
214 void setContents(const OdStringArray& displayed_values, const OdStringArray& export_values);
215
216
223 void getName(OdString& name) const;
224
239 void getFont(Text::StorageType& storageType, Text::StandardFontsType& fontType, OdString& fontName, Text::FontStyle& fontStyle) const;
240
248
255 void getTextColor(ODCOLORREF& color) const;
256
265 void getTooltip(OdString& tooltip) const;
266
274 void getVisibility(bool& state) const;
275
283 void getPrintability(bool& state) const;
284
294 void getTextRotation(Text::Rotation& rotation) const;
295
303 void getLock(bool& state) const;
304
312 void getBorder(bool& state) const;
313
320 void getBorderColor(ODCOLORREF& color) const;
321
331 void getBorderThickness(Border::Thickness& thickness) const;
332
342 void getBorderStyle(Border::Style& style) const;
343
350 void getFillColor(ODCOLORREF& color) const;
351
358 void getMultipleSelection(bool& state) const;
359
367 void getContents(OdStringArray& displayed_values, OdStringArray& export_values) const;
368
369};
370
375
376}
377#endif // _PDF_PUBLISH_LISTBOX_INCLUDED_
378
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
#define ODCOLORREF
Definition: OdPlatform.h:933
unsigned short OdUInt16
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void getContents(OdStringArray &displayed_values, OdStringArray &export_values) const
void getLock(bool &state) const
void setBorderThickness(Border::Thickness thickness)
ODRX_DECLARE_MEMBERS(OdListBox)
void setTextRotation(Text::Rotation rotation)
void getName(OdString &name) const
void getFontSize(OdUInt16 &size) const
void getBorderThickness(Border::Thickness &thickness) const
void getTextColor(ODCOLORREF &color) const
void setFontSize(OdUInt16 size)
void setBorderStyle(Border::Style style)
void getVisibility(bool &state) const
void getTooltip(OdString &tooltip) const
void setMultipleSelection(bool state)
void setBorderColor(ODCOLORREF color)
void getBorderColor(ODCOLORREF &color) const
void setPrintability(bool state)
void setTextColor(ODCOLORREF color)
void getFont(Text::StorageType &storageType, Text::StandardFontsType &fontType, OdString &fontName, Text::FontStyle &fontStyle) const
void setFont(const OdString &fontName, Text::FontStyle fontStyle=Text::kRegular)
void setVisibility(bool state)
void getBorderStyle(Border::Style &style) const
void setName(const OdString &name)
void getMultipleSelection(bool &state) const
void setLock(bool state)
void setBorder(bool state)
void getBorder(bool &state) const
void getPrintability(bool &state) const
void setTooltip(const OdString &tooltip)
void setFont(const Text::StandardFontsType fontType)
void getFillColor(ODCOLORREF &color) const
void setFillColor(ODCOLORREF color)
void setContents(const OdStringArray &displayed_values, const OdStringArray &export_values)
void getTextRotation(Text::Rotation &rotation) const
GLsizeiptr size
Definition: gles2_ext.h:182
GLuint const GLchar * name
Definition: gles2_ext.h:265