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

Discuss the word processor

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

Postby Paulvan » Tue Jun 09, 2015 4:55 pm

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
Paulvan
 
Posts: 3
Joined: Tue Jun 09, 2015 4:52 pm

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

Postby RoryOF » Tue Jun 09, 2015 5:04 pm

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.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28788
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Postby Paulvan » Tue Jun 09, 2015 5:36 pm

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
Paulvan
 
Posts: 3
Joined: Tue Jun 09, 2015 4:52 pm

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

Postby Zizi64 » Tue Jun 09, 2015 5:46 pm

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; LO4.4.7, LO6.1.5 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.2.2; AOO4.1.5
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
Zizi64
Volunteer
 
Posts: 7918
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

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

Postby acknak » Tue Jun 09, 2015 7:23 pm

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
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

Postby B Marcelly » Tue Jun 09, 2015 8:03 pm

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
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

Postby acknak » Tue Jun 09, 2015 9:20 pm

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
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

Postby Villeroy » Tue Jun 09, 2015 9:28 pm

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, OpenOffice 4.x & LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 26639
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

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

Postby John_Ha » Wed Jun 10, 2015 11:26 pm

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.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6593
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

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

Postby Zizi64 » Thu Jun 11, 2015 6:09 am

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; LO4.4.7, LO6.1.5 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.2.2; AOO4.1.5
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
Zizi64
Volunteer
 
Posts: 7918
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

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

Postby Paulvan » Thu Jun 11, 2015 1:00 pm

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
Paulvan
 
Posts: 3
Joined: Tue Jun 09, 2015 4:52 pm


Return to Writer

Who is online

Users browsing this forum: No registered users and 11 guests