25 wxPDF_OBJECT_INDIRECT,
26 wxPDF_OBJECT_RADIOGROUP,
28 wxPDF_OBJECT_ANNOTATION,
29 wxPDF_OBJECT_TEXTANNOTATION,
32 wxPDF_OBJECT_WIDGET_CHECKBOX,
33 wxPDF_OBJECT_WIDGET_COMBOBOX,
34 wxPDF_OBJECT_WIDGET_PUSHBUTTON,
35 wxPDF_OBJECT_WIDGET_RADIOBUTTON,
36 wxPDF_OBJECT_WIDGET_TEXTFIELD
106 void SetRectangle(
double x,
double y,
double width,
double height);
158 void SetName(
const wxString& name) { m_name = name; }
194 void SetTextColour(
const wxString& textColour) { m_textColour = textColour; }
206 void SetBorderStyle(
const wxString& borderStyle) { m_borderStyle = borderStyle; }
228 wxString m_borderColour;
229 wxString m_backgroundColour;
230 wxString m_textColour;
231 double m_borderWidth;
232 wxString m_borderStyle;
254 void SetValue(
bool checked) { m_checked = checked; }
279 int fontindex,
double fontsize,
280 int generationId = 0);
289 void SetValue(
const wxArrayString& values) { m_values = values; }
312 wxArrayString m_values;
328 int fontindex,
double fontsize,
329 int generationId = 0);
338 void SetCaption(
const wxString& caption) { m_caption = caption; }
350 void SetAction(
const wxString& action) { m_action = action; }
430 wxPdfRadioGroup(
int objectId,
const wxString& groupName,
int generationId = 0);
451 unsigned int GetCount() {
return (
unsigned int) m_radios.GetCount(); }
460 wxString m_groupName;
461 wxArrayPtrVoid m_radios;
478 int fontindex,
double fontsize,
479 const wxString& value,
int generation_id = 0);
488 void SetValue(
const wxString& value) { m_value = value; }
Base class for annotation objects (for internal use only)
Definition: pdfform.h:87
double GetHeight()
Get the height.
Definition: pdfform.h:130
double GetWidth()
Get the width.
Definition: pdfform.h:124
double GetX()
Get the X offset.
Definition: pdfform.h:112
double GetY()
Get the Y offset.
Definition: pdfform.h:118
Class representing check box form fields (for internal use only)
Definition: pdfform.h:238
bool GetValue()
Get status of form field (checked/unchecked)
Definition: pdfform.h:260
void SetValue(bool checked)
Set status of form field (checked/unchecked)
Definition: pdfform.h:254
Class representing combo box form field (for internal use only)
Definition: pdfform.h:269
int GetFontIndex()
Get object index of font used for displaying the value list.
Definition: pdfform.h:301
double GetFontSize()
Get size of font used for displaying the value list.
Definition: pdfform.h:307
wxArrayString GetValue()
Get value list of combo box.
Definition: pdfform.h:295
void SetValue(const wxArrayString &values)
Set value list of combo box.
Definition: pdfform.h:289
Base class for indirect PDF objects (for internal use only)
Definition: pdfform.h:42
void SetType(wxPdfObjectType type)
Set type of object.
Definition: pdfform.h:64
wxPdfObjectType GetType()
Get type of this object.
Definition: pdfform.h:58
int GetObjectId()
Get identifier of this object.
Definition: pdfform.h:70
int GetGenerationId()
Get generation identifier of this object.
Definition: pdfform.h:76
Class representing radio button groups (for internal use only)
Definition: pdfform.h:422
wxArrayPtrVoid GetKids()
Get the array of buttons in the group.
Definition: pdfform.h:457
wxString GetName()
Get name of the button group.
Definition: pdfform.h:445
unsigned int GetCount()
Get the number of buttons in the group.
Definition: pdfform.h:451
Class representing text form fields (for internal use only)
Definition: pdfform.h:467
double GetFontSize()
Get size of font used for displaying the value list.
Definition: pdfform.h:518
wxString GetValue()
Get default value of the text field.
Definition: pdfform.h:494
void SetValue(const wxString &value)
Set default value of the text field.
Definition: pdfform.h:488
void SetMultiLine(bool multiline)
Set multi line property of the text field.
Definition: pdfform.h:500
bool GetMultiLine()
Get multi line property of the text field.
Definition: pdfform.h:506
int GetFontIndex()
Get object index of font used for displaying the value list.
Definition: pdfform.h:512
Compile time switches for the wxPdfDocument component.