Bug 38827

Summary: hide / re-locate legacy export formats
Product: LibreOffice Reporter: Björn Michaelsen <bjoern.michaelsen>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium CC: ikuya, kamataki, libreoffice
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard: EasyHack DifficultyInteresting SkillCpp SkillUno TopicUi
i915 platform: i915 features:

Description Björn Michaelsen 2011-06-30 08:36:33 UTC
hide / re-locate legacy export formats

Background: When a user uses save-as, we present a list of potential export filters in the drop-down, many of which are obsolete and unhelpful. We should add a check-box or other method to the file-picker (defaulting to on) to hide these. We should do this for the OpenOffice 1.0 pre-ODF formats, and legacy MS Office formats (e.g. Word 95 and 6.0 formats). The file pickers are implemented per platform, and live in: fpicker/source/ - for gtk+ perhaps we could use the file type expander for the legacy formats. The UNO interface to export filters is built around UnoFilterEntry records which is just a string pair; misc code-pointers:

    sfx2/source/dialog/filedlghelper.cxx (addFilters) - gets data from
   + filters/source/config/cache/filterfactory.cxx (createSubSetEnumerationByQuery)
      + which gets its data ultimately from filter fragments
        eg. filter/source/config/fragments/filters/StarWriter_5_0.xcu
      + which will need a new Flag annotation I suspect.
    sfx2/source/dialog/filtergrouping.cxx (appendFiltersForSave)

Possibly we can mangle some annotation for the filter into the filter string - this would be the lowest touch change.

Skills: C++, basic UNO, grokking several files at once.
Comment 1 Florian Reisinger 2012-05-18 09:48:51 UTC
Deleted "Easyhack" from summary.
Comment 2 Björn Michaelsen 2013-10-04 18:46:47 UTC
adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility.

see e.g. http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for details
Comment 3 Björn Michaelsen 2015-01-15 16:06:50 UTC
Boldly marking this as fixed: Bryan Quigley did a lot of awesome work on this.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.