Help us shape the future of Go! Take the 2026 Go Developer Survey

pdf

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseMetadata

func ParseMetadata(ctx *model.Context, link *manifest.Link) (m manifest.Manifest, err error)

func ParsePDFMetadata

func ParsePDFMetadata(ctx *model.Context, m *manifest.Manifest) error

func ParseXMPMetadata

func ParseXMPMetadata(doc *xmp.Document, metadata *manifest.Metadata) error

func PositionsServiceFactory

func PositionsServiceFactory() pub.ServiceFactory

Types

type Parser

type Parser struct {
}

func NewParser

func NewParser() Parser

func (Parser) Parse

Parse implements PublicationParser

type PositionsService

type PositionsService struct {
	// contains filtered or unexported fields
}

Positions Service for an PDF.

func (*PositionsService) Close

func (s *PositionsService) Close()

func (*PositionsService) Get

func (s *PositionsService) Links() manifest.LinkList

func (*PositionsService) Positions

func (s *PositionsService) Positions(ctx context.Context) []manifest.Locator

Positions implements pub.PositionsService

func (*PositionsService) PositionsByReadingOrder

func (s *PositionsService) PositionsByReadingOrder(ctx context.Context) [][]manifest.Locator

PositionsByReadingOrder implements PositionsService

Jump to

Keyboard shortcuts

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