wxMaxima
Loading...
Searching...
No Matches
Public Member Functions
wxPdfAnnotationWidget Class Reference

Base class for PDF form fields (for internal use only) More...

#include <pdfform.h>

Inheritance diagram for wxPdfAnnotationWidget:
[legend]
Collaboration diagram for wxPdfAnnotationWidget:
[legend]

Public Member Functions

 wxPdfAnnotationWidget (int objectId, int generationId=0)
 Constructor.
 
virtual ~wxPdfAnnotationWidget ()
 Destructor.
 
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.
 

Detailed Description

Base class for PDF form fields (for internal use only)

Constructor & Destructor Documentation

◆ wxPdfAnnotationWidget()

wxPdfAnnotationWidget::wxPdfAnnotationWidget ( int  objectId,
int  generationId = 0 
)

Constructor.

Parameters
objectIdthe object number
generationIdthe generation number

Member Function Documentation

◆ GetBackgroundColour()

wxString wxPdfAnnotationWidget::GetBackgroundColour ( )
inline

Get background colour representation of form field.

Returns
Colour representation string

◆ GetBorderColour()

wxString wxPdfAnnotationWidget::GetBorderColour ( )
inline

Get border colour representation of form field.

Returns
Colour representation string

◆ GetBorderStyle()

wxString wxPdfAnnotationWidget::GetBorderStyle ( )
inline

Get border style of form field.

Returns
Border style string

◆ GetBorderWidth()

double wxPdfAnnotationWidget::GetBorderWidth ( )
inline

Get border width of form field.

Returns
Border width in points

◆ 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

◆ GetName()

wxString wxPdfAnnotationWidget::GetName ( )
inline

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 ( )
inline

Get text colour representation of form field.

Returns
Colour representation string

◆ GetType()

wxPdfObjectType wxPdfIndirectObject::GetType ( )
inlineinherited

Get type of this object.

Returns
the type of the object

◆ 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)
inline

Set background colour representation of form field.

Parameters
backgroundColourColour representation string

◆ SetBorderColour()

void wxPdfAnnotationWidget::SetBorderColour ( const wxString &  borderColour)
inline

Set border colour representation of form field.

Parameters
borderColourColour representation string

◆ SetBorderStyle()

void wxPdfAnnotationWidget::SetBorderStyle ( const wxString &  borderStyle)
inline

Set border style of form field.

Parameters
borderStyleBorder style string

◆ SetBorderWidth()

void wxPdfAnnotationWidget::SetBorderWidth ( double  borderWidth)
inline

Set border width of form field.

Parameters
borderWidthBorder width in points

◆ SetName()

void wxPdfAnnotationWidget::SetName ( const wxString &  name)
inline

Set form field name.

Parameters
nameThe name of the form field

◆ SetRectangle()

void wxPdfAnnotationObject::SetRectangle ( double  x,
double  y,
double  width,
double  height 
)
inherited

Set the associated rectangular area.

Parameters
xoffset in x direction
yoffset in y direction
widththe width of the annotation
heightthe height of the annotation

◆ SetTextColour()

void wxPdfAnnotationWidget::SetTextColour ( const wxString &  textColour)
inline

Set text colour representation of form field.

Parameters
textColourColour representation string

◆ SetType()

void wxPdfIndirectObject::SetType ( wxPdfObjectType  type)
inlineinherited

Set type of object.

Parameters
typethe type of the object

The documentation for this class was generated from the following files: