Section
since version 5.3.24
Groups layout instructions. This element has no effect on the output and is used solely for organizing the layout file, e.g. for code folding in text editors.
Child elements
AddSearchpath, AttachFile, Compatibility, DefineColor, DefineColorprofile, DefineFontalias, DefineFontfamily, DefineGraphic, DefineMatter, DefineTextformat, Function, Hyphenation, LoadFontfile, Loop, Message, Options, PDFOptions, Pageformat, Pagetype, PlaceObject, Record, Section, SetGrid, SetVariable, StructureElement, Stylesheet, Switch, Trace, While
Parent elements
AtPageCreation, AtPageShipout, Case, Contents, ForAll, Include, Layout, Loop, Otherwise, Record, SavePages, Section, Until, While
Attributes
name(text)-
A name for this section. Used only for documentation purposes.
Example
<Layout xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<Section name="Fonts and colors">
<LoadFontfile name="title" filename="title.otf" />
<DefineFontfamily name="title" fontsize="14" leading="16">
<Regular fontface="title"/>
</DefineFontfamily>
<DefineColor name="highlight" value="#cc0000" />
</Section>
<Section name="Page setup">
<Pageformat width="210mm" height="297mm" />
<SetGrid height="12pt" width="5mm" />
</Section>
<Record element="data">
<PlaceObject>
<Textblock>
<Paragraph><Value>Hello</Value></Paragraph>
</Textblock>
</PlaceObject>
</Record>
</Layout>