[Libreoffice-bugs] [Bug 36747] Relationally link Save As formats and Default File Formats lists

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 28 16:44:41 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=36747

--- Comment #19 from Miklos Vajna <vmiklos at collabora.co.uk> ---
Code pointers:

sfx2/source/dialog/filtergrouping.cxx:897, sfx2::appendFiltersForSave() shows
how to get the UI name and the extension of an SfxFilter

sfx2/source/dialog/filtergrouping.cxx:1150, sfx2::addExtension() can create a
string with both the filter name and the extension included, would be good to
not duplicate that. It is probably necessary to change the reference parameter
there to be an optional pointer instead, to be general.

sfx2/source/bastyp/fltfnc.cxx:171, SfxFilterContainer::GetFilter4FilterName()
can give you an SfxFilter just based on the internal (unique) filter name.

I think based on those it should be put together a patch to provide extensions
next to filters in the dialog.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170528/dd47e8d7/attachment-0001.html>


More information about the Libreoffice-bugs mailing list