#include <Resource.hh>
Inheritance diagram for pdf::common::CResource:
this is the PDF CResource base class. it contains two properties: a PDF name and a sub type.
|
constructor to initalize the sub type. the font name must be initialized by the SetName() function before it is written.
00038 : m_type( type ), m_sub_type( sub_type ) 00039 { 00040 } |
|
destructor do nothing
00045 { 00046 } |
|
get the type
00066 { return m_type ; } |
|
get the subtype
00069 { return m_sub_type ; } |
|
get the PDF name
00075 { return m_name ; } |
|
set the PDF name initialize the font name.
|
|
write the resource to the PDF file
Implemented in pdf::font::CStandard, pdf::font::CTrueType, pdf::graph::CImage, and pdf::graph::CJpegImage. |
|
PDF resource name. auto-generated.
Reimplemented in pdf::font::CStandard. |
|
resource type
|
|
sub type
|