Search found 9730 matches

by Sergey Tkachenko
Tue Jan 20, 2009 4:28 pm
Forum: Support
Topic: Loading hyperlink object saved by TRichView on Word
Replies: 2
Views: 10417

Process OnWriteHyperlink event:

Code: Select all

procedure TForm1.RichViewEdit1WriteHyperlink(Sender: TCustomRichView;
  id: Integer; RVData: TCustomRVData; ItemNo: Integer;
  SaveFormat: TRVSaveFormat; var Target, Extras: String);
begin
  Target := PChar(RVData.GetItemTag(ItemNo));
end;
by Sergey Tkachenko
Tue Jan 20, 2009 2:23 pm
Forum: ScaleRichView
Topic: Clicking on an Image in a Table has Display Error
Replies: 3
Views: 30971

Confirmed. It will be fixed in the next update (will be uploaded this week)
by Sergey Tkachenko
Tue Jan 20, 2009 1:46 pm
Forum: ScaleRichView
Topic: Any guidelines for upgrading an app to use SRVE?
Replies: 3
Views: 28285

Ilya said me that he want to explain a transition process with more details. It will be posted here.
by Sergey Tkachenko
Tue Jan 20, 2009 1:40 pm
Forum: ScaleRichView
Topic: Any guidelines for upgrading an app to use SRVE?
Replies: 3
Views: 28285

Generally, the conversion does not require rewritting old code, only minimal changes are required.

1) All code that used TRichViewEdit control must be applied to TSRichViewEdit.RichViewEdit property.
2) Some properties and events of TSRichViewEdit.RichViewEdit are duplicated in TSRichViewEdit. You ...
by Sergey Tkachenko
Mon Jan 19, 2009 4:07 pm
Forum: Support
Topic: PrintpreviewAction hangs on delphi 2009
Replies: 3
Views: 15111

Include rvoTagsArePChars in Options, and string tags will be freed automatically.
by Sergey Tkachenko
Mon Jan 19, 2009 4:06 pm
Forum: Support
Topic: hunspell for richview
Replies: 5
Views: 27151

Yes, dll is necessary.
by Sergey Tkachenko
Sun Jan 18, 2009 6:34 pm
Forum: Support
Topic: hunspell for richview
Replies: 5
Views: 27151

Please read the comments in RVHunSpell.pas:
- specify DictDir property (a path to dictionary files; you can leave
it empty if dictionaries are in the application's directory
- add the necessary dicionaries in Dictionaries collection:
- RVHunSpell1.Dictionaries.Add.Load(<language>), where ...
by Sergey Tkachenko
Sun Jan 18, 2009 6:31 pm
Forum: Support
Topic: HTML to TRichViewEdit and enabling the Link action
Replies: 3
Views: 14422

I forget to answer about encoding.
TrvHtmlImporter understand only two encodings: ANSI (the current system code page) and UTF-8.
It has Encoding property. But even if this property is set to ANSI, if HTML text begins from UTF-8 byte order mark character, it loads it as UTF-8.
by Sergey Tkachenko
Sun Jan 18, 2009 6:20 pm
Forum: Examples, Demos
Topic: [Examples] Count of characters and words
Replies: 37
Views: 341765

You can save any additional information in DocProperties
by Sergey Tkachenko
Sat Jan 17, 2009 9:09 pm
Forum: Support
Topic: HTML to TRichViewEdit and enabling the Link action
Replies: 3
Views: 14422

1. Include rvoTagsArePChars in RichViewEdit.Options. It is necessary to allow tags (additional value associated with each item in document) to store strings - hyperlinks targets.
Also, process OnReadHyperlink and OnWriteHyperlink events (just copy their code from the ActionTest demo). They are ...
by Sergey Tkachenko
Thu Jan 15, 2009 10:42 am
Forum: Support
Topic: vertical text
Replies: 3
Views: 16719

Vertical text is not supported.
by Sergey Tkachenko
Wed Jan 14, 2009 5:38 pm
Forum: Support
Topic: PrintpreviewAction hangs on delphi 2009
Replies: 3
Views: 15111

I cannot reproduce this problem in the ActionTest demo.
May be a code executed before the action corrupts a memory?
by Sergey Tkachenko
Wed Jan 14, 2009 5:33 pm
Forum: Support
Topic: problem with paste from Internet page
Replies: 11
Views: 23752

If the problem was because images not downloaded, the error message would be like 'Cannot open file http://www.somesite.com/logo.gif', i.e. picture name would be a correct URL...
I recommend to update to TRichView 11. It has some fixes when importing documents with external images.

As for ...
by Sergey Tkachenko
Wed Jan 14, 2009 5:03 pm
Forum: Support
Topic: Can text flow around an image?
Replies: 4
Views: 16327

No, it is not possible in the current version.
We are working on left and right alignment of pictures (like in HTML). We plan to implement it in a month or two.
by Sergey Tkachenko
Mon Jan 12, 2009 10:50 am
Forum: ScaleRichView
Topic: pagination problem
Replies: 7
Views: 54200

Ilya said that he could not reproduce the problem with page numers.
He assigned SRichViewEdit1.PageProperty.PageNoVisible = False in the ActionTest, and page numbers disappeared.
Which steps are needed to reproduce the problem?