Comment 4 for bug 249445

Revision history for this message
bbyak (buliabyak) wrote : Re: [Bug 249445] Re: titles and descriptions lost when saving as Plain SVG

On Mon, Jul 28, 2008 at 7:06 PM, codedread <email address hidden> wrote:
> Just to understand a little more - bbyak, do you know why svg:text
> elements keep their svg:title and svg:desc upon saving as Plain SVG?

because sp_text_write has a loop on all children:

        for (SPObject *child = sp_object_first_child(object) ; child
!= NULL ; child = SP_OBJECT_NEXT(child) ) {

which recreates the repr of each child if flags & SP_OBJECT_WRITE_BUILD