Search found 9416 matches

by Sergey Tkachenko
Thu Sep 08, 2005 5:50 pm
Forum: Support
Topic: Request for new action.
Replies: 3
Views: 21424

May be, when I will have time for it.
Or may be some user will contribute his improvements in this action :)
by Sergey Tkachenko
Wed Sep 07, 2005 4:24 pm
Forum: Support
Topic: Richview report builder wrapper problem
Replies: 2
Views: 17884

I need some time to review this problem. I'll answer later this week.
by Sergey Tkachenko
Wed Sep 07, 2005 1:02 pm
Forum: Support
Topic: Request for new action.
Replies: 3
Views: 21424

As far as I understand, TrvActionInsertSymbol does what you want (menu Insert | Symbol)
by Sergey Tkachenko
Wed Sep 07, 2005 1:00 pm
Forum: Support
Topic: Xhtml missing from Save(As)Action?
Replies: 1
Views: 15797

Since it's only export, not import, HTML saving functions are available only in the TrvActionExport. And this action was implemented before XHTML support, so it does have separate items in the file filter for it. You can save either HTML or XHTML using this action, depending on rvActionExport.SaveOp...
by Sergey Tkachenko
Wed Sep 07, 2005 11:19 am
Forum: Examples, Demos
Topic: [Component] Using Shockwave Flash ActiveX in RichView
Replies: 22
Views: 288220

[Component] Using Shockwave Flash ActiveX in RichView

Using Shockwave Flash ActiveX in RichView.
You can play SWF movies just in RichView documents, save/load them in RVF, export to HTML.

Download
http://www.trichview.com/support/files/rvswf.zip
and read readme.txt
by Sergey Tkachenko
Wed Sep 07, 2005 9:52 am
Forum: Examples, Demos
Topic: [Demo] Dual editor for translators
Replies: 12
Views: 146230

This demo does not modify the second editor, if the text in the first editor is changed. It only highlights paragraph with the same index.
by Sergey Tkachenko
Wed Sep 07, 2005 9:43 am
Forum: Examples, Demos
Topic: [How to] How to make Unicode editor
Replies: 2
Views: 56739

[How to] How to make Unicode editor

This information is about TRichView versions prior to 11. Information about TRichView 11 and newer is in the next post. 1) Set Unicode property to True for all TextStyles in TRVStyle 2) Set RichViewEdit1.RTFReadProperties.UnicodeMode = rvruOnlyUnicode 3) Some methods cannot be used if the document ...
by Sergey Tkachenko
Wed Sep 07, 2005 9:40 am
Forum: Examples, Demos
Topic: [Demo] Chat codes
Replies: 15
Views: 153757

This demo already has a button (Button1) allowing choosing color from dialog
by Sergey Tkachenko
Wed Sep 07, 2005 9:14 am
Forum: Support
Topic: Getting Name of HotPicture!
Replies: 3
Views: 22159

This property affects only the background color.
To remove a background bitmap from printing, call
RVPrint.rv.BackgroundBitmap := nil;
after calling RVPrint.AssignSource.
by Sergey Tkachenko
Wed Sep 07, 2005 9:08 am
Forum: Support
Topic: 2 Questions about RichViewEdit
Replies: 1
Views: 16289

1) You can insert any Delphi control in document. Just create it and call RichViewEdit.InsertControl. For OLE objects, use TOleContainer. Example can be found in Demos\Delphi\Editors\Editor 1\ demo, menu Edit | Paste As | OLE. TOleContainer is quite a "delicate" component, it's required to...
by Sergey Tkachenko
Wed Sep 07, 2005 9:02 am
Forum: Support
Topic: How To Accomplish The Following...
Replies: 4
Views: 23335

May be you call Format somewhere, and it resets the caret position to the beginning? It's better to use functions from RVLinear.pas to store and restore the selection. function RVGetLinearCaretPos(rve: TCustomRichViewEdit): Integer; procedure RVSetLinearCaretPos(rve: TCustomRichViewEdit; LinearPos: ...
by Sergey Tkachenko
Wed Sep 07, 2005 8:59 am
Forum: Support
Topic: Printing of tabs
Replies: 1
Views: 15971

Hmm... This is not a very good workaround, because background can be colored (document/paragraph/table), and white tabs on them must be noticeable.
by Sergey Tkachenko
Tue Sep 06, 2005 8:55 pm
Forum: Support
Topic: Deleting Blank Lines
Replies: 5
Views: 27236

I modified the code: added the condition (RVData.ItemCount>1), to prevent deleting the last RVData item.
It's ok to delete all items from TRichView.
It's ok to delete all items from TRichViewEdit (one empty line will be readded by Format).
But it's not ok to delete all items from table cells.
by Sergey Tkachenko
Tue Sep 06, 2005 8:51 pm
Forum: Examples, Demos
Topic: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.
Replies: 21
Views: 236903

This procedure removes all line breaks that can be removed: procedure RemoveParagraphBreaks(RVData: TCustomRVData); var i,r,c: Integer; table: TRVTableItemInfo; begin for i := 0 to RVData.ItemCount-1 do if (i>0) and RVData.IsFromNewLine(i) and not RVData.GetItem(i).GetBoolValue(rvbpFullWidth) and no...
by Sergey Tkachenko
Tue Sep 06, 2005 8:45 pm
Forum: Examples, Demos
Topic: [Example] DeleteBlankLines, RemoveParagraphBreaks, etc.
Replies: 21
Views: 236903

[Example] DeleteBlankLines, RemoveParagraphBreaks, etc.

This code deletes all empty lines: procedure DeleteBlankLines(RVData: TCustomRVData); var i,r,c: Integer; table: TRVTableItemInfo; begin for i := RVData.ItemCount-1 downto 0 do if RVData.IsFromNewLine(i) and (RVData.GetItemStyle(i)>=0) and (RVData.GetItemText(i)='') and (RVData.ItemCount>1) and ((i ...