Search found 9390 matches

by Sergey Tkachenko
Thu Dec 13, 2007 4:23 pm
Forum: Support
Topic: What kinds of process can be part of an undo group?
Replies: 3
Views: 11855

It's possible to create undo class for addition in style collections.
But, other operations may add styles as well, and it would be not simple to remove styles added only be certain operations.
I do not think this is a big problem, because unused styles can be deleted by DeleteUnusedStyles method.
by Sergey Tkachenko
Thu Dec 13, 2007 4:19 pm
Forum: Support
Topic: Hide rows/columns/cells
Replies: 5
Views: 19601

It's still not implemented
by Sergey Tkachenko
Thu Dec 13, 2007 4:18 pm
Forum: Support
Topic: HTML with/without active hyperlinks?
Replies: 4
Views: 14299

You may assign RichViewEdit1.OnWriteHyperlink := nil before saving the-no hyperlink file, and reassign it to the proper procedure when saving file with links.
by Sergey Tkachenko
Thu Dec 13, 2007 4:14 pm
Forum: Support
Topic: Dragon Naturally Speaking 9.5
Replies: 16
Views: 38993

TDBMemo uses standard edit control, so external applications must know how to get text from it. But TDBRichViewEdit is not a standard richedit control, so probably it will not work. It depends on how this software gets text from control. It may use window messages. If it uses WM_GETTEXT, it will not...
by Sergey Tkachenko
Thu Dec 13, 2007 4:07 pm
Forum: Examples, Demos
Topic: [Demo] Editors in editors
Replies: 12
Views: 43571

[Demo] Editors in editors

This demo shows how to insert TRichViewEdit in TRichViewEdit.
Documents with inserted RichViewEdits can be saved in RVF files.

http://www.trichview.com/support/files/subeditors.zip

Minimal required Delphi version: 6
by Sergey Tkachenko
Thu Dec 13, 2007 10:44 am
Forum: Examples, Demos
Topic: [Example] Saving additional information in RTF files (and in DocX too)
Replies: 4
Views: 69158

Similar example, how to save RTF with several sections, each section has its own orientation: http://www.trichview.com/support/files/ ... tation.zip

This example has a small problem: empty line at the beginning of each section. To minimize this problem, this line has a very small size.
by Sergey Tkachenko
Wed Dec 12, 2007 4:19 pm
Forum: Support
Topic: What are options for creating PDF files?
Replies: 5
Views: 15181

As far as I know, all PDF libraries use not bitmap's, but metafile's canvas. Page image is saved in metafile. Metafile is a sequence of drawing commands (like "set font", "draw text", "draw line", "draw bitmap") . When metafile is created, PDF library converts...
by Sergey Tkachenko
Wed Dec 12, 2007 4:11 pm
Forum: Support
Topic: Wrapper for Reportbuilder and ScaleRichView
Replies: 4
Views: 12671

There are 2 possible using of ScaleRichView in ReportBuilder: 1) Replacing TRVReportHelper in ppRichView objects. I think it makes no sense. Drawing will be the same, but repagination is different. Currently, TRVReportHelper's repagination procedure is better then ScaleRichView's one (for example, S...
by Sergey Tkachenko
Wed Dec 12, 2007 4:06 pm
Forum: Support
Topic: What kinds of process can be part of an undo group?
Replies: 3
Views: 11855

May be the simplest way is to use standard editing operation? To select item and delete selection, to select items and apply new style?
These operations can be undone (except for adding new style to the collection, this operation is not undoable yet)
by Sergey Tkachenko
Wed Dec 12, 2007 4:01 pm
Forum: Support
Topic: TCheckBox in RichView
Replies: 4
Views: 13224

Not all controls can be printed by default TRichView printing procedure. If some controls are not printed, use OnPrintComponent event. For checkboxes: procedure TForm1.RVPrint1PrintComponent(Sender: TCustomRVPrint; PrintMe: TControl; var ComponentImage: TBitmap); var r: TRect; State: Cardinal; begin...
by Sergey Tkachenko
Wed Dec 12, 2007 3:57 pm
Forum: ScaleRichView
Topic: ScaleRichView and Reportbuilder
Replies: 3
Views: 16536

Yes, this line assigns events of one TRichView to another.
Remove it, if you use ScaleRichView
by Sergey Tkachenko
Tue Dec 11, 2007 12:04 pm
Forum: Support
Topic: SafeDeleteItem when only 1 item in cell
Replies: 4
Views: 13683

The line dec(ItemNo) must be removed. When you delete the ItemNo-th item, the next item (if it exists) becomes the ItemNo-th item, and you should change its properties, not properties of the previous item. As for value of ItemNo parameter after existing this procedure, it depends on your needs (prob...
by Sergey Tkachenko
Tue Dec 11, 2007 11:57 am
Forum: Support
Topic: What are options for creating PDF files?
Replies: 5
Views: 15181

PDF libs provide canvas where you can draw page image, page by page. Then they convert your drawing to PDF. They can understand not all drawing operations, so not all drawing will be saved. But as for pagination and headers/footers, this work should be implemented by TRVReportHelper and you. Unfortu...
by Sergey Tkachenko
Tue Dec 11, 2007 10:18 am
Forum: ScaleRichView
Topic: Context menu issues
Replies: 3
Views: 17666

1) You need to compile RichViewActions with support of Addict3 (see install.txt of RichViewActions), place TrvActionAddictSpell3 on the form, assign it to RVAddictSpell3 property of TRVAControlPanel. Read details in readme.rvf loaded in the ActionTest by default (close to the end of file) 2) Add thi...
by Sergey Tkachenko
Tue Dec 11, 2007 9:23 am
Forum: ScaleRichView
Topic: TRVFontComboBox and TRVFontSizeComboBox in TdxBar
Replies: 6
Views: 28271

These controls do not work by themselves (unlike actions).
You need to process their events to apply changes to the editor, and events of editor to make them show attributes of the current text.