CFx SDK Documentation  2023 SP0
PdfPublishRadioButton.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 // PdfPublishRadioButton.h
28 //
30 
31 #ifndef _PDF_PUBLISH_RADIOBUTTON_INCLUDED_
32 #define _PDF_PUBLISH_RADIOBUTTON_INCLUDED_
33 
34 #include "PdfPublishBaseObject.h"
35 
39 namespace OdPdfPublish{
40 
48 {
49 public:
50  //DOM-IGNORE-BEGIN
53  //DOM-IGNORE-END
54 
59 
63  virtual ~OdRadioButton();
64 
72  void setName(const OdString& name);
73 
75 
85  void setFont(const OdString& fontName, Text::FontStyle fontStyle = Text::kRegular);
86 
93 
99  void setTextColor(ODCOLORREF color);
100 
107  void setTooltip(const OdString& tooltip);
108 
115  void setVisibility(bool state);
116 
123  void setPrintability(bool state);
124 
134 
141  void setLock(bool state);
142 
149  void setBorder(bool state);
150 
157 
167 
177 
184 
190  void setExportValue(const OdString& export_value);
191 
198  void setDefaultState(bool state);
199 
206  void setGrouping(bool state);
207 
214  void getName(OdString& name) const;
215 
226  void getFont(Text::StorageType& storageType, Text::StandardFontsType& fontType, OdString& fontName, Text::FontStyle& fontStyle) const;
227 
234  void getFontSize(OdUInt16& size) const;
235 
242  void getTextColor(ODCOLORREF& color) const;
243 
252  void getTooltip(OdString& tooltip) const;
253 
261  void getVisibility(bool& state) const;
262 
270  void getPrintability(bool& state) const;
271 
281  void getTextRotation(Text::Rotation& rotation) const;
282 
290  void getLock(bool& state) const;
291 
299  void getBorder(bool& state) const;
300 
307  void getBorderColor(ODCOLORREF& color) const;
308 
318  void getBorderThickness(Border::Thickness& thickness) const;
319 
329  void getBorderStyle(Border::Style& style) const;
330 
337  void getFillColor(ODCOLORREF& color) const;
338 
345  void getExportValue(OdString& export_value) const;
346 
354  void getDefaultState(bool& default_state) const;
355 
363  void getGrouping(bool& grouping) const;
364 
365 };
366 
371 
372 }
373 #endif // _PDF_PUBLISH_RADIOBUTTON_INCLUDED_
374 
#define ODCOLORREF
Definition: OdPlatform.h:883
unsigned short OdUInt16
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void getFillColor(ODCOLORREF &color) const
void getGrouping(bool &grouping) const
void setTextColor(ODCOLORREF color)
void setName(const OdString &name)
void getExportValue(OdString &export_value) const
void setPrintability(bool state)
void setFillColor(ODCOLORREF color)
void setBorder(bool state)
void getFont(Text::StorageType &storageType, Text::StandardFontsType &fontType, OdString &fontName, Text::FontStyle &fontStyle) const
void getTextColor(ODCOLORREF &color) const
void getLock(bool &state) const
void getBorderThickness(Border::Thickness &thickness) const
void getBorderStyle(Border::Style &style) const
void getBorderColor(ODCOLORREF &color) const
void setBorderStyle(Border::Style style)
void setVisibility(bool state)
void getName(OdString &name) const
void setFontSize(OdUInt16 size)
void getDefaultState(bool &default_state) const
void getBorder(bool &state) const
void setTextRotation(Text::Rotation rotation)
void setLock(bool state)
void setBorderThickness(Border::Thickness thickness)
void setFont(const OdString &fontName, Text::FontStyle fontStyle=Text::kRegular)
ODRX_DECLARE_MEMBERS(OdRadioButton)
void setBorderColor(ODCOLORREF color)
void setFont(Text::StandardFontsType fontType)
void setGrouping(bool state)
void getTooltip(OdString &tooltip) const
void setExportValue(const OdString &export_value)
void setTooltip(const OdString &tooltip)
void getFontSize(OdUInt16 &size) const
void getTextRotation(Text::Rotation &rotation) const
void getVisibility(bool &state) const
void setDefaultState(bool state)
void getPrintability(bool &state) const
GLsizeiptr size
Definition: gles2_ext.h:182
GLuint const GLchar * name
Definition: gles2_ext.h:265
SMARTPTR(OdFile)