Search found 93 matches

by toolwiz
Mon Jan 07, 2008 10:36 pm
Forum: ScaleRichView
Topic: RTF Formatting question
Replies: 5
Views: 22905

I tried this both ways, and they seem to be equivalent, leading me to believe the library already accounts for DocParameters. (The code I gave needs to have the numbers converted from the input units to pixels, and I did that.) I noticed, however, that while the Top, Bottom, and Left margins look ok...
by toolwiz
Mon Jan 07, 2008 9:40 pm
Forum: ScaleRichView
Topic: RTF Formatting question
Replies: 5
Views: 22905

RTF Formatting question

I'm looking at the PDF demo, and I notice this in the block to read an RTF file: srve.RichViewEdit.Clear; srve.RichViewEdit.DeleteUnusedStyles(True, True, True); srve.RichViewEdit.LeftMargin := 132; srve.RichViewEdit.RightMargin := 57; srve.RichViewEdit.TopMargin := 94; srve.RichViewEdit.BottomMargi...
by toolwiz
Fri Jan 04, 2008 9:44 pm
Forum: ScaleRichView
Topic: ScaleRichView + IIPDF ?
Replies: 4
Views: 19233

I didn't notice that. Thanks for pointing it out!

-David
by toolwiz
Fri Jan 04, 2008 5:39 pm
Forum: ScaleRichView
Topic: ScaleRichView + IIPDF ?
Replies: 4
Views: 19233

Ok, so ... how do I do it instead? All of the examples use them.
by toolwiz
Fri Jan 04, 2008 9:06 am
Forum: ScaleRichView
Topic: ScaleRichView + IIPDF ?
Replies: 4
Views: 19233

ScaleRichView + IIPDF ?

Is there anything special required to make SRV work with IIPDF? I've got the IIPDF (llpdf?) demo working ok. I haven't looked closely yet at what SRV might require. One thing I notice is that both that demo and the A4 (WMF) demo use TRvReportHelpers where the output is rendered. Since SRV seems to b...
by toolwiz
Tue Dec 11, 2007 10:09 pm
Forum: Support
Topic: What are options for creating PDF files?
Replies: 5
Views: 15240

PDF libs provide canvas where you can draw page image, page by page. Then they convert your drawing to PDF. They can understand not all drawing operations, so not all drawing will be saved. But as for pagination and headers/footers, this work should be implemented by TRVReportHelper and you. Unfort...
by toolwiz
Mon Dec 10, 2007 8:28 pm
Forum: Support
Topic: RichView, Reportbuilder and wPDF
Replies: 3
Views: 12860

Yuk. Isn't there another way to do this besides mucking with the original source?

Inheritance?

Or override something in an event handler?
by toolwiz
Mon Dec 10, 2007 8:23 pm
Forum: Support
Topic: What are options for creating PDF files?
Replies: 5
Views: 15240

Test LLPDFLib (www.llion.net), wPDF (www.wptools.com), eDocEngine (www.gnostice.com) Other libraries that can be used with TRichView use DLLs, as far as I know. I've done some basic testing with VisPDF and LLPDFLib. The demo for LLPDFLib is from here somewhere and it at least produced something res...
by toolwiz
Fri Dec 07, 2007 9:36 am
Forum: Support
Topic: What are options for creating PDF files?
Replies: 5
Views: 15240

What are options for creating PDF files?

I need to create an app that converts RTF files to PDF format that can be read with Acrobat Reader. I've been looking at several of the PDF libraries that have VCL support (no DLL or OCX wanted) and I also see from a message here that there's a RichViewPDF object somewhere. The prices of the PDF VCL...
by toolwiz
Fri Dec 23, 2005 11:34 pm
Forum: Support
Topic: is there something like a Split function?
Replies: 12
Views: 38045

Ok, thanks Sergey. Please tell me, when is it necessary to call rve.Format? Does it need to be called any time you change anything in the rve? Here's what my search loop looks like: for wd_ndx := 0 to cklist.Count-1 do begin sl := TStringList(cklist.Items.Objects[wd_ndx]); if (sl <> nil) then begin ...
by toolwiz
Fri Dec 23, 2005 6:45 pm
Forum: Support
Topic: is there something like a Split function?
Replies: 12
Views: 38045

shmp wrote:I am using rve.RVData.SearchText() and naturally I have to add a lot of traps to prevent my application from hanging. Yea, I had that problem too but I still believe that the SearchText is still the simplest, if the method is for 'search' only.
Really... what sort of tricks did you use?
by toolwiz
Fri Dec 23, 2005 4:59 pm
Forum: Support
Topic: spell-check question
Replies: 1
Views: 10263

spell-check question

Sergey,

Can the spell-check interface be used to split the words in an RVE control into individual Items? If so, what would it need to do? Just write the word back into the document unchanged? Or set the TextStyle? What's the simplest thing to do?

Thanks
-David
by toolwiz
Fri Dec 23, 2005 4:54 pm
Forum: Support
Topic: is there something like a Split function?
Replies: 12
Views: 38045

Forgot to login. My apology for not being clear to your question earlier. After thinking a while, I believe the only way is to get the ItemText then iterate it to get individual words. Or you can right click to get word at. Cheers. I need to have the program iterate through the words. How can the p...
by toolwiz
Fri Dec 23, 2005 4:53 pm
Forum: Support
Topic: is there something like a Split function?
Replies: 12
Views: 38045

In actual fact there is a simpler way, using rve.RVData.SearchText(UpOrDown, MatchCase, WholeWord , WordToFind); The parameters are only guidance. For unicodes, there are some complexities in writing the codes. Hope this is helpful. I originally posted my question in an earlier thread that was disc...
by toolwiz
Fri Dec 23, 2005 7:40 am
Forum: Support
Topic: is there something like a Split function?
Replies: 12
Views: 38045

Helpful clues. GetItemStyle tells if the item is above '0' or negative. Anything negative is none text, even labeled items. Cheers. Initially there is one item that exists for the entire document. I'm trying to find out what is the best way to split up all of the words in the document so they are i...