wxPdfDocument 0.9.2
|
Class representing a base PDF object. (For internal use only) More...
#include <pdfobjects.h>
Public Member Functions | |
wxPdfObject (int type) | |
Constructor. | |
virtual | ~wxPdfObject () |
Destructor. | |
int | GetType () |
Get the type of the object. | |
void | SetObjNum (int objNum, int objGen=0) |
Set object and generation number. | |
int | GetNumber () |
Get object number. | |
int | GetGeneration () |
Get generation number. | |
void | SetCreatedIndirect (bool indirect) |
Flag this object as created through a indirect reference. | |
bool | IsCreatedIndirect () |
Check whether this object was created through a indirect reference. | |
bool | CanBeInObjStm () |
Check whether this object can be in an object stream. | |
bool | IsNull () |
Checks whether this is a wxPdfNull object. | |
bool | IsBoolean () |
Checks whether this is a wxPdfBoolean object. | |
bool | IsNumber () |
Checks whether this is a wxPdfNumber object. | |
bool | IsString () |
Checks whether this is a wxPdfString object. | |
bool | IsName () |
Checks whether this is a wxPdfName object. | |
bool | IsArray () |
Checks whether this is a wxPdfArray object. | |
bool | IsDictionary () |
Checks whether this is a wxPdfDictionary object. | |
bool | IsStream () |
Checks whether this PdfObject is of the type PdfStream. | |
bool | IsIndirect () |
Checks if this is an indirect object. | |
Protected Attributes | |
int | m_type |
Object type. | |
int | m_objNum |
Object number. | |
int | m_objGen |
Object generation. | |
bool | m_indirect |
Flag whether created through indirect reference. |
Class representing a base PDF object. (For internal use only)
wxPdfObject::wxPdfObject | ( | int | type | ) |
Constructor.
virtual wxPdfObject::~wxPdfObject | ( | ) | [virtual] |
Destructor.
bool wxPdfObject::CanBeInObjStm | ( | ) |
Check whether this object can be in an object stream.
int wxPdfObject::GetGeneration | ( | ) | [inline] |
Get generation number.
int wxPdfObject::GetNumber | ( | ) | [inline] |
Get object number.
int wxPdfObject::GetType | ( | ) | [inline] |
Get the type of the object.
bool wxPdfObject::IsArray | ( | ) | [inline] |
Checks whether this is a wxPdfArray object.
bool wxPdfObject::IsBoolean | ( | ) | [inline] |
Checks whether this is a wxPdfBoolean object.
bool wxPdfObject::IsCreatedIndirect | ( | ) | [inline] |
Check whether this object was created through a indirect reference.
bool wxPdfObject::IsDictionary | ( | ) | [inline] |
Checks whether this is a wxPdfDictionary object.
bool wxPdfObject::IsIndirect | ( | ) | [inline] |
Checks if this is an indirect object.
bool wxPdfObject::IsName | ( | ) | [inline] |
Checks whether this is a wxPdfName object.
bool wxPdfObject::IsNull | ( | ) | [inline] |
Checks whether this is a wxPdfNull object.
bool wxPdfObject::IsNumber | ( | ) | [inline] |
Checks whether this is a wxPdfNumber object.
bool wxPdfObject::IsStream | ( | ) | [inline] |
Checks whether this PdfObject is of the type PdfStream.
bool wxPdfObject::IsString | ( | ) | [inline] |
Checks whether this is a wxPdfString object.
void wxPdfObject::SetCreatedIndirect | ( | bool | indirect | ) | [inline] |
Flag this object as created through a indirect reference.
void wxPdfObject::SetObjNum | ( | int | objNum, |
int | objGen = 0 |
||
) |
Set object and generation number.
bool wxPdfObject::m_indirect [protected] |
Flag whether created through indirect reference.
int wxPdfObject::m_objGen [protected] |
Object generation.
int wxPdfObject::m_objNum [protected] |
Object number.
int wxPdfObject::m_type [protected] |
Object type.