From: Marei Peischl Date: Thu, 21 Nov 2019 11:04:04 +0000 (+0100) Subject: initial pagestyle config X-Git-Tag: release-3.5.6.1~361 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=969417a48e4371e88930011b197fe906850480b7;p=kivitendo-erp.git initial pagestyle config --- diff --git a/kiviletter.sty b/kiviletter.sty index d7f0ec42e..069e2b19f 100644 --- a/kiviletter.sty +++ b/kiviletter.sty @@ -31,6 +31,16 @@ \bool_new:N \l_kivi_tmp_bool \ExplSyntaxOff -%TODO babel setup +\newsavebox{\shippingAddressBox} + + +\DeclareNewLayer[ +foreground, +hoffset=\useplength{toaddrhpos}, +voffset=\dimexpr\useplength{toaddrvpos}+\useplength{toaddrheight}+\baselineskip, +contents={\usebox\shippingAddressBox} +]{kivitendo.shippingaddress} +\DeclareNewPageStyleByLayers{kivitendo.letter.first}{kivitendo.shippingaddress} + \endinput