Matching margins/pages to a pdf

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Matching margins/pages to a pdf

Post 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!
Sergey Tkachenko
Site Admin
Posts: 17524
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
jbovey
Posts: 10
Joined: Wed Mar 08, 2006 6:20 pm

demo for pdf

Post 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.
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Great news...thanks

Post by jimmaguire »

Will check daily
Sergey Tkachenko
Site Admin
Posts: 17524
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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
Last edited by Sergey Tkachenko on Mon Aug 20, 2007 9:29 am, edited 1 time in total.
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

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

Post by jimmaguire »

Waiting for reply, can't find DrawPage anywhere
Sergey Tkachenko
Site Admin
Posts: 17524
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

This method is added in ScaleRichView v1.2.6.
Please download the new version.
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Thanks!

Post 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!
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Left border of table gets trimmed from pdf

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17524
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Can you send example of RVF and PDF showing this problem to ilya at trichview dot com ?
jimmaguire
Posts: 206
Joined: Thu Sep 15, 2005 1:41 am
Location: California

Sent examples

Post by jimmaguire »

I sent the email to you and to [email protected]. 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?
Sergey Tkachenko
Site Admin
Posts: 17524
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

proxy3d
ScaleRichView Developer
Posts: 307
Joined: Mon Aug 07, 2006 9:37 am

Re: Sent examples

Post by proxy3d »

I sent the email to you and to [email protected]. 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 [email protected]
Post Reply