Search found 34 matches

by PioPio
Sun May 22, 2016 10:09 pm
Forum: Support
Topic: Copy content of TDBRichView into TRichEdit not complete
Replies: 8
Views: 35394

Sergey Tkachenko wrote:Do these editors have the same values of RVFOptions property?
Yes, they do have the same RVFOptions property
by PioPio
Sun May 22, 2016 3:31 pm
Forum: Support
Topic: Copy content of TDBRichView into TRichEdit not complete
Replies: 8
Views: 35394

Hello, I have a different issue on the same procedure now. After having copied the content from RVLetterTemplate to RVActualLetter I checked if the two contents are identical and implemented temporary Stream1 and Stream 2. After the copy, Stream1.Size is <> than Stream2.Size. Is there anything else ...
by PioPio
Sat May 21, 2016 6:10 pm
Forum: Support
Topic: Copy content of TDBRichView into TRichEdit not complete
Replies: 8
Views: 35394

In the first version of your code, you used RTF (Rich Text Format). In the final version, you use RVF (RichView Format). When you use RVF, document is the same after reloading. When you use RTF, a conversion to RTF and back is performed, and the resulting document is not exactly like the original ...
by PioPio
Sat May 21, 2016 10:53 am
Forum: Support
Topic: Copy content of TDBRichView into TRichEdit not complete
Replies: 8
Views: 35394

Ok, the following code works: function TStrategiesExecute.CopyTemplate: Boolean; var Stream: TStream; a,b:Integer; aa,bb:string; i:Integer; begin try Stream:=RVLetterTemplate.DataSource.DataSet.CreateBlobStream(RVLetterTemplate.DataSource.DataSet.FieldByName('template'),bmRead); RVActualLetter.Clear ...
by PioPio
Sat May 21, 2016 10:03 am
Forum: Support
Topic: Copy content of TDBRichView into TRichEdit not complete
Replies: 8
Views: 35394

Re: Copy content of TDBRichView into TRichEdit not complete

Hello, I have a form with the following code: TStrategiesExecute = class(TForm) RVStyle1: TRVStyle; RVLetterTemplate: TDBRichView; RVStyle: TRVStyle; RVActualLetter: TRichView; public function CopyTemplate: Boolean; ... end; function TStrategiesExecute.CopyTemplate: Boolean; var Stream ...
by PioPio
Thu May 19, 2016 10:18 pm
Forum: Support
Topic: Copy content of TDBRichView into TRichEdit not complete
Replies: 8
Views: 35394

Copy content of TDBRichView into TRichEdit not complete

Hello, I have a form with the following code: TStrategiesExecute = class(TForm) RVStyle1: TRVStyle; RVLetterTemplate: TDBRichView; RVStyle: TRVStyle; RVActualLetter: TRichView; public function CopyTemplate: Boolean; ... end; function TStrategiesExecute.CopyTemplate: Boolean; var Stream ...
by PioPio
Sun May 15, 2016 9:36 pm
Forum: Support
Topic: Mailmerge, tags and TDBRichViewEdit
Replies: 2
Views: 17068

Ok, I have found the issue.

The problem was the Datafield was linked to a DB field text only. I connected it to a TBlobField field and it works now.

Alberto
by PioPio
Sun May 15, 2016 9:11 pm
Forum: Support
Topic: Mailmerge, tags and TDBRichViewEdit
Replies: 2
Views: 17068

I made one a short test. I dropped a TDBRichViewEdit and one TDBRichView on a form, connected both to a DB and linked to two different TRVStyle. Added two buttons with the following functionality: TForm2 = class(TForm) DBRV: TDBRichView; DBRVE: TDBRichViewEdit; ... end; // insert item procedure ...
by PioPio
Fri May 13, 2016 10:24 pm
Forum: Support
Topic: Mailmerge, tags and TDBRichViewEdit
Replies: 2
Views: 17068

Mailmerge, tags and TDBRichViewEdit

I am adding a mailmerge feature in my application and I have applied the idea in the example MailMergeI The template is saved in a DB record and later on the application retrieves the template and replace the tags with the data. For the template editing I drop a TDBRichViewEdit in a form, connect it ...
by PioPio
Thu Apr 28, 2016 9:14 pm
Forum: Support
Topic: Export using synpdf (synopse) - No ScaleRichView
Replies: 14
Views: 66163

really appreciated. Thank you !
by PioPio
Wed Apr 27, 2016 11:03 pm
Forum: Support
Topic: Export using synpdf (synopse) - No ScaleRichView
Replies: 14
Views: 66163

PioPio wrote:
Sergey Tkachenko wrote:.,... I'll upload SynPDF demo without links.
Thank you very much for your help, Sergey :D
Hi Sergey, Did you have the chance to look into this ? Is the demo ready ?

Many thanks
Alberto
by PioPio
Thu Apr 21, 2016 10:39 pm
Forum: Support
Topic: Export using synpdf (synopse) - No ScaleRichView
Replies: 14
Views: 66163

Sergey Tkachenko wrote:.,... I'll upload SynPDF demo without links.
Thank you very much for your help, Sergey :D
by PioPio
Thu Apr 21, 2016 10:03 pm
Forum: Support
Topic: Export using synpdf (synopse) - No ScaleRichView
Replies: 14
Views: 66163

The work is in progress, ..... I'll implement a virtual printer feature for TRVPrint after the release of ReportWorkshop. So, if I understand correctly, in the meantime we can use the example you pointed out at Demos\DelphiUnicode\Assorted\Graphics\ToImage even if there are some limitations. Am I ...
by PioPio
Sun Apr 03, 2016 6:48 pm
Forum: Support
Topic: Export using synpdf (synopse) - No ScaleRichView
Replies: 14
Views: 66163

Export using synpdf (synopse) - No ScaleRichView

Hello,

Is it possible to export the content of TRichview to PDF without having TScaleRichView ?
I have found this example http://www.trichview.com/forums/viewtopic.php?t=6010 but this works only with TScaleRichView.

Many thanks
Alberto
by PioPio
Tue Mar 29, 2016 10:01 pm
Forum: Support
Topic: Memory leak in TDBRichView
Replies: 5
Views: 21364

Please tell me versions of TRichView, madExcept and Delphi. I tried your code with the newest version of TRichView (however, no changes related to theme handles were made for a very long time), Delphi 10, MadExcept 4.0.13. MadExcept reported no leaks. I have: TRichView 15 madExcept 4.0.14 Delphi XE ...