[Libreoffice-bugs] [Bug 95717] DRAW: SVG export does not provide layers

2015-11-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95717

--- Comment #5 from Stephane Santon  ---
(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 -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
> -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 :

  
   
   
  
 

What is it for ?



And then the next (and last) SVG child group with the SlideGroup class as :

 
  
   

 
  
[...]
  
 
 
  
[...]
  
 
 
  
   
[...]
   
  
  
   
[...]
   
  
 

   
  
 

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
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95717] DRAW: SVG export does not provide layers

2015-11-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95717

--- Comment #4 from Stephane Santon  ---
Created attachment 120492
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120492&action=edit
Draw file with 4 objetcs, and 1 custom layer

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95717] DRAW: SVG export does not provide layers

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95717

--- Comment #3 from Regina Henschel  ---
To me it looks like your request is not about "layers" but about groups.

I think, introducing an own namespace should not be done; svg is rich enough to
do all needed things in standard svg. Namespace "draw" would be a bad choice
anyway, because it can be confused with ODF.

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 -element in svg. Such could be used in
Impress too, where no user layers exists.

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.
Therefore the layer-information would only be meaningful for a single shape,
but not for a group.

Do you agree to take this bug report as request for an id-attribute for the
-element, which is generated for a group in Draw? If yes, the subject line
should be changed accordingly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95717] DRAW: SVG export does not provide layers

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95717

--- Comment #2 from Stephane Santon  ---
Standard SVG does not implement specific "layers" but groups with , and
layers can be seen as groups.

I don't want to integrate animation in the SVG file, but to distinguish layers
(groups) in order to animate then with a HTML5 page. 

Inkscape can find his layers while opening his SVG files by :
 http://sozi.baierouge.fr/images/tutorial-layers/sozi-layers-tutorial-full.svg

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95717] DRAW: SVG export does not provide layers

2015-11-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95717

Regina Henschel  changed:

   What|Removed |Added

 CC||rb.hensc...@t-online.de

--- Comment #1 from Regina Henschel  ---
Which w3.org standard svg elements provides "layers"?

In ODF, "The animation elements are based upon §3.5 and §12.5 of [SMIL20], and
section §19.2 of [SVG]."
with [SMIL20]=http://www.w3.org/TR/2005/REC-SMIL2-20050107/
[SVG]=http://www.w3.org/TR/2003/REC-SVG11-20030114/
For details see section "15 SMIL Animations" in
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html

Can you please provide a standard conform svg document using "layers"? Inkscape
"svg" <> standard svg.

Draw does not have animation and Impress has no layers. It is not clear, what
do you mean.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95717] DRAW: SVG export does not provide layers

2015-11-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95717

Stephane Santon  changed:

   What|Removed |Added

Summary|SVG export does not provide |DRAW: SVG export does not
   |layers  |provide layers

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs