PDF import extension-How to use?

Discussions about using 3rd party extension with OpenOffice.org

PDF import extension-How to use?

Postby CalWriter » Sat Apr 03, 2010 6:33 pm

I realize from responses to another thread which I started that the editing "potential" of the PDF extension is limited. But are there any instructions available as to how to use this extension?

Thanks,

CalWriter
OpenOffice 3.1 Vista 32
CalWriter
 
Posts: 12
Joined: Thu Apr 01, 2010 9:04 pm
Location: Los Angeles, California

Re: PDF import extension-How to use?

Postby Hagar Delest » Sat Apr 03, 2010 6:54 pm

Just open the PDF, the extension will try to recollect the different objects and change it (into frames IIRC). yuo may end up with a bunch of text fragments in different frames.

Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
AOO 4.1.2 on Xubuntu 16.04, (Xenial Xerus) and PortableApps port 4.1.2 on Windows 7
User avatar
Hagar Delest
Moderator
 
Posts: 26747
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: PDF import extension-How to use?

Postby CalWriter » Sat Apr 03, 2010 8:08 pm

Are there any printed instructions for the PDF import extension?

Thanks,

CalWriter
OpenOffice 3.1 Vista 32
CalWriter
 
Posts: 12
Joined: Thu Apr 01, 2010 9:04 pm
Location: Los Angeles, California

Re: PDF import extension-How to use?

Postby Hagar Delest » Sat Apr 03, 2010 9:37 pm

There is no manual, it's a complex filter that will try to import the document. But the user has no influence. Open the PDF and that's all. Either it works or it doesn't. But in latter case, nothing to be done to change that.
AOO 4.1.2 on Xubuntu 16.04, (Xenial Xerus) and PortableApps port 4.1.2 on Windows 7
User avatar
Hagar Delest
Moderator
 
Posts: 26747
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: PDF import extension-How to use?

Postby rubo77 » Thu Jun 17, 2010 2:46 pm

when i open a pdf with openoffice i just get stuff like
Code: Select all   Expand viewCollapse view
endobj   
6 0 obj   
<< /Length 4178 /Filter [  /FlateDecode ]   
>>   
stream   
”j~E~£‡²®MÕG%g„t€J¿   ŽE°§8€¬yúd,pÏIcí,×ËÀ`JaàjB(Öp–Öê0`×·-”ô%h,dQùyUœ'’îHQ«^ñƒsàï…?âÞ£ap^»ìÈvëwP<


i have the extension installed:
Attachments
openoffice-pdf.png
OpenOffice 3.2 on Ubuntu 9.10
rubo77
 
Posts: 4
Joined: Thu Jun 17, 2010 2:39 pm

Re: PDF import extension-How to use?

Postby acknak » Thu Jun 17, 2010 3:45 pm

When you have the import extension installed, and you open a PDF, it should appear as a new OOo Draw window, but it looks like yours is imported as text into OOo Calc.

What steps did you use when you opened the file? Did you do anything to try and have it open in Calc, or did OOo just decide that on its own?

Could you attach your PDF file here, if it's not too big (128k limit)? You can use the "Upload Attachment" link (below the message entry area after you click "POST REPLY"). [Forum] How to attach a document here
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 21641
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: PDF import extension-How to use?

Postby rubo77 » Thu Jun 17, 2010 4:37 pm

i tried calc and i tried writer, but if i click on "open with..." and chose oo-draw, it still opens a new oo-writer window and opens it :{
OpenOffice 3.2 on Ubuntu 9.10
rubo77
 
Posts: 4
Joined: Thu Jun 17, 2010 2:39 pm

Re: PDF import extension-How to use?

Postby acknak » Thu Jun 17, 2010 5:22 pm

What happens if, rather than starting from the desktop, you first start Draw (with a new, empty document), then do File > Open and select your PDF?

If that does not work, either OOo or your PDF file is broken somehow. You can attach your PDF and we can see if that's the problem, or you can try opening a PDF file that you know is good.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 21641
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: PDF import extension-How to use?

Postby RoryOF » Thu Jun 17, 2010 5:50 pm

If you open Adobe Reader, will it open your .pdf? If not, the .pdf is broken.
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 21976
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: PDF import extension-How to use?

Postby rubo77 » Thu Jun 17, 2010 7:58 pm

the pdfs can be opened by all pdf-viewers: but not with my oo-draw

see:
Attachments
Rezeptanforderung_Herr_ProfDr_Mustermann_20100617.pdf
(2.86 KiB) Downloaded 339 times
OpenOffice 3.2 on Ubuntu 9.10
rubo77
 
Posts: 4
Joined: Thu Jun 17, 2010 2:39 pm

Re: PDF import extension-How to use?

Postby thomasjk » Thu Jun 17, 2010 8:13 pm

I can open the pdf in Draw with 3.2.1 on Win 7.
Tom K.
Windows 10 Home version 1511 Build 10586.104
LibreOffice 5.1.4.2
thomasjk
Moderator
 
Posts: 4239
Joined: Tue Dec 25, 2007 4:52 pm
Location: North Carolina

Re: PDF import extension-How to use?

Postby RoryOF » Thu Jun 17, 2010 8:21 pm

It opened for me with 3.3 (build m81) on Windows 2000. I suggest using OOo Extension Manager to remove the extension, then re-downloading and re-installing.

 Edit: I note there are two versions for the Mac. You need to make certain you D/L the correct one. 
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 21976
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: PDF import extension-How to use?

Postby rubo77 » Fri Jun 18, 2010 1:28 am

i use ubuntu
OpenOffice 3.2 on Ubuntu 9.10
rubo77
 
Posts: 4
Joined: Thu Jun 17, 2010 2:39 pm

Re: PDF import extension-How to use?

Postby RoryOF » Fri Jun 18, 2010 1:59 am

I suggest using OOo Extension Manager to remove the extension, then re-downloading and re-installing.
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 21976
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: PDF import extension-How to use?

Postby CannedMan » Sat Nov 07, 2015 10:32 pm

Apologies for reopening this, thus far, unsolved thread. I am having the same problems CalWriter seems to have: I cannot find any way of doing an import. I can open pdf-s via File → Open…, but the result is pretty bad (trying to import pdf-s made from emails). Any suggestions?
Apache OpenOffice 4.1.1 on Windows 7 (x64, SP1)
User avatar
CannedMan
 
Posts: 125
Joined: Wed Aug 04, 2010 12:06 am

Re: PDF import extension-How to use?

Postby RoryOF » Sat Nov 07, 2015 11:10 pm

Having noted your quest(s) for perfection as instanced in various posts, I would strongly advise you not to use OpenOffice as a PDF reader. I suggest that you should stick to one of the standard PDF readers, probably Adobe Reader.
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 21976
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: PDF import extension-How to use?

Postby Villeroy » Sun Nov 08, 2015 12:03 am

PDF is not a document format. It is a virtual print out. It is more like a picture. With textual content it is comparable to a OCR scan of a picture. If you can print it to paper you can print to PDF as well. And just like you can not get an electronic document from paper prints easily, you can not convert PDF back to something editable. It is like pushing the tooth paste back into the tube.
Since many thousands of different applications can print to PDF, it is impossible to offer all edit options of all those applications in one application.
With the PDF import filter being installed, the Draw component of OpenOffice tries very hard and quite successfully to compose a Draw document from the various graphical and textual elements of a given PDF. Text blocks are drawn line by line as stripes of text boxes. Nevertheless, it is just an approximation. I used this import filter to fix small typos in textual PDF documents where the original document was not availlable.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 14.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 22316
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: PDF import extension-How to use?

Postby CannedMan » Mon Nov 09, 2015 12:42 am

The reason importing pdf is of interest, is for the need to include a copy of an email conversation as a source in my thesis. I chose to instead cut and paste (with some heavy editing afterwords), but being able to insert a pdf-document would be excellent, as this would allow for text to be just that: text.
Apache OpenOffice 4.1.1 on Windows 7 (x64, SP1)
User avatar
CannedMan
 
Posts: 125
Joined: Wed Aug 04, 2010 12:06 am

Re: PDF import extension-How to use?

Postby mgroenescheij » Mon Nov 09, 2015 1:31 pm

The reason importing pdf is of interest, is for the need to include a copy of an email conversation as a source in my thesis. I chose to instead cut and paste (with some heavy editing afterwords), but being able to insert a pdf-document would be excellent, as this would allow for text to be just that: text.
Why don't you keep the PDF file separate and create hyper links in the odt file?
AOO 4.1.2 on MS Windows 10
Please add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
mgroenescheij
Volunteer
 
Posts: 282
Joined: Thu Apr 23, 2009 10:19 pm
Location: Sydney Australia

Re: PDF import extension-How to use?

Postby CannedMan » Mon Nov 09, 2015 6:57 pm

Because, as it is a thesis, it needs to be a single document.
Apache OpenOffice 4.1.1 on Windows 7 (x64, SP1)
User avatar
CannedMan
 
Posts: 125
Joined: Wed Aug 04, 2010 12:06 am

Re: PDF import extension-How to use?

Postby mgroenescheij » Tue Nov 10, 2015 6:11 am

Because, as it is a thesis, it needs to be a single document.

Normally you analyze first your problem and then select the tool that can do the job. I have the feeling that you started with selecting a tool (OpenOffice) and then complain that the tool doesn't meet your requirements.

If you export your thesis into a PDF document you are able to insert the PDF from your emails into your thesis as an appendix, this way you have everything into one document.
All you need to do is creating the hyperlinks in your PDF document.

In other words there is always more than one way to solve your problems.
AOO 4.1.2 on MS Windows 10
Please add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
mgroenescheij
Volunteer
 
Posts: 282
Joined: Thu Apr 23, 2009 10:19 pm
Location: Sydney Australia

Re: PDF import extension-How to use?

Postby CannedMan » Wed Nov 11, 2015 11:42 am

mgroenescheij wrote:Normally you analyze first your problem and then select the tool that can do the job. I have the feeling that you started with selecting a tool (OpenOffice) and then complain that the tool doesn't meet your requirements.

If you export your thesis into a PDF document you are able to insert the PDF from your emails into your thesis as an appendix, this way you have everything into one document.
All you need to do is creating the hyperlinks in your PDF document.

In other words there is always more than one way to solve your problems.


I thank you for your reply, but there seems to be a misunderstanding here. The thesis has been written in OpenOffice; all formatting is done through the AOO suite, and everything is sewn together in the master document. The foreword, introduction, chapters and appendices each have their separate files, as they should. The pdf I desired to insert, would need its own heading (which should be in the same style as the rest of the document), if not simply for the cohesive [?] design, then at the least because it must be included in the table of contents. For that reason, being able to import a document (in this case a PDF) into the application (AOO) used for designing and writing the paper, is of great interest.
Apache OpenOffice 4.1.1 on Windows 7 (x64, SP1)
User avatar
CannedMan
 
Posts: 125
Joined: Wed Aug 04, 2010 12:06 am

Re: PDF import extension-How to use?

Postby RoryOF » Wed Nov 11, 2015 11:49 am

One way may be to export the relevant section of the PDF as PNG or other graphic format and paste it into thesis as an illustration. http://www.zamzar.com offer such a free conversion (and to other graphic formats). OpenOffice likes PNG best.
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 21976
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: PDF import extension-How to use?

Postby musikai » Wed Nov 11, 2015 2:37 pm

As RoryOF suggests using images is a way to go. If you want to have no pixelation at all you can use svg as image format. (The conversation from pdf to svg is a little bit tricky though.) If you use images that cover the whole page, then you would anchor them to your heading paragraph and any further page to the first paragraph after a page break. You have to decide if there's enough place at the top for your normal heading to show or if the heading in the PDF/image is sufficient. In the latter case you can simply change the color of the heading to white. So it doesn't show in the document but it does in the TOC.
How many pages does your PDF have?

(In fact there's is a way to merge PDFs into the final PDF using external tools like PDFtk. The project in the signature does this by using macros. But for your case this isn't useful as it isn't made for master documents.)
Win7 Pro, Lubuntu 15.04, LO 4.4.7, OO 4.1.2
Free Project: LibreOffice Songbook Architect (LOSA)
http://struckkai.blogspot.de/2015/04/libreofficesongbookarchitect.html
SVG-Tools:
http://struckkai.blogspot.com/2016/02/svg-tools.html
musikai
 
Posts: 95
Joined: Wed Nov 11, 2015 12:19 am

Re: PDF import extension-How to use?

Postby CannedMan » Thu Nov 12, 2015 7:47 pm

The three PDFs I wanted to include, were each one-page files.

musikai wrote:If you want to have no pixelation at all you can use svg as image format.

This would be a decent solution, yes. The best solution, of course, would of course be to have the correct font and actualy letters (i.e. text), to assure it is searchable.

Just so no one wonders: I circumvened the PDF import by sending the desired email to print, then copying the contents of the new tab for pasting into the appendix document; with some ugly editing and tweaking, I achieved the desired visual result. I have no need to import PDFs at the moment, but it will surely be useful at a later time to find a good way to do this (avoiding all this tweaking and the less than desirable table layout).
Apache OpenOffice 4.1.1 on Windows 7 (x64, SP1)
User avatar
CannedMan
 
Posts: 125
Joined: Wed Aug 04, 2010 12:06 am

Re: PDF import extension-How to use?

Postby mgroenescheij » Fri Nov 13, 2015 1:10 am

Just so no one wonders: I circumvened the PDF import by sending the desired email to print, then copying the contents of the new tab for pasting into the appendix document;

If people doubt about your integrity there's nothing you can do. You can fake an email and create an PDF output from it. Or you can even edit a PDF file with PDF editor. So there's no proof of authenticity of the source.

I have no need to import PDFs at the moment, but it will surely be useful at a later time to find a good way to do this (avoiding all this tweaking and the less than desirable table layout).

The purpose of OpenOffice is to create and maintain Office documents, the purpose of a PDF output is to create an output format that everybody can read / print without the need of having or buying the application.
Let's assume that the developers find a way to import PDF files into an existing document they need to work according user requirements. What are the requirements?
You want a non editable solution to prove your integrity and others want an editable solution for what ever other reason they have. This sounds to me Mission Impossible.
AOO 4.1.2 on MS Windows 10
Please add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
mgroenescheij
Volunteer
 
Posts: 282
Joined: Thu Apr 23, 2009 10:19 pm
Location: Sydney Australia

Re: PDF import extension-How to use?

Postby musikai » Fri Nov 13, 2015 2:07 am

@CannedMan
So you are using an email program and want to have its print view as result in your appendix. The PDF you got has the desired layout?
You could use Inkscape to convert it to SVGs. Open the PDF in Inkscape, choose the page and save as SVG. You have to do this for every page of the PDF.
If you have the fonts installed on your system Inkscape should be able to convert it quite perfectly to SVGs (that use these fonts and need them). If you insert these SVGs into OpenOffice and export to PDF the fonts will be embedded and the text will be searchable.
Win7 Pro, Lubuntu 15.04, LO 4.4.7, OO 4.1.2
Free Project: LibreOffice Songbook Architect (LOSA)
http://struckkai.blogspot.de/2015/04/libreofficesongbookarchitect.html
SVG-Tools:
http://struckkai.blogspot.com/2016/02/svg-tools.html
musikai
 
Posts: 95
Joined: Wed Nov 11, 2015 12:19 am

Re: PDF import extension-How to use?

Postby CannedMan » Fri Nov 13, 2015 3:00 pm

Thank you.
Apache OpenOffice 4.1.1 on Windows 7 (x64, SP1)
User avatar
CannedMan
 
Posts: 125
Joined: Wed Aug 04, 2010 12:06 am

Re: PDF import extension-How to use?

Postby mariakatosvich » Mon Aug 01, 2016 11:02 am

Install the PDF Import extension

Go to Extensions.OpenOffice.org, and download the PDF Import extension to your system.

Install the extension in OpenOffice

Launch OpenOffice. Go to the menu bar, and click on the Tools tab. Select Extension Manager. Click Add, and open the extension file located in your Downloads folder. Choose whether to install the extension for your user profile or for all user profiles on the system, then click Accept. Click Enable in the Extension Manager to complete the installation.

Import a PDF file

Launch OpenOffice Draw. Go to the menu bar, and click on the File tab. Select Open, and find and select the PDF file you wish to import. To edit the PDF file, highlight the text that you wish to alter, and use the toolbar to edit words, fonts or colors. To save the file as a PDF, click on File, then select Export as PDF. Choose your preferences, and click Export to save the file.
Last edited by floris v on Wed Aug 03, 2016 9:56 am, edited 1 time in total.
Reason: Hid signature, floris v, moderator
User avatar
mariakatosvich
Banned
 
Posts: 5
Joined: Fri Jul 29, 2016 3:03 pm


Return to Extensions

Who is online

Users browsing this forum: No registered users and 0 guests