Why LibreOffice is opening PDF partially?

Hi, Yesterday I was attempting to edit a PDF using LibreOffice Draw, but it looks like it open the document only partially, I mean just a portion of the original document. Also, if I don't remember wrong, in the past I think that I saw the possibility to convert or export a PDF into Word with LibreOffice, this would be really useful since if you try to just copy/past the PDF text into a LibreOffice Writer file, the text looses it's original formatting. In summary I would like to ask: what is the best option to edit a PDF document in Linux nowadays??? Many thanks and best regards, Inviato da Outlook per Android<https://aka.ms/AAb9ysg>

Am 14.09.23 um 17:44 schrieb Marco Calistri:
Hi,
Yesterday I was attempting to edit a PDF using LibreOffice Draw, but it looks like it open the document only partially, I mean just a portion of the original document.
Also, if I don't remember wrong, in the past I think that I saw the possibility to convert or export a PDF into Word with LibreOffice, this would be really useful since if you try to just copy/past the PDF text into a LibreOffice Writer file, the text looses it's original formatting.
In summary I would like to ask: what is the best option to edit a PDF document in Linux nowadays???
Many thanks and best regards,
Inviato da Outlook per Android <https://aka.ms/AAb9ysg>
If you like to get only the text in correct format into your clibboard install the poppler-tools (and evince) and: ================================== make a file "pdf2clip-evince" executable, with content: #!/bin/bash pdftotext -layout "$1" - | xclip evince "$1" ================================== usage: pdf2clip-evince mypdf.pdf i use this to open pdf's in thunderbird (configure thunderbird to use this batch file when clicking on a pdf) and you have always the txt of pdf's you got from mails inside your clipboard (kde) and open the pdf in evince. if you really need to edit, then non free (there is a trial version for "free") "master pdf editor" works fine. libreoffice works often, but only "often", depending on the pdf. maybe splitting all pages or extracting the content of pdf could also help to edit (in libreoffice). here are some useful other things (i think) i use for manipulating the content of a pdf: extract picture (poppler-tools): pdfimages mypdf.pdf picturename split into singel pages (install pdftk): pdftk mypdf burst edit the vector graphic with a cad program (install ghostscript and pstoedit): pdf2ps mypdf.pdf tmpps.ps pstoedit -f dxf_s tmpps.ps myneweditabledxf.dxf and of course you could open it with gimp, but then you have a pixel graphic after that. simoN -- www.becherer.de

Thanks for all the information Simon! I will try to find the most suitable solution for my usage. Regards, Inviato da Outlook per Android<https://aka.ms/AAb9ysg> ________________________________ Da: Simon Becherer <simon@becherer.de> Inviato: Giovedì, Settembre 14, 2023 1:17:06 PM A: support@lists.opensuse.org <support@lists.opensuse.org> Oggetto: Re: Why LibreOffice is opening PDF partially? Am 14.09.23 um 17:44 schrieb Marco Calistri:
Hi,
Yesterday I was attempting to edit a PDF using LibreOffice Draw, but it looks like it open the document only partially, I mean just a portion of the original document.
Also, if I don't remember wrong, in the past I think that I saw the possibility to convert or export a PDF into Word with LibreOffice, this would be really useful since if you try to just copy/past the PDF text into a LibreOffice Writer file, the text looses it's original formatting.
In summary I would like to ask: what is the best option to edit a PDF document in Linux nowadays???
Many thanks and best regards,
Inviato da Outlook per Android <https://aka.ms/AAb9ysg>
If you like to get only the text in correct format into your clibboard install the poppler-tools (and evince) and: ================================== make a file "pdf2clip-evince" executable, with content: #!/bin/bash pdftotext -layout "$1" - | xclip evince "$1" ================================== usage: pdf2clip-evince mypdf.pdf i use this to open pdf's in thunderbird (configure thunderbird to use this batch file when clicking on a pdf) and you have always the txt of pdf's you got from mails inside your clipboard (kde) and open the pdf in evince. if you really need to edit, then non free (there is a trial version for "free") "master pdf editor" works fine. libreoffice works often, but only "often", depending on the pdf. maybe splitting all pages or extracting the content of pdf could also help to edit (in libreoffice). here are some useful other things (i think) i use for manipulating the content of a pdf: extract picture (poppler-tools): pdfimages mypdf.pdf picturename split into singel pages (install pdftk): pdftk mypdf burst edit the vector graphic with a cad program (install ghostscript and pstoedit): pdf2ps mypdf.pdf tmpps.ps pstoedit -f dxf_s tmpps.ps myneweditabledxf.dxf and of course you could open it with gimp, but then you have a pixel graphic after that. simoN -- www.becherer.de
participants (2)
-
Marco Calistri
-
Simon Becherer