diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2025-04-11 18:21:37 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2025-04-12 08:15:55 +0200 |
commit | 3fa39a4dadc8e2777185465a6f7c9968c8cf44d1 (patch) | |
tree | d1c47e62030959ff4ddfb672810c6b291fa74546 /offapi | |
parent | 7fac8458e35620b9855cc6c68a9675159a849b65 (diff) |
tdf#165917 Improve Export directory pre-selection
When calling an Export dialog (PDF, epub, ...) the following
folder will be preselected:
For stored documents:
* Current document directory
* If another directory was chosen for the export,
that directory will be preselected for subsequent exports
(stored only during runtime - per document)
For unstored documents:
* The last used export directory is restored (last used in unsaved doc)
Change-Id: I97595d164cf1d3604166c38aa2a5ed31be56f113
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184062
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/document/MediaDescriptor.idl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/offapi/com/sun/star/document/MediaDescriptor.idl b/offapi/com/sun/star/document/MediaDescriptor.idl index 6d0982b5ee64..e6f73d3afdcd 100644 --- a/offapi/com/sun/star/document/MediaDescriptor.idl +++ b/offapi/com/sun/star/document/MediaDescriptor.idl @@ -449,6 +449,11 @@ service MediaDescriptor */ [optional,property] string SuggestedSaveAsName; + /** Directory to be used when exporting (to PDF, epub, ...). + Defaults to the current document directory. + */ + [optional,property] string ExportDirectory; + /** name of the template instead of the URL <p> |