Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b29a71cd

Von Marei Peischl vor mehr als 4 Jahren hinzugefügt

  • ID b29a71cd39edbb81eded152021a47a94edd75133
  • Vorgänger 86c65e3f
  • Nachfolger 84a7707e

add thispagestyle only if pagebreak

Unterschiede anzeigen:

kiviletter.sty
53 53
\bool_new:N \l_kivi_tmp_bool
54 54
\bool_new:N  \g_kivi_TableFoot_bool
55 55
\dim_new:N \g_kivi_orig@textheight_dim
56
\int_new:N \g_PricingTabular_firstpage_int
56 57
\ExplSyntaxOff
57 58

  
58 59
\newsavebox{\shippingAddressBox}
......
235 236
	\Gm@changelayout
236 237
	\begingroup
237 238
	\def \@currenvir {PricingTabular*}\edef \@currenvline {\on@line }
239
	\int_gset:Nn \g_PricingTabular_firstpage_int {\c@page}
238 240
	\addtolength{\vsize}{-\box_ht:N \g_kivi_LT@foot_box}
239 241
	\pagegoal\vsize
240 242
	\widowpenalty0
......
246 248
}
247 249

  
248 250
\cs_new:cpn {endPricingTabular*} {
249
	\thispagestyle{kivitendo.letter.PricingTable}
251
	\int_compare:nNnF \g_PricingTabular_firstpage_int = \c@page {\thispagestyle{kivitendo.letter.PricingTable}}
250 252
	\bool_gset_false:N \g_kivi_TableFoot_bool
251 253
	\@nameuse{Gm@restore@@kivi.letter@default}
252 254
	\Gm@changelayout

Auch abrufbar als: Unified diff