Skip to content

Instantly share code, notes, and snippets.

@pgundlach
Created March 16, 2015 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pgundlach/6793cbd4ab7db74e47f1 to your computer and use it in GitHub Desktop.
Save pgundlach/6793cbd4ab7db74e47f1 to your computer and use it in GitHub Desktop.
Sample for table breaking across positioning areas
<Layout xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<Pagetype name="true" test="true()">
<Margin left="1cm" right="1cm" top="1cm" bottom="1cm"/>
<PositioningArea name="foo">
<PositioningFrame width="5" height="10" row="1" column="1"/>
<PositioningFrame width="5" height="10" row="1" column="7"/>
</PositioningArea>
</Pagetype>
<Record element="data">
<PlaceObject area="foo">
<Table stretch="max">
<Loop select="300">
<Tr>
<Td><Paragraph><Value>Hello</Value></Paragraph></Td>
<Td><Paragraph><Value>world</Value></Paragraph></Td>
</Tr>
</Loop>
</Table>
</PlaceObject>
</Record>
</Layout>
@pgundlach
Copy link
Author

Use with sp --dummy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment