Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

XRRichText - How to make a page break from RTF contents to be inserted into XtraReport

$
0
0

XtraReports have their own page breaking mechanism, which is based on the page content. You can resolve this problem by splitting the RTF content into several blocks based on the PageBreak character by using our RichEditDocumentServer.

This sample illustrates how it can be done

See also :
XRRichText - A page break in a RTF contents should lead to a page break in a report

Question Comments

Added By: Patrick Miller at: 2/22/2018 11:39:33 AM    This is really nice, I doubt this is possible but let's say you are using this method and you have a number lists that continues into the next page. This method listed here, the number lists get's reset in the next page. Back to 1. You can try it by opening the sample fish.rtf that is in this example, do a number lists that continues into the next page and you will see.

I kinda doubt there is anyway to fix this as we are selecting each page, we are loosing some of the original rtf header stuff from the last page.

Thanks again for the great sample.

Pat

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>