Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

Namespaces | Defines | Typedefs | 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"
Include dependency graph for PdfDefines.h:

Go to the source code of this file.

Namespaces

namespace  PoDoFo

Defines

#define ePdfBlendMode_Color   "Color"
#define ePdfBlendMode_ColorBurn   "ColorBurn"
#define ePdfBlendMode_ColorDodge   "ColorDodge"
#define ePdfBlendMode_Darken   "Darken"
#define ePdfBlendMode_Difference   "Difference"
#define ePdfBlendMode_Exclusion   "Exclusion"
#define ePdfBlendMode_HardLight   "HardLight"
#define ePdfBlendMode_Hue   "Hue"
#define ePdfBlendMode_Lighten   "Lighten"
#define ePdfBlendMode_Luminosity   "Luminosity"
#define ePdfBlendMode_Multiply   "Multiply"
#define ePdfBlendMode_Normal   "Normal"
#define ePdfBlendMode_Overlay   "Overlay"
#define ePdfBlendMode_Saturation   "Saturation"
#define ePdfBlendMode_Screen   "Screen"
#define ePdfBlendMode_SoftLight   "SoftLight"
#define ePdfRenderingIntent_AbsoluteColorimetric   "AbsoluteColorimetric"
#define ePdfRenderingIntent_Perceptual   "Perceptual"
#define ePdfRenderingIntent_RelativeColorimetric   "RelativeColorimetric"
#define ePdfRenderingIntent_Saturation   "Saturation"
#define MAX_PDF_VERSION_STRING_INDEX   7
#define PODOFO_ASSERT(x)
#define PODOFO_CONVERSION_CONSTANT   0.002834645669291339
#define PODOFO_MAKE_VERSION(M, m, p)   PODOFO_MAKE_VERSION_REAL(M,m,p)
#define PODOFO_MAKE_VERSION_REAL(M, m, p)   ( (M<<16)+(m<<8)+(p) )
#define PODOFO_MAKE_VERSION_STR(M, m, p)   PODOFO_MAKE_VERSION_STR_REAL(M,m,p)
#define PODOFO_MAKE_VERSION_STR_REAL(M, m, p)   ("\"" #M "." #m "." #p "\"")
#define PODOFO_VERSION   PODOFO_MAKE_VERSION(PODOFO_VERSION_MAJOR, PODOFO_VERSION_MINOR, PODOFO_VERSION_PATCH)
#define PODOFO_VERSION_STR   PODOFO_MAKE_VERSION_STR(PODOFO_VERSION_MAJOR, PODOFO_VERSION_MINOR, PODOFO_VERSION_PATCH)
#define USE_CXX_LOCALE   1

Typedefs

typedef pdf_uint16 PoDoFo::pdf_utf16be
typedef unsigned char PoDoFo::pdf_utf8

Enumerations

enum  PoDoFo::EPdfAlignment { ePdfAlignment_Left = 0, ePdfAlignment_Center = 1, ePdfAlignment_Right = 2 }
enum  PoDoFo::EPdfColorSpace {
  PoDoFo::ePdfColorSpace_DeviceGray, PoDoFo::ePdfColorSpace_DeviceRGB, PoDoFo::ePdfColorSpace_DeviceCMYK, PoDoFo::ePdfColorSpace_Separation,
  PoDoFo::ePdfColorSpace_CieLab
}
enum  PoDoFo::EPdfDataType {
  PoDoFo::ePdfDataType_Bool, PoDoFo::ePdfDataType_Number, PoDoFo::ePdfDataType_Real, PoDoFo::ePdfDataType_String,
  PoDoFo::ePdfDataType_HexString, PoDoFo::ePdfDataType_Name, PoDoFo::ePdfDataType_Array, PoDoFo::ePdfDataType_Dictionary,
  PoDoFo::ePdfDataType_Null, PoDoFo::ePdfDataType_Reference, PoDoFo::ePdfDataType_RawData, PoDoFo::ePdfDataType_Unknown
}
enum  PoDoFo::EPdfFilter {
  PoDoFo::ePdfFilter_ASCIIHexDecode, PoDoFo::ePdfFilter_ASCII85Decode, ePdfFilter_LZWDecode, PoDoFo::ePdfFilter_FlateDecode,
  PoDoFo::ePdfFilter_RunLengthDecode, ePdfFilter_CCITTFaxDecode, ePdfFilter_JBIG2Decode, ePdfFilter_DCTDecode,
  ePdfFilter_JPXDecode, ePdfFilter_Crypt
}
enum  PoDoFo::EPdfFontType {
  ePdfFontType_TrueType, ePdfFontType_Type1Pfa, ePdfFontType_Type1Pfb, ePdfFontType_Type1Base14,
  ePdfFontType_Unknown = 0xff
}
enum  PoDoFo::EPdfLineCapStyle { ePdfLineCapStyle_Butt = 0, ePdfLineCapStyle_Round = 1, ePdfLineCapStyle_Square = 2 }
enum  PoDoFo::EPdfLineJoinStyle { ePdfLineJoinStyle_Miter = 0, ePdfLineJoinStyle_Round = 1, ePdfLineJoinStyle_Bevel = 2 }
enum  PoDoFo::EPdfPageLayout {
  ePdfPageLayoutIgnore, ePdfPageLayoutDefault, ePdfPageLayoutSinglePage, ePdfPageLayoutOneColumn,
  ePdfPageLayoutTwoColumnLeft, ePdfPageLayoutTwoColumnRight, ePdfPageLayoutTwoPageLeft, ePdfPageLayoutTwoPageRight
}
enum  PoDoFo::EPdfPageMode {
  ePdfPageModeDontCare, ePdfPageModeUseNone, ePdfPageModeUseThumbs, ePdfPageModeUseBookmarks,
  ePdfPageModeFullScreen, ePdfPageModeUseOC, ePdfPageModeUseAttachments
}
enum  PoDoFo::EPdfPageSize {
  PoDoFo::ePdfPageSize_A0, PoDoFo::ePdfPageSize_A1, PoDoFo::ePdfPageSize_A2, PoDoFo::ePdfPageSize_A3,
  PoDoFo::ePdfPageSize_A4, PoDoFo::ePdfPageSize_A5, PoDoFo::ePdfPageSize_A6, PoDoFo::ePdfPageSize_Letter,
  PoDoFo::ePdfPageSize_Legal, PoDoFo::ePdfPageSize_Tabloid
}
enum  PoDoFo::EPdfStrokeStyle {
  ePdfStrokeStyle_Solid, ePdfStrokeStyle_Dash, ePdfStrokeStyle_Dot, ePdfStrokeStyle_DashDot,
  ePdfStrokeStyle_DashDotDot, ePdfStrokeStyle_Custom
}
enum  PoDoFo::EPdfVersion {
  PoDoFo::ePdfVersion_1_0 = 0, PoDoFo::ePdfVersion_1_1, PoDoFo::ePdfVersion_1_2, PoDoFo::ePdfVersion_1_3,
  PoDoFo::ePdfVersion_1_4, PoDoFo::ePdfVersion_1_5, PoDoFo::ePdfVersion_1_6, PoDoFo::ePdfVersion_1_7
}
enum  PoDoFo::EPdfVerticalAlignment { ePdfVerticalAlignment_Top = 0, ePdfVerticalAlignment_Center = 1, ePdfVerticalAlignment_Bottom = 2 }
enum  PoDoFo::EPdfWriteMode { PoDoFo::ePdfWriteMode_Compact = 0x01, PoDoFo::ePdfWriteMode_Clean = 0x02 }

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 bool PoDoFo::ePdfCreateObject = true
const bool PoDoFo::ePdfDontCreateObject = false
const EPdfVersion PoDoFo::ePdfVersion_Default = ePdfVersion_1_3
const EPdfWriteMode PoDoFo::ePdfWriteMode_Default = ePdfWriteMode_Compact
static const char PoDoFo::s_cDelimiters []
const char PoDoFo::s_cWhiteSpaces []
static const int PoDoFo::s_nNumDelimiters = 10
 PDF Reference, Section 3.1.1, Character Set.
const int PoDoFo::s_nNumWhiteSpaces = 6
 PDF Reference, Section 3.1.1, Table 3.1, White-space characters.
static const char PoDoFo::s_szPdfVersionNums [][4]
static const char PoDoFo::s_szPdfVersions [][9]

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.

Definition in file PdfDefines.h.


Generated by  Doxygen 1.6.0   Back to index