Search found 9400 matches

by Sergey Tkachenko
Wed Jan 16, 2008 6:04 pm
Forum: Support
Topic: RichViewEdit1.Paste doesn't work inside the table cell.
Replies: 5
Views: 14424

Then remove IF.
by Sergey Tkachenko
Wed Jan 16, 2008 6:02 pm
Forum: Support
Topic: Always unable to export to MS Word
Replies: 39
Views: 105050

At least changing to jpg helps, not sure about changing to unknown extension.
by Sergey Tkachenko
Wed Jan 16, 2008 6:01 pm
Forum: Support
Topic: Dragon Naturally Speaking 9.5
Replies: 16
Views: 44666

I never worked with MSAA. It looks like it requires implementation of IAccessible and may be a couple more interfaces.
Please remind me again after release of next TRichView update (v10.0), planned for February.
by Sergey Tkachenko
Tue Jan 15, 2008 4:06 pm
Forum: ScaleRichView
Topic: RTF Formatting question
Replies: 5
Views: 22883

TRichView itself never reads LeftMargin and other margin properties from RTF. It can read DocParameters property if RTFReadProperties.ReadDocParameters = True.
As for ScaleRichView specifics, I'll ask Ilya.
by Sergey Tkachenko
Tue Jan 15, 2008 3:57 pm
Forum: Support
Topic: DocProperties should not be loaded
Replies: 1
Views: 8035

I cannot reproduce copying of DocProperties if rvfoLoadDocProperties is excluded from rv.RVFOptions. But if you call rv.LoadRVFFromStream, rv.DocProperties will be cleared, because rv.LoadRVFFromStream calls rv.Clear, and rv.Clear clears rv.DocProperties. So if you need to store them after call of C...
by Sergey Tkachenko
Tue Jan 15, 2008 3:41 pm
Forum: Support
Topic: Always unable to export to MS Word
Replies: 39
Views: 105050

Please send me compiled exe to richview at gmail dot com
(zipped with password protection, otherwise it will be rejected by gmail)
by Sergey Tkachenko
Tue Jan 15, 2008 3:39 pm
Forum: Support
Topic: RichViewEdit1.Paste doesn't work inside the table cell.
Replies: 5
Views: 14424

Sorry, I cannot reproduce this problem.
by Sergey Tkachenko
Tue Jan 15, 2008 3:37 pm
Forum: Support
Topic: Selection bounds and Unicode text
Replies: 3
Views: 11616

Sorry, but if you create a list of SearchTextW results, I think you know what text is found.
by Sergey Tkachenko
Sat Jan 12, 2008 1:38 pm
Forum: Support
Topic: TEdit and resizing
Replies: 3
Views: 11167

You can assign this code to OnChange of TEdits: procedure TForm1.OnControlChange(Sender: TObject); var txt: TEdit; begin txt := (Sender as TEdit); Canvas.Font := txt.Font; txt.ClientWidth := Canvas.TextWidth(txt.Text)+6; RichViewEdit1.AdjustControlPlacement2(txt); end; (do not forget to reassign it ...
by Sergey Tkachenko
Sat Jan 12, 2008 11:09 am
Forum: Support
Topic: TEdit Control and Font
Replies: 6
Views: 16228

You can use TRichViewEdit.OnSelect event. In this event, call GetSelectionBounds, enumerate all selected items and check if they contain TEdit.
As for other your questions, I need some time to answer them. I'll try to answer in
by Sergey Tkachenko
Sat Jan 12, 2008 11:06 am
Forum: Support
Topic: I have an question about TRichViewEdit
Replies: 26
Views: 48131

Can you reproduce these problems in simple project and send it to me?
by Sergey Tkachenko
Sat Jan 12, 2008 11:05 am
Forum: Support
Topic: How to save selectionbound for future use
Replies: 1
Views: 8360

Use functions from RVLinear.pas
by Sergey Tkachenko
Thu Jan 10, 2008 4:45 pm
Forum: Support
Topic: How to save table background img original path+name in HTML
Replies: 6
Views: 15000

Do you use this code: procedure TForm3.RichViewEdit1HTMLSaveImage(Sender: TCustomRichView; RVData: TCustomRVData; ItemNo: Integer; const Path: String; BackgroundColor: TColor; var Location: String; var DoDefault: Boolean); var FileName: String; begin if (ItemNo>=0) and RVData.GetItemExtraStrProperty...
by Sergey Tkachenko
Thu Jan 10, 2008 4:32 pm
Forum: Support
Topic: Off-screen rendering
Replies: 3
Views: 11305

You can use OnDrawParaBack and OnDrawStyleText to draw additional effects for paragraphs and text.
See Demos\Delphi\Assorted\CustomDraw\CustomDraw\
by Sergey Tkachenko
Thu Jan 10, 2008 12:46 pm
Forum: Support
Topic: Off-screen rendering
Replies: 3
Views: 11305

In the latest version (available for registered users), TRVReportHelper does not require forms (can be created without parent or placed on datamodule). But I doubt that VCL components can work in thread properly. As for the paragraph coordinates, can you explain what you want to implement? I'll try ...