speedata / publisher

speedata Publisher - a professional database Publishing system
https://www.speedata.de/
GNU Affero General Public License v3.0
296 stars 36 forks source link

Bookmarks in dynamic table header #131

Closed pgundlach closed 7 years ago

pgundlach commented 7 years ago

Version 2.9.14

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

  <Options crop="5mm"/>
  <Trace grid="yes" objects="no"/>
  <Pageformat width="10cm" height="8cm"/>
  <SetGrid nx="10" height="12pt"/>
  <Record element="data">
    <PlaceObject>
      <Table>
        <Tablehead>
          <Tr backgroundcolor="gray">
            <Td><Bookmark select="'head'"/><Paragraph><Value>Head Head Head</Value></Paragraph></Td>
          </Tr>
        </Tablehead>
        <Tr sethead="yes">
          <Td>
            <Paragraph><Value>Head hallo</Value></Paragraph>
          </Td>
        </Tr>
        <Loop select="6">
          <Loop select="4">
            <Tr break-below="yes">
              <Td><Paragraph><Value>Foo</Value></Paragraph></Td>
            </Tr>
            <Tr break-below="no"><Td><Paragraph><Value>Foo</Value></Paragraph></Td></Tr>
          </Loop>
        </Loop>

      </Table>
    </PlaceObject>
  </Record>
</Layout>

Reports

Warning: Duplicate destination for bookmark "head" (1)

This is because the pdf_dest node is inserted multiple times.

pgundlach commented 7 years ago

Can't reproduce this anymore.