Class representing text form fields (for internal use only)
More...
#include <pdfform.h>
|
| | wxPdfTextField (int objectId, int fontindex, double fontsize, const wxString &value, int generation_id=0) |
| | Constructor.
|
| |
|
virtual | ~wxPdfTextField () |
| | Destructor.
|
| |
| void | SetValue (const wxString &value) |
| | Set default value of the text field.
|
| |
| wxString | GetValue () |
| | Get default value of the text field.
|
| |
| void | SetMultiLine (bool multiline) |
| | Set multi line property of the text field.
|
| |
| bool | GetMultiLine () |
| | Get multi line property of the text field.
|
| |
| int | GetFontIndex () |
| | Get object index of font used for displaying the value list.
|
| |
| double | GetFontSize () |
| | Get size of font used for displaying the value list.
|
| |
| void | SetName (const wxString &name) |
| | Set form field name.
|
| |
| wxString | GetName () |
| | Get form field name.
|
| |
| void | SetBorderColour (const wxString &borderColour) |
| | Set border colour representation of form field.
|
| |
| wxString | GetBorderColour () |
| | Get border colour representation of form field.
|
| |
| void | SetBackgroundColour (const wxString &backgroundColour) |
| | Set background colour representation of form field.
|
| |
| wxString | GetBackgroundColour () |
| | Get background colour representation of form field.
|
| |
| void | SetTextColour (const wxString &textColour) |
| | Set text colour representation of form field.
|
| |
| wxString | GetTextColour () |
| | Get text colour representation of form field.
|
| |
| void | SetBorderStyle (const wxString &borderStyle) |
| | Set border style of form field.
|
| |
| wxString | GetBorderStyle () |
| | Get border style of form field.
|
| |
| void | SetBorderWidth (double borderWidth) |
| | Set border width of form field.
|
| |
| double | GetBorderWidth () |
| | Get border width of form field.
|
| |
| void | SetRectangle (double x, double y, double width, double height) |
| | Set the associated rectangular area.
|
| |
| double | GetX () |
| | Get the X offset.
|
| |
| double | GetY () |
| | Get the Y offset.
|
| |
| double | GetWidth () |
| | Get the width.
|
| |
| double | GetHeight () |
| | Get the height.
|
| |
| wxPdfObjectType | GetType () |
| | Get type of this object.
|
| |
| void | SetType (wxPdfObjectType type) |
| | Set type of object.
|
| |
| int | GetObjectId () |
| | Get identifier of this object.
|
| |
| int | GetGenerationId () |
| | Get generation identifier of this object.
|
| |
Class representing text form fields (for internal use only)
◆ wxPdfTextField()
| wxPdfTextField::wxPdfTextField |
( |
int |
objectId, |
|
|
int |
fontindex, |
|
|
double |
fontsize, |
|
|
const wxString & |
value, |
|
|
int |
generation_id = 0 |
|
) |
| |
Constructor.
- Parameters
-
| objectId | the object number |
| fontindex | font index |
| fontsize | font size |
| value | default value |
| generation_id | the generation number |
◆ GetBackgroundColour()
| wxString wxPdfAnnotationWidget::GetBackgroundColour |
( |
| ) |
|
|
inlineinherited |
Get background colour representation of form field.
- Returns
- Colour representation string
◆ GetBorderColour()
| wxString wxPdfAnnotationWidget::GetBorderColour |
( |
| ) |
|
|
inlineinherited |
Get border colour representation of form field.
- Returns
- Colour representation string
◆ GetBorderStyle()
| wxString wxPdfAnnotationWidget::GetBorderStyle |
( |
| ) |
|
|
inlineinherited |
Get border style of form field.
- Returns
- Border style string
◆ GetBorderWidth()
| double wxPdfAnnotationWidget::GetBorderWidth |
( |
| ) |
|
|
inlineinherited |
Get border width of form field.
- Returns
- Border width in points
◆ GetFontIndex()
| int wxPdfTextField::GetFontIndex |
( |
| ) |
|
|
inline |
Get object index of font used for displaying the value list.
- Returns
- Font index
◆ GetFontSize()
| double wxPdfTextField::GetFontSize |
( |
| ) |
|
|
inline |
Get size of font used for displaying the value list.
- Returns
- Font size
◆ GetGenerationId()
| int wxPdfIndirectObject::GetGenerationId |
( |
| ) |
|
|
inlineinherited |
Get generation identifier of this object.
- Returns
- the generation number
◆ GetHeight()
| double wxPdfAnnotationObject::GetHeight |
( |
| ) |
|
|
inlineinherited |
Get the height.
- Returns
- the height
◆ GetMultiLine()
| bool wxPdfTextField::GetMultiLine |
( |
| ) |
|
|
inline |
Get multi line property of the text field.
- Returns
- Multiline flag
◆ GetName()
| wxString wxPdfAnnotationWidget::GetName |
( |
| ) |
|
|
inlineinherited |
Get form field name.
- Returns
- The name of the form field
◆ GetObjectId()
| int wxPdfIndirectObject::GetObjectId |
( |
| ) |
|
|
inlineinherited |
Get identifier of this object.
- Returns
- the object number
◆ GetTextColour()
| wxString wxPdfAnnotationWidget::GetTextColour |
( |
| ) |
|
|
inlineinherited |
Get text colour representation of form field.
- Returns
- Colour representation string
◆ GetType()
Get type of this object.
- Returns
- the type of the object
◆ GetValue()
| wxString wxPdfTextField::GetValue |
( |
| ) |
|
|
inline |
Get default value of the text field.
- Returns
- Default value
◆ GetWidth()
| double wxPdfAnnotationObject::GetWidth |
( |
| ) |
|
|
inlineinherited |
Get the width.
- Returns
- the width
◆ GetX()
| double wxPdfAnnotationObject::GetX |
( |
| ) |
|
|
inlineinherited |
Get the X offset.
- Returns
- the x offset
◆ GetY()
| double wxPdfAnnotationObject::GetY |
( |
| ) |
|
|
inlineinherited |
Get the Y offset.
- Returns
- the y offset
◆ SetBackgroundColour()
| void wxPdfAnnotationWidget::SetBackgroundColour |
( |
const wxString & |
backgroundColour | ) |
|
|
inlineinherited |
Set background colour representation of form field.
- Parameters
-
| backgroundColour | Colour representation string |
◆ SetBorderColour()
| void wxPdfAnnotationWidget::SetBorderColour |
( |
const wxString & |
borderColour | ) |
|
|
inlineinherited |
Set border colour representation of form field.
- Parameters
-
| borderColour | Colour representation string |
◆ SetBorderStyle()
| void wxPdfAnnotationWidget::SetBorderStyle |
( |
const wxString & |
borderStyle | ) |
|
|
inlineinherited |
Set border style of form field.
- Parameters
-
| borderStyle | Border style string |
◆ SetBorderWidth()
| void wxPdfAnnotationWidget::SetBorderWidth |
( |
double |
borderWidth | ) |
|
|
inlineinherited |
Set border width of form field.
- Parameters
-
| borderWidth | Border width in points |
◆ SetMultiLine()
| void wxPdfTextField::SetMultiLine |
( |
bool |
multiline | ) |
|
|
inline |
Set multi line property of the text field.
- Parameters
-
◆ SetName()
| void wxPdfAnnotationWidget::SetName |
( |
const wxString & |
name | ) |
|
|
inlineinherited |
Set form field name.
- Parameters
-
| name | The name of the form field |
◆ SetRectangle()
| void wxPdfAnnotationObject::SetRectangle |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
width, |
|
|
double |
height |
|
) |
| |
|
inherited |
Set the associated rectangular area.
- Parameters
-
| x | offset in x direction |
| y | offset in y direction |
| width | the width of the annotation |
| height | the height of the annotation |
◆ SetTextColour()
| void wxPdfAnnotationWidget::SetTextColour |
( |
const wxString & |
textColour | ) |
|
|
inlineinherited |
Set text colour representation of form field.
- Parameters
-
| textColour | Colour representation string |
◆ SetType()
Set type of object.
- Parameters
-
| type | the type of the object |
◆ SetValue()
| void wxPdfTextField::SetValue |
( |
const wxString & |
value | ) |
|
|
inline |
Set default value of the text field.
- Parameters
-
The documentation for this class was generated from the following files: