CFx SDK Documentation  2020SP3
PdfPublishSignatureField.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 // PdfPublishSignatureField.h
28 //
30 
31 #ifndef _PDF_PUBLISH_SIGNATUREFIELD_INCLUDED_
32 #define _PDF_PUBLISH_SIGNATUREFIELD_INCLUDED_
33 
34 #include "PdfPublishBaseObject.h"
35 
39 namespace OdPdfPublish{
40 
45 {
46 public:
47  //DOM-IGNORE-BEGIN
50  //DOM-IGNORE-END
51 
56 
60  virtual ~OdSignatureField();
61 
69  void setName(const OdString& name);
70 
72 
82  void setFont(const OdString& fontName, Text::FontStyle fontStyle = Text::kRegular);
83 
90 
96  void setTextColor(ODCOLORREF color);
97 
104  void setTooltip(const OdString& tooltip);
105 
112  void setVisibility(bool state);
113 
120  void setPrintability(bool state);
121 
131 
138  void setLock(bool state);
139 
146  void setBorder(bool state);
147 
154 
164 
174 
181 
188  void getName(OdString& name) const;
189 
200  void getFont(Text::StorageType& storageType, Text::StandardFontsType& fontType, OdString& fontName, Text::FontStyle& fontStyle) const;
201 
208  void getFontSize(OdUInt16& size) const;
209 
216  void getTextColor(ODCOLORREF& color) const;
217 
226  void getTooltip(OdString& tooltip) const;
227 
235  void getVisibility(bool& state) const;
236 
244  void getPrintability(bool& state) const;
245 
255  void getTextRotation(Text::Rotation& rotation) const;
256 
264  void getLock(bool& state) const;
265 
273  void getBorder(bool& state) const;
274 
281  void getBorderColor(ODCOLORREF& color) const;
282 
292  void getBorderThickness(Border::Thickness& thickness) const;
293 
303  void getBorderStyle(Border::Style& style) const;
304 
311  void getFillColor(ODCOLORREF& color) const;
312 
313 };
314 
319 
320 }
321 #endif // _PDF_PUBLISH_SIGNATUREFIELD_INCLUDED_
322 
OdPdfPublish::OdSignatureField::getPrintability
void getPrintability(bool &state) const
OdPdfPublish::OdSignatureField::getFont
void getFont(Text::StorageType &storageType, Text::StandardFontsType &fontType, OdString &fontName, Text::FontStyle &fontStyle) const
OdPdfPublish::OdSignatureField::setFont
void setFont(Text::StandardFontsType fontType)
OdPdfPublish::OdSignatureField::setFontSize
void setFontSize(OdUInt16 size)
OdString
Definition: OdString.h:95
name
GLuint const GLchar * name
Definition: gles2_ext.h:265
OdPdfPublish::OdSignatureField::setVisibility
void setVisibility(bool state)
OdPdfPublish::OdSignatureField::getBorderColor
void getBorderColor(ODCOLORREF &color) const
OdPdfPublish::OdSignatureField::getTextRotation
void getTextRotation(Text::Rotation &rotation) const
OdPdfPublish::OdSignatureField::setBorderColor
void setBorderColor(ODCOLORREF color)
OdPdfPublish::OdSignatureField::setLock
void setLock(bool state)
OdPdfPublish::Text::StorageType
StorageType
Definition: PdfPublishCommon.h:330
OdPdfPublish::OdSignatureField::getVisibility
void getVisibility(bool &state) const
OdPdfPublish::OdSignatureField::getTextColor
void getTextColor(ODCOLORREF &color) const
OdPdfPublish::Text::kRegular
@ kRegular
Definition: PdfPublishCommon.h:284
OdPdfPublish::OdSignatureField::setTooltip
void setTooltip(const OdString &tooltip)
OdPdfPublish::OdSignatureField::getBorderStyle
void getBorderStyle(Border::Style &style) const
OdPdfPublish::Border::Thickness
Thickness
Definition: PdfPublishCommon.h:257
OdUInt16
unsigned short OdUInt16
Definition: OdPlatformSettings.h:760
OdPdfPublish::OdSignatureField::getFontSize
void getFontSize(OdUInt16 &size) const
OdPdfPublish::OdSignatureField::setBorderThickness
void setBorderThickness(Border::Thickness thickness)
size
GLsizeiptr size
Definition: gles2_ext.h:182
OdPdfPublish::OdSignatureField::setBorder
void setBorder(bool state)
OdPdfPublish::OdSignatureField::getBorderThickness
void getBorderThickness(Border::Thickness &thickness) const
OdPdfPublish::SMARTPTR
SMARTPTR(OdFile)
OdPdfPublish::OdSignatureField::setFillColor
void setFillColor(ODCOLORREF color)
OdPdfPublish::OdSignatureField::setPrintability
void setPrintability(bool state)
OdPdfPublish::OdSignatureField::ODRX_HEAP_OPERATORS
ODRX_HEAP_OPERATORS()
PDFPUBLISH_TOOLKIT
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
OdPdfPublish::OdSignatureField::getTooltip
void getTooltip(OdString &tooltip) const
OdPdfPublish::Border::Style
Style
Definition: PdfPublishCommon.h:266
OdPdfPublish::OdSignatureField::setName
void setName(const OdString &name)
OdPdfPublish
Definition: PdfPublish.h:42
OdPdfPublish::Text::StandardFontsType
StandardFontsType
Definition: PdfPublishCommon.h:313
OdPdfPublish::OdSignatureField::OdSignatureField
OdSignatureField()
OdPdfPublish::OdSignatureField::setTextRotation
void setTextRotation(Text::Rotation rotation)
OdPdfPublish::OdSignatureField::setBorderStyle
void setBorderStyle(Border::Style style)
PdfPublishBaseObject.h
OdPdfPublish::OdSignatureField::~OdSignatureField
virtual ~OdSignatureField()
OdPdfPublish::OdSignatureField::setTextColor
void setTextColor(ODCOLORREF color)
OdPdfPublish::OdSignatureField::getLock
void getLock(bool &state) const
OdPdfPublish::OdSignatureField::getBorder
void getBorder(bool &state) const
OdPdfPublish::OdSignatureField
Definition: PdfPublishSignatureField.h:45
OdPdfPublish::Text::FontStyle
FontStyle
Definition: PdfPublishCommon.h:283
ODCOLORREF
#define ODCOLORREF
Definition: OdPlatform.h:883
OdPdfPublish::OdSignatureField::setFont
void setFont(const OdString &fontName, Text::FontStyle fontStyle=Text::kRegular)
OdPdfPublish::OdSignatureField::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdSignatureField)
OdPdfPublish::OdSignatureField::getName
void getName(OdString &name) const
OdPdfPublish::OdSignatureField::getFillColor
void getFillColor(ODCOLORREF &color) const
OdPdfPublish::Text::Rotation
Rotation
Definition: PdfPublishCommon.h:302
OdPdfPublish::OdObject
Definition: PdfPublishBaseObject.h:71