Bug 34443

Summary: feature request: add Image style support to Writer (see comment 7)
Product: LibreOffice Reporter: sasha.libreoffice
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: sasha.libreoffice, stephane.guillou, thomas.lendo
Priority: medium    
Version: 3.3.0 release   
Hardware: Other   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=104635
Whiteboard:
Crash report or crash signature: 119098 Regression By:
Bug Depends on:    
Bug Blocks: 102946    

Description sasha.libreoffice 2011-02-18 05:05:17 UTC
Sometimes I create documents with lot of raster images. These images should be equal by width, hight, contrast and brightness. I should select each of image and manually set many parameters. It is heavy, tiresome and boresome.
It would be more better if I cat set these parameters in style of frame and then change all parameters at once.

Propose add ability to set width, hight, gamma, brightness and contrast in style of frame.
Comment 1 sasha.libreoffice 2011-02-28 01:57:10 UTC
In LibreOffice 3.3.1.2 we can set width, hight and position in style.
But in style is no "Crop" tab.
Comment 2 Cédric Bosdonnat 2011-02-28 05:09:19 UTC
I'm not sure whether it is an easy hack or not, but a starting point to implement that feature is here:

http://opengrok.libreoffice.org/xref/writer/sw/source/ui/fmtui/tmpdlg.cxx#234

I'ld say that this is quite easy, thought there may be some more difficult parts with ODF import / export
Comment 3 Björn Michaelsen 2011-12-23 11:47:27 UTC Comment hidden (obsolete)
Comment 4 sasha.libreoffice 2012-01-02 01:45:10 UTC
remains in LibO 3.5.0 beta 1
Some clarification of needed options:
1) gamma, brightness and contrast
2) GUI for "Change Anchor" (this option we can now set only using "New style from selection" while selected image with needed anchoring)
3) GUI for item in Crop tab (this option we can now set only using "New style from selection" while selected image with needed crop and scale options)
4) GUI for deleting unneeded options (usually needed deleting position of frame)
Comment 5 Joel Madero 2014-07-13 01:33:30 UTC Comment hidden (obsolete)
Comment 6 Thomas Lendo 2017-05-24 08:14:06 UTC
I'm missing Anchor options which you can set in the frame properties dialog but not in the frame style properties dialog.

But the main problem is the mixing of frame and image into the frame style concept. Some properties of the frame options can't be applied to images, e.g. size options or transparency. Some image properties are not available for frame styles, e.g. crop options.


Version: 5.3.3.2
Build ID: 3d9a8b4b4e538a85e0782bd6c2d430bafe583448
CPU Threads: 8; OS Version: Windows 6.2; UI Render: default; Layout Engine: new; Locale: de-DE (de_DE); Calc: CL
Comment 7 Stéphane Guillou (stragu) 2021-07-23 13:40:49 UTC
As I understand it, this issue is about adding Image styles to Writer, because it would be completely impractical to mix all the image settings into the existing Frame styles (there would be many conflicts). This is what Thomas says in Comment 6 too.

As is alluded to in Bug 119098, the enhancement has been considered by developers.

There are a few bug reports about styles for Drawing objects (aka shapes) in Writer, but couldn't find one about adding Image styles, so this here report could be the main one on the topic. I am renaming accordingly, as adding all those settings in Frame styles will not be considered as something that could realistically be implemented, I suspect.