wxPdfDocument
0.9.7
|
Class representing a numeric object. (For internal use only) More...
#include <pdfobjects.h>
Public Member Functions | |
wxPdfNumber (const wxString &value) | |
Constructor (value as string) More... | |
wxPdfNumber (int value) | |
Constructor (value as integer) More... | |
wxPdfNumber (double value) | |
Constructor (value as floating point) More... | |
virtual | ~wxPdfNumber () |
Destructor. More... | |
double | GetValue () |
Get value as floating point. More... | |
int | GetInt () |
Get value as integer. More... | |
wxString | GetAsString () |
Get value as string. More... | |
bool | IsInt () |
Check whether value is integer. More... | |
![]() | |
wxPdfObject (int type) | |
Constructor. More... | |
virtual | ~wxPdfObject () |
Destructor. More... | |
int | GetType () |
Get the type of the object. More... | |
void | SetObjNum (int objNum, int objGen=0) |
Set object and generation number. More... | |
int | GetNumber () |
Get object number. More... | |
int | GetGeneration () |
Get generation number. More... | |
void | SetActualId (int actualId) |
Set actual object id. More... | |
int | GetActualId () |
void | SetCreatedIndirect (bool indirect) |
Flag this object as created through a indirect reference. More... | |
bool | IsCreatedIndirect () |
Check whether this object was created through a indirect reference. More... | |
bool | CanBeInObjStm () |
Check whether this object can be in an object stream. More... | |
bool | IsNull () |
Checks whether this is a wxPdfNull object. More... | |
bool | IsBoolean () |
Checks whether this is a wxPdfBoolean object. More... | |
bool | IsNumber () |
Checks whether this is a wxPdfNumber object. More... | |
bool | IsString () |
Checks whether this is a wxPdfString object. More... | |
bool | IsName () |
Checks whether this is a wxPdfName object. More... | |
bool | IsArray () |
Checks whether this is a wxPdfArray object. More... | |
bool | IsDictionary () |
Checks whether this is a wxPdfDictionary object. More... | |
bool | IsStream () |
Checks whether this PdfObject is of the type PdfStream. More... | |
bool | IsIndirect () |
Checks if this is an indirect object. More... | |
Additional Inherited Members | |
![]() | |
int | m_type |
Object type. More... | |
int | m_objNum |
Object number. More... | |
int | m_objGen |
Object generation. More... | |
int | m_actualId |
Actual object id. More... | |
bool | m_indirect |
Flag whether created through indirect reference. More... | |
Class representing a numeric object. (For internal use only)
wxPdfNumber::wxPdfNumber | ( | const wxString & | value | ) |
Constructor (value as string)
wxPdfNumber::wxPdfNumber | ( | int | value | ) |
Constructor (value as integer)
wxPdfNumber::wxPdfNumber | ( | double | value | ) |
Constructor (value as floating point)
|
virtual |
Destructor.
|
inline |
Get value as string.
|
inline |
Get value as integer.
|
inline |
Get value as floating point.
|
inline |
Check whether value is integer.