You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/01/12 21:17:29 UTC
DO NOT REPLY [Bug 118780] New: copy title and desc from svg file to
graphic object property when inserting a svg graphic
https://issues.apache.org/ooo/show_bug.cgi?id=118780
Bug #: 118780
Issue Type: DEFECT
Summary: copy title and desc from svg file to graphic object
property when inserting a svg graphic
Classification: Application
Product: Drawing
Version: OOo 3.4 Beta
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P5
Component: open-import
AssignedTo: graphicsneedsconfirm@openoffice.org
ReportedBy: rb.henschel@t-online.de
CC: ooo-issues@incubator.apache.org
A svg-document can contain title elements and description elements. A graphic
object in AOO also has a title and a description. For accessibility the value
from the title and from desc sub-element of the outermost svg element should be
copied to the corresponding properties of the graphic object.
A svg document can have title and description on each of its child graphics.
But in AOO exists only one of them. Therefore the outermost should be used.
If the user decides to change the title or description text in AOO, then it
should not be changed back from the svg source. Therefore this request is only
for the situation, when the svg graphic is inserted the first time.
Please notice http://www.w3.org/TR/SVG/struct.html#DescElement.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118780] copy title and desc from svg file to
graphic object property when inserting a svg graphic
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118780
Regina Henschel <rb...@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |UNCONFIRMED
Issue Type|DEFECT |ENHANCEMENT
Ever Confirmed|1 |0
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Bug 118780] copy title and desc from svg file to graphic object
property when inserting a svg graphic
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118780
Armin Le Grand <Ar...@me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |AOO 4.0
--
You are receiving this mail because:
You are on the CC list for the bug.
[Bug 118780] copy title and desc from svg file to graphic object
property when inserting a svg graphic
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118780
Armin Le Grand <Ar...@me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ACCEPTED
Ever confirmed|0 |1
--- Comment #3 from Armin Le Grand <Ar...@me.com> ---
ALG: Added code to scan for ObjectInfoPrimitive2D when graphic is changed/set
at SdrGraphicObject; Title and Desc is taken from the outmost such info at
primitives from SVG import, Name is set to filename of the inserted SVG. Need
to check for SW graphic object and if/what is possible there...
--
You are receiving this mail because:
You are on the CC list for the bug.
DO NOT REPLY [Bug 118780] copy title and desc from svg file to
graphic object property when inserting a svg graphic
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118780
Armin Le Grand <Ar...@me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|graphicsneedsconfirm@openof |Armin.Le.Grand@me.com
|fice.org |
--- Comment #2 from Armin Le Grand <Ar...@me.com> 2012-03-26 16:30:46 UTC ---
ALG: Taking over.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Bug 118780] copy title and desc from svg file to graphic object
property when inserting a svg graphic
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118780
Oliver-Rainer Wittmann (orw at apache dot org) <or...@googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |normal
--- Comment #5 from Oliver-Rainer Wittmann (orw at apache dot org) <or...@googlemail.com> ---
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Bug 118780] copy title and desc from svg file to graphic object
property when inserting a svg graphic
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118780
Armin Le Grand <Ar...@me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ACCEPTED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Armin Le Grand <Ar...@me.com> ---
ALG: Moved ObjectInfoPrimitive2D extractor to drawinglayer, changed name to be
the filename only, added code to SW to set Title and Desc. No set of Name in SW
currently, there is a SW-provided default name and it has to be unique. Had to
do some changes to SW to get the detection running since inside the SwGrfNode
constructors the SwFlyFrmFmt can not yet be found, thus had to change
constructing instances. Also isolated GraphicObject access at SwGrfNode to
const, thus all accesses to change Graphic there are saved and will trigger SVG
name detection (onGraphicChanged()).
ALG: Done so far. Usage of Name,Desc in SdrObject dismantle will have to wait
until SdrObjects will be constructed from primitives directly, the info is not
available in metafiles.
--
You are receiving this mail because:
You are on the CC list for the bug.
DO NOT REPLY [Bug 118780] copy title and desc from svg file to
graphic object property when inserting a svg graphic
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118780
Armin Le Grand <Ar...@me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Armin.Le.Grand@me.com
--- Comment #1 from Armin Le Grand <Ar...@me.com> 2012-02-09 17:25:03 UTC ---
ALG: Not as easy as it seems. Each entry in SVG may have a title and desc, but
in AOO it is embedded to a single SdrObject (GraphicObject). Thus, it is not
clear which tiltle/desc to take if there are several ones.
It is also not clear how to remember them. It would be possible to create a new
title/desc primitive and add that information to the sequence of primitives, so
it would be later available when breaking the object (and a pure break from
primitives will be available).
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.