Versions in this module Expand all Collapse all v2 v2.4.2 Sep 7, 2025 v2.4.1 Sep 7, 2025 Changes in this version + type Cell struct + Height float64 + Width float64 + X float64 + Y float64 + func NewRootCell(pageWidth, pageHeight float64, margins Margins) Cell + func (c Cell) Copy() Cell + func (c Cell) GetDimensions() *Dimensions + type Config struct + BackgroundImage *Image + ChunkWorkers int + Compression bool + CustomFonts []*CustomFont + Debug bool + DefaultFont *props.Font + Dimensions *Dimensions + DisableAutoPageBreak bool + GenerationMode generation.Mode + Margins *Margins + MaxGridSize int + Metadata *Metadata + PageNumber *props.PageNumber + Protection *Protection + ProviderType provider.Type + func (c *Config) ToMap() map[string]interface{} + type CustomFont struct + Bytes []byte + Family string + File string + Style fontstyle.Type + type Dimensions struct + Height float64 + Width float64 + func (d *Dimensions) AppendMap(label string, m map[string]interface{}) map[string]interface{} + type Image struct + Bytes []byte + Dimensions *Dimensions + Extension extension.Type + func (i *Image) AppendMap(m map[string]interface{}) map[string]interface{} + type Margins struct + Bottom float64 + Left float64 + Right float64 + Top float64 + func (m *Margins) AppendMap(mp map[string]interface{}) map[string]interface{} + type Metadata struct + Author *Utf8Text + CreationDate *time.Time + Creator *Utf8Text + KeywordsStr *Utf8Text + Subject *Utf8Text + Title *Utf8Text + func (m *Metadata) AppendMap(mp map[string]interface{}) map[string]interface{} + type Protection struct + OwnerPassword string + Type protection.Type + UserPassword string + func (p *Protection) AppendMap(m map[string]interface{}) map[string]interface{} + type Utf8Text struct + Text string + UTF8 bool + func (u *Utf8Text) ToString() string