trichview.support
Re: Can TRichView do this? |
Author |
Message |
Sergey Tkachenko |
Posted: 04/03/2005 13:23:54 Well, the general answer is - yes. Some problems: - TRichView does not support portrait and landscape pages in the same document. They must be arranged in two (or more) documents. But it's possible to print and preview them as one document. - Rectangles around groups of cells are not supported. There is an event where you can draw cell border yourself, but it's called for each cell separately. Well, I can explain how to get coordinates of individual cells, so you will be able to calculate the proper rectangle coordinates. > I'm developing an application in Delphi 7 that needs to create, preview, > and print a long document with mixed content. This document will have > several pages that contain individual paragraphs of RTF text that were > entered by the user. > There will be several places in the app where the user can enter these > blocks of text. The user can make parts of the text bold, italic, or > underlined, but no other formatting is permitted. > > These blocks of text then need to be assembled into one printed document > (with print preview). Several other pages of the document will contain > tables of financial data. Groups of table cells may have rectangles > drawn around them to outline various parts of the tables. Most of the > text-based pages need to be printed portrait, and most of financial > pages will be landscape. > > Will TRichView do all this? |
Powered by ABC Amber Outlook Express Converter