https://bugs.documentfoundation.org/show_bug.cgi?id=95717
--- Comment #5 from Stephane Santon <[email protected]> --- (In reply to Regina Henschel from comment #3) > To me it looks like your request is not about "layers" but about groups. Yes. The Draw layers have to be exported as groups. > an own namespace should not be done OK > Currently neither a page nor a group gets an identifier but only the > individual shapes. I would support a request, that svg export should make > the name of a group to an id-attribute of the <g>-element in svg. Such could > be used in Impress too, where no user layers exists. Good ! > It would be possible to put the layer into a class attribute, but it does > not work well, because a group in Draw can contain shapes from different > layers. Oh ! I didn't know. OK. > Do you agree to take this bug report as request for an id-attribute for the > <g>-element, which is generated for a group in Draw? If yes, the subject > line should be changed accordingly. In a first step, yes. Is it enough to define "layers" ? Layers could be defined by : - a SVG goup (OK) - with an id (OK with the new request) - and that is *a direct child of the root SVG element*. ---- In the current SVG export, you can find the first SVG Child group as : <g> <g id="id2" class="Master_Slide"> <g id="bg-id2" class="Background"/> <g id="bo-id2" class="BackgroundObjects"/> </g> </g> What is it for ? ---- And then the next (and last) SVG child group with the SlideGroup class as : <g class="SlideGroup"> <g> <g id="id1" class="Slide" clip-path="url(#presentation_clip_path)"> <g class="Page"> <g class="com.sun.star.drawing.CustomShape"> <g id="id3"> [...] </g> </g> <g class="com.sun.star.drawing.TextShape"> <g id="id4"> [...] </g> </g> <g class="Group"> <g class="com.sun.star.drawing.CustomShape"> <g id="id5"> [...] </g> </g> <g class="com.sun.star.drawing.CustomShape"> <g id="id6"> [...] </g> </g> </g> </g> </g> </g> </g> Is there always only ONE SlideGroup ? Could the layers objects be separated in different SlideGroups with their own ID ? Thanks -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
