All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pdftron::PDF Namespace Reference

Namespaces

 Annots
 
 OCG
 
 PDFA
 
 Struct
 

Classes

class  Action
 
class  ActionParameter
 
class  Annot
 
class  Bookmark
 
class  ColorPt
 
class  ColorSpace
 
class  ContentReplacer
 
class  ConversionMonitor
 
class  Convert
 
class  CubicCurveBuilder
 
class  Date
 
class  Destination
 
class  DocumentConversion
 
class  DocumentPreviewCache
 
class  Element
 
class  ElementBuilder
 
class  ElementReader
 
class  ElementWriter
 
class  ExternalAnnotManager
 
class  Field
 
class  FileSpec
 
class  Flattener
 
class  Font
 
class  Function
 
class  GState
 
class  Highlights
 
class  HTML2PDF
 
class  Image2RGB
 
class  Image2RGBA
 
class  Image
 
class  KeyStrokeActionResult
 
class  KeyStrokeEventData
 
class  LinkInfo
 
class  Optimizer
 
class  Page
 
class  PageLabel
 
class  PageSet
 
class  PathData
 
class  PatternColor
 
class  PDFDoc
 
class  PDFDocGenerator
 
class  PDFDocInfo
 
class  PDFDocViewPrefs
 
class  BitmapInfo
 
class  PDFDraw
 
class  PDFNetInternalTools
 
class  PDFRasterizer
 
class  PDFView
 
class  PDFViewCtrl
 
class  HTTPRequestOptions
 
class  Point
 
class  Print
 
class  PrinterMode
 
class  QuadPoint
 
class  Rect
 
class  Redactor
 
class  Selection
 
class  Shading
 
class  Stamper
 
class  TextExtractor
 
class  SearchResult
 
class  TextSearch
 
class  ViewChangeCollection
 
class  WebFontDownloader
 

Typedefs

typedef Common::Iterator
< TRN_CharData > 
CharIterator
 
typedef Common::Iterator< int > GSChangesIterator
 
typedef TRN_CharData CharData
 
typedef Common::Iterator< PagePageIterator
 
typedef Common::Iterator< FieldFieldIterator
 
typedef void(* DownloadReportHandler )(DownloadedType type, PDFDoc *doc, int page_num, int obj_num, const char *message, void *data)
 

Enumerations

enum  DownloadedType {
  e_downloadedtype_page = 0, e_downloadedtype_thumb, e_downloadedtype_named_dests, e_downloadedtype_outline,
  e_downloadedtype_finished, e_downloadedtype_failed, e_downloadedtype_opened
}
 

Typedef Documentation

typedef TRN_CharData pdftron::PDF::CharData

Definition at line 27 of file ElementReader.h.

CharIterator is an iterator type that can be used to traverse CharData in the current e_text element. For a sample use case, please take a look at ElementReaderAdv sample project.

CharData is a data structure returned by CharIterator that is used to provide extra information about a character within a text run. The extra information includes positioning information, the character data and a number of bytes taken by the character.

char_code := for SimpleFonts char_code := char_data[0], for composite fonts char_code is the numeric value of data stored in char_data buffer.

(x, y) is a virtual point (x, y), located on the baseline. This point is called the pen position, and is used to position glyphs. The pen position has already taken into account the effects of any inter-character adjustments due to properties such as font size, text rise, character spacing, word spacing and positioning adjustments on 'TJ' elements.

char_data is a pointer to the buffer containing character data. For simple fonts each character is represented by a single byte. For multibyte (CID or Type0) fonts each character may take more than one byte.

bytes - the number of bytes representing this character in char_data buffer. For simple fonts 'bytes' will equal 1. For multibyte (CID or Type0) fonts 'bytes may be larger than 1.

Definition at line 41 of file CharData.h.

typedef void(* pdftron::PDF::DownloadReportHandler)(DownloadedType type, PDFDoc *doc, int page_num, int obj_num, const char *message, void *data)

Download event handling. A type of callback function (or a delegate in .NET terminology) that is called during download events triggered by calling OpenURLAsync.

Definition at line 43 of file PDFRasterizer.h.

FieldIterator is an iterator type that can be used to traverse a list form fields in a PDF document. For more information, please PDFDoc::GetFieldIterator().

Definition at line 38 of file PDFDoc.h.

GSChangesIterator is an iterator type that can be used to traverse a list of changes in the graphics state between subsequent graphical elements on the page. For a sample use case, please see ElementReaderAdv sample project.

Definition at line 24 of file ElementReader.h.

PageIterator is an iterator type that can be used to traverse a list pages in a PDF document. For more information, please PDFDoc::GetPageIterator().

Definition at line 26 of file PDFDoc.h.

Enumeration Type Documentation

DownloadedType lists the events triggered by calling OpenURLAsync.

Enumerator
e_downloadedtype_page 

A new page has been downloaded.

e_downloadedtype_thumb 

A thumbnail has been downloaded.

e_downloadedtype_named_dests 

The named destinations have been downloaded. These may be necessary for link activation.

e_downloadedtype_outline 

The document outline (bookmarks) has been downloaded.

e_downloadedtype_finished 

The entire document has been downloaded.

e_downloadedtype_failed 

An error has occurred while downloading and downloading has stopped.

e_downloadedtype_opened 

The initial document information is available and it is now ok to query for document information.

Definition at line 20 of file PDFRasterizer.h.


© 2002-2014 PDFTron Systems Inc.