XtraReport text overflow cutting text in half vertically

时间:2018-02-05 12:52:55

标签: xtrareport

I have an XtraReport that overflows text on to the next page but occasionally cuts the last line of text from the first page in half when it does.

I would normally handle this with the height property of the text area but I am unsure how to target a specific table row of an XtraReport to work out what the remaining height of the page is to achieve this or whether that would even work in this instance.

I'm rather hoping there's a simple work around to achieve this, please don't go too much out of your way to help out as I won't be investing much development on this.

enter image description here

I don't think there are any settings I have missed within the designer, perhaps there's a golden font size or line height that the reports want to overflow correctly.

Any help or direction would be greatly appreciated, thank you.

If there is no simple way, I will just have to loop through the tr / td tags and see if by manipulating the height I can find that sweet spot, i just worry that it will hide page 1 but still be split on page 2.

enter image description here enter image description here

1 个答案:

答案 0 :(得分:1)

在我看来,你使用ASPx / MVCx -DocumentViewer, 此控件显示一个不适合像素完美文档的HTML内容。 我建议你尝试使用ASPx / MVCx WebDocumentViewer,就像Google Docs显示像素完美的文档一样,使用bootstrap和其他渐进式Web框架更方便。

这里有demodocs