Bug 235854

Summary: Patch for improvements in the GUI for export to pdf
Product: kword Reporter: Thomas Fischer <fischer>
Component: usabilityAssignee: Thomas Zander <zander>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 2.1   
Target Milestone: Persona: Susan   
Platform: Gentoo Packages   
OS: Unspecified   
Latest Commit: Version Fixed In:
Attachments: Patch as described in the initial bug report

Description Thomas Fischer 2010-04-30 22:59:42 UTC
Version:            (using KDE 4.3.5)
Installed from:    Gentoo Packages

I will attach a patch for KOffice 2.1.2 to this bug report which improves the "Export to PDF" function in the following aspects:
- If the current document was saved before, suggest the same file name here, too, but replace the file ending with ".pdf". This mimics the behavior of OpenOffice
- The KFileDialogs list of file types is now set via mime types, not a list of extensions
- The dialog's caption is rewritten to match the menu item
- A "TODO" was resolved by checking if the file to save as already exists. Same warning as for normal save operations is shown
Comment 1 Thomas Fischer 2010-04-30 23:00:49 UTC
Created attachment 43131 [details]
Patch as described in the initial bug report
Comment 2 Thomas Zander 2011-01-25 22:00:36 UTC
Git commit 272bb575031984b4905400bc9ece82b04f2beacd by Thomas Zander.
Pushed by zander into branch 'master'.

Committing patch by Thomas Fischer

The patch comes from bugzilla
BUG:235854

Thomas writes;
I will attach a patch for KOffice 2.1.2 to this bug report which improves the
"Export to PDF" function in the following aspects:
- If the current document was saved before, suggest the same file name here,
too, but replace the file ending with ".pdf". This mimics the behavior of
OpenOffice
- The KFileDialogs list of file types is now set via mime types, not a list of
extensions
- The dialog's caption is rewritten to match the menu item

M  +19   -5    libs/main/KoMainWindow.cpp     

http://commits.kde.org/68dc8371/272bb575031984b4905400bc9ece82b04f2beacd