pdf::PDFPrerenderPolicy Class Reference

#include <pdf_prerender_policy.h>

Inheritance diagram for pdf::PDFPrerenderPolicy:
Inheritance graph
[legend]
Collaboration diagram for pdf::PDFPrerenderPolicy:
Collaboration graph
[legend]

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
PDFRenderRequestsget_requests ()

Protected Attributes

PDFRenderRequests requests

Detailed Description

Definition at line 38 of file pdf_prerender_policy.h.


Constructor & Destructor Documentation

pdf::PDFPrerenderPolicy::PDFPrerenderPolicy (  ) 

Definition at line 109 of file pdf_prerender_policy.cpp.

00110 : is_prerender(true)
00111 {
00112 }

pdf::PDFPrerenderPolicy::~PDFPrerenderPolicy (  )  [virtual]

Definition at line 114 of file pdf_prerender_policy.cpp.

00115 {
00116 }


Member Function Documentation

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().

Here is the caller graph for this function:

virtual int pdf::PDFPrerenderPolicy::get_allowed_hyperlinks_number (  )  [pure virtual]
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; }

Here is the caller graph for this function:

void pdf::PDFPrerenderPolicy::set_prerender ( bool  prerender_on  )  [inline]

Definition at line 51 of file pdf_prerender_policy.h.

00051 { is_prerender = prerender_on; }

bool pdf::PDFPrerenderPolicy::support_prerender (  )  const [inline]

Definition at line 52 of file pdf_prerender_policy.h.

00052 { return is_prerender; }


Field Documentation


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208