#include <pdf_prerender_policy.h>
Public Member Functions | |
PDFPrerenderPolicy () | |
virtual | ~PDFPrerenderPolicy () |
virtual void | generate_requests_list (const int current_page, const int previous_page, const int total, std::vector< size_t > &result)=0 |
virtual int | get_allowed_hyperlinks_number ()=0 |
void | set_prerender (bool prerender_on) |
bool | support_prerender () const |
PDFRenderRequests & | get_requests () |
Protected Attributes | |
PDFRenderRequests | requests |
Definition at line 38 of file pdf_prerender_policy.h.
pdf::PDFPrerenderPolicy::PDFPrerenderPolicy | ( | ) |
Definition at line 109 of file pdf_prerender_policy.cpp.
pdf::PDFPrerenderPolicy::~PDFPrerenderPolicy | ( | ) | [virtual] |
Definition at line 114 of file pdf_prerender_policy.cpp.
virtual void pdf::PDFPrerenderPolicy::generate_requests_list | ( | const int | current_page, | |
const int | previous_page, | |||
const int | total, | |||
std::vector< size_t > & | result | |||
) | [pure virtual] |
Implemented in pdf::PDFPrerenderPolicyNormal.
Referenced by pdf::PDFRenderer::post_render_task().
virtual int pdf::PDFPrerenderPolicy::get_allowed_hyperlinks_number | ( | ) | [pure virtual] |
Implemented in pdf::PDFPrerenderPolicyNormal.
PDFRenderRequests& pdf::PDFPrerenderPolicy::get_requests | ( | ) | [inline] |
Definition at line 53 of file pdf_prerender_policy.h.
References requests.
Referenced by pdf::compare_priority().
00053 { return requests; }
void pdf::PDFPrerenderPolicy::set_prerender | ( | bool | prerender_on | ) | [inline] |
Definition at line 51 of file pdf_prerender_policy.h.
bool pdf::PDFPrerenderPolicy::support_prerender | ( | ) | const [inline] |
Definition at line 52 of file pdf_prerender_policy.h.
PDFRenderRequests pdf::PDFPrerenderPolicy::requests [protected] |
Definition at line 55 of file pdf_prerender_policy.h.
Referenced by pdf::PDFPrerenderPolicyNormal::generate_requests_list(), and get_requests().