Page 1 of 1

Matching margins/pages to a pdf

Posted: Mon Jul 16, 2007 9:52 pm
by jimmaguire
I use IIPDFLib to create PDF's and I am having a problem where the pdf has page breaks and margins different from either the richviewedit print preview or the new ScaleRichView. I switched to ScaleRichView hoping it would match the pdf more closely, and it does, but still has differences.

I can send an example where ScaleRichView shows the document as one page, but it shows the pdf generated via IIPDFLib in Acrobat Reader as two pages.

I know you do not support IIPDFLib, but I believe the problem may be that I have to first create an RTF before it will create the PDF.

Would switching to TRichViewPDF match what ScaleRichView shows more exactly? Any other suggestions? Thanks!

Posted: Tue Jul 17, 2007 8:14 am
by Sergey Tkachenko
Any PDF lib (working with TRichView) can be used, but they must be used differently. The existing demos use TRVReportHelper to create page image for PDF. But for WYSIWYG you need to use ScaleRichView's methods.
We will create a demo soon.

demo for pdf

Posted: Tue Jul 17, 2007 2:47 pm
by jbovey
Can you create a demo for using the gnostice libs....This is the only thing holding me back in converting my app to this new scalerichview.

Kind Regards.

Great news...thanks

Posted: Tue Jul 17, 2007 10:05 pm
by jimmaguire
Will check daily

Posted: Thu Jul 19, 2007 10:21 am
by Sergey Tkachenko
This demo creates PDF files in WYSIWYG mode using LLPDFLib ( http://www.llion.net ):
<URL IS REMOVED> (source code only)

Update: this demo is included in the main set of demos for ScaleRichView

Demo won't compile - srve.DrawPage - undeclared identifier

Posted: Thu Jul 19, 2007 4:45 pm
by jimmaguire
Waiting for reply, can't find DrawPage anywhere

Posted: Thu Jul 19, 2007 6:53 pm
by Sergey Tkachenko
This method is added in ScaleRichView v1.2.6.
Please download the new version.

Thanks!

Posted: Thu Jul 19, 2007 9:06 pm
by jimmaguire
Thanks so much! Works fantastic, much faster than going to a rtf first and most importantly, the pdf looks just like the rvf!

Left border of table gets trimmed from pdf

Posted: Sun Jul 22, 2007 7:35 pm
by jimmaguire
The left border of a table gets trimmed from pdf if its left justified. I get around this problem by centering tables that are used as layout templates for our documents.

Not a huge problem, since centering solves it.

Posted: Tue Jul 24, 2007 3:52 pm
by Sergey Tkachenko
Can you send example of RVF and PDF showing this problem to ilya at trichview dot com ?

Sent examples

Posted: Tue Jul 24, 2007 4:42 pm
by jimmaguire
I sent the email to you and to proxy3d@inbox.ru. I sent to his email address I got when I bought the package, but it was returned. Is there another address I should use besides the proxy?

Posted: Tue Jul 24, 2007 4:44 pm
by Sergey Tkachenko

Re: Sent examples

Posted: Tue Jul 24, 2007 4:49 pm
by proxy3d
I sent the email to you and to proxy3d@inbox.ru. I sent to his email address I got when I bought the package, but it was returned. Is there another address I should use besides the proxy?

I have received your two letters on proxy3d@inbox.ru