Search found 7514 matches

by Sergey Tkachenko
Thu Jul 26, 2018 7:28 pm
Forum: Examples, Demos
Topic: [Example] How to delete all images in a document
Replies: 1
Views: 338

[Example] How to delete all images in a document

This example shows how to delete all images. Background images are cleared. Items-images are deleted. Images-markers are converted to text. This procedure is not undoable. // Deleting all images in the document (RVData), including nested documents // (table cells, notes and text boxes) procedure Del...
by Sergey Tkachenko
Thu Jul 26, 2018 3:31 pm
Forum: Support
Topic: Idea need for loading/saving/removing images in a RTF
Replies: 2
Views: 326

Re: Idea need for loading/saving/removing images in a RTF

Possible solutions: 1) You can implement some kind of fields typed directly in text, for example replace text inside {}. After loading the file, you can process codes like {image1} and replace them to actual images. For example, see Mailmerge-Text4 demo 2) RTF files may contain reference to image fi...
by Sergey Tkachenko
Wed Jul 25, 2018 9:52 am
Forum: Support
Topic: TRVReportHelper DrawPage do not draw "page header"
Replies: 6
Views: 525

Re: TRVReportHelper DrawPage do not draw "page header"

Yes, this code looks correct. You should take into accout that all headers and footer.s may have different height. Tops of all headers (and bottoms of all footers) are the same, but bottoms of headers (and tops of footers) may be different because of different heights, and it affects heights of the ...
by Sergey Tkachenko
Tue Jul 24, 2018 5:07 pm
Forum: Support
Topic: TRVReportHelper DrawPage do not draw "page header"
Replies: 6
Views: 525

Re: TRVReportHelper DrawPage do not draw "page header"

RTF document may have headers for the first page, for even pages, and for the rest of pages, totally 6 headers/footers. SetHeader and SetFooter methods have the second optional parameter defining which header/footer is assigned. So you need to create not 2 but 6 report helpers for headers and footer...
by Sergey Tkachenko
Tue Jul 24, 2018 2:33 pm
Forum: Support
Topic: SRichViewEdit + addict software
Replies: 4
Views: 466

Re: SRichViewEdit + addict software

TRVAddictSpell31 and TRVAAddictSpellInterface components are registered by TRichView installer if it can find (and if it can use) Addict4. But unfortunately, there is a problem: - all our packages are "never-build" packages; - the Addict packages are "always-build" packages "Never-build" packages ca...
by Sergey Tkachenko
Tue Jul 24, 2018 7:06 am
Forum: Support
Topic: Error in Reading RVF Subdocument
Replies: 5
Views: 427

Re: Error in Reading RVF Subdocument

17.4.2 is the newest version.

Please create a simple project reproducing this problem and send it to me.
by Sergey Tkachenko
Mon Jul 23, 2018 6:48 pm
Forum: Announcements
Topic: Are you interested in Lazarus version of TRichView?
Replies: 29
Views: 34101

Re: Are you interested in Lazarus version of TRichView?

Current progress: I've converted all TRichView demo projects to Lazarus. DB-demos were converted to use TDbf component. Everything works perfectly.
Things to do before the first release: convert Demos\Addins, RichViewXML, RvHtmlImporter, HunSpell and ASpell.
by Sergey Tkachenko
Mon Jul 23, 2018 6:45 pm
Forum: Support
Topic: Error in Reading RVF Subdocument
Replies: 5
Views: 427

Re: Error in Reading RVF Subdocument

This error happens when an error occurred while reading a table cell. I opened your RVF file in the ActionTest project compiled with the new version of TRichView. It was loaded successfully. Your document contains PNG classes that were stored in TdxPNGImage class. If you use new version of TRichView...
by Sergey Tkachenko
Sun Jul 22, 2018 2:44 pm
Forum: Support
Topic: SRichViewEdit + addict software
Replies: 4
Views: 466

Re: SRichViewEdit + addict software

Yes, the demo is there, in <TRichView dir>\ThirdParty\Addict\Demos\RichViewActions\ (there is also a demo without RichViewActions, but I assume you use RichViewActions for building user interface for ScaleRichView). Instructions: - I assume you already have RVAControlPanel1: TRVAControlPanel; - plac...
by Sergey Tkachenko
Fri Jul 20, 2018 10:12 am
Forum: Support
Topic: TRVReportHelper DrawPage do not draw "page header"
Replies: 6
Views: 525

Re: TRVReportHelper DrawPage do not draw "page header"

TRVReportHelper does not support headers, footers, footnotes, endnotes, sidenotes and text boxes. There are some examples using separate TRVReportHelpers for the main document and for headers and footers , but still they do not support notes, do not support all types of headers and footers, and do n...
by Sergey Tkachenko
Fri Jul 20, 2018 9:54 am
Forum: Examples, Demos
Topic: [Demos] Headers and Footers
Replies: 2
Views: 22044

Re: [Demos] Headers and Footers

Since TRichView 17, the following improvements are added: - TRVPrint component can be used not only for printing, but also for drawing pages on any canvas . Unlike TRVReportHelper, TRVPrint supports page layout properties, header and footers, footnotes, endnotes and text boxes. - new helper class TR...
by Sergey Tkachenko
Thu Jul 19, 2018 9:15 am
Forum: Support
Topic: RichViewImportPicture - load Pictures from Web (emails)
Replies: 2
Views: 294

Re: RichViewImportPicture - load Pictures from Web (emails)

You download picture in Graphics, and then delete this Graphic.
Remove the lines:

Code: Select all

Graphic.Free;
Graphic := nil;
by Sergey Tkachenko
Sun Jul 15, 2018 6:53 pm
Forum: Support
Topic: Need your advance
Replies: 0
Views: 336

Re: Need your advance

Do not create list marker items directly.
Use SetListMarkerInfo instead. If ItemNo parameter = -1, this method adds maker to the end of document.
by Sergey Tkachenko
Sat Jul 14, 2018 8:28 pm
Forum: Announcements
Topic: Are you interested in Lazarus version of TRichView?
Replies: 29
Views: 34101

Re: Are you interested in Lazarus version of TRichView?

Thank you! I do not plan to sell Lazarus version separately. May be in future, when not only Windows platform will be supported... You will be able to install the next update of TRichView both in Delphi and Lazarus from the same source code. Current progress: - normal and DB TRichView components are...
by Sergey Tkachenko
Fri Jul 13, 2018 7:18 am
Forum: Announcements
Topic: Are you interested in Lazarus version of TRichView?
Replies: 29
Views: 34101

Re: Are you interested in Lazarus version of TRichView?

Yesterday I finally managed to compile TRichView in Lazarus, almost without hints and warnings. Lazarus-TRicView.png I still need to complete printing support and to test everything. Things that are not converted: - gif animations - metafiles (they are important for working with RTF and DocX) - GDI+...