examples/

directory
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT

Directories

Path Synopsis
Bidi layout uses paragraph context, directional shaping and logical text.
Bidi layout uses paragraph context, directional shaping and logical text.
Four conversion paths with shared-page story changes and section-local parity.
Four conversion paths with shared-page story changes and section-local parity.
Four conversion paths for individually valid continuous stories needing new pages.
Four conversion paths for individually valid continuous stories needing new pages.
Four conversion paths with changing continuous body frames and paper canvases.
Four conversion paths with changing continuous body frames and paper canvases.
Named navigation points through SF, DOCX, native PDF and PDF view recovery.
Named navigation points through SF, DOCX, native PDF and PDF view recovery.
Exercise all four SF conversion paths with an explicitly supplied TTF.
Exercise all four SF conversion paths with an explicitly supplied TTF.
Run with: GOWORK=off go run ./examples/image-fit -out output/image-fit
Run with: GOWORK=off go run ./examples/image-fit -out output/image-fit
Language bindings and paragraph/run direction persist through SF and DOCX.
Language bindings and paragraph/run direction persist through SF and DOCX.
Run with: GOWORK=off go run ./examples/lists -out output/lists
Run with: GOWORK=off go run ./examples/lists -out output/lists
Run with: GOWORK=off go run ./examples/merged-tables -out output/merged-tables
Run with: GOWORK=off go run ./examples/merged-tables -out output/merged-tables
Run with: GOWORK=off go run ./examples/notes -out output/notes
Run with: GOWORK=off go run ./examples/notes -out output/notes
Numbering formats, nested edits, external contexts and rich stories via SF.
Numbering formats, nested edits, external contexts and rich stories via SF.
Run with: GOWORK=off go run ./examples/page-breaks -out output/page-breaks
Run with: GOWORK=off go run ./examples/page-breaks -out output/page-breaks
Four conversion paths with explicit asymmetric/zero margins and running offsets.
Four conversion paths with explicit asymmetric/zero margins and running offsets.
Compatible typography keeps context across color, decorations and links.
Compatible typography keeps context across color, decorations and links.
Run with: GOWORK=off go run ./examples/paragraph-breaks -out output/paragraph-breaks
Run with: GOWORK=off go run ./examples/paragraph-breaks -out output/paragraph-breaks
Create, edit and convert slides through the central SF reader/writer API.
Create, edit and convert slides through the central SF reader/writer API.
Run with: GOWORK=off go run ./examples/recursive-tables -out output/recursive-tables
Run with: GOWORK=off go run ./examples/recursive-tables -out output/recursive-tables
Run with: GOWORK=off go run ./examples/repeated-headers -out output/repeated-headers
Run with: GOWORK=off go run ./examples/repeated-headers -out output/repeated-headers
Run with: go run ./examples/report -out output
Run with: go run ./examples/report -out output
Run with: GOWORK=off go run ./examples/rich-cells -out output/rich-cells
Run with: GOWORK=off go run ./examples/rich-cells -out output/rich-cells
Rich running stories are measured once and repeated without body overlap.
Rich running stories are measured once and repeated without body overlap.
Budgeted DOCX running rasters, including serial, nested and body figures.
Budgeted DOCX running rasters, including serial, nested and body figures.
Four conversion paths for page controls, empty sections and note ownership.
Four conversion paths for page controls, empty sections and note ownership.
Four paths with section-specific geometry, inheritance and running variants.
Four paths with section-specific geometry, inheritance and running variants.
Default text shaping needs no language tag or external runtime font service.
Default text shaping needs no language tag or external runtime font service.
Four conversion paths for minimum and signed fixed running/body margins.
Four conversion paths for minimum and signed fixed running/body margins.
Run with: GOWORK=off go run ./examples/table-continuation -out output/table-continuation
Run with: GOWORK=off go run ./examples/table-continuation -out output/table-continuation
Preferred grid widths, merged cells, nested layout and continued headers.
Preferred grid widths, merged cells, nested layout and continued headers.
Extract an original tagged PDF and emit a small provenance audit and SF sample.
Extract an original tagged PDF and emit a small provenance audit and SF sample.
Run with: GOWORK=off go run ./examples/text-style -out output/text-style
Run with: GOWORK=off go run ./examples/text-style -out output/text-style
Typography exercises proportional Unicode spacing and line breaking in Go.
Typography exercises proportional Unicode spacing and line breaking in Go.
Unicode IRI targets retain their URI semantics through the four SF paths.
Unicode IRI targets retain their URI semantics through the four SF paths.
Run from the repository root: GOWORK=off go run ./examples/vdocs -out output/vdocs-example
Run from the repository root: GOWORK=off go run ./examples/vdocs -out output/vdocs-example

Jump to

Keyboard shortcuts

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