CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
PdfPublish
PdfPublishRadioButton.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
// PdfPublishRadioButton.h
28
//
30
31
#ifndef _PDF_PUBLISH_RADIOBUTTON_INCLUDED_
32
#define _PDF_PUBLISH_RADIOBUTTON_INCLUDED_
33
34
#include "
PdfPublishBaseObject.h
"
35
40
namespace
OdPdfPublish
{
41
48
class
PDFPUBLISH_TOOLKIT
OdRadioButton
:
public
OdObject
49
{
50
//DOM-IGNORE-BEGIN
51
protected
:
52
OdRadioButton
();
53
//DOM-IGNORE-END
54
public
:
55
//DOM-IGNORE-BEGIN
56
ODRX_DECLARE_MEMBERS
(
OdRadioButton
);
57
ODRX_HEAP_OPERATORS
();
58
//DOM-IGNORE-END
59
63
virtual
~OdRadioButton
();
64
73
void
setName
(
const
OdString
&
name
);
74
83
void
setFont
(
Text::StandardFontsType
fontType);
84
103
void
setFont
(
const
OdString
& fontName,
Text::FontStyle
fontStyle =
Text::kRegular
,
Text::Language
language =
Text::kDefault
,
bool
embed =
false
);
104
110
void
setFontSize
(
OdUInt16
size
);
111
117
void
setTextColor
(
ODCOLORREF
color);
118
125
void
setTooltip
(
const
OdString
& tooltip);
126
133
void
setVisibility
(
bool
state);
134
141
void
setPrintability
(
bool
state);
142
151
void
setTextRotation
(
Text::Rotation
rotation);
152
159
void
setLock
(
bool
state);
160
167
void
setBorder
(
bool
state);
168
174
void
setBorderColor
(
ODCOLORREF
color);
175
184
void
setBorderThickness
(
Border::Thickness
thickness);
185
194
void
setBorderStyle
(
Border::Style
style);
195
201
void
setFillColor
(
ODCOLORREF
color);
202
208
void
setExportValue
(
const
OdString
& export_value);
209
216
void
setDefaultState
(
bool
state);
217
224
void
setGrouping
(
bool
state);
225
232
void
getName
(
OdString
&
name
)
const
;
233
251
void
getFont
(
Text::StorageType
& storageType,
Text::StandardFontsType
& fontType,
OdString
& fontName,
Text::FontStyle
& fontStyle,
Text::Language
& language,
bool
& embed)
const
;
252
259
void
getFontSize
(
OdUInt16
&
size
)
const
;
260
267
void
getTextColor
(
ODCOLORREF
& color)
const
;
268
277
void
getTooltip
(
OdString
& tooltip)
const
;
278
286
void
getVisibility
(
bool
& state)
const
;
287
295
void
getPrintability
(
bool
& state)
const
;
296
306
void
getTextRotation
(
Text::Rotation
& rotation)
const
;
307
315
void
getLock
(
bool
& state)
const
;
316
324
void
getBorder
(
bool
& state)
const
;
325
332
void
getBorderColor
(
ODCOLORREF
& color)
const
;
333
343
void
getBorderThickness
(
Border::Thickness
& thickness)
const
;
344
354
void
getBorderStyle
(
Border::Style
& style)
const
;
355
362
void
getFillColor
(
ODCOLORREF
& color)
const
;
363
370
void
getExportValue
(
OdString
& export_value)
const
;
371
379
void
getDefaultState
(
bool
& default_state)
const
;
380
388
void
getGrouping
(
bool
& grouping)
const
;
389
390
};
391
395
SMARTPTR
(
OdRadioButton
);
396
397
}
398
#endif
// _PDF_PUBLISH_RADIOBUTTON_INCLUDED_
399
SMARTPTR
#define SMARTPTR(classname)
Definition
IfcCommon.h:33
ODCOLORREF
#define ODCOLORREF
OdUInt16
unsigned short OdUInt16
Definition
OdPlatformSettings.h:745
PdfPublishBaseObject.h
PDFPUBLISH_TOOLKIT
#define PDFPUBLISH_TOOLKIT
Definition
PdfPublishDef.h:40
OdPdfPublish::OdRadioButton
Definition
PdfPublishRadioButton.h:49
OdPdfPublish::OdRadioButton::getFillColor
void getFillColor(ODCOLORREF &color) const
OdPdfPublish::OdRadioButton::getGrouping
void getGrouping(bool &grouping) const
OdPdfPublish::OdRadioButton::setTextColor
void setTextColor(ODCOLORREF color)
OdPdfPublish::OdRadioButton::~OdRadioButton
virtual ~OdRadioButton()
OdPdfPublish::OdRadioButton::setName
void setName(const OdString &name)
OdPdfPublish::OdRadioButton::getExportValue
void getExportValue(OdString &export_value) const
OdPdfPublish::OdRadioButton::setPrintability
void setPrintability(bool state)
OdPdfPublish::OdRadioButton::setFont
void setFont(const OdString &fontName, Text::FontStyle fontStyle=Text::kRegular, Text::Language language=Text::kDefault, bool embed=false)
OdPdfPublish::OdRadioButton::setFillColor
void setFillColor(ODCOLORREF color)
OdPdfPublish::OdRadioButton::setBorder
void setBorder(bool state)
OdPdfPublish::OdRadioButton::getFont
void getFont(Text::StorageType &storageType, Text::StandardFontsType &fontType, OdString &fontName, Text::FontStyle &fontStyle, Text::Language &language, bool &embed) const
OdPdfPublish::OdRadioButton::getTextColor
void getTextColor(ODCOLORREF &color) const
OdPdfPublish::OdRadioButton::getLock
void getLock(bool &state) const
OdPdfPublish::OdRadioButton::getBorderThickness
void getBorderThickness(Border::Thickness &thickness) const
OdPdfPublish::OdRadioButton::getBorderStyle
void getBorderStyle(Border::Style &style) const
OdPdfPublish::OdRadioButton::getBorderColor
void getBorderColor(ODCOLORREF &color) const
OdPdfPublish::OdRadioButton::setBorderStyle
void setBorderStyle(Border::Style style)
OdPdfPublish::OdRadioButton::setVisibility
void setVisibility(bool state)
OdPdfPublish::OdRadioButton::getName
void getName(OdString &name) const
OdPdfPublish::OdRadioButton::setFontSize
void setFontSize(OdUInt16 size)
OdPdfPublish::OdRadioButton::getDefaultState
void getDefaultState(bool &default_state) const
OdPdfPublish::OdRadioButton::getBorder
void getBorder(bool &state) const
OdPdfPublish::OdRadioButton::setTextRotation
void setTextRotation(Text::Rotation rotation)
OdPdfPublish::OdRadioButton::setLock
void setLock(bool state)
OdPdfPublish::OdRadioButton::setBorderThickness
void setBorderThickness(Border::Thickness thickness)
OdPdfPublish::OdRadioButton::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdRadioButton)
OdPdfPublish::OdRadioButton::setBorderColor
void setBorderColor(ODCOLORREF color)
OdPdfPublish::OdRadioButton::OdRadioButton
OdRadioButton()
OdPdfPublish::OdRadioButton::setFont
void setFont(Text::StandardFontsType fontType)
OdPdfPublish::OdRadioButton::ODRX_HEAP_OPERATORS
ODRX_HEAP_OPERATORS()
OdPdfPublish::OdRadioButton::setGrouping
void setGrouping(bool state)
OdPdfPublish::OdRadioButton::getTooltip
void getTooltip(OdString &tooltip) const
OdPdfPublish::OdRadioButton::setExportValue
void setExportValue(const OdString &export_value)
OdPdfPublish::OdRadioButton::setTooltip
void setTooltip(const OdString &tooltip)
OdPdfPublish::OdRadioButton::getFontSize
void getFontSize(OdUInt16 &size) const
OdPdfPublish::OdRadioButton::getTextRotation
void getTextRotation(Text::Rotation &rotation) const
OdPdfPublish::OdRadioButton::getVisibility
void getVisibility(bool &state) const
OdPdfPublish::OdRadioButton::setDefaultState
void setDefaultState(bool state)
OdPdfPublish::OdRadioButton::getPrintability
void getPrintability(bool &state) const
OdString
Definition
OdString.h:97
size
GLsizeiptr size
Definition
gles2_ext.h:182
name
GLuint const GLchar * name
Definition
gles2_ext.h:265
OdPdfPublish::Border::Thickness
Thickness
Definition
PdfPublishCommon.h:248
OdPdfPublish::Border::Style
Style
Definition
PdfPublishCommon.h:257
OdPdfPublish::Text::StorageType
StorageType
Definition
PdfPublishCommon.h:325
OdPdfPublish::Text::Language
Language
Definition
PdfPublishCommon.h:334
OdPdfPublish::Text::kDefault
@ kDefault
Definition
PdfPublishCommon.h:347
OdPdfPublish::Text::Rotation
Rotation
Definition
PdfPublishCommon.h:293
OdPdfPublish::Text::FontStyle
FontStyle
Definition
PdfPublishCommon.h:274
OdPdfPublish::Text::kRegular
@ kRegular
Definition
PdfPublishCommon.h:275
OdPdfPublish::Text::StandardFontsType
StandardFontsType
Definition
PdfPublishCommon.h:304
OdPdfPublish
Definition
PdfPublish.h:44
Generated on Tue Apr 15 2025 11:30:04