Open pgundlach opened 1 month ago
4.19.16
<Layout xmlns="urn:speedata.de:2009/publisher/en" xmlns:sd="urn:speedata:2009/publisher/functions/en"> <Options imagenotfound="warning" /> <SetGrid nx="12" ny="12" dx="6mm" dy="6mm" /> <Pagetype name="page" test="true()"> <Margin left="20mm" right="12mm" top="12mm" bottom="23mm" /> <PositioningArea name="twocolumn"> <PositioningFrame width="6" height="{sd:number-of-rows()-1}" row="2" column="1" /> <PositioningFrame width="6" height="{sd:number-of-rows()-1}" row="2" column="7" /> </PositioningArea> </Pagetype> <Record element="LevelA"> <ForAll select="LevelB"> <PlaceObject area="twocolumn"> <Table stretch="max" leading="5mm"> <Tablehead page="first"> <Tr> <Td> <Paragraph><Value>foo</Value></Paragraph> </Td> </Tr> </Tablehead> <Tablehead page="all"> <Tr> <Td> <Paragraph><Value /></Paragraph> </Td> </Tr> </Tablehead> <Tablerule rulewidth="0.6pt" /> <ForAll select="LevelC"> <Tr> <Td> <Paragraph> <Image file="_samplea.pdf" height="3" width="4" /> </Paragraph> <Paragraph><Value>foo</Value></Paragraph> <VSpace height="35mm" /> <Loop select="@count"> <Paragraph><Value>AAA</Value></Paragraph> </Loop> </Td> </Tr> </ForAll> <Tablerule rulewidth="0.6pt" /> <Tablefoot page="last"> <Tr> <Td> <VSpace height="5mm" /> <Paragraph><Value>123</Value></Paragraph> </Td> </Tr> </Tablefoot> </Table> </PlaceObject> <NextFrame area="twocolumn" /> </ForAll> </Record> </Layout>
data:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <LevelA> <LevelB> <LevelC count="5" /> <LevelC count="4" /> <LevelC count="4" /> </LevelB> <LevelB> <LevelC count="4" /> </LevelB> <LevelB> <LevelC count="4" /> <LevelC count="5" /> <LevelC count="4" /> <LevelC count="5" /> <LevelC count="7" /> <LevelC count="6" /> </LevelB> <LevelB> <LevelC count="5" /> <LevelC count="4" /> <LevelC count="4" /> </LevelB> <LevelB> <LevelC count="4" /> <LevelC count="6" /> <LevelC count="4" /> <LevelC count="5" /> </LevelB> </LevelA>
Result:
4.19.16
data:
Result: