Hi;
After loading document I need to analyze items of document. Tables, textstyles and parastyles etc.
How to getting items information from RvReportHelper?
After loading document ReportHelper with using ReportHelper.Richview.LoadRtf(filename)
ReportHelper.Richview.items.count returns zero.
Can any body give me an advice ?
How to analyze document in ReportHelper
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: How to analyze document in ReportHelper
If ReportHelper.Richview.ItemCount = 0, it means nothing was loaded.
Maybe you did not assign a TRVStyle component to RVReportHelper.RichView.Style?
Also, for proper RTF loading, assign
As for item enumeration, see:
1) https://www.trichview.com/help/controls ... items.html
2) https://www.trichview.com/forums/viewto ... f=3&t=3627
Maybe you did not assign a TRVStyle component to RVReportHelper.RichView.Style?
Also, for proper RTF loading, assign
Code: Select all
ReportHelper.Richview.RTFReadProperties.TextStyleMode := rvrsAddIfNeeded;
ReportHelper.Richview.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded;
1) https://www.trichview.com/help/controls ... items.html
2) https://www.trichview.com/forums/viewto ... f=3&t=3627