Sign In  Sign Up Live-Chat

Cell alignment in a table inside a page Footer does not work!

Last post 01-25-2008, 7:55 AM by Hans.firefox. 2 replies.
Sort Posts: Previous Next
  •  12-27-2007, 10:07 AM 107253

    Cell alignment in a table inside a page Footer does not work!

    Hello,
        Cell alignment does not seem to work inside a page footer. See the sample XML given below. When I call BindXml with this XML file, the cells in the main table are aligned properly whereas the one in the footer are not!

    <?xml version="1.0" encoding="utf-8" ?>
    <Pdf xmlns="Aspose.Pdf" xml:lang="en-US">
        <Section FontName="Arial" FontSize="10">
            <Table>
                <DefaultCellBorder>
                    <All Color="black" LineWidth="0.5"/>
                </DefaultCellBorder>
                <Row>
                     <!-- Cell Alignment  works here -->
                    <Cell Alignment="Right">
                        <Text>
                            <Segment>Hello World!!</Segment>
                        </Text>
                    </Cell>
                    <!-- Cell Alignment  works here -->
                    <Cell Alignment="Right">
                        <Text>
                            <Segment>Hello World!!</Segment>
                        </Text>
                    </Cell>
                </Row>
            </Table>
            <Footer>
                <Table>
                    <DefaultCellBorder>
                        <All Color="black" LineWidth="0.5"/>
                    </DefaultCellBorder>
                    <Row>
                         <!-- Cell Alignment  DOES NOT work here -->
                        <Cell Alignment="Right">
                            <Text>
                                <Segment>Hello World!!</Segment>
                            </Text>
                        </Cell>
                        <!-- Cell Alignment  DOES NOT work here -->
                        <Cell Alignment="Right">
                            <Text>
                                <Segment>Hello World!!</Segment>
                            </Text>
                        </Cell>
                    </Row>
                </Table>
            </Footer>
        </Section>
    </Pdf>


    Let me know if you can reproduce this problem.

    Regards,
    Venkat.
     
  •  12-27-2007, 12:18 PM 107260 in reply to 107253

    Re: Cell alignment in a table inside a page Footer does not work!

    Hi,

    I have tested this code and was able to reproduce the error. I have logged this as PDFNET-4226 in our issue tracking system. We will try our best to resolve this issue as soon as possible.

    Thanks.

     
  •  01-25-2008, 7:55 AM 110445 in reply to 107253

    Re: Cell alignment in a table inside a page Footer does not work!

    Attachment: Present (inaccessible)

    Hi,

    The problem has been resolved. Please try the attachment before we publish new hotfix. Thanks.

    Best regards.


    Hans Zhang
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
View as RSS news feed in XML