Search found 9418 matches

by Sergey Tkachenko
Thu Sep 01, 2005 2:05 pm
Forum: Support
Topic: Need to highlight all text that matches string
Replies: 1
Views: 15123

The seach selects the found string.
Call ApplyTextStyle or ApplyStyleConversion to change the selection font.
A simple example can be found in Demos\Delphi\MultiDemo\, the last subdemo.
by Sergey Tkachenko
Thu Sep 01, 2005 12:54 pm
Forum: Support
Topic: Deleting Blank Lines
Replies: 5
Views: 27247

Should it be an editing operation (that can be undone/redone by user)? If not, the code is below: procedure DeleteBlankLines(RVData: TCustomRVData); var i,r,c: Integer; table: TRVTableItemInfo; begin for i := RVData.ItemCount-1 downto 0 do if RVData.IsParaStart(i) and (RVData.GetItemStyle(i)>=0) and...
by Sergey Tkachenko
Thu Sep 01, 2005 12:26 pm
Forum: Support
Topic: Export Header/Footer to RTF
Replies: 24
Views: 70343

Well, really? :)

It's not so hard to make a "quick and dirty" solution for this problem.
So, if you are satisfied with other TRichView feature, consider this function done
by Sergey Tkachenko
Thu Sep 01, 2005 12:14 pm
Forum: Support
Topic: I have a problem whit Tables
Replies: 4
Views: 20706

Yes, this is a limitation of the current version of TRichView.
I plan to fix it in very near future
by Sergey Tkachenko
Wed Aug 31, 2005 7:36 pm
Forum: Support
Topic: Export Header/Footer to RTF
Replies: 24
Views: 70343

Unfortunately, it's not so trivial.

OnSaveRTFExtra can be used to save plain text headers, or headers with some simple formatting.

Saving arbitrary TRichView document as RTF header is not possible in the current version.
by Sergey Tkachenko
Wed Aug 31, 2005 7:31 pm
Forum: Support
Topic: Question concerning ChartItem & loadRTF
Replies: 1
Views: 14948

It's included in the main set of demos, for example in http://www.trichview.com/rvfiles/rvhelp.zip The directrory inside this zip is Demos\Addins\ChartItem\ It does not provide RTF saving of charts, but I can modify it to save them as pictures, it's very easy. But they will not be loaded as TCharts ...
by Sergey Tkachenko
Wed Aug 31, 2005 7:22 pm
Forum: Support
Topic: Problem with SaveHtml and SaveHtmlToStream functions in RV
Replies: 3
Views: 20359

HTML does not support complex numbering.

It's only possible to export it as a text (and MS Word does it).
TRichView can do it too: include rvsoMarkersAsText in Options of SaveHTML/SaveHTMLEx
by Sergey Tkachenko
Wed Aug 31, 2005 6:03 am
Forum: Support
Topic: No background at print, please!
Replies: 1
Views: 15656

RVPrint.TransparentBackground affects only the background color.
To remove the bitmap, call
RVPrint.rv.BackgroundBitmap := nil
after calling AssignSource.
by Sergey Tkachenko
Tue Aug 30, 2005 8:25 pm
Forum: Support
Topic: incorrect adding to undo list (continued)
Replies: 5
Views: 26325

If this problem can be reproduced, I think the simplest way to find the bug is logging a sequence of undo operations - when they were added, grouped, executed. I'll add this log feature in the next update (I'll try to upload it tomorrow)
by Sergey Tkachenko
Tue Aug 30, 2005 3:34 pm
Forum: Support
Topic: Relative hyperlinks
Replies: 9
Views: 43232

Well, really, on RTF import, TRichView adds the file path to relative links. In the next update for registered users (I hope to upload it today) I'll add a new property TRichView.RTFReadProperties.BasePathLinks: Boolean. It will work like the corresponding option of RVHtmlImporter - when set to Fals...
by Sergey Tkachenko
Tue Aug 30, 2005 1:05 pm
Forum: Support
Topic: Headers ans BCB6
Replies: 4
Views: 23449

TRVColorMode type is defined in the Rvstyle unit.
Probably the problem is again with the headers.
by Sergey Tkachenko
Tue Aug 30, 2005 1:02 pm
Forum: Examples, Demos
Topic: [How to] How to make plain text editor
Replies: 3
Views: 61264

[How to] How to make plain text editor

:?: How to make a plain text editor based on TRichViewEdit Exclude all but text from AcceptDragDropFormats property Process OnPaste event (see below) Disable all UI commands changing text and paragraph attributes procedure TForm1.rvePaste(Sender: TCustomRichViewEdit; var DoDefault: Boolean); var s: ...
by Sergey Tkachenko
Tue Aug 30, 2005 12:38 pm
Forum: Support
Topic: RVXML problem
Replies: 4
Views: 24851

DocRoot is taken from the XML tree:

MainRoot.Items.AddTag('document1', T.Items[0], T);
DocRoot := MainRoot.Items[MainRoot.Items.Count-1];
by Sergey Tkachenko
Tue Aug 30, 2005 11:35 am
Forum: Support
Topic: Headers ans BCB6
Replies: 4
Views: 23449

No, it's not normal, SetHeader() is a public method of TRVPrint, and it must be in PtblRV.hpp. I checked the header included in the trial version, it's there: void __fastcall SetHeader(Crvfdata::TCustomRVFormattedData* RVData); May be you have duplicated HPP files (HPP files of older version of TRic...
by Sergey Tkachenko
Tue Aug 30, 2005 11:30 am
Forum: Support
Topic: Relative hyperlinks
Replies: 9
Views: 43232

Which format do you use to store files? When saving to RVF, tags (where hyperlinks are stored) are not modified.
If you save to HTML and use RvHtmlImporter to read them, it has Options for full/relative paths.