[Libreoffice-bugs] [Bug 123789] Extend SfxStyleFamily by Shapes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 2 11:53:08 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123789

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #1 from Regina Henschel <rb.henschel at t-online.de> ---
The problem is deeper than adding something to UI. There exists no special
style family for frames but frame and shape styles both belong to the family
'graphic'. The distinction between frame and shape is done by the fact, that
the automatic style which is referenced by the object has a parent style in
case of a frame and does not have a parent style in case of a shape. The parent
style is a custom style and visible in the UI.

Second problem is, that using custom styles is not implemented for shapes in
Writer. Meaning, if you directly refer a custom style in the draw:style-name
attribute of an object, it will make the object to a Writer-object if possible
and will be ignored otherwise. 

You can see what problems this has looking at the attempt to consolidate the
features of Writer-images and Draw-images. Similar hard problems will occur
with Writer-frames and Draw-textboxes.

These problems are homemade and have nothing to do with the ODF specification.

All together I classify it has hard task.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190302/817ece97/attachment-0001.html>


More information about the Libreoffice-bugs mailing list