Add Redaction Toolbar

Desktop / LibreOffice - Muhammet Kara [collabora.com] - 25 January 2019 11:47 EST

- Consists of .uno:Rect, .uno:LineToolbox, and .uno:ExportDirectToPDF
- Automatically shown when we are in the redaction process
- Customizes the rectangle tool for our needs

Also:
- Adds new parameters to the SID_DRAW_RECT (.uno:Rect) to be able to set transparancy, fill color, and line/border style, and to make our button sticky/permanent

Known problem: Button's icon is not shown after adding the parameters

Change-Id: I7928264415769f7e0a4ded171b864adb99aed442 Reviewed-on: https://gerrit.libreoffice.org/66706

d051eef11198 Add Redaction Toolbar
.../org/openoffice/Office/UI/DrawWindowState.xcu | 11 +++
sd/UIConfig_sdraw.mk | 1 +
sd/source/ui/func/fuconrec.cxx | 97 ++++++++++++++++++++--
sd/source/ui/inc/fuconrec.hxx | 6 ++
sd/uiconfig/sdraw/toolbar/redactionbar.xml | 25 ++++++
sfx2/source/doc/objserv.cxx | 29 +++++++
svx/sdi/svx.sdi | 5 +-
7 files changed, 168 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share