Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PdfiumInstance pdfium.Pdfium
Functions ¶
func ClosePdfium ¶
func ClosePdfium()
func LoadPdfium ¶
func LoadPdfium() error
func NormalizePageRange ¶
func NormalizePageRange(pageCount int, pageRange string, ignoreInvalidPages bool) (*string, *int, error)
NormalizePageRange converts a page range into separate page numbers so that we can support a more range of page range options compared to Pdfium. Pdfium only supports simple instructions like 1-5 or just a page number. This method can automatically calculate ends and reverse pages for example. This way we can also properly validate page ranges.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.