Class representing a stream object. (For internal use only)
More...
#include <pdfobjects.h>
|
|
int | m_type |
| | Object type.
|
| |
|
int | m_objNum |
| | Object number.
|
| |
|
int | m_objGen |
| | Object generation.
|
| |
|
int | m_actualId |
| | Actual object id.
|
| |
|
bool | m_indirect |
| | Flag whether created through indirect reference.
|
| |
Class representing a stream object. (For internal use only)
◆ wxPdfStream()
| wxPdfStream::wxPdfStream |
( |
off_t |
offset | ) |
|
Constructor.
- Parameters
-
| offset | The offset of the stream data |
◆ CanBeInObjStm()
| bool wxPdfObject::CanBeInObjStm |
( |
| ) |
|
|
inherited |
Check whether this object can be in an object stream.
- Returns
true if the object can be in an object stream, false otherwise
◆ Get()
Get a value identified by the given key from the associated dictionary.
- Parameters
-
- Returns
- The object associated with the key in the stream dictionary
◆ GetActualId()
| int wxPdfObject::GetActualId |
( |
| ) |
|
|
inlineinherited |
- Returns
- The actual object ID
◆ GetBuffer()
| wxMemoryOutputStream * wxPdfStream::GetBuffer |
( |
| ) |
|
|
inline |
Get the stream data buffer.
- Returns
- The memory output stream containing the data
◆ GetDictionary()
Get the associated stream dictionary.
- Returns
- The stream dictionary
◆ GetGeneration()
| int wxPdfObject::GetGeneration |
( |
| ) |
|
|
inlineinherited |
Get generation number.
- Returns
- The generation number
◆ GetNumber()
| int wxPdfObject::GetNumber |
( |
| ) |
|
|
inlineinherited |
Get object number.
- Returns
- The object number
◆ GetObjOffset()
| int wxPdfStream::GetObjOffset |
( |
int |
index | ) |
const |
Get the offset of an object in the object stream.
- Parameters
-
- Returns
- The offset of the object, or -1 if the index is out of range
◆ GetObjOffsets()
| wxArrayInt * wxPdfStream::GetObjOffsets |
( |
| ) |
|
|
inline |
Get a pointer to the object offsets array.
- Returns
- Pointer to the array of object offsets
◆ GetOffset()
| off_t wxPdfStream::GetOffset |
( |
| ) |
|
|
inline |
Get the offset of the stream data.
- Returns
- The stream data offset
◆ GetType()
| int wxPdfObject::GetType |
( |
| ) |
|
|
inlineinherited |
Get the type of the object.
- Returns
- The object type
◆ HasObjOffsets()
| bool wxPdfStream::HasObjOffsets |
( |
| ) |
|
|
inline |
Get flag whether the offsets of objects in an object stream are available.
- Returns
true if the offsets are available, false otherwise
◆ IsArray()
| bool wxPdfObject::IsArray |
( |
| ) |
|
|
inlineinherited |
Checks whether this is a wxPdfArray object.
- Returns
true if this is an array object, false otherwise
◆ IsBoolean()
| bool wxPdfObject::IsBoolean |
( |
| ) |
|
|
inlineinherited |
Checks whether this is a wxPdfBoolean object.
- Returns
true if this is a boolean object, false otherwise
◆ IsCreatedIndirect()
| bool wxPdfObject::IsCreatedIndirect |
( |
| ) |
|
|
inlineinherited |
Check whether this object was created through an indirect reference.
- Returns
true if the object was created through an indirect reference, false otherwise
◆ IsDictionary()
| bool wxPdfObject::IsDictionary |
( |
| ) |
|
|
inlineinherited |
Checks whether this is a wxPdfDictionary object.
- Returns
true if this is a dictionary object, false otherwise
◆ IsIndirect()
| bool wxPdfObject::IsIndirect |
( |
| ) |
|
|
inlineinherited |
Checks if this is an indirect object.
- Returns
true if this is an indirect object, false otherwise
◆ IsName()
| bool wxPdfObject::IsName |
( |
| ) |
|
|
inlineinherited |
Checks whether this is a wxPdfName object.
- Returns
true if this is a name object, false otherwise
◆ IsNull()
| bool wxPdfObject::IsNull |
( |
| ) |
|
|
inlineinherited |
Checks whether this is a wxPdfNull object.
- Returns
true if this is a null object, false otherwise
◆ IsNumber()
| bool wxPdfObject::IsNumber |
( |
| ) |
|
|
inlineinherited |
Checks whether this is a wxPdfNumber object.
- Returns
true if this is a number object, false otherwise
◆ IsStream()
| bool wxPdfObject::IsStream |
( |
| ) |
|
|
inlineinherited |
Checks whether this PdfObject is of the type PdfStream.
- Returns
true if this is a stream object, false otherwise
◆ IsString()
| bool wxPdfObject::IsString |
( |
| ) |
|
|
inlineinherited |
Checks whether this is a wxPdfString object.
- Returns
true if this is a string object, false otherwise
◆ SetActualId()
| void wxPdfObject::SetActualId |
( |
int |
actualId | ) |
|
|
inlineinherited |
Set actual object id.
- Parameters
-
| actualId | The actual object ID |
◆ SetBuffer()
| void wxPdfStream::SetBuffer |
( |
wxMemoryOutputStream * |
buffer | ) |
|
|
inline |
Set the stream data buffer.
- Parameters
-
| buffer | The memory output stream containing the data |
◆ SetCreatedIndirect()
| void wxPdfObject::SetCreatedIndirect |
( |
bool |
indirect | ) |
|
|
inlineinherited |
Flag this object as created through an indirect reference.
- Parameters
-
| indirect | Flag whether the object is an indirect reference |
◆ SetDictionary()
Set the associated stream dictionary.
- Parameters
-
| dictionary | The stream dictionary |
◆ SetHasObjOffsets()
| void wxPdfStream::SetHasObjOffsets |
( |
bool |
hasObjOffsets | ) |
|
|
inline |
Set flag whether an object stream has already read the object index.
- Parameters
-
| hasObjOffsets | Flag whether the object stream has object offsets |
◆ SetObjNum()
| void wxPdfObject::SetObjNum |
( |
int |
objNum, |
|
|
int |
objGen = 0 |
|
) |
| |
|
inherited |
Set object and generation number.
- Parameters
-
| objNum | The object number |
| objGen | The generation number |
The documentation for this class was generated from the following files: