Apache OpenOffice (AOO) Bugzilla – Issue 49450
"filter detection" does not work for dynamicly added filters (e.g. xslt filters)
Last modified: 2005-10-28 12:02:06 UTC
If a xslt filter was created using the XML Filter Dialog of "Tools->Options" it's not guaranteed that the corresponding file format can be loaded within the office. A may be used preselected xslt filter can workaround the situation ... but normal way of loading documents should work too. The problem behind: After the type detection was done we must search a suitable filter to load the document. But searching of the filter is done by using an optimized value inside the filter configuration. And these special property is a new feature and not used by the xml filter dialog. So the xml filter are not realy found. Instead of that the filter selection dialog cames up and the user has to know which filter must be selected. Solution: The search for a suitable filter must work even if this special optimized config property exists or not. Means: the search for a filter must be done by using the whole list of filters.
Created attachment 26273 [details] example filter + test file + patch of filtercache.cxx
.
cd: Reviewed and approved.
AS->JSI: Please verify this task on my cws. THX. You have to create an unique(!) XSLT filter and try to load documents (supported by this filter) by using the file open dialog. And it must work WITHOUT any preselection . Note : You cant use a new created XSLT filter without restarting the office, because #i35892# isnt fixed yet. re-open issue and reassign to jsi@openoffice.org
reassign to jsi@openoffice.org
reset resolution to FIXED
I have created an own XSLT-Filter and after an office restart it works fine to load the files without pre-selection.
It works fine in patched m136.