Unfloat: Introduce Unfloat table button as a frame control

Desktop / LibreOffice - Tamás Zolnai [collabora.com] - 3 January 2019 20:45 EST

Use the same button style and color what LO uses for header/footer button. Later it might be a good idea to have a separate configurable color for this button, but for now it's seems unneeded to introduce a new configure option for this.

Change-Id: Idf86aaa44e29846a2ee211a81fe5376b4335bb05 Reviewed-on: https://gerrit.libreoffice.org/65818

021c3a0ee1c9 Unfloat: Introduce Unfloat table button as a frame control
sw/Library_sw.mk | 1 +
sw/inc/fesh.hxx | 3 +-
sw/inc/strings.hrc | 2 +
sw/inc/swtypes.hxx | 3 +-
sw/source/uibase/docvw/FloatingTableButton.cxx | 117 ++++++++++++++++++++++++
sw/source/uibase/docvw/FrameControlsManager.cxx | 43 ++++++++-
sw/source/uibase/docvw/HeaderFooterWin.cxx | 79 ++++++++--------
sw/source/uibase/inc/FloatingTableButton.hxx | 37 ++++++++
sw/source/uibase/inc/FrameControlsManager.hxx | 1 +
sw/source/uibase/inc/HeaderFooterWin.hxx | 10 ++
10 files changed, 256 insertions(+), 40 deletions(-)

Upstream: cgit.freedesktop.org


  • Share