pdf_define.h File Reference

#include <vector>
#include <string>
#include <stdio.h>
#include <math.h>
#include <algorithm>
#include <list>
#include <cassert>
#include <glib.h>
#include <iconv.h>
#include <iostream>
#include <fstream>
#include <tr1/unordered_map>
#include <goo/GooString.h>
#include <goo/GooList.h>
#include <splash/SplashBitmap.h>
#include <poppler/Link.h>
#include <poppler/TextOutputDev.h>
#include <poppler/PDFDoc.h>
#include <poppler/GlobalParams.h>
#include <poppler/Outline.h>
#include "plugin_inc.h"
#include "plugin_type.h"
#include "plugin_render.h"
#include "string_impl.h"
#include <sys/time.h>
Include dependency graph for pdf_define.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  pdf::PluginRangeImpl

Namespaces

namespace  pdf
 

A simple observer implementation.


Defines

#define pdf_printf   sprintf
#define RENDER_TEXT
#define PRERENDER_NUMBER   2
#define ZERO_RANGE   0.0001
#define PRERENDER_REF_ID   -1
#define ANCHOR_COMPARE_ERROR   -2
#define DEFAULT_SIZE_LIMIT   30 * 1024 * 1024
#define MAX_ZOOM   6401.0f
#define MIN_ZOOM   8.0f

Typedefs

typedef string pdf::string
typedef vector< std::string > pdf::stringlist

Enumerations

enum  pdf::PDFSearchType { pdf::PDF_SEARCH_ALL = 0, pdf::PDF_SEARCH_NEXT }

Functions

int pdf::get_cur_time ()
 Get current time.
bool pdf::is_render_area_valid (const RenderArea &area)
 Estimate whether the render area is valid.
void pdf::get_content_area_in_pixel (const RenderArea &area, const int origin_width, const int origin_height, PluginRectangle &rect)
 Get the content area in pixel.
bool pdf::operator< (const PDFPage &left, const PDFPage &right)
bool pdf::operator>= (const PDFPage &left, const PDFPage &right)
int pdf::compare_priority (const int src_page, const int dst_page, PDFPrerenderPolicy *policy)

Define Documentation

#define ANCHOR_COMPARE_ERROR   -2

Definition at line 85 of file pdf_define.h.

#define DEFAULT_SIZE_LIMIT   30 * 1024 * 1024

Definition at line 86 of file pdf_define.h.

#define MAX_ZOOM   6401.0f

Definition at line 88 of file pdf_define.h.

#define MIN_ZOOM   8.0f

Definition at line 89 of file pdf_define.h.

#define pdf_printf   sprintf

Definition at line 76 of file pdf_define.h.

#define PRERENDER_NUMBER   2

Definition at line 80 of file pdf_define.h.

#define PRERENDER_REF_ID   -1

Definition at line 83 of file pdf_define.h.

#define RENDER_TEXT

Definition at line 79 of file pdf_define.h.

#define ZERO_RANGE   0.0001

Definition at line 82 of file pdf_define.h.

Referenced by pdf::merge_rectangle(), and pdf::PDFRenderAttributes::operator==().

Generated by  doxygen 1.6.2-20100208