FdfExtract

package
v0.0.0-...-5bb649b Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment interface {
	GetContent() []byte
	GetPageNumber() int
}

Comment has methods to pull annotation info found within a foxit document

func NewComment

func NewComment(content []byte, pagenumber int) (Comment, error)

NewComment returns an fdfComment as an exported Comment interface

type CommentBlock

type CommentBlock interface {
	GetSourceFile() []byte
	GetComments() []Comment
}

CommentBlock includes methods to get comments pulled from an FCE and return the path they were received from

func NewCommentBlock

func NewCommentBlock(sourceFile []byte, comments []Comment) CommentBlock

NewCommentBlock creates a new comment block

type Reader

type Reader interface {
	Read(string) (CommentBlock, error) // takes filepath and returns CommentBlock
	// contains filtered or unexported methods
}

A Reader takes a filepath to an FDF document and outputs a CommentBlock

func NewReader

func NewReader() Reader

NewReader returns a FdfReader Interface, which is the primary exported type

Jump to

Keyboard shortcuts

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