Search found 7289 matches

by Sergey Tkachenko
Thu Sep 01, 2005 4:18 pm
Forum: Support
Topic: add multi Line text with Tag
Replies: 1
Views: 6098

There is no such method. Use AddNLATag for each text line
by Sergey Tkachenko
Thu Sep 01, 2005 2:05 pm
Forum: Support
Topic: Need to highlight all text that matches string
Replies: 1
Views: 5844

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: 9473

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: 21770

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: 6796

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: 21770

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: 5563

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: 8412

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: 5892

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: 8993

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: 12832

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: 8012

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: 38072

[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: 8629

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: 8012

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...