PoDoFo
0.11.0-dev
|
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztk SPDX-License-Identifier: LGPL-2.0-or-later SPDX-License-Identifier: MPL-2.0. o@gm ail.c omMore...
Classes | |
class | charbuff_t |
Convenient type for char array storage and/or buffer with std::string compatibility. More... | |
class | datahandle_t |
A const data provider that can hold a view to a static segments or a shared buffer. More... | |
class | InputStreamDevice |
This class represents an input device It optionally supports peeking. More... | |
class | InputStream |
An interface for reading blocks of data from a data source. More... | |
class | nullable |
Alternative to std::optional that supports reference (but not pointer) types. More... | |
class | OutputStream |
An interface for writing blocks of data to a data source. More... | |
class | Rect |
A rectangle defined by position and size. More... | |
class | StreamDevice |
This class provides an output device which operates either on a file or on a buffer in memory. More... | |
class | NullStreamDevice |
An StreamDevice device that does nothing. More... | |
class | PdfAction |
An action that can be performed in a PDF document. More... | |
class | PdfAnnotation |
An annotation to a PdfPage To create an annotation use PdfPage::CreateAnnotation. More... | |
class | PdfArrayIndirectIterableBase |
Helper class to iterate through array indirect objects. More... | |
class | PdfArray |
This class represents a PdfArray Use it for all arrays that are written to a PDF file. More... | |
class | PdfCanvas |
A interface that provides the necessary features for a painter to draw onto a PdfObject. More... | |
class | PdfCanvasInputDevice |
There are Pdfs spanning delimiters or begin/end tags into contents streams. More... | |
class | PdfCharCodeMap |
A bidirectional map from character code units to unspecified code points. More... | |
class | PdfCheckBox |
A checkbox can be checked or unchecked by the user. More... | |
class | PdChoiceField |
A list of items in a PDF file. More... | |
class | PdfCIDToGIDMap |
Helper class to handle the /CIDToGIDMap entry in a Type2 CID font or /TrueType fonts implicit CID to GID mapping. More... | |
class | PdfColor |
A color object can represent either a grayscale value, a RGB color, a CMYK color, a separation color or a CieLab color. More... | |
class | PdfColorSpace |
A class that implements methods to sample colors from a scanline buffer. More... | |
class | PdfColorSpaceIndexed |
Color space as described by ISO 32000-2:2020 "8.6.6.3 Indexed colour spaces". More... | |
class | PdfComboBox |
A combo box with a drop down list of items. More... | |
class | PdfContents |
A interface that provides a wrapper around "PDF content" - the instructions that are used to draw on the PDF "canvas". More... | |
class | PdfContentStreamOperators |
Pdf content stream callble operator interface ISO 32000 - 1:2008 "A.2 PDF Content Stream Operators". More... | |
struct | PdfContent |
Content as read from content streams. More... | |
class | PdfContentStreamReader |
Reader class to read content streams. More... | |
class | PdfData |
A datatype that allows to write arbitrary data to a PDF file. More... | |
class | PdfDataContainer |
A PdfDataProvider object with a PdfObject owner, specialized in holding objects. More... | |
class | PdfDataProvider |
An interface for data provider classes that are stored in a PdfVariant. More... | |
class | PdfDate |
This class is a date datatype as specified in the PDF reference. More... | |
class | PdfDestination |
A destination in a PDF file. More... | |
class | PdfDictionaryIndirectIterableBase |
Helper class to iterate through indirect objects. More... | |
class | PdfDictionary |
The PDF dictionary data type of PoDoFo (inherits from PdfDataContainer, the base class for such representations) Note: manipulation function accepts PdfName for the key, while getters accept std::string_view. More... | |
class | PdfDifferenceList |
A helper class for PdfDifferenceEncoding that can be used to create a differences array. More... | |
class | PdfDifferenceEncoding |
PdfDifferenceEncoding is an encoding, which is based on either the fonts encoding or a predefined encoding and defines differences to this base encoding. More... | |
class | PdfDocument |
PdfDocument is the core interface for working with PDF documents. More... | |
class | PdfElement |
PdfElement is a common base class for all elements in a PDF file. More... | |
class | PdfStringScanContext |
A PDF string context to iteratively scan a string and collect both CID and unicode codepoints. More... | |
class | PdfEncoding |
A PdfEncoding is in PdfFont to transform a text string into a representation so that it can be displayed in a PDF file. More... | |
struct | PdfCharCode |
A character code unit. More... | |
struct | PdfCID |
Represent a CID (Character ID) with full code unit information. More... | |
class | PdfEncodingFactory |
This factory creates a PdfEncoding from an existing object in the PDF. More... | |
class | PdfEncodingMap |
A PdfEncodingMap is a low level interface to convert between utf8 and encoded strings in and to determine correct CID mapping. More... | |
class | PdfEncodingMapBase |
Basic PdfEncodingMap implementation using a PdfCharCodeMap. More... | |
class | PdfEncodingMapOneByte |
PdfEncodingMap used by encodings like PdfBuiltInEncoding or PdfDifferenceEncoding that can define all their charset with a single one byte range. More... | |
class | PdfBuiltInEncoding |
A common base class for built-in encodings which are known by name. More... | |
class | PdfNullEncodingMap |
Dummy encoding map that will just throw exception. More... | |
class | PdfEncodingMapFactory |
This factory creates a PdfEncodingMap. More... | |
class | PdfEncrypt |
A class that is used to encrypt a PDF file and set document permissions on the PDF file. More... | |
class | PdfEncryptAESBase |
A pure virtual class that is used to encrypt a PDF file (AES-128/256) This class is the base for classes that implement algorithms based on AES. More... | |
class | PdfEncryptRC4Base |
A pure virtual class that is used to encrypt a PDF file (RC4-40..128) This class is the base for classes that implement algorithms based on RC4. More... | |
class | PdfEncryptAESV2 |
A class that is used to encrypt a PDF file (AES-128) More... | |
class | PdfEncryptRC4 |
A class that is used to encrypt a PDF file (RC4 40-bit and 128-bit) More... | |
class | PdfError |
The error handling class of the PoDoFo library. More... | |
class | PdfExtension |
PdfExtension is a simple class that describes a vendor-specific extension to the official specifications. More... | |
class | PdfExtGState |
This class wraps the ExtGState object used in the Resource Dictionary of a Content-supporting element (page, Pattern, etc.) The main usage is for transparency, but it also support a variety of prepress features. More... | |
class | PdfFileSpec |
A file specification is used in the PDF file to refer to another file. More... | |
class | PdfFont |
Before you can draw text on a PDF document, you have to create a font object first. More... | |
class | PdfFontCID |
A PdfFont that represents a CID-keyed font. More... | |
class | PdfFontCIDTrueType |
A PdfFont that represents a CID-keyed font that has a TrueType font backend. More... | |
class | PdfFontCIDType1 |
A PdfFont that represents a CID-keyed font that has a Typ1 font backend. More... | |
class | PdfFontConfigWrapper |
This class initializes and destroys the FontConfig library. More... | |
class | PdfFontManager |
This class assists PdfDocument with caching font information. More... | |
class | PdfFontMetrics |
This abstract class provides access to font metrics information. More... | |
class | PdfFontMetricsStandard14 |
This is the main class to handle the Standard14 metric data. More... | |
class | PdfFontSimple |
This is a common base class for simple, non CID-keyed fonts like Type1, TrueType and Type3. More... | |
class | PdfFontTrueType |
A PdfFont implementation that can be used to embed truetype fonts into a PDF file or to draw with truetype fonts. More... | |
class | PdfFontType1 |
A PdfFont implementation that can be used to embed type1 fonts into a PDF file or to draw with type1 fonts. More... | |
class | PdfFontType3 |
A PdfFont implementation that can be used to embed type3 fonts into a PDF file or to draw with type3 fonts. More... | |
class | PdfIdentityEncoding |
PdfIdentityEncoding is a two-byte encoding which can be used with TrueType fonts to represent all characters present in a font. More... | |
class | PdfImage |
A PdfImage object is needed when ever you want to embed an image file into a PDF document. More... | |
class | PdfImmediateWriter |
A kind of PdfWriter that writes objects with streams immediately to an OutputStreamDevice. More... | |
class | PdfIndirectObjectList |
A list of PdfObjects that constitutes the indirect object list of the document The PdfParser will read the PdfFile into memory and create a PdfIndirectObjectList of all dictionaries found in the PDF file. More... | |
class | PdfInfo |
This class provides access to the documents info dictionary, which provides information about the PDF document. More... | |
class | PdfListBox |
A list box. More... | |
class | PdfMemDocument |
PdfMemDocument is the core class for reading and manipulating PDF files and writing them back to disk. More... | |
class | PdfMemoryObjectStream |
A PDF stream can be appended to any PdfObject and can contain arbitrary data. More... | |
class | PdfName |
This class represents a PdfName. More... | |
class | PdfObject |
This class represents a PDF indirect Object in memory. More... | |
struct | Object |
Templatized object type getter helper. More... | |
class | PdfObjectStream |
A PDF stream can be appended to any PdfObject and can contain arbitrary data. More... | |
class | PdfOutlineItem |
A PDF outline item has an title and a destination. More... | |
class | PdfOutlines |
The main PDF outlines dictionary. More... | |
class | PdfPage |
PdfPage is one page in the pdf document. More... | |
class | PdfPageCollection |
Class for managing the tree of Pages in a PDF document Don't use this class directly. More... | |
class | PdfPainter |
This class provides an easy to use painter object which allows you to draw on a PDF page object. More... | |
class | PdfPainterPath |
This class describes PDF paths being written to a PdfPainter. More... | |
class | PdfPainterTextObject |
This class describes a manually handled PDF text object (content stream operators surrounded by BT . More... | |
class | PdfParser |
PdfParser reads a PDF file into memory. More... | |
class | PdfParserObject |
A PdfParserObject constructs a PdfObject from a PDF file. More... | |
class | PdfPostScriptTokenizer |
This class is a parser for general PostScript content in PDF documents. More... | |
class | PdfPredefinedEncoding |
A common base class for Pdf defined predefined encodings which are known by name. More... | |
class | PdfWinAnsiEncoding |
The WinAnsiEncoding is the default encoding in PoDoFo for contents on PDF pages. More... | |
class | PdfMacRomanEncoding |
MacRomanEncoding. More... | |
class | PdfMacExpertEncoding |
MacExpertEncoding. More... | |
class | PdfStandardEncoding |
StandardEncoding. More... | |
class | PdfSymbolEncoding |
Symbol Encoding. More... | |
class | PdfZapfDingbatsEncoding |
ZapfDingbats encoding. More... | |
class | PdfPushButton |
A push button is a button which has no state and value but can toggle actions. More... | |
class | PdfRadioButton |
A radio button TODO: This is just a stub. More... | |
class | PdfReference |
A reference is a pointer to a object in the PDF file of the form "4 0 R", where 4 is the object number and 0 is the generation number. More... | |
class | PdfResources |
A interface that provides a wrapper around /Resources. More... | |
class | PdfSignerCms |
This class computes a CMS signature according to RFC 5652. More... | |
struct | PdfSigningResults |
Interchange signing procedure results. More... | |
class | PdfSigningContext |
A context that can be used to customize the signing process. More... | |
class | PdfStreamedDocument |
PdfStreamedDocument is the preferred class for creating new PDF documents. More... | |
class | PdfStreamedObjectStream |
A PDF stream can be appended to any PdfObject and can contain arbitrary data. More... | |
class | PdfString |
A string that can be written to a PDF document. More... | |
class | PdfStringStream |
A specialized Pdf output string stream It supplies an iostream-like operator<< interface, while still inheriting OutputStream. More... | |
class | PdfTextBox |
A text field in a PDF file. More... | |
class | PdfTokenizer |
A simple tokenizer for PDF files and PDF content streams. More... | |
class | PdfVariant |
A variant data type which supports all data types supported by the PDF standard. More... | |
class | PdfWriter |
The PdfWriter class writes a list of PdfObjects as PDF file. More... | |
class | PdfXObject |
A XObject is a content stream with several drawing commands and data which can be used throughout a PDF document. More... | |
class | PdfXRefStreamParserObject |
A utility class for PdfParser that can parse an XRef stream object. More... | |
class | PdfFunction |
This class defines a PdfFunction. More... | |
class | PdfSampledFunction |
This class is a PdfSampledFunction. More... | |
class | PdfExponentialFunction |
This class is a PdfExponentialFunction. More... | |
class | PdfStitchingFunction |
This class is a PdfStitchingFunction, i.e. More... | |
class | PdfPainterPathExtensions |
This class contains some extension methods to PdfPainterPath The class mostly implements some SVG commands by using regular PDF operators by maintaining an internal state. More... | |
class | PdfShadingPattern |
This class defined a shading pattern which can be used to fill arbitrary shapes with a pattern using PdfPainter. More... | |
class | PdfAxialShadingPattern |
A shading pattern that is a simple axial shading between two colors. More... | |
class | PdfFunctionBaseShadingPattern |
A shading pattern that is an 2D shading between four colors. More... | |
class | PdfRadialShadingPattern |
A shading pattern that is a simple radial shading between two colors. More... | |
class | PdfTriangleShadingPattern |
A shading pattern that is a simple triangle shading between three colors. More... | |
class | PdfTilingPattern |
This class defined a tiling pattern which can be used to fill arbitrary shapes with a pattern using PdfPainter. More... | |
Typedefs | |
using | bufferview = cspan< char > |
Convenient read-only char buffer span. | |
using | bufferspan = mspan< char > |
Convenient writable char buffer span. | |
using | unicodeview = cspan< char32_t > |
Unicode code point view. | |
using | charbuff = charbuff_t<> |
using | datahandle = datahandle_t<> |
template<class T , size_t Extent = tcb::dynamic_extent> | |
using | cspan = tcb::span< const T, Extent > |
Constant span. | |
template<class T , size_t Extent = tcb::dynamic_extent, typename std::enable_if<!std::is_const< T >::value, int >::type = 0> | |
using | mspan = tcb::span< T, Extent > |
Mutable span. | |
using | VectorStreamDevice = ContainerStreamDevice< std::vector< char > > |
using | StringStreamDevice = ContainerStreamDevice< std::string > |
using | BufferStreamDevice = ContainerStreamDevice< charbuff > |
using | PdfArrayList = std::vector< PdfObject > |
using | PdfArrayIndirectIterable = PdfArrayIndirectIterableBase< PdfObject, PdfArrayList::iterator > |
using | PdfArrayConstIndirectIterable = PdfArrayIndirectIterableBase< const PdfObject, PdfArrayList::const_iterator > |
using | codepoint = char32_t |
A convenient typedef for an unspecified codepoint The underlying type is convenientely char32_t so it's a 32 bit fixed sized type that is also compatible with unicode code points. | |
using | codepointview = cspan< codepoint > |
using | PdfCIDToGIDMapConstPtr = std::shared_ptr< const PdfCIDToGIDMap > |
using | PdfColorSpacePtr = std::shared_ptr< const PdfColorSpace > |
Convenience alias for a constant PdfColorSpace shared ptr. | |
using | PdfInlineImageHandler = std::function< bool(const PdfDictionary &imageDict, InputStreamDevice &device)> |
Custom handler for inline images. More... | |
using | Matrix2D = std::array< double, 6 > |
using | CIDToGIDMap = std::map< unsigned, unsigned > |
A backing storage for a CID to GID map. More... | |
using | PdfFilterList = std::vector< PdfFilterType > |
using | PdfDictionaryMap = std::map< PdfName, PdfObject, PdfDictionaryComparator > |
using | PdfDictionaryIndirectIterable = PdfDictionaryIndirectIterableBase< PdfObject, PdfDictionaryMap::iterator > |
using | PdfDictionaryConstIndirectIterable = PdfDictionaryIndirectIterableBase< const PdfObject, PdfDictionaryMap::const_iterator > |
using | PdfEncodingMapConstPtr = std::shared_ptr< const PdfEncodingMap > |
Convenience typedef for a const /Encoding map entry shared ptr. | |
using | PdfBuiltInEncodingConstPtr = std::shared_ptr< const PdfBuiltInEncoding > |
Convenience typedef for a const /Encoding map entry shared ptr. | |
using | PdfToUnicodeMapConstPtr = std::shared_ptr< const PdfEncodingMap > |
Convenience alias for a const /ToUnicode CMap entry shared ptr. | |
using | PdErrorInfoStack = std::deque< PdfErrorInfo > |
using | LogMessageCallback = std::function< void(PdfLogSeverity logSeverity, const std::string_view &msg)> |
using | UsedGIDsMap = std::map< unsigned, PdfCID > |
using | PdfFontMetricsConstPtr = std::shared_ptr< const PdfFontMetrics > |
Convenience typedef for a const PdfEncoding shared ptr. | |
using | ReferenceList = std::deque< PdfReference > |
using | PdfPainterStateStack = StateStack< PdfPainterState > |
using | PdfSigningService = std::function< void(bufferview hashToSign, bool dryrun, charbuff &signedHash)> |
using | PdfSignedHashHandler = std::function< void(bufferview signedhHash, bool dryrun)> |
Enumerations | |
enum class | AlgebraicTrait { Tx , Ty } |
enum class | FileMode { CreateNew = 1 , Create , Open , OpenOrCreate , Truncate , Append } |
enum class | DeviceAccess { Read = 1 , Write = 2 , ReadWrite = Read | Write } |
enum class | SeekDirection { Begin = 0 , Current , End } |
enum class | PdfAcroFormDefaulAppearance { None , BlackText12pt } |
enum class | PdfActionType { Unknown = 0 , GoTo , GoToR , GoToE , Launch , Thread , URI , Sound , Movie , Hide , Named , SubmitForm , ResetForm , ImportData , JavaScript , SetOCGState , Rendition , Trans , GoTo3DView , RichMediaExecute } |
The type of the action. More... | |
enum class | PdfStreamAppendFlags { None = 0 , Prepend = 1 , NoSaveRestorePrior = 2 } |
enum class | PdfColorSpacePixelFormat { Unknown = 0 , Grayscale , RGB , CMYK } |
Output pixel format for a PdfColorSpaceFilter. | |
enum class | PdfContentType { Unknown = 0 , Operator , ImageDictionary , ImageData , DoXObject , EndXObjectForm , UnexpectedKeyword } |
Type of the content read from a content stream. More... | |
enum class | PdfContentWarnings { None = 0 , InvalidOperator = 1 , SpuriousStackContent = 2 , InvalidXObject = 4 , RecursiveXObject = 8 , InvalidImageDictionaryContent = 16 , MissingEndImage = 32 } |
enum class | PdfContentReaderFlags { None = 0 , ThrowOnWarnings = 1 , DontFollowXObjectForms = 2 } |
enum class | PdfVersion : uint8_t { Unknown = 0 , V1_0 = 10 , V1_1 = 11 , V1_2 = 12 , V1_3 = 13 , V1_4 = 14 , V1_5 = 15 , V1_6 = 16 , V1_7 = 17 , V2_0 = 20 } |
Enum to identify different versions of the PDF file format. More... | |
enum class | PdfALevel : uint8_t { Unknown = 0 , L1B , L1A , L2B , L2A , L2U , L3B , L3A , L3U , L4E , L4F } |
enum class | PdfStringState : uint8_t { RawBuffer , Ascii , PdfDocEncoding , Unicode } |
enum class | PdfEncodingMapType : uint8_t { Indeterminate , Simple , CMap } |
enum class | PdfWriteFlags { None = 0 , Clean = 1 , NoInlineLiteral = 2 , NoFlateCompress = 4 , NoPDFAPreserve = 256 } |
Specify additional options for writing the PDF. More... | |
enum class | PdfDataType : uint8_t { Unknown = 0 , Bool , Number , Real , String , Name , Array , Dictionary , Null , Reference , RawData } |
Every PDF datatype that can occur in a PDF file is referenced by an own enum (e.g. More... | |
enum class | PdfTextExtractFlags { None = 0 , IgnoreCase = 1 , KeepWhiteTokens = 2 , TokenizeWords = 4 , MatchWholeWord = 8 , RegexPattern = 16 , ComputeBoundingBox = 32 , RawCoordinates = 64 , ExtractSubstring = 128 } |
enum class | PdfXObjectType : uint8_t { Unknown = 0 , Form , Image , PostScript } |
enum class | PdfFilterType : uint8_t { None = 0 , ASCIIHexDecode , ASCII85Decode , LZWDecode , FlateDecode , RunLengthDecode , CCITTFaxDecode , JBIG2Decode , DCTDecode , JPXDecode , Crypt } |
Every filter that can be used to encode a stream in a PDF file is referenced by an own enum value. More... | |
enum class | PdfExportFormat { Png = 1 , Jpeg = 2 } |
enum class | PdfFontDescriptorFlags : uint32_t { None = 0 , FixedPitch = 1 << 0 , Serif = 1 << 1 , Symbolic = 1 << 2 , Script = 1 << 3 , NonSymbolic = 1 << 5 , Italic = 1 << 6 , AllCap = 1 << 16 , SmallCap = 1 << 17 , ForceBold = 1 << 18 } |
Enum for the font descriptor flags. More... | |
enum class | PdfFontStretch { Unknown = 0 , UltraCondensed , ExtraCondensed , Condensed , SemiCondensed , Normal , SemiExpanded , Expanded , ExtraExpanded , UltraExpanded } |
enum class | PdfFontType : uint8_t { Unknown = 0 , Type1 , Type3 , TrueType , CIDType1 , CIDTrueType } |
Enum specifying the type of the font. More... | |
enum class | PdfFontFileType : uint8_t { Unknown = 0 , Type1 , Type1CCF , CIDType1 , Type3 , TrueType , OpenType } |
enum class | PdfFontStyle : uint8_t { Regular = 0 , Italic = 1 , Bold = 2 } |
Font style flags used during searches. | |
enum class | PdfGlyphAccess : uint8_t { Width = 1 , FontProgram = 2 } |
When accessing a glyph, there may be a difference in the glyph ID to retrieve the width or to index it within the font program. More... | |
enum class | PdfFontAutoSelectBehavior { None = 0 , Standard14 = 1 , Standard14Alt = 2 } |
Flags to control font creation. More... | |
enum class | PdfFontCreateFlags { None = 0 , DontEmbed = 1 , DontSubset = 2 , PreferNonCID = 4 } |
Font init flags. More... | |
enum class | PdfFontMatchBehaviorFlags { None , NormalizePattern = 1 , MatchPostScriptName = 2 } |
enum class | PdfColorSpaceType : uint8_t { Unknown = 0 , DeviceGray , DeviceRGB , DeviceCMYK , CalGray , CalRGB , Lab , ICCBased , Indexed , Pattern , Separation , DeviceN } |
Enum for the colorspaces supported by PDF. More... | |
enum class | PdfPixelFormat { Unknown = 0 , Grayscale , RGB24 , BGR24 , RGBA , BGRA , ARGB , ABGR } |
enum class | PdfTextRenderingMode { Fill = 0 , Stroke , FillStroke , Invisible , FillAddToClipPath , StrokeAddToClipPath , FillStrokeAddToClipPath , AddToClipPath } |
Enum for text rendering mode (Tr) More... | |
enum class | PdfStrokeStyle { Solid , Dash , Dot , DashDot , DashDotDot } |
Enum for the different stroke styles that can be set when drawing to a PDF file (mostly for line drawing). | |
enum class | PdfInfoInitial { None = 0 , WriteCreationTime = 1 , WriteModificationTime = 2 , WriteProducer = 4 } |
Enum to specify the initial information of the info dictionary. More... | |
enum class | PdfLineCapStyle { Butt = 0 , Round = 1 , Square = 2 } |
Enum for line cap styles when drawing. | |
enum class | PdfLineJoinStyle { Miter = 0 , Round = 1 , Bevel = 2 } |
Enum for line join styles when drawing. | |
enum class | PdfVerticalAlignment { Top = 0 , Center = 1 , Bottom = 2 } |
Enum for vertical text alignment. | |
enum class | PdfHorizontalAlignment { Left = 0 , Center = 1 , Right = 2 } |
Enum for text alignment. | |
enum class | PdfSaveOptions { None = 0 , _Reserved1 = 1 , _Reserved2 = 2 , NoFlateCompress = 4 , NoCollectGarbage = 8 , NoMetadataUpdate = 16 , Clean = 32 , SaveOnSigning = 64 , NoModifyDateUpdate = NoMetadataUpdate } |
enum class | PdfPageSize { Unknown = 0 , A0 , A1 , A2 , A3 , A4 , A5 , A6 , Letter , Legal , Tabloid } |
Enum holding the supported page sizes by PoDoFo. More... | |
enum class | PdfPageMode { DontCare , UseNone , UseThumbs , UseBookmarks , FullScreen , UseOC , UseAttachments } |
Enum holding the supported of types of "PageModes" that define which (if any) of the "panels" are opened in Acrobat when the document is opened. More... | |
enum class | PdfPageLayout { Ignore , Default , SinglePage , OneColumn , TwoColumnLeft , TwoColumnRight , TwoPageLeft , TwoPageRight } |
Enum holding the supported of types of "PageLayouts" that define how Acrobat will display the pages in relation to each other. More... | |
enum class | PdfStandard14FontType { Unknown = 0 , TimesRoman , TimesItalic , TimesBold , TimesBoldItalic , Helvetica , HelveticaOblique , HelveticaBold , HelveticaBoldOblique , Courier , CourierOblique , CourierBold , CourierBoldOblique , Symbol , ZapfDingbats } |
enum class | PdfAnnotationType : uint8_t { Unknown = 0 , Text , Link , FreeText , Line , Square , Circle , Polygon , PolyLine , Highlight , Underline , Squiggly , StrikeOut , Stamp , Caret , Ink , Popup , FileAttachement , Sound , Movie , Widget , Screen , PrinterMark , TrapNet , Watermark , Model3D , RichMedia , WebMedia , Redact , Projection } |
The type of the annotation. More... | |
enum class | PdfAnnotationFlags : uint32_t { None = 0x0000 , Invisible = 0x0001 , Hidden = 0x0002 , Print = 0x0004 , NoZoom = 0x0008 , NoRotate = 0x0010 , NoView = 0x0020 , ReadOnly = 0x0040 , Locked = 0x0080 , ToggleNoView = 0x0100 , LockedContents = 0x0200 } |
Flags that control the appearance of a PdfAnnotation. More... | |
enum class | PdfFieldType : uint32_t { Unknown = 0 , PushButton , CheckBox , RadioButton , TextBox , ComboBox , ListBox , Signature } |
The type of PDF field. | |
enum class | PdfHighlightingMode { Unknown = 0 , None , Invert , InvertOutline , Push } |
The possible highlighting modes for a PdfField. More... | |
enum class | PdfFieldFlags : uint8_t { ReadOnly = 1 , Required = 2 , NoExport = 4 } |
enum class | PdfAppearanceType { Normal = 0 , Rollover , Down } |
Type of the annotation appearance. More... | |
enum class | PdfOperator { Unknown = 0 , w , J , j , M , d , ri , i , gs , q , Q , cm , m , l , c , v , y , h , re , S , s , f , F , f_Star , B , B_Star , b , b_Star , n , W , W_Star , BT , ET , Tc , Tw , Tz , TL , Tf , Tr , Ts , Td , TD , Tm , T_Star , Tj , TJ , Quote , DoubleQuote , d0 , d1 , CS , cs , SC , SCN , sc , scn , G , g , RG , rg , K , k , sh , BI , ID , EI , Do , MP , DP , BMC , BDC , EMC , BX , EX } |
List of PDF stream content operators. | |
enum class | PdfRenderingIntent { AbsoluteColorimetric , RelativeColorimetric , Perceptual , Saturation } |
List of defined Rendering intents. | |
enum class | PdfBlendMode { Normal , Multiply , Screen , Overlay , Darken , Lighten , ColorDodge , ColorBurn , HardLight , SoftLight , Difference , Exclusion , Hue , Saturation , Color , Luminosity } |
List of defined transparency blending modes. | |
enum class | PdfSignatureType { Unknown = 0 , PAdES_B = 1 , Pkcs7 = 2 } |
enum class | PdfEncryptionAlgorithm { Unknown = 0 , RSA } |
enum class | PdfHashingAlgorithm { Unknown = 0 , SHA256 , SHA384 , SHA512 } |
enum class | PdfDestinationFit { Unknown = 0 , Fit , FitH , FitV , FitB , FitBH , FitBV } |
enum class | PdfDestinationType { Unknown = 0 , XYZ , Fit , FitH , FitV , FitR , FitB , FitBH , FitBV } |
Destination type, as per 12.3.2.2 of the Pdf spec. More... | |
enum class | PdfKeyLength { L40 = 40 , L56 = 56 , L80 = 80 , L96 = 96 , L128 = 128 } |
A enum specifying a valid keylength for a PDF encryption key. More... | |
enum class | PdfPermissions { None = 0 , Print = 0x00000004 , Edit = 0x00000008 , Copy = 0x00000010 , EditNotes = 0x00000020 , FillAndSign = 0x00000100 , Accessible = 0x00000200 , DocAssembly = 0x00000400 , HighPrint = 0x00000800 , Default } |
Set user permissions/restrictions on a document. More... | |
enum class | PdfEncryptAlgorithm { None = 0 , RC4V1 = 1 , RC4V2 = 2 , AESV2 = 4 } |
The encryption algorithm. More... | |
enum class | PdfErrorCode { Unknown = 0 , InvalidHandle , FileNotFound , InvalidDeviceOperation , UnexpectedEOF , OutOfMemory , ValueOutOfRange , InternalLogic , InvalidEnumValue , BrokenFile , PageNotFound , NoPdfFile , NoXRef , NoTrailer , NoNumber , NoObject , NoEOFToken , InvalidTrailerSize , InvalidDataType , InvalidXRef , InvalidXRefStream , InvalidXRefType , InvalidPredictor , InvalidStrokeStyle , InvalidHexString , InvalidStream , InvalidStreamLength , InvalidKey , InvalidName , InvalidEncryptionDict , InvalidPassword , InvalidFontData , InvalidContentStream , UnsupportedFilter , UnsupportedFontFormat , ActionAlreadyPresent , WrongDestinationType , MissingEndStream , Date , Flate , FreeType , SignatureError , UnsupportedImageFormat , CannotConvertColor , NotImplemented , DestinationAlreadyPresent , ChangeOnImmutable , NotCompiled , OutlineItemAlreadyPresent , NotLoadedForUpdate , CannotEncryptedForUpdate , XmpMetadata , OpenSSL } |
Error Code enum values which are used in PdfError to describe the error. More... | |
enum class | PdfLogSeverity { None = 0 , Error , Warning , Information , Debug } |
Used in PoDoFo::LogMessage to specify the log level. More... | |
enum class | PdfFontConfigSearchFlags { None = 0 , MatchPostScriptName = 1 } |
enum class | PdfIdentityOrientation { Unkwnown = 0 , Horizontal , Vertical } |
Orientation for predefined CID identity encodings. | |
enum class | PdfNameLimits { Before , Inside , After } |
enum class | PdfOutlineFormat { Default = 0 , Italic = 1 , Bold = 2 , BoldItalic = 3 } |
The title of an outline item can be displayed in different formatting styles since PDF 1.4. More... | |
enum class | PdfPainterFlags { None = 0 , Prepend = 1 , NoSaveRestorePrior = 2 , NoSaveRestore = 4 , RawCoordinates = 8 } |
enum class | PdfPathDrawMode { Stroke = 1 , Fill = 2 , StrokeFill = 3 , FillEvenOdd = 4 , StrokeFillEvenOdd = 5 } |
An enum describing modes to draw paths and figures. More... | |
enum class | PdfDrawTextStyle { Regular = 0 , StrikeThrough = 1 , Underline = 2 } |
enum class | PdfPostScriptTokenType { Unknown = 0 , Keyword , Variant , ProcedureEnter , ProcedureExit } |
An enum describing the type of a read token. More... | |
enum class | PdfResourceType { ExtGState , ColorSpace , Pattern , Shading , XObject , Font , Properties } |
enum class | PdfCertPermission { NoPerms = 1 , FormFill = 2 , Annotations = 3 } |
enum class | PdfSignerCmsFlags { None = 0 , ServiceDoWrapDigest = 1 , ServiceDoDryRun = 2 } |
enum class | PdfSignatureAttributeFlags { None = 0 , SignedAttribute = 1 , AsOctetString = 2 } |
enum class | PdfTokenType { Unknown = 0 , Literal , ParenthesisLeft , ParenthesisRight , BraceLeft , BraceRight , AngleBracketLeft , AngleBracketRight , DoubleAngleBracketsLeft , DoubleAngleBracketsRight , SquareBracketLeft , SquareBracketRight , Slash } |
enum class | PdfPostScriptLanguageLevel { L1 = 1 , L2 = 2 } |
enum class | XRefEntryType : int8_t { Unknown = -1 , Free = 0 , InUse = 1 , Compressed = 2 } |
enum class | PdfFunctionType { Sampled = 0 , Exponential = 2 , Stitching = 3 , PostScript = 4 } |
The function type of a mathematical function in a PDF file. More... | |
enum class | PdfShadingPatternType { FunctionBase = 1 , Axial = 2 , Radial = 3 , FreeForm = 4 , LatticeForm = 5 , CoonsPatch = 6 , TensorProduct = 7 } |
enum class | PdfTilingPatternType { BDiagonal = 1 , Cross , DiagCross , FDiagonal , Horizontal , Vertical , Image } |
Enum for predefined tiling patterns. | |
Functions | |
template<typename = void> | |
bool | operator== (const charbuff_t<> &lhs, const char *rhs) |
template<typename = void> | |
bool | operator== (const char *lhs, const charbuff_t<> &rhs) |
template<typename = void> | |
bool | operator== (const charbuff_t<> &lhs, const bufferview &rhs) |
template<typename = void> | |
bool | operator== (const bufferview &lhs, const charbuff_t<> &rhs) |
template<typename = void> | |
bool | operator== (const charbuff_t<> &lhs, const std::string_view &rhs) noexcept |
template<typename = void> | |
bool | operator== (const std::string_view &lhs, const charbuff_t<> &rhs) noexcept |
template<typename = void> | |
bool | operator== (const charbuff_t<> &lhs, const std::string &rhs) noexcept |
template<typename = void> | |
bool | operator== (const std::string &lhs, const charbuff_t<> &rhs) noexcept |
template<typename T2 > | |
bool | operator== (const nullable< T2 > &lhs, const nullable< T2 > &rhs) |
template<typename T2 > | |
bool | operator!= (const nullable< T2 > &lhs, const nullable< T2 > &rhs) |
template<typename T2 > | |
bool | operator== (const nullable< std::decay_t< T2 >> &lhs, const nullable< T2 & > &rhs) |
template<typename T2 > | |
bool | operator!= (const nullable< std::decay_t< T2 >> &lhs, const nullable< T2 & > &rhs) |
template<typename T2 > | |
bool | operator== (const nullable< T2 & > &lhs, const nullable< std::decay_t< T2 >> &rhs) |
template<typename T2 > | |
bool | operator!= (const nullable< T2 & > &lhs, const nullable< std::decay_t< T2 >> &rhs) |
template<typename T2 > | |
bool | operator== (const nullable< T2 & > &lhs, const nullable< T2 & > &rhs) |
template<typename T2 > | |
bool | operator!= (const nullable< T2 & > &lhs, const nullable< T2 & > &rhs) |
template<typename T2 > | |
bool | operator== (const nullable< T2 & > &lhs, const std::decay_t< T2 > &rhs) |
template<typename T2 > | |
bool | operator!= (const nullable< T2 & > &lhs, const std::decay_t< T2 > &rhs) |
template<typename T2 > | |
bool | operator== (const std::decay_t< T2 > &lhs, const nullable< T2 & > &rhs) |
template<typename T2 > | |
bool | operator!= (const std::decay_t< T2 > &lhs, const nullable< T2 & > &rhs) |
template<typename T2 > | |
bool | operator== (const nullable< T2 > &lhs, const T2 &rhs) |
template<typename T2 > | |
bool | operator!= (const nullable< T2 > &lhs, const T2 &rhs) |
template<typename T2 > | |
bool | operator== (const T2 &lhs, const nullable< T2 > &rhs) |
template<typename T2 > | |
bool | operator!= (const T2 &lhs, const nullable< T2 > &rhs) |
template<typename T2 > | |
bool | operator== (const nullable< T2 > &lhs, std::nullptr_t) |
template<typename T2 > | |
bool | operator!= (const nullable< T2 > &lhs, std::nullptr_t) |
template<typename T2 > | |
bool | operator== (std::nullptr_t, const nullable< T2 > &rhs) |
template<typename T2 > | |
bool | operator!= (std::nullptr_t, const nullable< T2 > &rhs) |
Matrix PODOFO_API | GetFrameRotationTransform (const Rect &rect, double teta) |
Get a rotation transformation that aligns the rectangle to the axis after the rotation. | |
Matrix PODOFO_API | GetFrameRotationTransformInverse (const Rect &rect, double teta) |
Get an inverse rotation transformation that aligns the rectangle to the axis after the rotation. | |
Rect PODOFO_API | TransformRectPage (const Rect &rect, const PdfPage &page, bool inputIsTransformed) |
Transform the given rect accordingly to the page rotation. More... | |
PODOFO_API PdfOperator | GetPdfOperator (const std::string_view &opstr) |
PODOFO_API bool | TryGetPdfOperator (const std::string_view &opstr, PdfOperator &op) |
PODOFO_API int | GetOperandCount (PdfOperator op) |
Get the operands count of the operator. More... | |
PODOFO_API bool | TryGetOperandCount (PdfOperator op, int &count) |
Get the operands count of the operator. More... | |
PODOFO_API std::string_view | GetPdfOperatorName (PdfOperator op) |
PODOFO_API bool | TryGetPdfOperatorName (PdfOperator op, std::string_view &opstr) |
PODOFO_API void | SignDocument (PdfMemDocument &doc, StreamDevice &device, PdfSigner &signer, PdfSignature &signature, PdfSaveOptions saveOptions=PdfSaveOptions::None) |
Sign the document on the given signature field. More... | |
char | XRefEntryTypeToChar (XRefEntryType type) |
XRefEntryType | XRefEntryTypeFromChar (char c) |
Variables | |
template<class... T> | |
constexpr bool | always_false = false |
constexpr AlgebraicTrait | Tx = AlgebraicTrait::Tx |
X Translation trait. | |
constexpr AlgebraicTrait | Ty = AlgebraicTrait::Ty |
X Translation trait. | |
constexpr PdfVersion | PdfVersionDefault = PdfVersion::V1_4 |
The default PDF Version used by new PDF documents in PoDoFo. | |
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztk SPDX-License-Identifier: LGPL-2.0-or-later SPDX-License-Identifier: MPL-2.0. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2009 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2020 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2007 Dominik Seichter domse SPDX-License-Identifier: LGPL-2.0-or-later. icht er@we b.de
SPDX-FileCopyrightText: (C) 2023 Francesco Pretto ceztk SPDX-License-Identifier: LGPL-2.0-or-later SPDX-License-Identifier: MPL-2.0. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2011 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2011 Petr Pytelka SPDX-FileCopyrightText: (C) 2020 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2007 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2021 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2006 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2021 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2007 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2023 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2010 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2020 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2008 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2020 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2011 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2020 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2006 Dominik Seichter domse SPDX-License-Identifier: LGPL-2.0-or-later. icht er@we b.de
All classes, functions, types and enums of PoDoFo are members of these namespace.
SPDX-FileCopyrightText: (C) 2005 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2020 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2005 Dominik Seichter domse SPDX-License-Identifier: LGPL-2.0-or-later. icht er@we b.de
SPDX-FileCopyrightText: (C) 2021 Francesco Pretto ceztk SPDX-License-Identifier: LGPL-2.0-or-later SPDX-License-Identifier: MPL-2.0. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2007 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2020 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
SPDX-FileCopyrightText: (C) 2006 Dominik Seichter domse SPDX-FileCopyrightText: (C) 2020 Francesco Pretto icht er@we b.deceztk SPDX-License-Identifier: LGPL-2.0-or-later. o@gm ail.c om
If you use PoDoFo, you might want to add the line: using namespace PoDoFo; to your application.
using PoDoFo::CIDToGIDMap = typedef std::map<unsigned, unsigned> |
A backing storage for a CID to GID map.
using PoDoFo::PdfInlineImageHandler = typedef std::function<bool(const PdfDictionary& imageDict, InputStreamDevice& device)> |
Custom handler for inline images.
imageDict | dictionary for the inline image |
|
strong |
|
strong |
|
strong |
|
strong |
The type of the action.
PDF supports different action types, each of them has different keys and properties.
Not all action types listed here are supported yet.
Please make also sure that the action type you use is supported by the PDF version you are using.
|
strong |
Flags that control the appearance of a PdfAnnotation.
You can OR them together and pass it to PdfAnnotation::SetFlags.
|
strong |
The type of the annotation.
PDF supports different annotation types, each of them has different keys and properties.
Not all annotation types listed here are supported yet.
Please make also sure that the annotation type you use is supported by the PDF version you are using.
|
strong |
|
strong |
|
strong |
|
strong |
Type of the content read from a content stream.
|
strong |
|
strong |
Every PDF datatype that can occur in a PDF file is referenced by an own enum (e.g.
Bool or String).
Remember to update PdfVariant::GetDataTypeString() when adding members here.
Enumerator | |
---|---|
Unknown | The Datatype is unknown. The value is chosen to enable value storage in 8-bit unsigned integer. |
Bool | Boolean datatype: Accepts the values "true" and "false". |
Number | Number datatype for integer values. |
Real | Real datatype for floating point numbers. |
String | String datatype in PDF file. Strings have the form (Hallo World!) in PDF files.
|
Name | Name datatype. Names are used as keys in dictionary to reference values.
|
Array | An array of other PDF data types. |
Dictionary | A dictionary associates keys with values. A key can have another dictionary as value. |
Null | The null datatype is always null. |
Reference | The reference datatype contains references to PDF objects in the PDF file of the form 4 0 R.
|
RawData | Raw PDF data. |
|
strong |
Destination type, as per 12.3.2.2 of the Pdf spec.
(see table 151 in the pdf spec)
|
strong |
|
strong |
|
strong |
Error Code enum values which are used in PdfError to describe the error.
If you add an error code to this enum, please also add it to PdfError::ErrorName() and PdfError::ErrorMessage().
Enumerator | |
---|---|
Unknown | Unknown error. |
InvalidHandle | Null pointer was passed, but null pointer is not allowed. |
FileNotFound | A file was not found or cannot be opened. |
InvalidDeviceOperation | Tried to do something unsupported to an I/O device like seek a non-seekable input device. |
UnexpectedEOF | End of file was reached but data was expected. |
OutOfMemory | Not enough memory to complete an operation. |
ValueOutOfRange | The specified memory is out of the allowed range. |
InternalLogic | An internal sanity check or assertion failed. |
InvalidEnumValue | An invalid enum value was specified. |
BrokenFile | The file content is broken. |
PageNotFound | The requested page could not be found in the PDF. |
NoPdfFile | The file is no PDF file. |
NoXRef | The PDF file has no or an invalid XRef table. |
NoTrailer | The PDF file has no or an invalid trailer. |
NoNumber | A number was expected in the PDF file, but the read string is no number. |
NoObject | A object was expected and none was found. |
NoEOFToken | The PDF file has no or an invalid EOF marker. |
InvalidTrailerSize | The trailer size is invalid. |
InvalidDataType | The passed datatype is invalid or was not recognized. |
InvalidXRef | The XRef table is invalid. |
InvalidXRefStream | A XRef stream is invalid. |
InvalidXRefType | The XRef type is invalid or was not found. |
InvalidPredictor | Invalid or unimplemented predictor. |
InvalidStrokeStyle | Invalid stroke style during drawing. |
InvalidHexString | Invalid hex string. |
InvalidStream | The stream is invalid. |
InvalidStreamLength | The stream length is invalid. |
InvalidKey | The specified key is invalid. |
InvalidName | The specified Name is not valid in this context. |
InvalidEncryptionDict | The encryption dictionary is invalid or misses a required key. |
InvalidPassword | The password used to open the PDF file was invalid. |
InvalidFontData | The font file is invalid. |
InvalidContentStream | The content stream is invalid due to mismatched context pairing or other problems. |
UnsupportedFilter | The requested filter is not yet implemented. |
UnsupportedFontFormat | This font format is not supported by PoDoFo. |
ActionAlreadyPresent | An Action was already present when trying to add a Destination. |
WrongDestinationType | The requested field is not available for the given destination type. |
MissingEndStream | The required token endstream was not found. |
Date | Date/time error. |
Flate | Error in zlib. |
FreeType | Error in FreeType. |
SignatureError | Error in signature. |
UnsupportedImageFormat | This image format is not supported by PoDoFo. |
CannotConvertColor | This color format cannot be converted. |
NotImplemented | This feature is currently not implemented. |
DestinationAlreadyPresent | A destination was already present when trying to add an Action. |
ChangeOnImmutable | Changing values on immutable objects is not allowed. |
NotCompiled | This feature was disabled at compile time. |
OutlineItemAlreadyPresent | An outline item to be inserted was already in that outlines tree. |
NotLoadedForUpdate | The document had not been loaded for update. |
CannotEncryptedForUpdate | Cannot load encrypted documents for update. |
XmpMetadata | Error while creating or reading XMP metadata. |
OpenSSL | OpenSSL error. |
|
strong |
|
strong |
Every filter that can be used to encode a stream in a PDF file is referenced by an own enum value.
Common filters are PdfFilterType::FlateDecode (i.e. Zip) or PdfFilterType::ASCIIHexDecode
|
strong |
|
strong |
|
strong |
|
strong |
Enum for the font descriptor flags.
See ISO 32000-1:2008 Table 121 — Font flags
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
The possible highlighting modes for a PdfField.
I.e the visual effect that is to be used when the mouse button is pressed.
The default value is PdfHighlightingMode::Invert
Enumerator | |
---|---|
None | Do no highlighting. |
Invert | Invert the PdfField. |
InvertOutline | Invert the fields border. |
Push | Display the fields down appearance (requires an additional appearance stream to be set) |
|
strong |
Enum to specify the initial information of the info dictionary.
|
strong |
A enum specifying a valid keylength for a PDF encryption key.
Keys must be in the range 40 to 128 bit and have to be a multiple of 8.
Adobe Reader supports only keys with 40, 128 or 256 bits!
|
strong |
|
strong |
|
strong |
Enum holding the supported of types of "PageLayouts" that define how Acrobat will display the pages in relation to each other.
|
strong |
Enum holding the supported of types of "PageModes" that define which (if any) of the "panels" are opened in Acrobat when the document is opened.
|
strong |
|
strong |
|
strong |
An enum describing modes to draw paths and figures.
|
strong |
Set user permissions/restrictions on a document.
Enumerator | |
---|---|
Allow printing the document. | |
Edit | Allow modifying the document besides annotations, form fields or changing pages. |
Copy | Allow text and graphic extraction. |
EditNotes | Add or modify text annotations or form fields (if PdfPermissions::Edit is set also allow to create interactive form fields including signature) |
FillAndSign | Fill in existing form or signature fields. |
Accessible | Extract text and graphics to support user with disabilities. |
DocAssembly | Assemble the document: insert, create, rotate delete pages or add bookmarks. |
HighPrint | Print a high resolution version of the document. |
|
strong |
|
strong |
|
strong |
Enumerator | |
---|---|
NoFlateCompress | Don't flate compress plain/uncompressed streams.
|
NoMetadataUpdate | Don't update the trailer "/Info/ModDate" with current time and synchronize XMP metadata "/Catalog/Metadata". Use this option to produce deterministic PDF output, or if you want to manually handle the manipulation of the XMP packet |
SaveOnSigning | Save the document on a signing operation, instead of performing an incremental update. It has no effect on a regular save operation |
NoModifyDateUpdate |
|
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Enum for text rendering mode (Tr)
Compare ISO 32000-1:2008, Table 106 "Text rendering modes"
|
strong |
|
strong |
Specify additional options for writing the PDF.
Enumerator | |
---|---|
Clean | Create a PDF that is readable in a text editor, i.e. insert spaces and linebreaks between tokens. |
NoInlineLiteral | Don't write spaces before literal types (numerical, references, null) |
NoPDFAPreserve | When writing compact (PdfWriteFlags::Clean is unset) code, preserving PDF/A compliance is not required. |
int PoDoFo::GetOperandCount | ( | PdfOperator | op | ) |
Get the operands count of the operator.
void PoDoFo::SignDocument | ( | PdfMemDocument & | doc, |
StreamDevice & | device, | ||
PdfSigner & | signer, | ||
PdfSignature & | signature, | ||
PdfSaveOptions | saveOptions = PdfSaveOptions::None |
||
) |
Sign the document on the given signature field.
doc | the document to be signed |
device | the input/output device where the document will be saved |
signer | the signer implementation that will compute the signature |
signature | the signature field where the signature will be applied |
options | document saving options |
Transform the given rect accordingly to the page rotation.
inputIsTransformed | if true the input rectangle is already transformed, if false the input is canonically oriented in top-right quandrant |
bool PoDoFo::TryGetOperandCount | ( | PdfOperator | op, |
int & | count | ||
) |
Get the operands count of the operator.
count | the number of operand, -1 means variadic number of operands |