2022.2

Table Of Contents
AlternativelyyoucouldsetthispropertyontheSourcetabintheHTML(forexample:<ul style-
e="page-break-inside: avoid;">),oraddaruletothestylesheet;see"Stylingyourtemplates
withCSSfiles"onpage676.
Addingblankpagestoasection
Howtoaddablankpagetoasectionisdescribedinahow-to:Createblankpageonfieldvalue.
Master Pages
InPrintsections,thereareoftenelementsthatneedtoberepeatedacrosspages,likeheaders,footers
andlogos.Inaddition,someelementsshouldappearonlyonspecificpages,suchasonlythefirst
page,orthelastpage,oronlyonpagesin-between.Examplesareadifferentheaderonthefirstpage,
andatear-offslipthatshowsuponthelastpage.
ThisiswhatMasterPagesareusedfor.MasterPagescanonlybeusedinthePrintcontext(see"Print
context"onpage443).
MasterPagesresemblePrintsections,andtheyareeditedinmuchthesameway(see"Editinga
MasterPage"onthenextpage)buttheycontainasinglepageanddonothaveanytextflow.Onlyone
MasterPagecanbeappliedperpageinprintedoutput.ThenaPrinttemplateiscreated,onemaster
pageisaddedtoitautomatically.YoucanaddmoreMasterPages;see"AddingaMasterPage"below.
Initially,theoriginalMasterPagewillbeappliedtoallpages,butdifferentMasterPagescanbeapplied
todifferentpages;see"ApplyingaMasterPagetoapageinaPrintsection"onpage464.
Examples
ThereareafewHow-tosthatdemonstratetheuseofMasterPages:
l
ShowingaTermsandConditionsonthebackofthefirstpageonly.
l
Atear-offsectiononthefirstpageofaninvoice.
l
TipsandtricksforMediaandMasterPages.
AddingaMasterPage
WhenaPrinttemplateiscreated,onemasterpageisaddedtoitautomatically.AddingmoreMaster
Pagescanbedoneasfollows:
l
OntheResourcespane,right-clicktheMaster pagesfolderandclickNew Master Page.
l
Typeanameforthemasterpage.
l
Optionally,setthemarginfortheheaderandfooter.See"Addingaheaderandfooter"onthe
nextpage.
l
ClickOK.
Page 462