Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hello,
still working on this %&@#filter removing and I am crossing within
binfilter/bf_sc a lot of "if" statement, testing if the current handled
format is StarOffice, Excel95, Execl97 etc...

A lot of theses "if" are typically like:
    else if (aFltName.EqualsAscii(pFilterLotus))
    {
         DBG_BF_ASSERT(0, "STRIP");
    }

binfilter should only contain filter for StarOffice format, isn't it?
All these Excel, HTML and other checks are rest of the time this filter
was the main one and could be also cleaned?

A bit more generally, (for my overall understanding)
what is the goal / mean of the filter repository ? What is the logic
behind the
filters/filter/source/msfilter (or others)
in comparison to directories (e.g)
calc/sc/source/filter/
sw/source/filter/

I spend a bit time before realising that the filters could be there:-)

For a global logic, shouldn't filters belong to the filter repository?
Or is the decision taken to split the filter to each
application/repository (calc, writer,..)

Advantage of being within filter would most probably be an easier way to
deprecate filter and will most probably promote a good separation
between the filter and the application. T

thanks for lightening my mind.
Regards
Pierre-André

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.