trichview.support
Re: New user questions |
Author |
Message |
Gerry Weaver |
Posted: 09/21/2004 10:32:06 Sergey Tkachenko wrote: >>I am building a document line by line from a cobol report file. I have >>page break information from the report file. I have been working with >>RichView for a bit and I'm having some trouble in a couple of areas. >> >>1. How can I add lines of text with "\n" and have RichView format and >>recognize accordingly? > > > Use AddTextNL instead of AddNL > > >>2. I don't really need RichView to format the text. I need to preserve >>the formatting from the report file. > > > What kind of formatting do you want to preserve? > > >>3. I am adding page breaks by calling "AddBreak", but when I print, the >>page breaks are not recognized by the printer. > > > AddBreak adds not a pagebreak but horizontal line (like <HR> in HTML). > Page breaks: > > rv->AddNL("First Page", 0, 0); > int ItemCount = rv->ItemCount; > rv->AddNL("Second Page", 0, 0); > rv->PageBreaksBeforeItems[ItemCount] = true; > > > > >>I don't expect someone to do this for me, but a push in the right >>direction would be very much appreciated. >> >>Version: 1.9 >>Compiler: Borland C++ Builder 6 >> >>Thanks, >>Gerry > > > Hi, Thanks for the speedy reply :) I need to preserve newlines (\n) and spaces. No indenting, centering, or word wrapping. Thanks, Gerry |
Powered by ABC Amber Outlook Express Converter