Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

Export Tables and Matrices as Textboxes

Last post 07-03-2009, 9:10 AM by gosi. 4 replies.
Sort Posts: Previous Next
  •  07-01-2009, 4:43 AM 186308

    Export Tables and Matrices as Textboxes Reporting Services

    Hi,

    My client is using ASPOSE.WORD for Reporting Services for exporting from the CRM 4.0. I'm having some problems with the outcome of the export, as it's difficult to control the outcome of the export. One of the reason is that there is table in the report with a single row, where the content is plain text which vary in length. Somethimes it's just few paragraph but somethimes it can be a whole page. As Aspose default settings export the table as a whole table as default, the outcome of the export is not satisfying, somethimes there is is a huge empty space on the previous page when the previous mentioned table exceeds certain lenght. I found in your documentation that I could possibly use this syntax in my rsreportserver.config Extension:

    <Render>

    <Extension Name="AWDOC" Type="Aspose.Words.ReportingServices.DocRenderer,Aspose.Words.ReportingServices">

    <Configuration>

        <UseFloatingTables>False</UseFloatingTables>

    </Configuration>

    </Extension>

    </Render>

    I did add this to the config file but without any change in the table.

    So my question really is, does this works on a table with only single row as previously explained and if yes, why is there no change in the export even though I did add the syntax to the rsreportserver.config file?

    Regards,

    Gosi

     
  •  07-01-2009, 6:42 AM 186343 in reply to 186308

    Re: Export Tables and Matrices as Textboxes

    Hi

     

    Thanks for your request. Could you please attach your RDL report and sample data source here for testing? We will check the issue on our side and provide you more information.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  07-01-2009, 6:55 AM 186352 in reply to 186343

    Re: Export Tables and Matrices as Textboxes Reporting Services

    Hi and thanks for your reply.

    What do you mean exactly by "sample data source", I'm not sure exactly what you need.

    Regards,

     
  •  07-01-2009, 7:50 AM 186373 in reply to 186352

    Re: Export Tables and Matrices as Textboxes

    Hi,

    1) Blank pages appearing when preceding page contents are higher than expected may be fixed by decreasing the SpacingFactor parameter:

    http://www.aspose.com/documentation/ssrs-rendering-extensions/aspose.words-for-reporting-services/spacing-factor.html

    2) You should switch to the positioned layout first as the option you specified only works in this type of layout. It determines if tables and matrixes are exported as real floating tables or a bunch of textboxes. Read the following topic to know how to change the layout:

    http://www.aspose.com/documentation/ssrs-rendering-extensions/aspose.words-for-reporting-services/document-layout-flow-vs-positioned.html

    3) Alexey meant that we need a data source used to generate a report as well as the report itself to reproduce the issue.

    Thanks.


    Dmitry Vorobyev
    Fields and Reporting Team Leader
    Aspose Auckland Team
     
  •  07-03-2009, 9:10 AM 186802 in reply to 186373

    Re: Export Tables and Matrices as Textboxes Reporting Services

    Attachment: Present (inaccessible)

    I added the following to my code:

    <DocumentLayout>Positioned</DocumentLayout >

    <UseFloatingTables>False</UseFloatingTables>

    and it's exporting the tables as textboxes but I'm afraid that it does not solve my problem. Is it possible to let the textbox be divided into more than one textboxes even though there is only one row in the table, like each paragraph is one textbox (se further explaination in textboxes.pdf)?

    I changed my report to the Adventure Works Database as data source.

    Regards,

     
View as RSS news feed in XML