pkg/

directory
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: MIT

Directories

Path Synopsis
Package barcode provides named barcode constructors over Paper's component model.
Package barcode provides named barcode constructors over Paper's component model.
components
checkbox
Package checkbox implements creation of checkboxes.
Package checkbox implements creation of checkboxes.
code
Package code implements creation of Barcode, MatrixCode and QrCode.
Package code implements creation of Barcode, MatrixCode and QrCode.
col
Package col implements creation of columns.
Package col implements creation of columns.
html
Package html implements a component wrapper for Paper's HTML translator.
Package html implements a component wrapper for Paper's HTML translator.
htmllist
Package htmllist implements HTML-style bullet and numbered list components.
Package htmllist implements HTML-style bullet and numbered list components.
image
Package image implements creation of images from file and bytes.
Package image implements creation of images from file and bytes.
line
Package line implements creation of lines.
Package line implements creation of lines.
list
Package list implements creation of lists (old tablelist).
Package list implements creation of lists (old tablelist).
page
Package page implements creation of pages.
Package page implements creation of pages.
richtext
Package richtext implements a PDF component for paragraphs with mixed inline styling.
Package richtext implements a PDF component for paragraphs with mixed inline styling.
row
Package row implements creation of rows.
Package row implements creation of rows.
signature
Package signature implements creation of signatures.
Package signature implements creation of signatures.
table
Package table implements a PDF table component with colspan, rowspan, and per-cell styling.
Package table implements a PDF table component with colspan, rowspan, and per-cell styling.
text
Package text implements creation of texts.
Package text implements creation of texts.
Package config implements custom configuration builder.
Package config implements custom configuration builder.
Package consts groups the small enumeration types used across Paper: alignment, orientation, line styles, break-line strategies, font families, barcode types, generation modes, and provider types.
Package consts groups the small enumeration types used across Paper: alignment, orientation, line styles, break-line strategies, font families, barcode types, generation modes, and provider types.
border
Package border contains all border types.
Package border contains all border types.
extension
Package extension contains all image extensions.
Package extension contains all image extensions.
fontstyle
Package fontstyle contains all default font styles.
Package fontstyle contains all default font styles.
pagesize
Package pagesize contains all default page sizes.
Package pagesize contains all default page sizes.
protection
Package protection contains all protection types.
Package protection contains all protection types.
Package core contains all core interfaces and basic implementations.
Package core contains all core interfaces and basic implementations.
entity
Package entity contains all core entities.
Package entity contains all core entities.
Package decorator provides decorators over the core.Paper interface.
Package decorator provides decorators over the core.Paper interface.
Package fontrepository implements font repository.
Package fontrepository implements font repository.
Package forms provides AcroForm support for generated Paper PDFs.
Package forms provides AcroForm support for generated Paper PDFs.
Package html converts HTML strings into Paper rows so they can be added to a Paper document.
Package html converts HTML strings into Paper rows so they can be added to a Paper document.
css
Package css parses CSS declarations and resolves them into a ComputedStyle that the HTML translator can read.
Package css parses CSS declarations and resolves them into a ComputedStyle that the HTML translator can read.
dom
Package dom provides a Paper-friendly wrapper over golang.org/x/net/html.
Package dom provides a Paper-friendly wrapper over golang.org/x/net/html.
translate
Package translate converts a parsed HTML DOM into a slice of Paper rows.
Package translate converts a parsed HTML DOM into a slice of Paper rows.
Package image provides standalone image decoding helpers that can be adapted into Paper image components.
Package image provides standalone image decoding helpers that can be adapted into Paper image components.
Package merge implements PDF merge.
Package merge implements PDF merge.
Package metrics contains metrics models, constants and formatting.
Package metrics contains metrics models, constants and formatting.
Package props contain the public properties of paper.
Package props contain the public properties of paper.
Package reader parses existing PDF files and exposes basic page metadata, content streams, text extraction, and merge conveniences.
Package reader parses existing PDF files and exposes basic page metadata, content streams, text extraction, and merge conveniences.
Package sign provides signing primitives used by PDF signature workflows.
Package sign provides signing primitives used by PDF signature workflows.
Package svg parses SVG markup and adapts it to Paper components.
Package svg parses SVG markup and adapts it to Paper components.
Package test exposes Paper's golden-structure test helper for library consumers.
Package test exposes Paper's golden-structure test helper for library consumers.
Package tmpl renders Go html/templates through Paper's HTML-to-PDF pipeline.
Package tmpl renders Go html/templates through Paper's HTML-to-PDF pipeline.
tree
node
Package node provides a small generic tree node used to describe Paper document structure.
Package node provides a small generic tree node used to describe Paper document structure.

Jump to

Keyboard shortcuts

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