read

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package read provides for parsing a PDF file into memory.

The in memory representation of a PDF file is called a PDFContext.

The PDFContext is a container for the PDF cross reference table and stats.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadEncodedStreamContent added in v0.1.5

func LoadEncodedStreamContent(ctx *types.PDFContext, streamDict *types.PDFStreamDict) ([]byte, error)

LoadEncodedStreamContent loads the encoded stream content from file into PDFStreamDict.

func PDFFile

func PDFFile(fileName string, config *types.Configuration) (ctx *types.PDFContext, err error)

PDFFile reads in a PDFFile and generates a PDFContext, an in-memory representation containing a cross reference table.

func Verbose

func Verbose(verbose bool)

Verbose controls logging output.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL