Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Libre Office won't export as PDF

  1. #1
    Join Date
    Dec 2009
    Beans
    176

    Libre Office won't export as PDF

    Running Ubuntu 12.04 Powerpc on an eMac G-4, 1GHZ processor, 1 GB RAM, 40 GB Hard drive.

    On this install I had originally loaded Libre Office 3 (don’t know if that’s the correct version number but it’s what displays when the program opens). I thought everything worked on it till last night when I tried to export a Jpeg as a PDF file. I tried clicking on both the PDF icon in the toolbar across the top and the “export as PDF” command in the “File” menu – neither worked. From the File command, it went to a window showing all the settings for the outgoing file with a button at the lower right that said “Export”. I clicked that and got a second window showing a default name for the file giving me a chance to re-name it, but there was no field showing where I wanted to send the file, and no button to “Save”. I know those are supposed to be there because I watched a YouTube tutorial showing that they should be. If I clicked on the PDF icon in the toolbar, it just went to the previously mentioned second window showing the file, but with no option to direct or save it. I also tried exporting a regular text document with the same results.

    This software was installed through Synaptic and I didn’t tinker with any of the dependencies. Could there be a missing library or dependency that needs to be installed? On a previously installed OS, I had a version of Openoffice that had a button at the top to “Save as PDF” that was elegantly simple and worked like a charm. Anyone know if it’s still there?
    Last edited by Javelin Dan; December 5th, 2012 at 03:14 PM.
    "Discovery begins when you throw away the instruction manual!"

  2. #2
    Join Date
    Feb 2011
    Location
    Somewhere...
    Beans
    1,554
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Libre Office won't export as PDF

    The "Save" button was there for me. Can you post a screenshot?

    It is possible that the window was too large, so the button was hidden. If so, Alt + Click to move the window around. Just a guess though.

  3. #3
    Join Date
    Dec 2009
    Beans
    176

    Re: Libre Office won't export as PDF

    Zombifier 25 –

    I can certainly take a screenshot, though it will have to wait till after work this evening. That’s actually a good thought you had about the view being too large – I did think it looked like it wasn’t all displayed on the screen, but dullard that I am I never thought to adjust the view. I’ll try that first and report back. Thanks.
    "Discovery begins when you throw away the instruction manual!"

  4. #4
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Libre Office won't export as PDF

    When you say you tried to export a JPEG as a PDF, do you mean you imported the graphic into Writer then tried to export the document you created?

    If you want to convert graphics to PDFs, the easiest solution by far is to use Imagemagick, though it means typing a few commands at the prompt. (I think there may be a GUI front-end for Imagemagick, but I've never used it.)

    Install it with "sudo apt-get install imagemagick" then use the command:

    Code:
    convert image.jpeg image.pdf
    That's it!
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  5. #5
    Join Date
    Dec 2009
    Beans
    176

    Re: Libre Office won't export as PDF

    I apologize for not being specific. What I actually did was to scan a document via "simplescan" which automatically gets saved as a Jpeg. I then opened it with Libre Office Writer. I also tried Impress and Draw with the same results.

    Thanks for the heads-up on "Imagemajick". If I can't get Libre Office to work, I'll definitely give that a go.
    "Discovery begins when you throw away the instruction manual!"

  6. #6
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Libre Office won't export as PDF

    I opened a graphic in Writer, and it came up in Draw. To export it from there, click on the object so it is highlighted in a frame, then choose File > Export as PDF, and click the "Selection" box in the dialog that follows. That worked for me.

    One of the most annoying aspects of Calc for me is that you cannot directly export charts. You have to go through a convoluted process of copying the chart, dropping it into Impress, then clicking on the object and exporting it from there as, say, a PNG. Gnumeric lets you export directly, but I don't like the look of the charts it creates as much as the ones in Calc.

    I have found the ability to save to PDF from Calc useful when exporting tables. I select the table, export to PDF, open the PDF in GIMP, then crop the image to include just the table. If it is too big, I can rescale the image to a more manageable size. You can then save to PNG from within GIMP. Make sure to use lossless compression when you write the original PDF to ensure that the text is not too blurry, especially if you need to resize the result before publication.

    Examples of both types of exports appear in my blog linked below.
    Last edited by SeijiSensei; December 5th, 2012 at 06:47 PM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  7. #7
    Join Date
    Dec 2009
    Beans
    176

    Re: Libre Office won't export as PDF

    I'll try that and report back. Thanks!
    "Discovery begins when you throw away the instruction manual!"

  8. #8
    Join Date
    Feb 2008
    Beans
    5,078
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Libre Office won't export as PDF

    You could install cups-pdf, which lets you "print" to a PDF file from any application.

  9. #9
    Join Date
    Dec 2009
    Beans
    176

    Re: Libre Office won't export as PDF

    I actually did install cups-pdf, but don't see any option to print to pdf in the file menu. Is it a CLI application only? If so, I'll need instructions. Life got in the way and I only had time last night to go back and check to see if I could somehow scroll down or change the view - I couldn't. I'll try to post a screen shot tonight to display the screen I'm getting.
    "Discovery begins when you throw away the instruction manual!"

  10. #10
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,820
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Libre Office won't export as PDF

    Quote Originally Posted by SeijiSensei View Post
    I opened a graphic in Writer, and it came up in Draw. To export it from there, click on the object so it is highlighted in a frame, then choose File > Export as PDF, and click the "Selection" box in the dialog that follows. That worked for me.

    One of the most annoying aspects of Calc for me is that you cannot directly export charts. You have to go through a convoluted process of copying the chart, dropping it into Impress, then clicking on the object and exporting it from there as, say, a PNG. Gnumeric lets you export directly, but I don't like the look of the charts it creates as much as the ones in Calc.

    I have found the ability to save to PDF from Calc useful when exporting tables. I select the table, export to PDF, open the PDF in GIMP, then crop the image to include just the table. If it is too big, I can rescale the image to a more manageable size. You can then save to PNG from within GIMP. Make sure to use lossless compression when you write the original PDF to ensure that the text is not too blurry, especially if you need to resize the result before publication.

    Examples of both types of exports appear in my blog linked below.
    This sounds ugly. There ought to be a way of exporting tables and charts, nicely cropped, to a pdf in vector format. Anything involving GIMP or png will turn it into a raster image, something you never want with text and charts. Off course I know you can use a pdf printer driver, turn you pdf into postscript (or directly use a postscript printer driver), edit your postscript in a text editor to get nice cropping/margins/clipping and convert the result back into pdf, but that's messy too, although file size stays pretty low.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •