#121 Can't import PDF from openoffice

v1.0_(example)
closed-wont-fix
nobody
None
5
2014-01-27
2011-10-14
gizmobay
No

I'm not sure why this doesn't work but I can't import a PDF that was generated in open office. The first one from debug is the one from openoffice. The next one is from a scan that imported without issue. Attached is a sample. The PDF was generated using the OO Export to PDF. I also tried a print to PDF driver and this didn't work either,

INFO - Forked PID 20625
INFO - child LC_NUMERIC C
INFO - Importing /home/user/Untitled1.pdf
INFO - Format Portable Document Format
INFO - Creator: Writer
Producer: OpenOffice.org 3.3
CreationDate: Fri Oct 14 09:50:12 2011
Tagged: no
Pages: 1
Encrypted: no
Page size: 612 x 792 pts (letter)
File size: 12258 bytes
Optimized: no
PDF version: 1.4

INFO - 1 pages
INFO - parent LC_NUMERIC C
INFO - parent LC_NUMERIC C
INFO - Process 20625 exited.
DEBUG - $VAR1 = [];

INFO - Forked PID 21241
INFO - child LC_NUMERIC C
INFO - Importing /home/user/test.pdf
INFO - Format Portable Document Format
INFO - Title: NONE
Subject: NONE
Keywords: NONE
Author: NONE
Creator: gscan2pdf v0.9.32~1
Producer: PDF::API2
CreationDate: Tue Jan 4 00:00:00 2011
ModDate: Tue Jan 4 00:00:00 2011
Tagged: no
Pages: 1
Encrypted: no
Page size: 593.28 x 790.56 pts
File size: 51112 bytes
Optimized: no
PDF version: 1.4

INFO - 1 pages
INFO - parent LC_NUMERIC C
INFO - Importing x-000.pbm, format Portable anymap
INFO - parent LC_NUMERIC C
INFO - Added /tmp/uqRQNK1jNV/38a_nJYNkM.pnm at page 1 with resolution 72
INFO - Process 21241 exited.
INFO - parent LC_NUMERIC C

Discussion

  • gizmobay

    gizmobay - 2011-10-14
     
  • Jeffrey Ratcliffe

    Only images in PDFs are currently imported. I assume that your PDF had no images

     
  • gizmobay

    gizmobay - 2011-10-14

    Thanks for the follow up. Yes, it was just a text PDF.

    I did notice an issue though. I realized I was using 0.93 so I upgraded to 1.0. I read the PDF into GIMP and converted the page to a png image so I could bring it into gscan2pdf. Import is gone so I used open. The PNG didn't import properly as the image was cropped (kind of hard to explain what hapened). I then downgraded back to 0.93 and it read in without issue using Import instead of open.

     
  • Jeffrey Ratcliffe

    • status: open --> closed-wont-fix
    • Group: --> v1.0_(example)
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks