Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cell ¶
Cell represents a cell inside the PDF.
func NewRootContext ¶
func (Cell) GetDimensions ¶
func (c Cell) GetDimensions() *Dimensions
type Config ¶
type Config struct {
ProviderType provider.Type
Dimensions *Dimensions
Margins *Margins
DefaultFont *props.Font
CustomFonts []*CustomFont
WorkersQuantity int
Debug bool
MaxGridSize int
PageNumberPattern string
PageNumberPlace props.Place
Protection *Protection
Compression bool
Metadata *Metadata
BackgroundImage *Image
}
type CustomFont ¶
type Dimensions ¶
type Metadata ¶
type Protection ¶
type Protection struct {
Type protection.Type
UserPassword string
OwnerPassword string
}
func (*Protection) AppendMap ¶
func (p *Protection) AppendMap(m map[string]interface{}) map[string]interface{}
Click to show internal directories.
Click to hide internal directories.