Click or drag to resize

pdftron.SDF Namespace

Classes to work with Structured Document Format(SDF) and low-level Carousel Object System(COS).
Classes
  ClassDescription
Public classCode exampleDictIterator
DictIterator is used to traverse key-value pairs in a dictionary.
Public classDocSnapshot
Represents a state of the document.
Public classCode exampleNameTree
A NameTree is a common data structure in PDF. See section 3.8.5 'Name Trees' in PDF Reference Manual for more details. A name tree serves a similar purpose to a dictionary - associating keys and values - but by different means. NameTrees allow efficient storage of very large association collections(string/Obj* maps). A NameTree can have many more entries than a SDF/Cos dictionary can. NameTrees use SDF/Cos-style strings(not null-terminated C strings), which may use Unicode encoding etc.
Public classNameTreeIterator
NameTreeIterator is used to traverse key/value pairs in a NameTree.
Public classCode exampleNumberTree
A NumberTree is a common data structure in PDF. See section 3.8.6 'Number Trees' in PDF Reference Manual for more details. A number tree serves a similar purpose to a dictionary - associating keys and values - but by different means. NumberTrees allow efficient storage of very large association collections(number/Obj* maps). A NumberTree can have many more entries than a SDF/Cos dictionary can.
Public classNumberTreeIterator
NumberTreeIterator is used to traverse key/value pairs in a NumberTree.
Public classObj
Obj is a concrete class for all SDF/Cos objects. Obj hierarchy implements the composite design pattern. As a result, you can invoke a member function of any 'derived' object through Obj interface. If the member function is not supported (e.g. if you invoke Obj::GetNumber() on a boolean object) an Exception will be thrown. You can use GetType() or obl.Is???() member functions to find out type-information at run time, however most of the time the type can be inferred from the PDF specification. Therefore when you call Doc::GetTrailer() you can assume that returned object is a dictionary. If there is any ambiguity use Is???() methods. Objects can't be shared across documents, however you can use Doc::ImportObj() to copy objects from one document to another. Objects can be shared within a document provided that they are created as indirect. Indirect objects are the ones that are referenced in cross-reference table. To create an object as indirect use Doc::CreateIndirect???()(where ? is the Object type).
Public classObjSet
ObjSet is a lightweight container that can hold a collection of SDF objects.
Public classResultSnapshot
Represents a transition between two document states.
Public classCode exampleSDFDoc

SDFDoc is a low-level document representing a graph of SDF.Obj nodes that can be used to build higher-level document models such as PDF(Portable Document Format) or FDF(Forms Document Format).

SDF Doc brings together document security, document utility methods, and all SDF objects.

Public classSecurityHandler
Standard Security Handler is a built-in password-based security handler.
Public classUndoManager
Undo-redo interface; one-to-one mapped to document
Interfaces
  InterfaceDescription
Public interfaceISignatureHandler
An interface for SignatureHandler. SignatureHandler instances are responsible for defining the digest and cipher algorithms to sign and/or verify a PDF document. SignatureHandlers are added to PDFDoc instances by calling the PDFDoc.AddSignatureHandler method.
Enumerations
  EnumerationDescription
Public enumerationObjType
Specifies the type of Obj.
Public enumerationSDFDocSaveOptions
SDFDoc save options.
Public enumerationSecurityHandlerAlgorithmType
Secutiry handler algorithm type
Public enumerationSecurityHandlerPermission
Secutiry handler permission type