consts

package
v0.28.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxGridSum represents the max value from a cell grid width
	MaxGridSum float64 = 12.0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Align

type Align string

Align is arRepresentation of a column align

const (
	// Left represents a left horizontal align
	Left Align = "L"
	// Right represents a right horizontal align
	Right Align = "R"
	// Center represents a center horizontal and/or vertical align
	Center Align = "C"
	// Top represents a top vertical align
	Top Align = "T"
	// Bottom represents a bottom vertical align
	Bottom Align = "B"
	// Middle represents a middle align (from gofpdf)
	Middle Align = "M"
)

type Extension

type Extension string

Extension is a representation of a Image extension

const (
	// Jpg represents a jpg extension
	Jpg Extension = "jpg"
	// Png represents a png extension
	Png Extension = "png"
)

type Family

type Family string

Family is a representation of a family Font

const (
	// Arial represents an arial Font
	Arial Family = "arial"
	// Helvetica represents a helvetica Font
	Helvetica Family = "helvetica"
	// Symbol represents a symbol Font
	Symbol Family = "symbol"
	// ZapBats represents a zapfdingbats Font
	ZapBats Family = "zapfdingbats"
	// Courier represents a courier Font
	Courier Family = "courier"
)

type Orientation

type Orientation string

Orientation is a representation of a page orientation

const (
	// Portrait represents the portrait orientation.
	Portrait Orientation = "P"
	// Landscape represents the landscape orientation.
	Landscape Orientation = "L"
)

type PageSize

type PageSize string

PageSize is a representation of an page size

const (
	// A3 represents DIN/ISO A3 page size
	A3 PageSize = "A3"
	// A4 represents DIN/ISO A4 page size
	A4 PageSize = "A4"
	// A5 represents DIN/ISO A5 page size
	A5 PageSize = "A5"
	// Letter represents US Letter page size
	Letter PageSize = "Letter"
	// Legal represents US Legal page size
	Legal PageSize = "Legal"
)

type Style

type Style string

Style is a representation of a style Font

const (
	// Normal represents a normal style
	Normal Style = ""
	// Bold represents a bold style
	Bold Style = "B"
	// Italic represents a italic style
	Italic Style = "I"
	// BoldItalic represents a bold and italic style
	BoldItalic Style = "BI"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL