Search found 7515 matches

by Sergey Tkachenko
Sat Oct 15, 2005 8:32 am
Forum: Examples, Demos
Topic: [Component] Using Shockwave Flash ActiveX in RichView
Replies: 22
Views: 216708

by Sergey Tkachenko
Sat Oct 15, 2005 8:24 am
Forum: Support
Topic: Cell Streaming does not save Styles
Replies: 8
Views: 10645

Table cells really do not support saving and loading styles.
So the first code does not saved styles.

This code will work:

Code: Select all

Cell->Edit(); 
RichViewEdit1->TopLevelEditor->SaveRVFToStream(...); 
by Sergey Tkachenko
Sat Oct 15, 2005 8:18 am
Forum: Support
Topic: How to determin, if selected text is inside a table cell?
Replies: 5
Views: 9139

These are methods of RichViewEdit, not of the table class. They must be called for the editor that directly contains the table (it is returned by GetCurrentItemEx, in RV in your code). The purpose of BeginItemModify-EndItemModify is replacing Format. They try to reformat only the table, not the whol...
by Sergey Tkachenko
Sat Oct 15, 2005 8:13 am
Forum: Support
Topic: addpicture, with filename
Replies: 2
Views: 6491

As you noticed, there are 2 places where you can store file names: 1) Item name (the first parameter of AddPictureEx, see also GetItemText and SetItemText). 2) Special property. Item names can be used for any purpose, you can store image file names (or any other one line info) there if you need. But...
by Sergey Tkachenko
Sat Oct 15, 2005 8:02 am
Forum: Support
Topic: "SaveRVFToStream" method problem
Replies: 3
Views: 7352

1) Stream.Position := 0 before rv.LoadRVFFromStream
2) rv.Format after rv.LoadRVFFromStream
by Sergey Tkachenko
Sat Oct 15, 2005 8:00 am
Forum: Support
Topic: busy flag ??
Replies: 2
Views: 6702

Will be added in to-do list when I return.

But what's the problem with resizing?. I believe the document will be saved as it was before the resizing.
by Sergey Tkachenko
Sat Oct 15, 2005 7:43 am
Forum: Support
Topic: JumpCursor
Replies: 3
Views: 7164

Well, really this property remains from very old versions, it was implemented before individual cursors for text styles.
This cursor is used for hypertext pictures.
by Sergey Tkachenko
Sat Oct 15, 2005 7:40 am
Forum: Support
Topic: Loading RTF that contains images.
Replies: 6
Views: 10014

As for the original problem, it was because the pictures were embedded in MS Word drawing object/frame (the document was generated by some specific thirdparty tool). TRichView understands all types of RTF graphics (metafiles (16 an 32 bit), bitmaps (dib and ddb), jpeg, png (requires a class represen...
by Sergey Tkachenko
Sat Oct 15, 2005 7:33 am
Forum: Support
Topic: Slow PrintPreview
Replies: 14
Views: 16422

Please send me RVF document for testing
by Sergey Tkachenko
Wed Oct 12, 2005 4:45 pm
Forum: Support
Topic: JumpCursor
Replies: 3
Views: 7164

I just tried the demo Demos\Delphi\MultiDemo\, this property works.
In the main form of this demo you can see 3 hypertext cursors.
by Sergey Tkachenko
Wed Oct 12, 2005 4:42 pm
Forum: Support
Topic: How to determin, if selected text is inside a table cell?
Replies: 5
Views: 9139

Call Cells[Row+1, Col].Edit before Cells[Row+1, Col].SelectAll; Calling cell.Edit is necessary in the editor before selecting in this cell. Note 1: Calling BeginItemModify before SaveRowsToStream and EndItemModify may be faster than calling Format. Note 2: Please call RV.ClearUndo after this code, b...
by Sergey Tkachenko
Wed Oct 12, 2005 4:35 pm
Forum: Support
Topic: THTMLImport and HTML file import in RichViewAction...
Replies: 1
Views: 5812

Only if RVHTMLImporter is used (see readme.rvf for details).
Otherwise, MS Office text converter is used.
by Sergey Tkachenko
Wed Oct 12, 2005 4:34 pm
Forum: Support
Topic: table, with zero linewidth
Replies: 4
Views: 7594

If you do not use RichViewActions, grid is controlled by the following variables RichViewTableGridStyle: TPenStyle = psDot; // in editor RichViewTableGridStyle2: TPenStyle = psClear; // in viewer and read-only editor RichViewTableGridColor: TColor = clBtnFace; These variables are not saved in files,...
by Sergey Tkachenko
Wed Oct 12, 2005 4:30 pm
Forum: Support
Topic: SaveHTMLEx/SaveCSS
Replies: 3
Views: 6649

No, it's not possible in the current version.

May be you can create a common CSS for all editors?

You can do it, for example, by adding all documents in one TRichView using InsertRVFFromStream.
by Sergey Tkachenko
Wed Oct 12, 2005 2:49 pm
Forum: Support
Topic: Slow PrintPreview
Replies: 14
Views: 16422

So do you confirm - it's the first call of FormatPages() which may take a lot of time, and subsequent calls are not slower than reformatting on the screen? TRichView does nothing special but reads printer properties from the system and creates device context compatible to the printer. The initializa...