Versions in this module Expand all Collapse all v0 v0.13.7 Sep 28, 2022 v0.13.6 Mar 29, 2022 v0.13.5 Mar 29, 2022 v0.13.4 Mar 29, 2022 Changes in this version + type AP struct + type Bar struct + Color string + Hide bool + Style string + Width int + X float64 + Y float64 + type Border struct + Color string + Name string + Style string + Width int + type Buttons struct + Label *TextFieldLabel + Values []string + type CheckBox struct + Dx float64 + Dy float64 + Hide bool + ID string + Label *TextFieldLabel + Margin *Margin + Position [2]float64 + Value bool + Width float64 + type Content struct + BackgroundColor string + Bars []*Bar + Border *Border + Borders map[string]*Border + CheckBoxes []*CheckBox + Fonts map[string]*FormFont + Guides []*Guide + ImageBoxPool map[string]*ImageBox + ImageBoxes []*ImageBox + Margin *Margin + Margins map[string]*Margin + Padding *Padding + Paddings map[string]*Padding + RadioButtonGroups []*RadioButtonGroup + Regions *Regions + SimpleBoxPool map[string]*SimpleBox + SimpleBoxes []*SimpleBox + TablePool map[string]*Table + Tables []*Table + TextBoxPool map[string]*TextBox + TextBoxes []*TextBox + TextFields []*TextField + func (c *Content) BorderRect() *pdfcpu.Rectangle + func (c *Content) Box() *pdfcpu.Rectangle + type Divider struct + At float64 + Color string + Width int + type FieldFlags int + const FieldComb + const FieldCombo + const FieldCommitOnSelChange + const FieldDoNotScroll + const FieldDoNotSpellCheck + const FieldEdit + const FieldFileSelect + const FieldMultiline + const FieldMultiselect + const FieldNoExport + const FieldNoToggleToOff + const FieldPassword + const FieldPushbutton + const FieldRadio + const FieldReadOnly + const FieldRequired + const FieldRichTextAndRadiosInUnison + const FieldSort + const UnusedFlag10 + const UnusedFlag11 + const UnusedFlag12 + const UnusedFlag4 + const UnusedFlag5 + const UnusedFlag6 + const UnusedFlag7 + const UnusedFlag8 + const UnusedFlag9 + type FormFont struct + Color string + Name string + Size int + type Guide struct + Position [2]float64 + type HorizontalBand struct + BackgroundColor string + Border bool + Center string + Dx int + Dy int + Font *FormFont + From int + Height float64 + Left string + Right string + Thru int + type ImageBox struct + Anchor string + BackgroundColor string + Border *Border + Data *ImageData + Dx float64 + Dy float64 + FileName string + Height float64 + Hide bool + Margin *Margin + Name string + Padding *Padding + Position [2]float64 + Rotation float64 + Url string + Width float64 + type ImageData struct + Format string + Height int + Payload string + Width int + type Margin struct + Bottom float64 + Left float64 + Name string + Right float64 + Top float64 + Width float64 + type PDF struct + BackgroundColor string + Border *Border + Borders map[string]*Border + CheckBoxAPs map[float64]*AP + Colors map[string]string + Conf *pdfcpu.Configuration + ContentBox bool + Crop string + DirNames map[string]string + FieldIDs pdfcpu.StringSet + Fields pdfcpu.Array + FileNames map[string]string + FontResIDs map[int]pdfcpu.Dict + Fonts map[string]*FormFont + Footer *HorizontalBand + FormFontIDs map[string]string + Guides bool + HasForm bool + Header *HorizontalBand + ImageBoxPool map[string]*ImageBox + InheritedDA string + Margin *Margin + Margins map[string]*Margin + Optimize *pdfcpu.OptimizationContext + Origin string + Padding *Padding + Paddings map[string]*Padding + Pages map[string]*PDFPage + Paper string + RadioBtnAPs map[float64]*AP + SimpleBoxPool map[string]*SimpleBox + TablePool map[string]*Table + TextBoxPool map[string]*TextBox + TimestampFormat string + XObjectResIDs map[int]pdfcpu.Dict + XRefTable *pdfcpu.XRefTable + func (pdf *PDF) RenderPages() ([]*pdfcpu.Page, pdfcpu.FontMap, pdfcpu.Array, error) + func (pdf *PDF) Validate() error + type PDFPage struct + BackgroundColor string + Border *Border + Borders map[string]*Border + Content *Content + Crop string + DA pdfcpu.Object + FileNames map[string]string + Fonts map[string]*FormFont + Guides []*Guide + ImageBoxPool map[string]*ImageBox + Margin *Margin + Margins map[string]*Margin + Padding *Padding + Paddings map[string]*Padding + Paper string + SimpleBoxPool map[string]*SimpleBox + TablePool map[string]*Table + TextBoxPool map[string]*TextBox + type Padding struct + Bottom float64 + Left float64 + Name string + Right float64 + Top float64 + Width float64 + type RadioButtonGroup struct + Buttons *Buttons + Dx float64 + Dy float64 + Hide bool + ID string + Label *TextFieldLabel + Margin *Margin + Orientation string + Position [2]float64 + Value string + Width float64 + type Regions struct + Bottom *Content + Divider *Divider + Left *Content + Name string + Orientation string + Right *Content + Top *Content + type SimpleBox struct + Anchor string + Border *Border + Dx float64 + Dy float64 + FillColor string + Height float64 + Hide bool + Margin *Margin + Name string + Position [2]float64 + Rotation float64 + Width float64 + type Table struct + Anchor string + BackgroundColor string + Border *Border + ColAnchors []string + ColWidths []float64 + Cols int + Dx float64 + Dy float64 + EvenColor string + Font *FormFont + Grid bool + Header *TableHeader + Hide bool + LineHeight int + Margin *Margin + Name string + OddColor string + Padding *Padding + Position [2]float64 + Rotation float64 + Rows int + Values [][]string + Width float64 + func (t *Table) Height() float64 + type TableHeader struct + BackgroundColor string + ColAnchors []string + Font *FormFont + Values []string + type TextBox struct + Alignment string + Anchor string + BackgroundColor string + Border *Border + Dx float64 + Dy float64 + Font *FormFont + Hide bool + Margin *Margin + Name string + Padding *Padding + Position [2]float64 + RTL bool + Rotation float64 + Value string + Width float64 + type TextField struct + Alignment string + BackgroundColor string + Border *Border + Dx float64 + Dy float64 + Font *FormFont + Height float64 + Hide bool + ID string + Label *TextFieldLabel + Margin *Margin + Multiline bool + Position [2]float64 + RTL bool + Rotation float64 + Value string + Width float64 + type TextFieldLabel struct + Gap int + Position string + Width int