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

V Stuart Foote <vstuart.fo...@utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |libreoffice-ux-advise@lists
                   |                            |.freedesktop.org
          Component|LibreOffice                 |ux-advise
           Assignee|yanp...@gmail.com           |libreoffice-b...@lists.free
                   |                            |desktop.org

--- Comment #5 from V Stuart Foote <vstuart.fo...@utsa.edu> ---
Sorry, it was unclear suggestion was implementing styles based manipulation of
drawing/graphical objects. I was referring to the toolbars--"Drawing" and
"Drawing Object Properties" that are used to directly style any drawing or
graphic object in Draw or Calc. 

In the source code, styles for drawing objects are directly applied from the
"drawingobjectbar". Any drawing or graphic object, existing or newly created,
can be directly modified using that toolbar. In Draw and Impress the same
"drawingobjectbar" is named "Line and Filling" and it has the same default
settings.

Direct styling as set from these toolbars is stateful and is available for
subsequent drawing/graphic objects.

The default color for the Drawing Object Properties toolbar defaults to
Tango:Sky Blue 1 area fill, and Tango:Sky Blue 2 for outline color.

Currently, as suggested by OP, there is no management for styles of drawing
objects in Writer or Calc. But also, there is only a cursory style management
of drawing objects in Draw and Impress.

That consists of just four rudimentary styles which are now provided in the
Sidebar deck from the Styles and Formatting Content Panel--all four were
derived simply from the Drawing Objects Properties/Line and Filling menu but
they can be edited to add additional "styles" to the content panel.

Object with arrow
Object with no fill and no line
Object with shadow
Object without fill

Unfortunately I believe the default for Area fill and Line colors are hard
coded and not customizable in Expert Configuration (drawingobjectbar
attributes) meaning that .uno:FormatArea and .uno:FormatLine will currently
default to Tango:SkyBlue1 and SkyBlue2 respectively.

Three aspects to this enhancement:

1) It should be possible to add the same four default Object styles to the Calc
and Writer Styles and Formatting content panel. Possibly as an addition to the
Paragraph - Character - Frame - Page - List horizontal bar. Or if need be as a
new content panel for Drawings and Graphics.

2) It should be possible to make assignment of default color for Area color and
Line color available either from the Tools -> Options -> Appearance panel, or
from the Tools -> Options ->  Advanced: Expert Configuration dialog.

3) A more comprehensive set of predefined attributes for drawing/graphics
objects could expand the limited set of four now provided.

Over to ux-advise for consideration.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to