Version 5.5.8

Section

seit Version 5.3.24

Gruppiert Layoutanweisungen. Dieses Element hat keinen Einfluss auf die Ausgabe und dient ausschließlich der Organisation der Layoutdatei, z.B. für Code-Faltung im Texteditor.

Kindelemente

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

Elternelemente

AtPageCreation , AtPageShipout , Case , Contents , ForAll , Include , Layout , Loop , Otherwise , Record , SavePages , Section , Until , While

Attribute

name (Text)
Ein Name für diesen Abschnitt. Dient nur zur Dokumentation.

Beispiel

<Layout xmlns="urn:speedata.de:2009/publisher/en"
  xmlns:sd="urn:speedata:2009/publisher/functions/en">

  <Section name="Schriften und Farben">
    <LoadFontfile name="titel" filename="titel.otf" />
    <DefineFontfamily name="titel" fontsize="14" leading="16">
      <Regular fontface="titel"/>
    </DefineFontfamily>
    <DefineColor name="hervorhebung" value="#cc0000" />
  </Section>

  <Section name="Seiteneinstellungen">
    <Pageformat width="210mm" height="297mm" />
    <SetGrid height="12pt" width="5mm" />
  </Section>

  <Record element="daten">
    <PlaceObject>
      <Textblock>
        <Paragraph><Value>Hallo</Value></Paragraph>
      </Textblock>
    </PlaceObject>
  </Record>
</Layout>