Bug 133226 - UI: Styles for images and shapes (for sidebar)
Summary: UI: Styles for images and shapes (for sidebar)
Status: RESOLVED DUPLICATE of bug 89369
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha1+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-21 12:41 UTC by Telesto
Modified: 2020-05-21 18:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-21 12:41:04 UTC
Description:
There are styles for Paragraphs/characters/tables/frames.. but not for images (and shapes)

Should contain something similar as the image dialog.. So anchoring/wrap/, borders, spacing size etc. Follow up on bug 102011

Steps to Reproduce:
-

Actual Results:
No style to apply to image.. you have to it for every image separately

Expected Results:
Styles would make things easier..


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha1
Build ID: 6a03b2a54143a9bc0c6d4c7f1...
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: GL; VCL: osx; 
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 1 V Stuart Foote 2020-05-21 15:14:45 UTC
No, kind of doubt you'd want to style a raster/vector image. 

Rather you would style the Frame that holds it--and that is already provided. Frame Styles.

While image replacement (e.g. Filter to age all images, or convert all to charcoal sketch) also is DF not handled in a Style--but applied to whole document by macro.

Drawing Shape objects are inherently DF, but they also can be placed into a Frame (allowing grouping and movement) and be styled that way. 

Changing the DF area fill and line color of draw shapes can be done via macro or stream-edit.

But I think ODF would support handling a draw:custom-shape reuse of graphic style, allowing reuse of style:graphic-properties svg:stroke-color and draw:fill-color attributes--so maybe UI control for applying Graphic style to Drawing objects is possible?
Comment 2 Regina Henschel 2020-05-21 16:56:33 UTC
Images belong to "frame".

For shapes, there is no problem in ODF, but in LibreOffice.

Custom shapes can have an associated text frame in Writer. No idea yet, how to get that properly to ODF. Related: bug 128120

Text boxes are distinguished from frames by having no custom style in Writer. Before introducing custom styles for text boxes, that needs to be solved.
Related: bug 62836

Frames allow custom styles on their content, text boxes not. That has to be solved too. Related: bug 107963, bug 111921

Besides that, some other related bugs: bug 96706, bug 112055

For all other shapes it would be possible to introduce custom styles in Writer.
Related: bug 115462, bug 115704, bug 129438, bug 89369


I suggest to set this one as duplicate to 89369.
Comment 3 V Stuart Foote 2020-05-21 17:31:23 UTC

*** This bug has been marked as a duplicate of bug 89369 ***