On Sunday, June 26, 2011 18:25:56 ja...@gmx.net wrote: > I thought to have a separate lib similar to our odf lib containing the > classes used for loading/saving svg. One of these classes would be an > interface which shapes can implement to save/load svg data, i.e. calling > it SvgSerializable. > > class SvgSerializable > { > public: > virtual bool saveSvg(SvgSavingContext &context) = 0; > virtual bool loadSvg(SvgLoadingContext &context) = 0; > // some more required functions > };
Agreed that having a libs like the odf lib makes sense and that contains the stuff like SvgLoadingContext .... However I'm not sure if we need a class SvgSerializable. Why not just put that into KoShape directly? Thorsten _______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel