types

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array []Object

type Dict

type Dict map[Name]Object

type Name

type Name string

A name is a PDF name, without the leading slash.

type Objdef

type Objdef struct {
	Ptr Objptr
	Obj Object
}

type Object

type Object any

An object is a PDF syntax object, one of the following Go types:

bool, a PDF boolean
int64, a PDF integer
float64, a PDF real
string, a PDF string literal
name, a PDF name without the leading slash
dict, a PDF dictionary
array, a PDF array
stream, a PDF stream
objptr, a PDF object reference
objdef, a PDF object definition

An object may also be nil, to represent the PDF null.

type Objptr

type Objptr struct {
	ID  uint32
	Gen uint16
}

type Stream

type Stream struct {
	Hdr    Dict
	Ptr    Objptr
	Offset int64
}

type Xref

type Xref struct {
	Ptr      Objptr
	InStream bool
	Stream   Objptr
	Offset   int64
}

Jump to

Keyboard shortcuts

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