Import pdf on Libreoffice

12 replies [Last post]
pascal@diogoantunes.org
Offline
Joined: 09/03/2012

When I import a document pdf on libreoffice, all pages are blank.
What I have to do?

--
Libere,
Pascal Diogo Antunes.

"Des chercheurs qui cherchent on en trouve, des chercheurs qui trouvent
on en cherche."- Charles de Gaulle.

onpon4
Offline
Joined: 05/30/2012

First off, avoid having to do this if you can. PDF isn't meant for this. Have a copy stored in a word processor format like odt.

But, if you don't have such a file and LibreOffice can't import it properly, here's a suggestion, though it's kind of obvious: open up the PDF in a PDF reader (like Evince), copy the text, and paste it into a new document. It's not even close to a perfect way to do it, but it's one thing you can do if you don't have a more effective way.

pascal@diogoantunes.org
Offline
Joined: 09/03/2012

But I can't, my pdf file has been scanned. I use Xsane.
First I have multiple .pnm, and If I modified one image, Xsane refuse
to create the pdf.
So my solution of this problem is editing pdf. But it's not easy...

On Tue, 12 Nov 2013 05:28:24 +0100 (CET)
name at domain wrote:

> First off, avoid having to do this if you can. PDF isn't meant for this. Have
> a copy stored in a word processor format like odt.
>
> But, if you don't have such a file and LibreOffice can't import it properly,
> here's a suggestion, though it's kind of obvious: open up the PDF in a PDF
> reader (like Evince), copy the text, and paste it into a new document. It's
> not even close to a perfect way to do it, but it's one thing you can do if
> you don't have a more effective way.

--
Libere,
Pascal Diogo Antunes.

"Lorsque les Blancs sont venus en Afrique, nous avions les terres et
ils avaient la Bible. Ils nous ont appris à prier les yeux fermés :
lorsque nous les avons ouverts, les Blancs avaient la terre et nous la
Bible."- Jomo Kenyatta.

lembas
Offline
Joined: 05/13/2010

And in case the PDF consists of images (of text) rather than text, you need to OCR it.

https://en.wikipedia.org/wiki/Optical_character_recognition

OCR's success depends on the quality and contrast (etc) of the source material. It's likely you need to proofread the text however. There are various tools in the repos.

quantumgravity
Offline
Joined: 04/22/2013

Wait a second. Do you want
a) to edit the text of your pdf file in word? That's not easy. You have to use a program for text recognition.
b) your pdf just to get displayed properly in your word file? Then why not simply include it as a picture?

pascal@diogoantunes.org
Offline
Joined: 09/03/2012

I want to edit my pdf. Not for puting text, but draw.

On Tue, 12 Nov 2013 09:24:42 +0100 (CET)
name at domain wrote:

> Wait a second. Do you want
> a) to edit the text of your pdf file in word? That's not easy. You have to
> use a program for text recognition.
> b) your pdf just to get displayed properly in your word file? Then why not
> simply include it as a picture?
>

--
Libere,
Pascal Diogo Antunes.

"Réaliser le communisme avant l'anarchie, c'est à dire avant d'avoir
conquis une liberté politique et économique complète, cela conduirait à
établir la tyrannie la plus exécrable, au point que le peuple
aspirerait au régime bourgeois et au retour du système capitaliste."-
Errico Malatesta.

Magic Banana

I am a member!

Offline
Joined: 07/24/2010

You can try PDFedit... if you are brave. It is in Trisquel's repositories.

Andrew R.
Offline
Joined: 09/27/2013

On 12/11/13 08:29, Pascal Diogo Antunes wrote:
> When I import a document pdf on libreoffice, all pages are blank.
> What I have to do?

I will also add that it is possible to edit PDF documents using
Inkscape, although not ideal. Depending on what you're doing, OCR might
be a better idea.

Andrew.

pascal@diogoantunes.org
Offline
Joined: 09/03/2012

Editing files before export on pdf it's the best, sure.
But in my case, Xsane doesn't like this.

I should settle Xsane's problem first.

Thanks.

On Tue, 12 Nov 2013 19:32:51 +1000
"Andrew R." <name at domain> wrote:

> On 12/11/13 08:29, Pascal Diogo Antunes wrote:
> > When I import a document pdf on libreoffice, all pages are blank.
> > What I have to do?
>
> I will also add that it is possible to edit PDF documents using
> Inkscape, although not ideal. Depending on what you're doing, OCR might
> be a better idea.
>
> Andrew.

--
Libere,
Pascal Diogo Antunes.

"Les criminels de paix tuent leur prochain: pour la société, ce sont
des salauds. Les criminels de guerre tuent leurs lointains: pour la
société, ce sont des héros."- Jacques Prévert.

ssdclickofdeath
Offline
Joined: 05/19/2013

What's the best free OCR engine?

pascal@diogoantunes.org
Offline
Joined: 09/03/2012

by my experience : tesseract.

On Tue, 12 Nov 2013 17:59:42 +0100 (CET)
name at domain wrote:

> What's the best free OCR engine?

--
Libere,
Pascal Diogo Antunes.

"Je désire qu'autrui soit libre, car ma liberté commence où commence la
liberté de l'autre."- Cornélius Castoriadis.

Datenknecht
Offline
Joined: 11/08/2013

Is libreoffice-pdfimport installed?

pascal@diogoantunes.org
Offline
Joined: 09/03/2012

ya.

On Tue, 12 Nov 2013 18:02:47 +0100 (CET)
name at domain wrote:

> Is libreoffice-pdfimport installed?

--
Libere,
Pascal Diogo Antunes.

"Quand on sait ce que l'on veut, on trouve ce que l'on cherche."- Miguel Salmeron.