Sign In  Sign Up Live-Chat

Word to PDF conversion problem - fixed table cell does not retain format

Last post 07-23-2007, 2:29 AM by forever. 6 replies.
Sort Posts: Previous Next
  •  07-16-2007, 10:31 AM 84277

    Word to PDF conversion problem - fixed table cell does not retain format

    hallo,

    i have an urgent question to the support team. hope there's a simple solution for the following problem.

    for a costumer project i have to fill database informations into a word document. i'm using a word template with lots of formfields placed in a relatively complex table.

    table cells and rows are fixed, so that longer textstrings do not destroy the table format. the produced word file is perfect. but after conversion to pdf the table loses their defined format because cells increases automatically when text is greater than cell space.

    this causes unwanted page breaks and complete destruction of the requested document structure. is this a bug or a feature? ;-)

    pardon my english - hope you understand my problem description.

    thanks for any help.

    dana

    P.S. The costumers releases are not up to date, but i tried the latest updates of Aspose.word and Aspose.PDF. The problem still exists - so it makes no sense to upgrade.

     

     
  •  07-16-2007, 1:37 PM 84306 in reply to 84277

    Re: Word to PDF conversion problem - fixed table cell does not retain format

    Hi,

    Thank you for considering Aspose.

    Can you please provide your Word document and let us test this issue. You can attach with this forum, or if you don't want to share in public, then you can send your document at adeel.ahmad@aspose.com

    Thanks.

    Adeel Ahmad
    Support Developer
    Aspose Changsha Team
    http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/ContactChangsha.html
     
  •  07-16-2007, 3:47 PM 84322 in reply to 84306

    Re: Word to PDF conversion problem - fixed table cell does not retain format

    Attachment: Present (inaccessible)

    Hi,

     

    Here is the document in question ( please see the attachment file for more detail).

     

     

    Thanks,

    Tan Quan

     
  •  07-16-2007, 8:17 PM 84338 in reply to 84322

    Re: Word to PDF conversion problem - fixed table cell does not retain format

    Dear Tan,

    I think the code and documents you have attached in this forum are related to:
    http://www.aspose.com/Community/Forums/84337/ShowThread.aspx#84337

    If yes, then please remove from here. If you think that this is related to this thread, then please attach a Word Document, that can reproduce this error.

    Thanks.

    Adeel Ahmad
    Support Developer
    Aspose Changsha Team
    http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/ContactChangsha.html
     
  •  07-18-2007, 1:50 AM 84551 in reply to 84338

    Re: Word to PDF conversion problem - fixed table cell does not retain format

    Hi Dana,

    Please set the Section Break to Continuous in second Page of Template Word Document and then try again. Hope it works.

    If you need more help, please do let us know.

    Thanks.

    Adeel Ahmad
    Support Developer
    Aspose Changsha Team
    http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/ContactChangsha.html

     
  •  07-18-2007, 6:13 AM 84581 in reply to 84551

    Re: Word to PDF conversion problem - fixed table cell does not retain format

    Hi Dana,

    I found there are two reasons for this error:

    1) Fixed row height is not supported well in Aspose.Pdf. In Aspose.Pdf, the row height will be enlarged when the content in the row exceeds fixed row height. In the XML,

            <Row FixedRowHeight="23.05" IsBroken="false">
              <Cell ColumnsSpan="3" VerticalAlignment="Center">
                <Text MarginTop="14" MarginBottom="14" IsSpaced="true" Alignment="Right" LineSpacing="1.8" ID="paraId_3">
                  <Segment FontName="Arial" IsTrueTypeFontBold="true" FontSize="12">CSEA10022DH - 18</Segment>
                </Text>
              </Cell>
            </Row>
    The margins setting for the text makes the row be larger than 23.05.

    2) There is a blank between the header and the first table. I think this is a bug of Aspose.Pdf.

    I have logged this issue and we will try to fix it soon. As a workaround you can set the text margins of "CSEA10022DH - 18" to 0 in your template.


    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  07-23-2007, 2:29 AM 85637 in reply to 84581

    Re: Word to PDF conversion problem - fixed table cell does not retain format

    Please try hotfix 3.5.5.0.

    There is still problem with the page border (a floating box) that it is overlapping with the table. We can't resolve this problem in short time. As a workaround you can set the rectangle a little highter.


    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
View as RSS news feed in XML