validate

package
v0.0.0-...-99d8987 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package validate contains validation code for ISO 32000-1:2008.

There is low level validation and validation against the PDF spec for each of the defined PDF object types.

Index

Constants

View Source
const (

	// REQUIRED is used for required dict entries.
	REQUIRED = true

	// OPTIONAL is used for optional dict entries.
	OPTIONAL = false
)
View Source
const (

	// ExcludePatternCS ...
	ExcludePatternCS = true

	// IncludePatternCS ...
	IncludePatternCS = false
)

Variables

This section is empty.

Functions

func Date

func Date(s string) bool

Date validates an ISO/IEC 8824 compliant date string.

func Verbose

func Verbose(verbose bool)

Verbose controls logging output.

func XRefTable

func XRefTable(xRefTable *types.XRefTable) (err error)

XRefTable validates a PDF cross reference table obeying the validation mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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