PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Re: Problem with output ledger type PDF Width
   PostPosted: 14 Jul 2011, 18:59 
Well, let's imagine you need to convert the current discussion thread to a single page PDF. The only chance to put the content "as is" to a single page is to scale it down to almost invisible sizes of fonts. (That is what pd4ml.fitPageVertically() would do). And it is normal - the thread has already too much content for a single page.

An interactive solution for the "problem" - browser scrollbars. But PDF is paper-output-oriented format. Paper has no scrollbars -> there is no generic solution for the issue - there are content amounts simply do not fit a page.

So I would recommend to consider multi-page PDF output if it is acceptable by your work requirements.

If not, you could try to impact the third-party document layout with external CSS style (pd4ml.addStyle()). The goal is to let the content flow horizontally. The solution will work only if the expected input documents has similar structure and their volume only slightly differs from one doc to another.


  Subject: Re: Problem with output ledger type PDF Width
   PostPosted: 14 Jul 2011, 19:13 
K. I dont think client would accept having multi page pdf output. They need it as Ledger (11/17).

Also you suggested one solution by adding style to documents with a constraint ,they slightly differ. Actually what ever htmls come, those are reports of their clients. So obviously as there will be huge difference between one report and another report. We cant count on that.

But as you suggested we shall try to add style while building pdf. So is addStyle method takes care of font and all ?. if not please let me how to use that for my reports.



[Reply]     [ 12 posts ]  Go to page Previous  1, 2

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share