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


On Thu, Dec 11, 2014 at 01:57:06PM +0100, Daniel Sikeler <d.sikeler94@gmail.com> wrote:
I've already thought that it would cause a lot of duplicated code.

So I'll try to move it to xmloff and use the code in oox as a
pattern for xmloff. What came to my mind now is, that i would
duplicate the code for the fasttokenhandler, because it only calls
the methods from TokenMap. So probably it would be good to also move
the fasttokenhandler somewhere else. And create a new base class for
TokenMaps so that the fasttokenhandler can work with different
TokenMaps. What do you think?

I would suggest doing it in two steps: first make sure that code that is
interesting for ODF filters is in xmloff, not sw (before a duplicate in
sc or sd appears), then indeed, if you see common functionality in
xmloff and oox regarding the token handler, then that can be abstracted
to a base class. Maybe the filter module would be a good place to store
that base class?

Attachment: signature.asc
Description: Digital signature


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.