https://bugs.documentfoundation.org/show_bug.cgi?id=171642
Bug ID: 171642
Summary: SmartArt new, FILEOPEN PPTX: Unsuitable names for
diagram shapes
Product: LibreOffice
Version: 26.8.0.0 alpha0+ master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Impress
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 206550
--> https://bugs.documentfoundation.org/attachment.cgi?id=206550&action=edit
File to reproduce the described problems
This is a problem in the new SmartArt implementation. Thus it needs
experimental features ON and environment variable
ACTIVATE_ADVANCED_DIAGRAM_FEATURES=1
Open attached file. Open the Navigator. Notice, that the shapes of the diagram
have names corresponding to internal names in the pptx file. Users of
PowerPoint cannot name shapes within a diagram; they can only name the diagram
as whole. However, LibreOffice allows the user to name the shapes of a diagram.
This results in two problems:
(A)
If a user renames the shapes of the diagram, the changes are not persistent,
but will be overwritten with save and reload. That is bad user experience. A
user made change should be persistent, add least in ODF format. A user should
not see internal identifiers at all.
(B)
If a user changes the diagram, e.g. changing a shape color, then not the
original diagram markup is used but our own. When the user then renames the
background shape of the diagram, there will be a second background shape after
save and reload, one with the generated name and one with the user given name.
The uno properties pair CustomShapeEngine/CustomShapeData might be usable to
hold the internal Ids needed for generating the diagram data for PowerPoint.
These properties are attributes draw:engine (19.146, part3 ODF) and draw:data
(19.131, part3 ODF) of the element <draw:custom-shape> (10.6.1, part3 ODF), so
can be easily preserved in ODF. These properties are not available in the UI
but only per macro.
For the name of the shapes of a diagram use human understandable names as
default. You could start with the name of the diagram followed by a numeration,
as default for import from pptx. That would be e.g. myDiagram_shape_1,
myDiagram_shape_2 ... However, user defined names need to be possible when
working in ODF format.
--
You are receiving this mail because:
You are the assignee for the bug.