[Solved] How to save PDF in the same folder as the document

Discuss the word processor
Post Reply
Paulvan
Posts: 3
Joined: Tue Jun 09, 2015 4:52 pm

[Solved] How to save PDF in the same folder as the document

Post by Paulvan »

I often write a ODT document. Then I want to save it as a PDF.
The default path where OO proposes to save the file is never where my document is saved.
Is there a way to change this option, so the PDF wil by default be saved in the same folder as my document?
Last edited by Hagar Delest on Thu Jun 11, 2015 9:27 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 4.0.0 on Windows 8.1
User avatar
RoryOF
Moderator
Posts: 34588
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: How to save PDF in the same folder as the document

Post by RoryOF »

Try changing in /Tools /Options /OpenOffice /Paths the path for Gallery and/or Graphics. You may need to restart OpenOffice for this to take.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Paulvan
Posts: 3
Joined: Tue Jun 09, 2015 4:52 pm

Re: How to save PDF in the same folder as the document

Post by Paulvan »

Thank you but that's is not helping me.
The point is: I am working on a document and i save it in the folder A. Then I want to save it as a PDF. Instead of saving it in folder A as well, as would be logical, it is sent to folder B, which is the folder I used for saving an earlier document in a previous session.
Of course, it is no big trouble to chance the save to path, but is there a way so that the PDF would be saved by defaultto the same folder A as the odt document itself?
OpenOffice 4.0.0 on Windows 8.1
User avatar
Zizi64
Volunteer
Posts: 11353
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: How to save PDF in the same folder as the document

Post by Zizi64 »

It works fine for me with AOO 4.1.1 and LO4.4.3 as you expected - on Win7 prof64bit. It works with AOO/LO dialogs or with windows dialogs too. You are using Win8. Maybe it is an operating system related problem...
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: How to save PDF in the same folder as the document

Post by acknak »

Are you using File > Export as PDF ...?

For me, that always defaults to saving alongside the .odt document file.

If that's not happening for you, it might help to reset your OO settings profile. This just means exiting OO, renaming (or removing) the folder where OO stores all its settings, then restarting OO--it will then create a new settings profile folder.

For details, see: [Tutorial] The OOo user profile
 Edit: PS: 
The other issue, which I assume is already accounted for, is that you have to have saved the document in a file somewhere. If you start a new document and try to export as PDF, then there's no location assigned to the document and the pdf will default to some other location (the gallery folder, or something like that).
AOO4/LO5 • Linux • Fedora 23
B Marcelly
Volunteer
Posts: 1160
Joined: Mon Oct 08, 2007 1:26 am
Location: France, Paris area

Re: How to save PDF in the same folder as the document

Post by B Marcelly »

What I find on my computer (Windows 7, AOO 4.1.1) :
  • Using system dialogs, the proposed folder of Export to PDF has no relation with the folder from the document.
  • Using OpenOffice dialogs, the proposed folder of Export to PDF is the folder from the document.
Same pattern using menu File > Export (and Windows dialog proposes another folder !)

Setting to use OpenOffice dialogs : menu Tools > Options > OpenOffice > General
Bernard

OpenOffice.org 1.1.5 / Apache OpenOffice 4.1.1 / LibreOffice 5.0.5
MS-Windows 7 Home SP1
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: How to save PDF in the same folder as the document

Post by acknak »

B Marcelly wrote:... Using OpenOffice dialogs, the proposed folder of Export to PDF is the folder from the document. ...
Right. Excellent point. I'm using the OO file dialogs.

It makes sense that it may work differently with the system dialogs.
AOO4/LO5 • Linux • Fedora 23
User avatar
Villeroy
Volunteer
Posts: 31270
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How to save PDF in the same folder as the document

Post by Villeroy »

You may even save the document and the PDF in the same file.
menu:File>Export PDF...
[X] Export Hybrid PDF
Now you have two documents in one file that can be loaded with any PDF viewer and with Open/LibreOffice
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: How to save PDF in the same folder as the document

Post by John_Ha »

I had never noticed that. I create a new file fred.odt and save it. I then click the PDF icon, or I File > Export as PDF. In both cases I am offered a different folder from the folder containing fred.odt, and I need to navigate to fred's folder to save it alongside fred.odt.
 Edit: Tools > Options > OpenOffice > General > Use OpenOffice dialogue boxes is not ticked 
It seems that the PDF is saved in the same folder as the last PDF created by Writer was saved. This actually works well for me as I separate production .pdf files from editable .odt files, and all my pdf files are sent to the same folder as the first pdf.

If this solves the problem, please edit your original post title to [Solved].
Last edited by John_Ha on Thu Jun 11, 2015 2:01 pm, edited 2 times in total.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
User avatar
Zizi64
Volunteer
Posts: 11353
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: How to save PDF in the same folder as the document

Post by Zizi64 »

yet another tip:

Do you work with document file or do you work with a template file really?

When you open a template file (.ott, .ots, ...) it will open az Unnamed1, and it have not any URL. The office software can not determine, where must save the result of the conversion (ie: the pdf file) to. Then it will be saved into the default directory (see in Tools - Options - Open/LibreOffice - Paths); or into the last used directory.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Paulvan
Posts: 3
Joined: Tue Jun 09, 2015 4:52 pm

Re: How to save PDF in the same folder as the document

Post by Paulvan »

B Marcelly wrote:What I find on my computer (Windows 7, AOO 4.1.1) :
  • Using system dialogs, the proposed folder of Export to PDF has no relation with the folder from the document.
  • Using OpenOffice dialogs, the proposed folder of Export to PDF is the folder from the document.
Same pattern using menu File > Export (and Windows dialog proposes another folder !)

Setting to use OpenOffice dialogs : menu Tools > Options > OpenOffice > General
This solves the problem. Thanks!
OpenOffice 4.0.0 on Windows 8.1
Post Reply