#include <render_settings_impl.h>
Public Member Functions | |
PluginRenderSettingsImpl (void) | |
PluginRenderSettingsImpl (const PluginRenderSettingsImpl &ref) | |
~PluginRenderSettingsImpl (void) | |
double | zoom () const |
double | rotation () const |
const PDFRenderAttributes & | get_render_attr () const |
Static Public Member Functions | |
static PluginRenderSettingsImpl * | query_instance (IPluginUnknown *thiz) |
Data Fields | |
utils::Signal < PluginRenderSettingsImpl * > | release_signal |
Definition at line 41 of file pdf/plugin_impl/render_settings_impl.h.
pdf::PluginRenderSettingsImpl::PluginRenderSettingsImpl | ( | void | ) |
Definition at line 36 of file pdf/plugin_impl/render_settings_impl.cpp.
References utils::ObjectTable< T >::add_interface(), IPluginClone::create_clone_object, IPluginRotation::get_rotation, IPluginZoom::get_zoom_factor, _IPluginUnknown::query_interface, _IPluginUnknown::release, IPluginRotation::set_rotation, and IPluginZoom::set_zoom_factor.
00037 : attr() 00038 { 00039 // IPluginUnknown 00040 query_interface = query_interface_impl; 00041 release = release_impl; 00042 00043 // IPluginClone 00044 create_clone_object = create_clone_object_impl; 00045 00046 // IPluginRenderSettings, no method yet. 00047 00048 // IPluginZoom 00049 set_zoom_factor = set_zoom_factor_impl; 00050 get_zoom_factor = get_zoom_factor_impl; 00051 00052 // IPluginRotation 00053 set_rotation = set_rotation_impl; 00054 get_rotation = get_rotation_impl; 00055 00056 g_instances_table.add_interface<IPluginUnknown>(this); 00057 g_instances_table.add_interface<IPluginClone>(this); 00058 g_instances_table.add_interface<IPluginRenderSettings>(this); 00059 g_instances_table.add_interface<IPluginZoom>(this); 00060 g_instances_table.add_interface<IPluginRotation>(this); 00061 }
pdf::PluginRenderSettingsImpl::PluginRenderSettingsImpl | ( | const PluginRenderSettingsImpl & | ref | ) |
Definition at line 63 of file pdf/plugin_impl/render_settings_impl.cpp.
References utils::ObjectTable< T >::add_interface(), IPluginClone::create_clone_object, IPluginRotation::get_rotation, IPluginZoom::get_zoom_factor, _IPluginUnknown::query_interface, _IPluginUnknown::release, IPluginRotation::set_rotation, and IPluginZoom::set_zoom_factor.
00064 : attr(ref.attr) 00065 { 00066 // IPluginUnknown 00067 query_interface = query_interface_impl; 00068 release = release_impl; 00069 00070 // IPluginClone 00071 create_clone_object = create_clone_object_impl; 00072 00073 // IPluginRenderSettings, no method yet. 00074 00075 // IPluginZoom 00076 set_zoom_factor = set_zoom_factor_impl; 00077 get_zoom_factor = get_zoom_factor_impl; 00078 00079 // IPluginRotation 00080 set_rotation = set_rotation_impl; 00081 get_rotation = get_rotation_impl; 00082 00083 g_instances_table.add_interface<IPluginUnknown>(this); 00084 g_instances_table.add_interface<IPluginClone>(this); 00085 g_instances_table.add_interface<IPluginRenderSettings>(this); 00086 g_instances_table.add_interface<IPluginZoom>(this); 00087 g_instances_table.add_interface<IPluginRotation>(this); 00088 }
pdf::PluginRenderSettingsImpl::~PluginRenderSettingsImpl | ( | void | ) |
Definition at line 90 of file pdf/plugin_impl/render_settings_impl.cpp.
References utils::ObjectTable< T >::remove().
00091 { 00092 g_instances_table.remove(this); 00093 }
const PDFRenderAttributes& pdf::PluginRenderSettingsImpl::get_render_attr | ( | ) | const [inline] |
Definition at line 56 of file pdf/plugin_impl/render_settings_impl.h.
PluginRenderSettingsImpl * pdf::PluginRenderSettingsImpl::query_instance | ( | IPluginUnknown * | thiz | ) | [static] |
Definition at line 96 of file pdf/plugin_impl/render_settings_impl.cpp.
References utils::ObjectTable< T >::get_object().
00097 { 00098 return g_instances_table.get_object(thiz); 00099 }
double pdf::PluginRenderSettingsImpl::rotation | ( | ) | const [inline] |
Definition at line 54 of file pdf/plugin_impl/render_settings_impl.h.
References pdf::PDFRenderAttributes::get_rotate().
double pdf::PluginRenderSettingsImpl::zoom | ( | ) | const [inline] |
Definition at line 52 of file pdf/plugin_impl/render_settings_impl.h.
References pdf::PDFRenderAttributes::get_zoom_setting().
Definition at line 61 of file pdf/plugin_impl/render_settings_impl.h.