Table wrap when exporting to Word

Stimulsoft Reports.NET discussion
Post Reply
Summit
Posts: 19
Joined: Wed Oct 02, 2013 10:06 am

Table wrap when exporting to Word

Post by Summit »

Hello,
I have a table in a report with portrait (or landscape) orientation, and it is wider than the page itself. I need to export it to Word, but when I do this, an unpleasant thing happens. The column of the table that doesn't fit in the Word page, doesn't wrap to the next page. Instead it remains on the first page and its contents hide beyond the page's edge. How to make the generator resolve this issue automatically? Using landscape orientation won't do.
Thanks in advance.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Table wrap when exporting to Word

Post by HighAley »

Hello.

To answer your question we need to know more detailed.
What size of the page did you set?
Because there is a limit of page size in the Word.

Thank you.
Summit
Posts: 19
Joined: Wed Oct 02, 2013 10:06 am

Re: Table wrap when exporting to Word

Post by Summit »

Page size is A4, but this is not the point. I don't need the page size in Word to change, I need the table column that doesn't fully fit on the first page to automatically move to the next page. When I watch the report in viewer, it makes no trouble because there I can see two pages joined into one with a dashed line in the middle, so the cell content is all visible. I need the whole content to be visible in Word as well.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Table wrap when exporting to Word

Post by HighAley »

Hello.

You could try to set next static option:

Code: Select all

StiOptions.Export.Word2007.DivideSegmentPages = false;
Thank you.
Post Reply