Search found 7174 matches

by Sergey Tkachenko
Sun Oct 22, 2017 7:10 pm
Forum: Support
Topic: TrvHtmlViewImporter and THMLViewer v11.8
Replies: 1
Views: 134

Re: TrvHtmlViewImporter and THMLViewer v11.8

Today, THTMLViewer 11.8 was updated, and now it is compatible with TRichView again.
by Sergey Tkachenko
Sun Oct 22, 2017 5:22 pm
Forum: Support
Topic: Using TRichView (Demo) for the first time ...
Replies: 2
Views: 17

Re: Using TRichView (Demo) for the first time ...

1 LoadRTF and LoadRTFFromStream are fast viewer-style methods (see http://www.trichview.com/help/viewer_vs_editor.html), it does not prepare document for displaying. You need to call Format method to display the document. 2 LoadRTF and LoadRTFFromStream add content to the end of existing document. S...
by Sergey Tkachenko
Fri Oct 20, 2017 9:00 am
Forum: Support
Topic: Exported docx lost the cell background picture
Replies: 2
Views: 22

Re: Exported docx lost the cell background picture

Word documents do not support background pictures for cells and tables.
by Sergey Tkachenko
Thu Oct 19, 2017 9:18 am
Forum: Report Workshop
Topic: Installing optional DevArt UniDAC data provider... Skipped.
Replies: 2
Views: 30

Re: Installing optional DevArt UniDAC data provider... Skipped.

I downloaded a new version of UniDAC (trial) for Delphi 6 and Delphi 10. Report Workshop successfully installed UniDAC support package.
So please check if UniDAC is installed.
by Sergey Tkachenko
Thu Oct 19, 2017 9:16 am
Forum: Support
Topic: How to control the caret position after pasting content
Replies: 2
Views: 25

Re: How to control the caret position after pasting content

You can store the caret position using RVGetSelection, and restore it using RVSetSelection (unit RVLinear).

But I can suggest another solution. You can adjust VALign of images in OnItemAction event, ItemAction = rviaInserted, if pasted = True.
by Sergey Tkachenko
Wed Oct 18, 2017 9:15 am
Forum: Report Workshop
Topic: Installing optional DevArt UniDAC data provider... Skipped.
Replies: 2
Views: 30

Re: Installing optional DevArt UniDAC data provider... Skipped.

Run RAD Studio, open UniDAC support package. It is in ReportWorkshop\DataProvides\Source folder. Package names are RW_Uni_*.dproj. For example, for Delphi 10.2, the package name is RW_Uni_D10_2.dproj. Open it and compile. Post error messages in this topic.
by Sergey Tkachenko
Tue Oct 17, 2017 7:06 pm
Forum: Support
Topic: Hyperlinks not saved
Replies: 4
Views: 37

Re: Hyperlinks not saved

There is still a possibility of using StyleTemplates and standard editor UI for changing text and paragraph attributes, without saving style collections in documents, see my answer in http://www.trichview.com/forums/viewtop ... 911#p33945
by Sergey Tkachenko
Tue Oct 17, 2017 7:03 pm
Forum: Support
Topic: How to mix default styles with user custom styles?
Replies: 4
Views: 51

Re: How to mix default styles with user custom styles?

Actually, there is a possibility to use StyleTemplates and all the standard editor UI, and still not saving TextStyles, ParaStyles and ListStyles in RVF. As I understand, in your previous solution, you used common collections of styles for all documents, and store them outside RVF documents. You can...
by Sergey Tkachenko
Tue Oct 17, 2017 6:31 pm
Forum: Support
Topic: Hyperlinks not saved
Replies: 4
Views: 37

Re: Hyperlinks not saved

When you call ApplyStyleTemplates (and also ApplyStyleConversion and ApplyParaStyleConversion), new styles may be added. If you do not save them in RVF, they will be lost. So I suggest to include rvfoSaveTextStyles and rvfoSaveParaStyles in RVFOptions, and change ReadMode properties back to sInsertM...
by Sergey Tkachenko
Tue Oct 17, 2017 10:13 am
Forum: Support
Topic: How to convert list markers to plain text
Replies: 4
Views: 96

Re: How to convert list markers to plain text

You can suppress saving certain items using OnSaveItemToFile event.
Check for SaveFormat = rvsfText, assign OutStr := '' and DoDefault := False.
by Sergey Tkachenko
Mon Oct 16, 2017 3:01 pm
Forum: Support
Topic: How to convert list markers to plain text
Replies: 4
Views: 96

Re: How to convert list markers to plain text

I am glad you solved the problem. Please note that GetSelText calls SaveTextToStream inside, with the parameter TextOnly. With this parameter, a text representations of non-text items are not saved (except for tables and items inherited from label-item, such as footnotes and endnotes). If you need a...
by Sergey Tkachenko
Mon Oct 16, 2017 2:54 pm
Forum: Support
Topic: How to mix default styles with user custom styles?
Replies: 4
Views: 51

Re: How to mix default styles with user custom styles?

I am not sure that I understand the problem. RVFOptions affect only saving and loading. If you want to save ListStyles, you must include rvfoSaveParaStyles. If you want to save StyleTemplates, you must include both rvfoSaveTextStyles and rvfoSaveParaStyles. If you want to modify StyleTemplates and a...
by Sergey Tkachenko
Sat Oct 14, 2017 9:14 pm
Forum: Support
Topic: Exported docx lost the page number
Replies: 2
Views: 52

Re: Exported docx lost the page number

This page number (shown by assigning SRV.ViewProperty. PageNoVisible =True) cannot be saved to files. Actually, we should hide it in our ActionTest demos... To insert the proper page number, activate the header or footer editing (by double clicking the header/footer area or by commands on the toolba...
by Sergey Tkachenko
Sat Oct 14, 2017 8:43 am
Forum: Support
Topic: Adjust the text and picture vertical alignment whenRVF Export Docx
Replies: 2
Views: 49

Re: Adjust the text and picture vertical alignment whenRVF Export Docx

I am not sure how this option works (is it possible to assign it in MS Word UI?). But as I can see, this is a paragraph, not object property, so it cannot be used to represent image alignment.
by Sergey Tkachenko
Fri Oct 13, 2017 4:48 pm
Forum: Support
Topic: Save as docx lost the header and footer(TRichview17/SRichview8)
Replies: 6
Views: 106

Re: Save as docx lost the header and footer(TRichview17/SRichview8)

I confirm this problem. It will be fixed in the next update. Quick fix: Open RichView.pas, find all checks for RTFReaderAssigned and remove them. I.e. search for the substring "RTFReaderAssigned and" and remove it (3 times). Actually, now you can remove function RTFReaderAssigned: Boolean from TCust...