Documentation
¶
Overview ¶
Package ivy supplies the document, ebook and page description decoders for iv, with xo/ivy, in pure Go (D49).
Each format of ivy is a decoder of its own, named ivy- and the name of the format, such as ivy-docx. A format with pages draws the page that --page selects, at the size that it is shown at. A format with no pages draws its best preview, such as the thumbnail of a Visio drawing.
A spreadsheet whose file gives no orientation is drawn in landscape, on US Letter: a csv or tsv table, an Excel workbook, or an OpenDocument spreadsheet. A sheet whose file gives portrait stays in portrait (D51).
When the output is a pdf, a format with pages writes its pages with the PDF writer of ivy, with their text as text and their paths and their images as vectors. It writes every page, or the page that --page selects (D55).
A document that a password protects, such as a pdf or a docx, opens with --password. When that password is missing or wrong, the decoder asks for the password at the terminal (D50).
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNoPages = errors.New("no pages")
ErrNoPages is the error of a document with no pages.
var ErrNoTerminal = errors.New("stdin is not a terminal, so --password must give the password")
ErrNoTerminal is the error when the decoder must ask for a password, and stdin is not a terminal.
var ErrPasswordAttempts = errors.New("too many wrong passwords")
ErrPasswordAttempts is the error when no password that the decoder asked for opens the document.
Functions ¶
This section is empty.
Types ¶
This section is empty.