wxPdfDocument 0.9.2
|
Base class for optional content. (For internal use only) More...
#include <pdflayer.h>
Public Member Functions | |
wxPdfOcg () | |
Constructor. | |
virtual | ~wxPdfOcg () |
Destructor. | |
void | SetIndex (int index) |
Set OCG index. | |
int | GetIndex () const |
Get OCG index. | |
void | SetObjIndex (int n) |
Set object index. | |
int | GetObjIndex () const |
Get object index. | |
bool | IsOk () const |
Check whether OCG is initialized. | |
wxPdfOcgType | GetType () const |
Get. | |
Protected Attributes | |
wxPdfOcgType | m_type |
Type of OCG. |
Base class for optional content. (For internal use only)
wxPdfOcg::wxPdfOcg | ( | ) |
Constructor.
virtual wxPdfOcg::~wxPdfOcg | ( | ) | [virtual] |
Destructor.
int wxPdfOcg::GetIndex | ( | ) | const [inline] |
Get OCG index.
int wxPdfOcg::GetObjIndex | ( | ) | const [inline] |
Get object index.
wxPdfOcgType wxPdfOcg::GetType | ( | ) | const [inline] |
Get.
bool wxPdfOcg::IsOk | ( | ) | const |
Check whether OCG is initialized.
void wxPdfOcg::SetIndex | ( | int | index | ) | [inline] |
Set OCG index.
void wxPdfOcg::SetObjIndex | ( | int | n | ) | [inline] |
Set object index.
wxPdfOcgType wxPdfOcg::m_type [protected] |
Type of OCG.