Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRangeTooLarge = errors.New("extracted PDF page range exceeds byte limit")
)
Functions ¶
func ExtractRange ¶
ExtractRange creates a PDF containing the zero-based half-open page range [start, end). A fresh source context is parsed on every call because pdfcpu's extraction mutates or shares named-destination structures between contexts.
func PageCountContext ¶
PageCountContext deliberately skips pdfcpu's full validation and optimization. Some valid-in-practice PDFs (for example, invoices with a bare /Annots Dict) are readable but rejected by the validator even in relaxed mode.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.