Documentation
¶
Overview ¶
Package pdf is the extension PDF Viewer (SPEC §10.37 "PDF", D54): the file editor of PDF files, whose pages are drawn by the user's Poppler (extensions/pdf/poppler), scrolled continuously, with zoom, page navigation and passwords.
Index ¶
Constants ¶
const ( ID = "emetos.pdf" ViewerID = "emetos.pdf.viewer" )
ID is the id of the extension, and ViewerID the id of its file editor.
const ( CommandZoomIn = "emetos.pdf.zoomIn" CommandZoomOut = "emetos.pdf.zoomOut" CommandNextPage = "emetos.pdf.nextPage" CommandPreviousPage = "emetos.pdf.previousPage" CommandGoToPage = "emetos.pdf.goToPage" CommandToggleOutline = "emetos.pdf.toggleOutline" CommandFind = "emetos.pdf.find" CommandFindNext = "emetos.pdf.findNext" CommandFindPrevious = "emetos.pdf.findPrevious" CommandCopyPageText = "emetos.pdf.copyPageText" )
The commands of the viewer.
const RequirementPoppler = "poppler"
RequirementPoppler is the id of the requirement of Poppler.
Variables ¶
var ZoomLevels = []float64{0.5, 0.75, 1, 1.25, 1.5, 2, 3, 4}
ZoomLevels are the levels of the zoom pick and of Zoom In and Zoom Out, as fractions of 100%.
Functions ¶
Types ¶
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package poppler runs the user's Poppler programs for the PDF Viewer (SPEC §10.37 "PDF", D54): it finds pdfinfo, pdftoppm, pdftotext and pdftohtml, checks the version, reads a document's pages and their sizes, and draws a page at a resolution.
|
Package poppler runs the user's Poppler programs for the PDF Viewer (SPEC §10.37 "PDF", D54): it finds pdfinfo, pdftoppm, pdftotext and pdftohtml, checks the version, reads a document's pages and their sizes, and draws a page at a resolution. |