validate

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2017 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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