CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublishButton.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// PdfPublishButton.h
28//
30
31#ifndef _PDF_PUBLISH_BUTTON_INCLUDED_
32#define _PDF_PUBLISH_BUTTON_INCLUDED_
33
35#include "PdfPublishImage.h"
36
41namespace OdPdfPublish{
42
49{
50 //DOM-IGNORE-BEGIN
51protected:
53 //DOM-IGNORE-END
54public:
55 //DOM-IGNORE-BEGIN
58 //DOM-IGNORE-END
59
63 virtual ~OdButton();
64
73 void setName(const OdString& name);
74
80 void setLabel(const OdString& label);
81
97 void setFont(const OdString& fontName, Text::FontStyle fontStyle = Text::kRegular);
98
107 void setFont(const Text::StandardFontsType fontType);
108
115
122
128 void setTooltip(const OdString& tooltip);
129
135 void setVisibility(bool state);
136
142 void setPrintability(bool state);
143
153
159 void setLock(bool state);
160
166 void setBorder(bool state);
167
174
184
193
200
210
220
229 void setIconImage(const OdImagePtr& image);
230
237 void getName(OdString& name) const;
238
245 void getLabel(OdString& label) const;
246
261 void getFont(Text::StorageType& storageType, Text::StandardFontsType& fontType, OdString& fontName, Text::FontStyle& fontStyle) const;
262
269 void getFontSize(OdUInt16 & size) const;
270
277 void getTextColor(ODCOLORREF& color) const;
278
285 void getTooltip(OdString& tooltip) const;
286
294 void getVisibility(bool& state) const;
295
303 void getPrintability(bool& state) const;
304
314 void getTextRotation(Text::Rotation & rotation) const;
315
323 void getLock(bool& state) const;
324
332 void getBorder(bool& state) const;
333
340 void getBorderColor(ODCOLORREF& color) const;
341
351 void getBorderThickness(Border::Thickness & thickness) const;
352
362 void getBorderStyle(Border::Style & style) const;
363
370 void getFillColor(ODCOLORREF& color) const;
371
381 void getLabelPosition(Label::Position & position) const;
382
393
403 void getIconImage(OdImagePtr& image) const;
404
405};
406
411
412}
413#endif // _PDF_PUBLISH_BUTTON_INCLUDED_
414
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
#define ODCOLORREF
Definition: OdPlatform.h:933
unsigned short OdUInt16
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void getBorder(bool &state) const
void getName(OdString &name) const
void getTextRotation(Text::Rotation &rotation) const
void getVisibility(bool &state) const
void setFont(const OdString &fontName, Text::FontStyle fontStyle=Text::kRegular)
void setLock(bool state)
void getTooltip(OdString &tooltip) const
void getIconImage(OdImagePtr &image) const
void getFillColor(ODCOLORREF &color) const
void setName(const OdString &name)
void setLabel(const OdString &label)
void setIconImage(const OdImagePtr &image)
void setBorderColor(ODCOLORREF color)
void setBorderThickness(Border::Thickness thickness)
void getLock(bool &state) const
void setHighlighting(Highlighting::Mode mode)
void getTextColor(ODCOLORREF &color) const
void setPrintability(bool state)
void getPrintability(bool &state) const
void setTextRotation(Text::Rotation rotation)
ODRX_DECLARE_MEMBERS(OdButton)
void getHighlighting(Highlighting::Mode &mode) const
void setBorder(bool state)
void setTextColor(ODCOLORREF color)
void setFontSize(OdUInt16 size)
void setBorderStyle(Border::Style style)
void getLabelPosition(Label::Position &position) const
void setVisibility(bool state)
void getFont(Text::StorageType &storageType, Text::StandardFontsType &fontType, OdString &fontName, Text::FontStyle &fontStyle) const
void setTooltip(const OdString &tooltip)
void getBorderStyle(Border::Style &style) const
void setFillColor(ODCOLORREF color)
void getBorderThickness(Border::Thickness &thickness) const
void getBorderColor(ODCOLORREF &color) const
void setLabelPosition(Label::Position position)
void setFont(const Text::StandardFontsType fontType)
void getLabel(OdString &label) const
void getFontSize(OdUInt16 &size) const
GLsizeiptr size
Definition: gles2_ext.h:182
GLuint const GLchar * name
Definition: gles2_ext.h:265