Search found 9411 matches

by Sergey Tkachenko
Wed Dec 19, 2007 8:54 am
Forum: Support
Topic: Ruler - taDecimalAlign
Replies: 4
Views: 16908

This feature is supported by the ruler, but it is not supported by TRichViewEdit.
Sorry, it will not work.
by Sergey Tkachenko
Wed Dec 19, 2007 8:53 am
Forum: Support
Topic: Extract block text and put it back
Replies: 1
Views: 8008

In TRichView, document consists of items (text items, pictures, etc.). Items are indexed from 0 to rv.ItemCount-1. If the i-th item starts a new line, rv.IsFromNewLine(i) returns True. To keep text attributes, copy fragment either in RTF or (better) in RVF format. Other objects in the fragment (such...
by Sergey Tkachenko
Sat Dec 15, 2007 1:04 pm
Forum: Support
Topic: I have an question about TRichViewEdit
Replies: 26
Views: 48162

I believe, if components on the panel have panel as an owner, they will be saved.
Here is the example: http://www.trichview.com/forums/viewtopic.php?t=251
by Sergey Tkachenko
Sat Dec 15, 2007 11:02 am
Forum: Support
Topic: Unable to open file RVScroll.obj with Codegear BC++2007
Replies: 2
Views: 8958

OBJ files are placed in subdirectory. I do not exactly remember its name, but it seems it is either "Debug" or "Release", depending on the build mode.
Add this directory in the project options (or in the library paths for C++Builder)
by Sergey Tkachenko
Thu Dec 13, 2007 4:27 pm
Forum: Support
Topic: I have an question about TRichViewEdit
Replies: 26
Views: 48162

It's not so simple to insert RichViewEdit in RichViewEdit, because:
- it has link to TRVStyle, and links are not saved in RVF;
- it does not save its document together with its properties.
This demo shows how to solve these problems: http://www.trichview.com/forums/viewtopic.php?t=2199
by Sergey Tkachenko
Thu Dec 13, 2007 4:25 pm
Forum: Support
Topic: Wrapper for Reportbuilder and ScaleRichView
Replies: 4
Views: 12700

Do you use the latest TRichView version? There was a bug in loading RTF tables, when RTF file contains both tables with widths in % and fixed width.

Besides, tables really can be wider than page width.
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: 11892

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

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

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

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: 16
Views: 53390

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

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

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

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

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)