Documentation
¶
Overview ¶
Package docpagestest makes the documents the Report Designer's tests read: a PDF of plain pages and a Word document with a theme, running text and a picture.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Docx ¶
Docx is a Word document with a theme, a font table, a header, a footer and one PNG picture.
func PDF ¶
PDF is a PDF of n A4 pages, each a filled rectangle of fill (an "r g b" triple of 0 to 1) across its top and a line of Helvetica.
func PicturePDF ¶ added in v0.7.29
func PicturePDF() []byte
PicturePDF is a PDF of three A4 pages that draws pictures, uncompressed: on page 1 a 120 by 60 logo of fill whose left half is opaque and right half transparent (a soft mask), a 300 by 200 opaque photograph of a gradient, and a 12 by 12 bullet; on pages 2 and 3 the same logo again, as a running header draws it; page 3 draws no new picture.
Types ¶
This section is empty.