Hello,
I have installed OpenOffice 3.0.1 and the pdfimport extension 0.3.2 on Ubuntu 7.10.
I installed the extension as root using the extension manager in OO and chose the option
for all users. I was then able to import and edit a pdf document. Works great!
However, when I close OO and reopen it later (even as root) and try to import a pdf document,
it does not work. Instead, I get the "Ascii Filter Options" dialogue and it imports the document
into writer as raw text.
If I remove the extension and re-import it again, it works okay. I don't want to keep
doing this every time, obviously. Anybody know what I am doing wrong here?
Thanks
[Solved] pdfimport extension on Ubuntu
[Solved] pdfimport extension on Ubuntu
Last edited by paulob on Tue Mar 10, 2009 11:35 am, edited 1 time in total.
OOo 3.0.X on Ubuntu 7.x
Re: pdfimport extension
I'm not sure, but maybe this thread will help: http://user.services.openoffice.org/en/ ... f=47&t=804
AOO4/LO5 • Linux • Fedora 23
Re: pdfimport extension
Thanks for the reply acknak.
I tried doing this from the commandline:
unopkg add extension-path...
but the same thing happens. The extension gets installed first time around
and works okay. But, close down OO and restart it and it fails to load a pdf
correctly. Odd thing is that the Extension Manager is showing it is installed.
I have to disable it and then re-enable it for it to work correctly.
It looks to me as if a setting in a configuration file is not being set correctly.
I'm not sure why no one else is experiencing this problem ?
I tried doing this from the commandline:
unopkg add extension-path...
but the same thing happens. The extension gets installed first time around
and works okay. But, close down OO and restart it and it fails to load a pdf
correctly. Odd thing is that the Extension Manager is showing it is installed.
I have to disable it and then re-enable it for it to work correctly.
It looks to me as if a setting in a configuration file is not being set correctly.
I'm not sure why no one else is experiencing this problem ?
OOo 3.0.X on Ubuntu 7.x
Re: pdfimport extension
I've learned by experience to be wary running commands that I copy from Internet discussions.
I try first to see if there's any built-in help; most commands will respond to options of "-?" or "-h" or "--help".
Trying that with unopkg gives me this:
If does apply only to the OOo version from where unopkg is run.
I try first to see if there's any built-in help; most commands will respond to options of "-?" or "-h" or "--help".
Trying that with unopkg gives me this:
You might want to check the URL given there as well, but the "--shared" option looks possibly useful in this case, and running this:# ./unopkg --help using: unopkg add <options> extension-path... unopkg remove <options> extension-identifier... unopkg list <options> extension-identifier... unopkg reinstall <options> unopkg gui unopkg -V unopkg -h sub-commands: add add extension remove remove extensions by identifier reinstall expert feature: reinstall all deployed extensions list list information about deployed extensions gui raise Extension Manager Graphical User Interface (GUI) options: -h, --help this help -V, --version version information -v, --verbose verbose output to stdout -f, --force force overwriting existing extensions --log-file <file> custom log file; default: <cache-dir>/log.txt --shared expert feature: operate on shared installation deployment context; run only when no concurrent Office process(es) are running! --deployment-context expert feature: explicit deployment context <context> For details concerning deployment and this tool, please read the developer's guide: http://api.openoffice.org/DevelopersGuide/unopkg.html
- [root@localhost ~]# cd OOO_INSTALL_ROOT/openoffice.org3/program
[root@localhost program]# ./unopkg add -v --shared /tmp/pdfimport.oxt
[GPL License text snipped]
Read the complete License Agreement displayed above. Accept the License Agreement by typing "yes" on the console then press the Return key. Type "no" to decline and to abort the extension setup.
[Enter "yes" or "no"]:yes
Enabling: PDF Import Extension
Enabling: PDFImport
Enabling: xpdfimport
Enabling: pdfimport.uno.so
Enabling: pdf_import_filter.xcu
Enabling: pdf_types.xcu
unopkg done.
If does apply only to the OOo version from where unopkg is run.
AOO4/LO5 • Linux • Fedora 23
Re: pdfimport extension
sorry acknak, I should have been more explicit. I did use the --shared option.
I get exactly the same screen output as you. The extension manager then
shows that the pdf import extension is installed. However, it doesn't import
correctly. The only way I can get it to work is to open up Draw and install it
using the extension manager gui. But, like I said before it only works for that
same session.
I'll have a look at the link you've posted. Thanks
I get exactly the same screen output as you. The extension manager then
shows that the pdf import extension is installed. However, it doesn't import
correctly. The only way I can get it to work is to open up Draw and install it
using the extension manager gui. But, like I said before it only works for that
same session.
I'll have a look at the link you've posted. Thanks
OOo 3.0.X on Ubuntu 7.x
Re: pdfimport extension
It seems to work correctly for me.
Are you using the OO.org packages, or the Ubuntu packages?
Are you using the OO.org packages, or the Ubuntu packages?
AOO4/LO5 • Linux • Fedora 23
Re: pdfimport extension
Okay I seem to have managed to get this working now,
although I am not entirely sure why.
I uninstalled the previous version of OpenOffice which came
pre-installed with Ubuntu (I had installed OO.org3 alongside this).
I then re-installed OpenOffice.org3. After this I installed the pdfimport extension
using the following:
cd /opt/openoffice.org3/program
sudo ./unopkg add --shared -v /tmp/pdfimport.oxt
The pdf import extension now seems to work correctly.
I will mark this as solved. Thanks for your help acknak.
although I am not entirely sure why.
I uninstalled the previous version of OpenOffice which came
pre-installed with Ubuntu (I had installed OO.org3 alongside this).
I then re-installed OpenOffice.org3. After this I installed the pdfimport extension
using the following:
cd /opt/openoffice.org3/program
sudo ./unopkg add --shared -v /tmp/pdfimport.oxt
The pdf import extension now seems to work correctly.
I will mark this as solved. Thanks for your help acknak.
OOo 3.0.X on Ubuntu 7.x