Closed GoogleCodeExporter closed 8 years ago
For the record, here's my execution string:
pdf2swf original.pdf -o converted.swf -f -T 9 -t -s storeallcharacters -G
Original comment by stupidsc...@gmail.com
on 12 Jan 2011 at 12:17
do you have a sample document?
Original comment by erik.eng...@devaldi.com
on 12 Jan 2011 at 12:20
Also note that FlexPaperViewer_debug.html running on the same server embedded
with Paper.swf using the same clients prints correctly (i.e. printing pages 2-3
actually prints pages 2-3.) TIA.
Original comment by stupidsc...@gmail.com
on 12 Jan 2011 at 12:21
I am attaching the sample used for this testing. Thanks.
Original comment by stupidsc...@gmail.com
on 12 Jan 2011 at 12:25
Attachments:
Here's the original PDF, converted from Microsoft Word to PDF via command line
(headless) OpenOffice running on the server.
Original comment by stupidsc...@gmail.com
on 12 Jan 2011 at 12:32
Attachments:
NOTE: It seems FlexPaper also cannot either select text or search documents
produced in the way I am producing them. In Acrobat and Acrobat Reader,
however, the text IS selectable and searchable. In addition, my site's search
function (a bastardized implementation of Drupal's search function)
successfully indexes the PDF files.
I love the FlexPaper product. I hope we can figure this out.
Original comment by stupidsc...@gmail.com
on 12 Jan 2011 at 12:47
A little more info on the conversion-to-PDF process:
I'm running a "headless" OpenOffice setup on the Fedora server. Documents that
are uploaded (Drupal installation) are processed through a Java app
(jodconverter) by "opening" the file in the background in OpenOffice, and
saving it as a PDF file, from there.
Here's the "pipeline", called from a Drupal module (heavily modified
"FileFramework" module):
mv "[in_file]" "[in_file].doc"; java -jar
/opt/jodconverter/lib/jodconverter-cli-2.2.2.jar -f pdf "[in_file].doc"; mv
"[in_file].doc" "[in_file]"; mv "[in_file].pdf" "[out_file]"
Lastly, here is some info from the jodconverter README file:
This is JODConverter version 2.2.2, released on 2009-04-11.
JODConverter is a Java library for converting office documents into different
formats, using OpenOffice.org 2.x or 3.x.
See http://www.artofsolving.com/opensource/jodconverter for the latest
documentation.
Before you can perform any conversions you need to start OpenOffice.org
in listening mode on port 8100 as described in the JODConverter Guide.
As a quick start you can type from a command line
soffice -headless -accept="socket,port=8100;urp;"
JODConverter is both a Java library and a set of ready-to-use tools:
* a web application that you can deploy into any servlet container (e.g. Apache Tomcat)
* a command line tool (java -jar jodconverter-cli-2.2.2.jar <input-document> <output-document>)
Original comment by stupidsc...@gmail.com
on 12 Jan 2011 at 12:56
There's something wrong with your PDF2SWF installation. I converted your
document with the following commands:
pdf2swf original.pdf -o Testcase_18_PDF2SWF_0.9.0_nonprintable2 -f -T 9 -t -G
-s storeallcharacters
and it produced a text-selectable, searchable SWF file. Attaching my sample
file here.
Original comment by erik.eng...@devaldi.com
on 12 Jan 2011 at 12:56
Attachments:
Original comment by erik.eng...@devaldi.com
on 12 Jan 2011 at 12:57
Thank you for your reply. Could you please let me know which operating system
and version of pdf2swf you are using? I am still unsuccessful in getting
anything different even using previous versions of pdf2swf or the latest dev
version. They are all installing without errors. All behave the same way when
rendered in FlexPaper on my system. Thanks, again.
Original comment by stupidsc...@gmail.com
on 12 Jan 2011 at 7:02
That particular example was generated using the windows version and PDF2SWF
0.9.1 even though my file name says 0.9.0. I would guess that there is a
version issue somewhere with one of the libraries PDF2SWF is dependent on.
I don't have a lot of experience running PDF2SWF on fedora, I have used it on
Windows, Ubuntu and Debian based systems without issues
Original comment by erik.eng...@devaldi.com
on 12 Jan 2011 at 7:11
Thank you. I agree with your evaluation. This is very unfortunate.
Hopefully someone will assist with disabling the print, search and
selection tools (Issue #160) so I can continue to at least offer the
FlexPaper viewer for basic viewing.
Again, I very much appreciate your help.
Original comment by stupidsc...@gmail.com
on 12 Jan 2011 at 7:16
Original issue reported on code.google.com by
stupidsc...@gmail.com
on 11 Jan 2011 at 11:59