wxPdfDocument 1.2.0
Classes | Macros | Functions | Variables
pdfdocument.h File Reference

Interface of the wxPdfDocument class. More...

#include <wx/dynarray.h>
#include <wx/hashmap.h>
#include <wx/mstream.h>
#include <wx/string.h>
#include <wx/xml/xml.h>
#include "wx/pdfdocdef.h"
#include "wx/pdfarraytypes.h"
#include "wx/pdfarraydouble.h"
#include "wx/pdfcolour.h"
#include "wx/pdfencrypt.h"
#include "wx/pdfimage.h"
#include "wx/pdflinestyle.h"
#include "wx/pdflinks.h"
#include "wx/pdfproperties.h"
#include "wx/pdfdoc_version.h"

Classes

class  wxPdfDocument
 Class representing a PDF document. More...
 

Macros

#define wxPDF_PRODUCER   wxS(PDFDOC_VERSION_STRING)
 
#define wxPDF_EPSILON   1e-6
 

Functions

 WX_DECLARE_HASH_MAP_WITH_DECL (long, int, wxIntegerHash, wxIntegerEqual, wxPdfOffsetHashMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for offset values.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxMemoryOutputStream *, wxIntegerHash, wxIntegerEqual, wxPdfPageHashMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for document pages.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxSize, wxIntegerHash, wxIntegerEqual, wxPdfPageSizeMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for document pages.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, bool, wxIntegerHash, wxIntegerEqual, wxPdfBoolHashMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for boolean values.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, double, wxIntegerHash, wxIntegerEqual, wxPdfDoubleHashMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for double values.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxPdfLink *, wxIntegerHash, wxIntegerEqual, wxPdfLinkHashMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for document links.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxArrayPtrVoid *, wxIntegerHash, wxIntegerEqual, wxPdfPageLinksMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for page links.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxArrayPtrVoid *, wxIntegerHash, wxIntegerEqual, wxPdfAnnotationsMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for document annotations.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxArrayPtrVoid *, wxIntegerHash, wxIntegerEqual, wxPdfFormAnnotsMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for document annotations.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxPdfIndirectObject *, wxIntegerHash, wxIntegerEqual, wxPdfFormFieldsMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for form fields.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxPdfTemplate *, wxIntegerHash, wxIntegerEqual, wxPdfTemplatesMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for templates.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxString *, wxIntegerHash, wxIntegerEqual, wxPdfStringHashMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for font encoding differences.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxPdfExtGState *, wxIntegerHash, wxIntegerEqual, wxPdfExtGStateMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for extended graphics states.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, int, wxIntegerHash, wxIntegerEqual, wxPdfExtGSLookupMap, class WXDLLIMPEXP_PDFDOC)
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxPdfGradient *, wxIntegerHash, wxIntegerEqual, wxPdfGradientMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for gradients.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxPdfOcg *, wxIntegerHash, wxIntegerEqual, wxPdfOcgMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for optional content groups.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxPdfLayerGroup *, wxIntegerHash, wxIntegerEqual, wxPdfLayerRGMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for optional content groups.
 
 WX_DECLARE_HASH_MAP_WITH_DECL (long, wxArrayString *, wxIntegerHash, wxIntegerEqual, wxPdfAttachmentMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for file attachments.
 
 WX_DECLARE_STRING_HASH_MAP_WITH_DECL (int, wxPdfCoreFontMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for core fonts.
 
 WX_DECLARE_STRING_HASH_MAP_WITH_DECL (int, wxPdfNamedLinksMap, class WXDLLIMPEXP_PDFDOC)
 Hashmap class for core fonts.
 
 WX_DECLARE_STRING_HASH_MAP_WITH_DECL (wxPdfFontDetails *, wxPdfFontHashMap, class WXDLLIMPEXP_PDFDOC)
 Hash map class for used/embedded fonts.
 
 WX_DECLARE_STRING_HASH_MAP_WITH_DECL (wxPdfImage *, wxPdfImageHashMap, class WXDLLIMPEXP_PDFDOC)
 Hash map class for embedded images.
 
 WX_DECLARE_STRING_HASH_MAP_WITH_DECL (wxPdfSpotColour *, wxPdfSpotColourMap, class WXDLLIMPEXP_PDFDOC)
 Hash map class for spot colours.
 
 WX_DECLARE_STRING_HASH_MAP_WITH_DECL (wxPdfPattern *, wxPdfPatternMap, class WXDLLIMPEXP_PDFDOC)
 Hash map class for spot colours.
 
 WX_DECLARE_STRING_HASH_MAP_WITH_DECL (wxPdfIndirectObject *, wxPdfRadioGroupMap, class WXDLLIMPEXP_PDFDOC)
 Hash map class for spot colours.
 
 WX_DECLARE_STRING_HASH_MAP_WITH_DECL (wxPdfParser *, wxPdfParserMap, class WXDLLIMPEXP_PDFDOC)
 Hash map class for parsers.
 

Variables

class WXDLLIMPEXP_FWD_PDFDOC wxPdfCoonsPatchMesh
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfFont
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfFontDescription
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfFontDetails
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfExtGState
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfGradient
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfInfo
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfShape
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfSpotColour
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfPattern
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfCellContext
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfTable
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfIndirectObject
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfAnnotationWidget
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfTemplate
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfParser
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfObject
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfArrayLayer
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfOcg
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfLayer
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfLayerMembership
 
class WXDLLIMPEXP_FWD_PDFDOC wxPdfLayerGroup
 

Detailed Description

Interface of the wxPdfDocument class.

Macro Definition Documentation

◆ wxPDF_EPSILON

#define wxPDF_EPSILON   1e-6

◆ wxPDF_PRODUCER

#define wxPDF_PRODUCER   wxS(PDFDOC_VERSION_STRING)

Function Documentation

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [1/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
bool ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfBoolHashMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for boolean values.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [2/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
double ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfDoubleHashMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for double values.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [3/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
int ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfExtGSLookupMap ,
class WXDLLIMPEXP_PDFDOC  )

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [4/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
int ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfOffsetHashMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for offset values.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [5/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxArrayPtrVoid * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfAnnotationsMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for document annotations.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [6/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxArrayPtrVoid * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfFormAnnotsMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for document annotations.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [7/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxArrayPtrVoid * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfPageLinksMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for page links.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [8/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxArrayString * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfAttachmentMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for file attachments.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [9/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxMemoryOutputStream * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfPageHashMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for document pages.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [10/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxPdfExtGState * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfExtGStateMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for extended graphics states.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [11/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxPdfGradient * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfGradientMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for gradients.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [12/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxPdfIndirectObject * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfFormFieldsMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for form fields.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [13/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxPdfLayerGroup * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfLayerRGMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for optional content groups.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [14/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxPdfLink * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfLinkHashMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for document links.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [15/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxPdfOcg * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfOcgMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for optional content groups.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [16/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxPdfTemplate * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfTemplatesMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for templates.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [17/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxSize ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfPageSizeMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for document pages.

◆ WX_DECLARE_HASH_MAP_WITH_DECL() [18/18]

WX_DECLARE_HASH_MAP_WITH_DECL ( long ,
wxString * ,
wxIntegerHash ,
wxIntegerEqual ,
wxPdfStringHashMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for font encoding differences.

◆ WX_DECLARE_STRING_HASH_MAP_WITH_DECL() [1/8]

WX_DECLARE_STRING_HASH_MAP_WITH_DECL ( int ,
wxPdfCoreFontMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for core fonts.

◆ WX_DECLARE_STRING_HASH_MAP_WITH_DECL() [2/8]

WX_DECLARE_STRING_HASH_MAP_WITH_DECL ( int ,
wxPdfNamedLinksMap ,
class WXDLLIMPEXP_PDFDOC  )

Hashmap class for core fonts.

◆ WX_DECLARE_STRING_HASH_MAP_WITH_DECL() [3/8]

WX_DECLARE_STRING_HASH_MAP_WITH_DECL ( wxPdfFontDetails * ,
wxPdfFontHashMap ,
class WXDLLIMPEXP_PDFDOC  )

Hash map class for used/embedded fonts.

◆ WX_DECLARE_STRING_HASH_MAP_WITH_DECL() [4/8]

WX_DECLARE_STRING_HASH_MAP_WITH_DECL ( wxPdfImage * ,
wxPdfImageHashMap ,
class WXDLLIMPEXP_PDFDOC  )

Hash map class for embedded images.

◆ WX_DECLARE_STRING_HASH_MAP_WITH_DECL() [5/8]

WX_DECLARE_STRING_HASH_MAP_WITH_DECL ( wxPdfIndirectObject * ,
wxPdfRadioGroupMap ,
class WXDLLIMPEXP_PDFDOC  )

Hash map class for spot colours.

◆ WX_DECLARE_STRING_HASH_MAP_WITH_DECL() [6/8]

WX_DECLARE_STRING_HASH_MAP_WITH_DECL ( wxPdfParser * ,
wxPdfParserMap ,
class WXDLLIMPEXP_PDFDOC  )

Hash map class for parsers.

◆ WX_DECLARE_STRING_HASH_MAP_WITH_DECL() [7/8]

WX_DECLARE_STRING_HASH_MAP_WITH_DECL ( wxPdfPattern * ,
wxPdfPatternMap ,
class WXDLLIMPEXP_PDFDOC  )

Hash map class for spot colours.

◆ WX_DECLARE_STRING_HASH_MAP_WITH_DECL() [8/8]

WX_DECLARE_STRING_HASH_MAP_WITH_DECL ( wxPdfSpotColour * ,
wxPdfSpotColourMap ,
class WXDLLIMPEXP_PDFDOC  )

Hash map class for spot colours.

Variable Documentation

◆ wxPdfAnnotationWidget

class WXDLLIMPEXP_FWD_PDFDOC wxPdfAnnotationWidget

◆ wxPdfArrayLayer

class WXDLLIMPEXP_FWD_PDFDOC wxPdfArrayLayer

◆ wxPdfCellContext

class WXDLLIMPEXP_FWD_PDFDOC wxPdfCellContext

◆ wxPdfCoonsPatchMesh

class WXDLLIMPEXP_FWD_PDFDOC wxPdfCoonsPatchMesh

◆ wxPdfExtGState

class WXDLLIMPEXP_FWD_PDFDOC wxPdfExtGState

◆ wxPdfFont

class WXDLLIMPEXP_FWD_PDFDOC wxPdfFont

◆ wxPdfFontDescription

class WXDLLIMPEXP_FWD_PDFDOC wxPdfFontDescription

◆ wxPdfFontDetails

class WXDLLIMPEXP_FWD_PDFDOC wxPdfFontDetails

◆ wxPdfGradient

class WXDLLIMPEXP_FWD_PDFDOC wxPdfGradient

◆ wxPdfIndirectObject

class WXDLLIMPEXP_FWD_PDFDOC wxPdfIndirectObject

◆ wxPdfInfo

class WXDLLIMPEXP_FWD_PDFDOC wxPdfInfo

◆ wxPdfLayer

class WXDLLIMPEXP_FWD_PDFDOC wxPdfLayer

◆ wxPdfLayerGroup

class WXDLLIMPEXP_FWD_PDFDOC wxPdfLayerGroup

◆ wxPdfLayerMembership

class WXDLLIMPEXP_FWD_PDFDOC wxPdfLayerMembership

◆ wxPdfObject

class WXDLLIMPEXP_FWD_PDFDOC wxPdfObject

◆ wxPdfOcg

class WXDLLIMPEXP_FWD_PDFDOC wxPdfOcg

◆ wxPdfParser

class WXDLLIMPEXP_FWD_PDFDOC wxPdfParser

◆ wxPdfPattern

class WXDLLIMPEXP_FWD_PDFDOC wxPdfPattern

◆ wxPdfShape

class WXDLLIMPEXP_FWD_PDFDOC wxPdfShape

◆ wxPdfSpotColour

class WXDLLIMPEXP_FWD_PDFDOC wxPdfSpotColour

◆ wxPdfTable

class WXDLLIMPEXP_FWD_PDFDOC wxPdfTable

◆ wxPdfTemplate

class WXDLLIMPEXP_FWD_PDFDOC wxPdfTemplate