# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package validate implements validation against PDF 32000-1:2008.
# Functions
AddAnnotation adds ar to pageDict.
AddAnnotations adds ar to selected pages.
AddAnnotationsMap adds annotations in m to corresponding pages.
AddBookmarks adds bms to ctx.
AddPages adds pages and corresponding resources from ctxSrc to ctxDest.
No description provided by the author
AddWatermarks adds watermarks to all pages selected.
AddWatermarksMap adds watermarks in m to corresponding pages.
AddWatermarksSliceMap adds watermarks in m to corresponding pages.
Annotation returns an annotation renderer.
No description provided by the author
AppendStatsFile appends a stats line for this xRefTable to the configured csv file name.
BookletFromImages creates a booklet version of the image sequence represented by fileNames.
BookletFromPDF creates a booklet version of the PDF represented by xRefTable.
No description provided by the author
Bookmarks returns all ctx bookmark information recursively.
BookmarksForOutlineItem returns the bookmarks tree for an outline item.
CachedAnnotationObjNrs returns a list of object numbers representing known annotation dict indirect references.
No description provided by the author
ColorSpaceComponents returns the corresponding number of used color components for sd's colorspace.
ColorSpaceString returns a string representation for sd's colorspace.
CreateAnnotationDemoXRef creates a PDF file with examples of annotations and actions.
CreateContext creates a Context for given cross reference table and configuration.
CreateContextWithXRefTable creates a Context with an xRefTable without pages for given configuration.
CreateDemoXRef creates a minimal single page PDF file for demo purposes.
CreateFormDemoXRef creates an xRefTable with an AcroForm example.
CreateResourceDictInheritanceDemoXRef creates a page tree for testing resource dict inheritance.
CreateTestPageContent draws a test grid.
No description provided by the author
No description provided by the author
DefaultBookletConfig returns the default configuration for a booklet.
DefaultImportConfig returns the default configuration.
DetectPageTreeWatermarks checks xRefTable's page tree for watermarks and records the result to xRefTable.Watermarked.
DetectWatermarks checks ctx for watermarks and records the result to xRefTable.Watermarked.
No description provided by the author
No description provided by the author
No description provided by the author
ExtractFont extracts a font from fontObject.
ExtractPageFonts extracts all form fonts.
ExtractImage extracts an image from sd.
ExtractMetadata returns all metadata of ctx.
ExtractPageContent extracts the consolidated page content stream for pageNr.
ExtractPageFonts extracts all fonts used by pageNr.
ExtractPageImages extracts all images used by pageNr.
ExtractPages extracts pageNrs into a new single page context.
FontObjNrs returns all font dict objNrs for pageNr.
No description provided by the author
ImageBookletConfig returns an NUp configuration for booklet-ing image files.
ImageGridConfig returns a grid configuration for Nup-ing image files.
ImageNUpConfig returns an NUp configuration for Nup-ing image files.
ImageObjNrs returns all image dict objNrs for pageNr.
Images returns all embedded images of ctx.
ImportBookmarks creates/replaces outlines in ctx as provided by rd.
Info returns info about ctx.
KeywordsAdd adds keywords to the document info dict.
KeywordsList returns a list of keywords as recorded in the document info dict.
KeywordsRemove deletes keywords from the document info dict.
ListAnnotations returns a formatted list of annotations.
ListImages returns a formatted list of embedded images.
ListInfo returns formatted info about ctx.
MergeXRefTables merges Context ctxSrc into ctxDest by appending its page tree.
No description provided by the author
NewNUpPageForImage creates a new page dict in xRefTable for given image filename and n-up conf.
NewPageForImage creates a new page dict in xRefTable for given image reader r.
NUpFromMultipleImages creates pages in NUp-style rendering each image once.
NUpFromOneImage creates one page with instances of one image.
NUpFromPDF creates an n-up version of the PDF represented by xRefTable.
OptimizeXRefTable optimizes an xRefTable by locating and getting rid of redundant embedded fonts and images.
PageObjFromDestinationArray returns an IndirectRef of the destinations page.
ParseCutConfig parses a Cut command string into an internal structure.
ParseCutConfigForN parses a NDown command string into an internal structure.
ParseCutConfigForPoster parses a Cut command string into an internal structure.
ParseImageWatermarkDetails parses an image Watermark/Stamp command string into an internal structure.
ParseImportDetails parses an Import command string into an internal structure.
ParseNUpDetails parses a NUp command string into an internal structure.
ParseNUpGridDefinition parses NUp grid dimensions into an internal structure.
ParseNUpValue parses the NUp value into an internal structure.
ParseObject parses an object from file at given offset.
No description provided by the author
ParsePDFWatermarkDetails parses a PDF Watermark/Stamp command string into an internal structure.
ParseResizeConfig parses a Resize command string into an internal structure.
ParseTextWatermarkDetails parses a text Watermark/Stamp command string into an internal structure.
ParseZoomConfig parses a Zoom command string into an internal structure.
PDFBookletConfig returns an NUp configuration for booklet-ing PDF files.
PDFGridConfig returns a grid configuration for Nup-ing PDF files.
PDFNUpConfig returns an NUp configuration for Nup-ing PDF files.
Permissions returns a list of set permissions.
PermissionsList returns a list of set permissions.
No description provided by the author
PropertiesAdd adds properties into the document info dict.
PropertiesList returns a list of document properties as recorded in the document info dict.
PropertiesRemove deletes specified properties.
Read takes a readSeeker and generates a PDF model context, an in-memory representation containing a cross reference table.
ReadFile reads in a PDF file and builds an internal structure holding its cross reference table aka the PDF model context.
ReadFileContext reads in a PDF file and builds an internal structure holding its cross reference table aka the PDF model context.
Read takes a readSeeker and generates a PDF model context, an in-memory representation containing a cross reference table.
RemoveAnnotations removes annotations for selected pages by id, type or object number.
RemoveAnnotationsFromPageDict removes an annotation by annotType, id and obj# from pageDict.
RemoveBookmarks erases all outlines from ctx.
RemoveWatermarks removes watermarks for all pages selected.
RenderImage returns a reader for a decoded image stream.
No description provided by the author
RotatePages rotates all selected pages by a multiple of 90 degrees.
StreamLength returns sd's stream length.
Write generates a PDF file for the cross reference table contained in Context.
WriteImage writes a PDF image object to disk.
WriteImageToDisk returns a closure for writing img to disk.
WriteIncrement writes a PDF increment..
WriteReader consumes r's content by writing it to a file at path.
No description provided by the author
# Constants
ObjectStreamMaxObjects limits the number of objects within an object stream written.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
Errors to be identified.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Bookmark represents an outline item tree.
No description provided by the author
Font is a Reader representing an embedded font.
No description provided by the author
No description provided by the author
Import represents the command details for the command "ImportImage".
Metadata is a Reader representing a metadata dict.
PDFImage represents a XObject of subtype image.
No description provided by the author