document

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package document handles metadata for all document formats: PDF, DOCX, XLSX, PPTX, ODT, EPUB

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler implements core.Handler for document formats.

func New

func New(fmt core.FormatID) *Handler

New returns a document Handler for the given format.

func (*Handler) Edit

func (h *Handler) Edit(path string, outPath string, opts core.EditOptions) error

func (*Handler) Info

func (h *Handler) Info() core.FormatInfo

func (*Handler) Strip

func (h *Handler) Strip(path string, outPath string, opts core.StripOptions) error

func (*Handler) View

func (h *Handler) View(path string) (*core.Metadata, error)

Jump to

Keyboard shortcuts

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