Proposal: Promote svg support

Thorsten Zachmann t.zachmann at zagge.de
Mon Jun 27 16:25:37 BST 2011


On Sunday, June 26, 2011 18:25:56 jaham at 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



More information about the calligra-devel mailing list