Page 1 of 1

Check boxes do not save to pdf correctly

Posted: Tue Sep 18, 2007 3:02 pm
by jimmaguire
They are misaligned and look like an "e". I used your ThirdParty/MakePDF to do the test. I just added the RegisterClasses([TCheckBox]) in initialization. I have sent the rvf I used to test with in a separate email.

Re: Check boxes do not save to pdf correctly

Posted: Wed Sep 19, 2007 8:58 pm
by proxy3d
add when making Metafile
Result.Enhanced := True; // format EMF

By default Enhanced = False, and metafile is created in old format (WMF).


function TfrmMakePDF.MakePageMetafile(PageNo, Width, Height: Integer): TMetafile;
begin
Result := TMetafile.Create;
Result.Width := Width;
Result.Height := Height;
Result.Enhanced := True;
srve.DrawPage(PageNo, Result, cbPageNoVisible.Checked, cbClipMargins.Checked,
False);
end;

in the next update, ScaleRichView will assign Enhanced = True by itself

Problem not fixed

Posted: Sat Nov 17, 2007 10:48 pm
by jimmaguire
I just downloaded the most recent TSRichViewEdit and demos. I checked that Enhanced = true, which is now the default, but set it anyway. I used your MakePDF demo and the resulting PDF still had what looks like the letter "e" instead of the checkboxes. The strange thing is that I believe your demo worked a month ago when you first posted the reply, but I could not make my code work. I thought I'd try again and now your demo does not work.

I've sent a sample rvf and the resulting pdf and the MakePDF project in a separate email.

Posted: Tue Nov 20, 2007 7:40 pm
by Sergey Tkachenko
May be you compiled your projects with older version of ScaleRichView somehow?
Please test this compiled demo:
http://www.trichview.com/support/files/ ... alepdf.zip

Demo worked fine - think its IIPDFLIB

Posted: Tue Nov 20, 2007 8:49 pm
by jimmaguire
I have not been able to upgrade IIPDFLib since June 23, 2005 when I bought it, never get a response from them. Trying again today, I see they have several upgrades, but I can't get to them.

I have compiled TSRichView, the speed improvements are obvious.

If you have a way of getting to IIPDFLIb, please let them know I never get a response. I post emails via their website, but nothing comes back.

Posted: Wed Nov 21, 2007 5:50 pm
by Sergey Tkachenko
I send your request to them.

Recent version of IIPDFLIB solved problem

Posted: Thu Nov 22, 2007 2:04 am
by jimmaguire
Thanks!