Documentation
¶
Overview ¶
Package pdfstat counts things in a PDF — link annotations above all — through go-pdfkit/reader, the org's own parser: cross-reference streams, object streams and filters are its job, so a document written with PDF 1.5 object streams (where the annotation dictionaries live packed and compressed) counts the same as a classic one, and a count is a count of objects on pages rather than of a byte pattern in the file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountLinks ¶
CountLinks returns the number of /Subtype /Link annotations reachable from the page tree, or -1 when the bytes are not a PDF the reader opens.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.