Search found 9445 matches

by Sergey Tkachenko
Tue Aug 05, 2008 3:48 pm
Forum: Support
Topic: In Vista, Office converter is not importing *.doc file
Replies: 5
Views: 18789

No, the new DOC export converters just report error when functions from them are called. They either require some special (the most probably undocumented) settings, or they check if they are called from Word or not.
But again, this problem occurs only for export converters for *.doc files.
by Sergey Tkachenko
Tue Aug 05, 2008 3:45 pm
Forum: Support
Topic: Recover the Filename of Picture when Html Saving
Replies: 8
Views: 21955

Yes, if image file name is specified in the proper property for picture, table or table cell, it is assigned as a default value of Location parameter in OnHTMLSaveImage. But for the main background, file name is not stored. You must store it somewhere yourself. This event stores the main background ...
by Sergey Tkachenko
Tue Aug 05, 2008 3:30 pm
Forum: Support
Topic: How to read styles from External CSS file
Replies: 3
Views: 14126

TRVHtmlImporter can still only import CSS saved by RichView.SaveHTMLEx. But the new importer was developed: TRVHtmlViewImporter. It uses the components from http://www.pbear.com (they are freeware with source code). TRVHtmlViewImporter is here: http://www.trichview.com/resources/htmlview/rvhtmlviewi...
by Sergey Tkachenko
Tue Aug 05, 2008 3:24 pm
Forum: Support
Topic: TABs not accounted for in 'natural' width (AreaWidth)?
Replies: 2
Views: 10686

Tabs cannot affect text/document width (except for paragraph where wrapping is turned off). If the tab exceeds the document width, it is moved to the new line.
DefTabWidth does not actually define widths of tabs, it defines tab positions.
by Sergey Tkachenko
Fri Aug 01, 2008 7:31 pm
Forum: Support
Topic: Recover the Filename of Picture when Html Saving
Replies: 8
Views: 21955

All these events occur BEFORE image saving. At this point, the location of the image is not defined yet. Location is an output parameter in these events. In OnHTMLSaveImage, it is not empty only if vsoUseItemImageFileNames is included in the Options parameter of SaveHTML/SaveHTMLEx, and rvespImageFi...
by Sergey Tkachenko
Fri Aug 01, 2008 7:16 pm
Forum: Support
Topic: Any hack / technique to get table dimensions in pixels?
Replies: 2
Views: 9917

Did you try using OnDrawBorder event to draw this rounded border?
by Sergey Tkachenko
Wed Jul 30, 2008 4:14 pm
Forum: Support
Topic: Scroll in View
Replies: 4
Views: 16202

Visible area: Top: rv.VScrollPos*rv.VSmallStep Bottom: Top+rv.ClientHeight As for the control. To get vertical coordinate, it's better to use Control.Tag instead of Control.Top. TRichView stores controls' Y coordinates in their Tag properties (Control.Tag). It's because too large control coordinates...
by Sergey Tkachenko
Sun Jul 27, 2008 5:04 pm
Forum: Support
Topic: RVPrint support background image in Header ?
Replies: 2
Views: 9900

No, it's not supported, sorry.
But you can use table width background image in headers.
by Sergey Tkachenko
Sun Jul 27, 2008 5:03 pm
Forum: Support
Topic: Table width to HTML
Replies: 1
Views: 7523

Sorry, there is no way to modify how table is saved. BestWidth property of cell/table are used to save <td width> and <table width>. But I am not completely understand what you want to override. For example, how do you want to calculate the actual table width (800px in your example)? This calculatio...
by Sergey Tkachenko
Fri Jul 25, 2008 5:20 pm
Forum: Support
Topic: RvHtmlImporter v0.0027 bugs
Replies: 27
Views: 61300

Not yet, I am working to fix this problem.
by Sergey Tkachenko
Thu Jul 24, 2008 7:23 pm
Forum: ScaleRichView
Topic: Pagebreak problem ?
Replies: 2
Views: 17730

I confirm this is a bug in TRichViewEdit: inserting item at the beginning of page removes the page break. It will be fixed in the next update. Quick fix: open RVERVData.pas, add after the line 1767 (info.BR := GetItem(InsertPoint).BR;): info.PageBreakBefore := GetItem(InsertPoint).PageBreakBefore;
by Sergey Tkachenko
Thu Jul 24, 2008 7:02 pm
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 62624

Yes, I'll check it this weekend.
by Sergey Tkachenko
Wed Jul 23, 2008 5:05 pm
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 62624

Yes, send the demo (as simple as possible, with TRichViewEdit) to [email protected]
by Sergey Tkachenko
Tue Jul 22, 2008 6:49 pm
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 62624

Spacing=1000 invalidates 1000 pixels around this item, i.e. usually the full window.
Can you test your code on TRichViewEdit? I am not sure where the problem is - in TRichViewEdit itself or in ScaleRichView.
by Sergey Tkachenko
Tue Jul 22, 2008 6:19 pm
Forum: ScaleRichView
Topic: string underlined like in spelling
Replies: 18
Views: 62624

I understand. It is not underlined because this word is considered as being edited. Such words are not underlined until you move the caret. MS Word works in the same way, even more strictly (the edited word is not underlined until you move the caret outside of it. In TRichViewEdit/TSRichViewEdit, an...