Universal Document Shell Plugin View interface. More...
#include <plugin_view.h>
Data Fields | ||||||||||
int(* | get_page_number )(IPluginUnknown *thiz, const UDSString *anchor) | |||||||||
Get page number by a specified anchor. | ||||||||||
. Otherwise it returns false. | ||||||||||
Retrieve page name by a specified anchor.
| ||||||||||
PluginStatus(* | get_page_name )(IPluginUnknown *thiz, const UDSString *page_start_anchor, UDSString *name) | |||||||||
PluginStatus(* | get_rendered_page_start )(IPluginUnknown *thiz, const UDSString *anchor, UDSString *start_anchor) | |||||||||
Returns an anchor pointing to the start of the rendered page. | ||||||||||
PluginStatus(* | get_physical_page_start )(IPluginUnknown *thiz, const UDSString *anchor, UDSString *start_anchor) | |||||||||
Returns an anchor poiting to the start of the physical page. | ||||||||||
int(* | get_number_of_pages )(IPluginUnknown *thiz) | |||||||||
Get the total number of the pages rendered by this view object. | ||||||||||
PluginStatus(* | get_anchor_by_page )(IPluginUnknown *thiz, unsigned int page, UDSString *start_of_page_anchor) | |||||||||
Get anchor position corresponding to the specified page. | ||||||||||
PluginStatus(* | get_prev_page )(IPluginUnknown *thiz, UDSString *start_of_page_anchor) | |||||||||
Get the anchor for the beginning position of the previous page. | ||||||||||
PluginStatus(* | get_next_page )(IPluginUnknown *thiz, UDSString *start_of_page_anchor) | |||||||||
Get the anchor for the beginning position of the next page. | ||||||||||
PluginStatus(* | get_cover_page )(IPluginUnknown *thiz, const int width, const int height, PluginBitmapAttributes *cover_page) | |||||||||
Get the cover page of document. |
Universal Document Shell Plugin View interface.
Copyright (C) 2008 iRex Technologies B.V. All rights reserved.
Definition at line 41 of file plugin_view.h.
PluginStatus(* IPluginView::get_anchor_by_page)(IPluginUnknown *thiz, unsigned int page, UDSString *start_of_page_anchor) |
Get anchor position corresponding to the specified page.
thiz | IPluginUnknown pointer of the view object. | |
page | The specified page number. | |
start_of_page_anchor | The returned anchor position. |
Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().
PluginStatus(* IPluginView::get_cover_page)(IPluginUnknown *thiz, const int width, const int height, PluginBitmapAttributes *cover_page) |
Get the cover page of document.
thiz | IPluginUnknown pointer of the view object. | |
width | The desired cover page width. | |
height | The desired cover page height. | |
cover_page | The result image of cover page. |
Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().
PluginStatus(* IPluginView::get_next_page)(IPluginUnknown *thiz, UDSString *start_of_page_anchor) |
Get the anchor for the beginning position of the next page.
thiz | IPluginUnknown pointer of the view object. | |
start_of_page_anchor | The returned anchor position. |
Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().
int(* IPluginView::get_number_of_pages)(IPluginUnknown *thiz) |
Get the total number of the pages rendered by this view object.
thiz | IPluginUnknown pointer of the view object. |
Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().
PluginStatus(* IPluginView::get_page_name)(IPluginUnknown *thiz, const UDSString *page_start_anchor, UDSString *name) |
int(* IPluginView::get_page_number)(IPluginUnknown *thiz, const UDSString *anchor) |
Get page number by a specified anchor.
thiz | IPluginUnknown pointer of the view object. | |
anchor | Location of user specified content. |
Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().
PluginStatus(* IPluginView::get_physical_page_start)(IPluginUnknown *thiz, const UDSString *anchor, UDSString *start_anchor) |
Returns an anchor poiting to the start of the physical page.
When the plugin renders only physical pages, this function doesn't have to be implementated. The default implementation willcall get_rendered_page_start()
thiz | IPluginUnknown pointer of view object. | |
start_anchor | [out] Anchor pointing to the start of the physical page |
Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().
PluginStatus(* IPluginView::get_prev_page)(IPluginUnknown *thiz, UDSString *start_of_page_anchor) |
Get the anchor for the beginning position of the previous page.
thiz | IPluginUnknown pointer of the view object. | |
start_of_page_anchor | The returned anchor position. |
Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().
PluginStatus(* IPluginView::get_rendered_page_start)(IPluginUnknown *thiz, const UDSString *anchor, UDSString *start_anchor) |
Returns an anchor pointing to the start of the rendered page.
thiz | [in] IPluginUnknown pointer of view object. | |
anchor | [in] The anchor of the requested page | |
start_anchor | [out] Anchor pointing to the start of the rendered page |
Referenced by text::PluginViewImpl::PluginViewImpl(), pdf::PluginViewImpl::PluginViewImpl(), and images::PluginViewImpl::PluginViewImpl().