Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table/Rowspan: alignment with columns are not taken into account #174

Closed
pgundlach opened this issue Jun 8, 2018 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@pgundlach
Copy link
Member

<Layout
  xmlns="urn:speedata.de:2009/publisher/en"
  xmlns:sd="urn:speedata:2009/publisher/functions/en"
  version="3.3.6">
  
  <Trace objects="yes"/>
  <Record element="data">
    <PlaceObject>
      <Table stretch="max">
        <Columns>
          <Column width="1*"/>
          <Column width="1*"/>
          <Column width="1*" align="center" backgroundcolor="gray"/>
          <Column width="1*"/>
        </Columns>
        <Tr>
          <Td><Paragraph><Value>1/1</Value></Paragraph></Td>
          <Td rowspan="2"><Paragraph><Value>rowspan</Value></Paragraph></Td>
          <Td><Paragraph><Value>center</Value></Paragraph></Td>
          <Td><Paragraph><Value>left</Value></Paragraph></Td>
        </Tr>
        <Tr>
          <Td><Paragraph><Value>2/1</Value></Paragraph></Td>
          <Td><Paragraph><Value>center</Value></Paragraph></Td>
          <Td><Paragraph><Value>left</Value></Paragraph></Td>
        </Tr>
      </Table>
    </PlaceObject>
  </Record>
</Layout>

Should be aligned the same way.

align

@pgundlach pgundlach added the Bug label Jun 8, 2018
@pgundlach pgundlach added this to the Version 3.4 milestone Jun 8, 2018
@pgundlach pgundlach self-assigned this Jun 8, 2018
@pgundlach pgundlach modified the milestones: Version 3.4, Version 3.6 Sep 6, 2018
@iclukas
Copy link
Contributor

iclukas commented Jan 9, 2019

colspan is no better:

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

  <Trace objects="yes"/>
  <Record element="data">
    <PlaceObject>
      <Table stretch="max">
        <Columns>
          <Column width="1*"/>
          <Column width="1*"/>
          <Column width="1*" align="center" backgroundcolor="gray"/>
          <Column width="1*"/>
        </Columns>
        <Tr>
          <Td colspan="2"><Paragraph><Value>colspan</Value></Paragraph></Td>
          <Td><Paragraph><Value>center</Value></Paragraph></Td>
          <Td><Paragraph><Value>left</Value></Paragraph></Td>
        </Tr>
        <Tr>
          <Td><Paragraph><Value>2/1</Value></Paragraph></Td>
          <Td><Paragraph><Value>2/2</Value></Paragraph></Td>
          <Td><Paragraph><Value>center</Value></Paragraph></Td>
          <Td><Paragraph><Value>left</Value></Paragraph></Td>
        </Tr>
      </Table>
    </PlaceObject>
  </Record>
</Layout>

bildschirmfoto 2019-01-09 um 15 53 27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants