Quittio 0.3 API

LetterLayout
in package

Read onlyYes
FinalYes

Position of the address field and marks on the first page, in millimetres from the top left corner (e.g. DIN 5008 form A/B in the German country pack).

Table of Contents

Properties

$addressHeight  : float
$addressLeft  : float
$addressTop  : float
$addressWidth  : float
$addressZoneTop  : float
$foldMarks  : array<string|int, mixed>
$name  : string
$punchMark  : float|null
$senderLineHeight  : float

Methods

__construct()  : mixed
free()  : self
Layout without norm: address field where the default template places it.
letterheadHeight()  : float
Height of the letterhead above the address field for a given top page margin.

Properties

$foldMarks

public array<string|int, mixed> $foldMarks = []

Methods

__construct()

public __construct(string $name[, float $addressTop = 45.0 ][, float $addressLeft = 20.0 ][, float $addressWidth = 85.0 ][, float $addressHeight = 45.0 ][, float $senderLineHeight = 5.0 ][, array<int, float> $foldMarks = [] ][, float|null $punchMark = null ][, float $addressZoneTop = 17.7 ]) : mixed
Parameters
$name : string
$addressTop : float = 45.0
$addressLeft : float = 20.0
$addressWidth : float = 85.0
$addressHeight : float = 45.0
$senderLineHeight : float = 5.0
$foldMarks : array<int, float> = []

distances of fold marks from the top edge

$punchMark : float|null = null
$addressZoneTop : float = 17.7

start of the recipient address within the address field (DIN 5008: below the 17.7 mm "Zusatz- und Vermerkzone", whose last line holds the sender line)

free()

Layout without norm: address field where the default template places it.

public static free() : self
Return values
self

letterheadHeight()

Height of the letterhead above the address field for a given top page margin.

public letterheadHeight(float $pageMarginTop) : float
Parameters
$pageMarginTop : float
Return values
float
On this page

Search results