PoDoFo  0.9.1
Namespaces | Macros | Enumerations | Functions | Variables
PdfDefines.h File Reference
#include "PdfCompilerCompat.h"
#include <wchar.h>
#include <map>
#include <string>
#include <vector>
#include <set>
#include "PdfError.h"
#include "PdfMemoryManagement.h"
#include "podofoapi.h"

Namespaces

 PoDoFo
 

Macros

#define PODOFO_MAKE_VERSION_REAL(M, m, p)   ( (M<<16)+(m<<8)+(p) )
 
#define PODOFO_MAKE_VERSION_STR_REAL(M, m, p)   ("\"" #M "." #m "." #p "\"")
 
#define ePdfRenderingIntent_AbsoluteColorimetric   "AbsoluteColorimetric"
 
#define ePdfBlendMode_Normal   "Normal"
 

Enumerations

Functions

template<typename T >
const T PoDoFo::PDF_MAX (const T a, const T b)
 
template<typename T >
const T PoDoFo::PDF_MIN (const T a, const T b)
 

Variables

const EPdfVersion PoDoFo::ePdfVersion_Default = ePdfVersion_1_3
 
const int PoDoFo::s_nNumWhiteSpaces = 6
 PDF Reference, Section 3.1.1, Table 3.1, White-space characters.
 

Detailed Description

This file should be included as the FIRST file in every header of PoDoFo lib. It includes all standard files, defines some useful macros, some datatypes and all important enumeration types. On supporting platforms it will be precompiled to speed compilation.

Macro Definition Documentation

#define ePdfBlendMode_Normal   "Normal"

List of defined transparency blending modes

#define ePdfRenderingIntent_AbsoluteColorimetric   "AbsoluteColorimetric"

List of defined Rendering intents

#define PODOFO_MAKE_VERSION_REAL (   M,
  m,
 
)    ( (M<<16)+(m<<8)+(p) )

PoDoFo version - 24-bit integer representation. Version is 0xMMmmpp where M is major, m is minor and p is patch eg 0.7.0 is represented as 0x000700 eg 0.7.99 is represented as 0x000763

Note that the PoDoFo version is available in parts as individual 8-bit integer literals in PODOFO_VERSION_MAJOR, PODOFO_VERSION_MINOR and PODOFO_VERSION_PATCH .

#define PODOFO_MAKE_VERSION_STR_REAL (   M,
  m,
 
)    ("\"" #M "." #m "." #p "\"")

PoDoFo version represented as a string literal, eg '0.7.99'