Search found 9406 matches

by Sergey Tkachenko
Fri Aug 31, 2007 11:45 am
Forum: Support
Topic: Table Printing problem
Replies: 9
Views: 22010

Please send me RVF file with this table
by Sergey Tkachenko
Thu Aug 30, 2007 2:27 pm
Forum: Support
Topic: Inserting TRichViewEdit content into several table cells
Replies: 4
Views: 13696

Cell.LoadRVFFromStream does not support work with styles. That means, before calling it, you need to set RVFTextStylesReadMode = RVFParaStylesReadMode = rvf_sIgnore for TRichView containing this table. So this method can load only documents containing the same set of styles as TRichView containing t...
by Sergey Tkachenko
Wed Aug 29, 2007 5:20 pm
Forum: Support
Topic: Copy Shortcut require 'Shift' in TRichview
Replies: 2
Views: 9674

TRichView ignores state of Shift when determining copy shortcut, i.e. Shift+Ctrl+C copies as well as Ctrl+C.
I think you have some menu item or action with ShortCut=Ctrl+C, and it "steals" this key combination from TRichViewEdit.
by Sergey Tkachenko
Tue Aug 28, 2007 5:09 pm
Forum: Support
Topic: Page breaks problem in Table.
Replies: 7
Views: 18056

But this drawing of page break would be wrong, because in the second column the last line on page is {$DEFINE DirectX7}, not {$ENDIF}
by Sergey Tkachenko
Mon Aug 27, 2007 2:38 pm
Forum: Support
Topic: Page breaks problem in Table.
Replies: 7
Views: 18056

I cannot see your picture.
by Sergey Tkachenko
Mon Aug 27, 2007 2:33 pm
Forum: Support
Topic: How to automatically change the style after drag&drop UR
Replies: 1
Views: 7542

Not possible using "normal" methods (well, you can store the current text style and apply it in the next call of OnChange).
I suggest to implement switching to non-hypertext style when user presses space character.
by Sergey Tkachenko
Sun Aug 26, 2007 3:08 pm
Forum: ScaleRichView
Topic: OnCurTextStyleChange??
Replies: 5
Views: 23199

"Arial 10" glitch is confirmed, will be fixed in the next update of TRichView
by Sergey Tkachenko
Sun Aug 26, 2007 2:52 pm
Forum: Support
Topic: More than 1 Richview page on 1 pdf page using eDocEngine
Replies: 5
Views: 16465

If you use RVReportHelper, you can draw as many documents on one page as you need. The height of the last page is rvreporthelper.GetLastPageHeight, just specify (FullHeight-GetLastPageHeight) when calling rvreporthelper.FormatNextPage for the first page of the next document. But sorry, I do not know...
by Sergey Tkachenko
Sun Aug 26, 2007 2:41 pm
Forum: Support
Topic: File drag and drop and hypertext
Replies: 1
Views: 7685

Use OnDropFile event: procedure TForm3.RichViewEdit1DropFiles(Sender: TCustomRichViewEdit; Files: TStrings; var FileAction: TRVDropFileAction; var DoDefault: Boolean); var i, StyleNo, OldStyleNo: Integer; begin OldStyleNo := Sender.CurTextStyleNo; StyleNo := rvActionsResource.rvActionInsertHyperlink...
by Sergey Tkachenko
Fri Aug 24, 2007 7:11 pm
Forum: ScaleRichView
Topic: Print Preview / Zooming
Replies: 3
Views: 18882

It can be implemented simpler, by changing SRichViewEdit1.ViewProperty.ViewMode. This code switches editor to preview mode and back: if SRichViewEdit1.ViewProperty.ViewMode = srvvmEditMode then SRichViewEdit1.ViewProperty.ViewMode := srvvmPreviewMode else SRichViewEdit1.ViewProperty.ViewMode := srvv...
by Sergey Tkachenko
Fri Aug 24, 2007 5:48 pm
Forum: ScaleRichView
Topic: OnCurTextStyleChange??
Replies: 5
Views: 23199

Several calls of this event make no problem in all demos and real applications that use TRichViewEdit/ScaleRichView. And none of them implement special processing for this.
This event is never called with incorrect parameters, so they are called several times with the same value of CurTextStyleNo.
by Sergey Tkachenko
Fri Aug 24, 2007 5:34 pm
Forum: ScaleRichView
Topic: How To Print / Print Preview??
Replies: 5
Views: 26194

Certainly, TrvActionPrint, TrvActionQuickPrint, TrvActionPrintPreview, TrvActionPageSetup do not work with ScaleRichView properly. It's obvious, because they use TRVPrint's repagination procedure and properties instead of ScaleRichView's procedure and properties. The most of these actions can be imp...
by Sergey Tkachenko
Fri Aug 24, 2007 5:24 pm
Forum: Examples, Demos
Topic: [Demo] Replacing controls with text
Replies: 1
Views: 28803

Similar code can be used to change controls to images. In this code, GetControlGraphic is your function returning graphic representation of the given control. You can use DrawControl function from CtrlImg unit, but it is not able to create images for all types of controls. { Inserting graphic item i...
by Sergey Tkachenko
Fri Aug 24, 2007 5:08 pm
Forum: Support
Topic: More than 1 Richview page on 1 pdf page using eDocEngine
Replies: 5
Views: 16465

Do you want to create PDF document consisting of several TRichView documents, with (or without) page breaks between them?
I am not sure how eDocEngine generates document, so I suggest simply to add all documents in the same TRichView, see http://www.trichview.com/forums/viewtopic.php?p=1002