a7mdfm / flexpaper

Automatically exported from code.google.com/p/flexpaper
1 stars 0 forks source link

Legal documents are cutoff in the viewer #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a PDF that has a mix of Letter and Legal pages
2. Convert to SWF using pdf2swf
3. load into FlexPaper

What is the expected output? What do you see instead?
Both letter and legal pages do not display fully. Legal pages are cutoff at 
11inches. This affects both viewing and printing.

What version of the product are you using? On what operating system?
swftools-2010-02-06-1900 and FlexPaper 1.2.1

Please provide any additional information below.
Have not tested with a document that is ALL legal, I only know this doesnt 
not work with a mixed-size document.

Original issue reported on code.google.com by nex...@gmail.com on 24 Feb 2010 at 9:47

GoogleCodeExporter commented 8 years ago
had you try the params as 
http://code.google.com/p/flexpaper/wiki/Converting_Documents while 
converting pdf to swf?

Original comment by leo.ss.pku@gmail.com on 25 Feb 2010 at 3:30

GoogleCodeExporter commented 8 years ago
Yes, those exact command line arguments, nothing less, nothing more.

Original comment by nex...@gmail.com on 25 Feb 2010 at 4:26

GoogleCodeExporter commented 8 years ago
I use PHP and the parameters as they are on the Converting Documents link don't 
work 
(it hangs for me when I add -T 9 to the command line.  I also tried -T9 with 
same 
non-working result).  My server is running CentOS linux.  The swf generation 
path is 
PHP > HTML > HTMLDOC > PDF2SWF > FLEXPAPER VIEWER.  

With that amount of conversions, perhaps it's your PDF generation that's not 
passing 
the right parameters in?

This works for me to generate regular-size pages, haven't tried legal yet:

passthru("pdf2swf -f -t -G -o $resultfile $pdf_file > /dev/null");

I added > /dev/null so that the errors and warnings are not displayed when 
generating 
this SWF from a php page

Original comment by ily...@gmail.com on 25 Feb 2010 at 9:20

GoogleCodeExporter commented 8 years ago
I generated the swf by hand on command line, by copy and pasting the exact 
parameters 
from flexpaper wiki. My guess is either:

- pdf2swf is cropping the legal pages to 8.5x11

- flexpaper is only setup to display 8.5x11 documents

- flexpaper may get dimensions based on first page? thus making a legal size 
page #3 
show improperly

Original comment by nex...@gmail.com on 26 Feb 2010 at 4:44

GoogleCodeExporter commented 8 years ago

Original comment by erik.eng...@gmail.com on 8 Mar 2010 at 2:32

GoogleCodeExporter commented 8 years ago
This affects more than just legal sized pages; I have many documents that 
include a good mix of everything: 
letter, legal, landscape letter, landscape legal, odd-size small documents, and 
some large pages too. The 
visible problems in FlexPaper are overlapping pages, pages not centered in the 
view, or large empty space 
between pages.

I would hope any forthcoming fix will account for all possible page sizes.

Scrolling through such a document in FlexPaper is currently a mess. I can 
provide a sample document with 
mixed size pages if it will help.

Original comment by johnl...@gmail.com on 27 Apr 2010 at 2:34

GoogleCodeExporter commented 8 years ago
Fixed in repository, will be avail in next build

Original comment by erik.eng...@gmail.com on 18 May 2010 at 8:27