Documentation ¶
Overview ¶
Package validate implements validation against PDF 32000-1:2008.
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 DocumentPageLayout ¶
DocumentPageLayout returns true for valid page layout values.
func DocumentPageMode ¶
DocumentPageMode returns true for valid page mode values.
func DocumentProperty ¶
DocumentProperty ensures a property name that may be modified.
Types ¶
type Alt ¶
type Alt struct { //XMLName xml.Name `xml:"http://www.w3.org/1999/02/22-rdf-syntax-ns# Alt"` Entries []string `xml:"http://www.w3.org/1999/02/22-rdf-syntax-ns# li"` }
type Creator ¶
type Creator struct { //XMLName xml.Name `xml:"http://purl.org/dc/elements/1.1/ creator"` Seq Seq `xml:"http://www.w3.org/1999/02/22-rdf-syntax-ns# Seq"` }
type Desc ¶
type Desc struct { //XMLName xml.Name `xml:"http://purl.org/dc/elements/1.1/ description"` Alt Alt `xml:"http://www.w3.org/1999/02/22-rdf-syntax-ns# Alt"` }
type Description ¶
type Description struct { //XMLName xml.Name `xml:"http://www.w3.org/1999/02/22-rdf-syntax-ns# Description"` Title Title `xml:"http://purl.org/dc/elements/1.1/ title"` Author Creator `xml:"http://purl.org/dc/elements/1.1/ creator"` Subject Desc `xml:"http://purl.org/dc/elements/1.1/ description"` Creator string `xml:"http://ns.adobe.com/xap/1.0/ CreatorTool"` CreationDate userDate `xml:"http://ns.adobe.com/xap/1.0/ CreateDate"` ModDate userDate `xml:"http://ns.adobe.com/xap/1.0/ ModifyDate"` Producer string `xml:"http://ns.adobe.com/pdf/1.3/ Producer"` Trapped bool `xml:"http://ns.adobe.com/pdf/1.3/ Trapped"` Keywords string `xml:"http://ns.adobe.com/pdf/1.3/ Keywords"` }
type RDF ¶
type RDF struct { XMLName xml.Name `xml:"http://www.w3.org/1999/02/22-rdf-syntax-ns# RDF"` Description Description }
type Seq ¶
type Seq struct { //XMLName xml.Name `xml:"http://www.w3.org/1999/02/22-rdf-syntax-ns# Seq"` Entries []string `xml:"http://www.w3.org/1999/02/22-rdf-syntax-ns# li"` }
type Title ¶
type Title struct { //XMLName xml.Name `xml:"http://purl.org/dc/elements/1.1/ title"` Alt Alt `xml:"http://www.w3.org/1999/02/22-rdf-syntax-ns# Alt"` }
Source Files ¶
- action.go
- annotation.go
- colorspace.go
- destination.go
- extGState.go
- fileSpec.go
- font.go
- form.go
- function.go
- info.go
- media.go
- metaData.go
- nameTree.go
- numberTree.go
- object.go
- optionalContent.go
- outlineTree.go
- page.go
- pattern.go
- property.go
- shading.go
- structTree.go
- thread.go
- viewerPreferences.go
- xObject.go
- xReftable.go
Click to show internal directories.
Click to hide internal directories.