diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-10-28 18:02:46 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-02-21 10:07:00 +0100 |
commit | a8a34468f9988ef7633a7b63f825cc484b5dc60f (patch) | |
tree | 59bc2137388b43eae1cd1710e1b2182daf63b3a4 /include | |
parent | bc5bf595c1c8fe61ecf461786d0b7ebba7a74f1b (diff) |
tdf#110357: Impress table looses selection when clicking on ...
... Increase \ decrease font button
Change-Id: I52cf853de01b06c6c9db9779f15174f895789da8
Reviewed-on: https://gerrit.libreoffice.org/43962
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/50049
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/sdr/table/tablecontroller.hxx | 3 | ||||
-rw-r--r-- | include/svx/selectioncontroller.hxx | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/svx/sdr/table/tablecontroller.hxx b/include/svx/sdr/table/tablecontroller.hxx index d08f5abc0ceb..1b8d41013325 100644 --- a/include/svx/sdr/table/tablecontroller.hxx +++ b/include/svx/sdr/table/tablecontroller.hxx @@ -100,6 +100,9 @@ public: /// @see sdr::SelectionController::getSelectedCells(). void getSelectedCells( CellPos& rFirstPos, CellPos& rLastPos ) override; void setSelectedCells( const CellPos& rFirstPos, const CellPos& rLastPos ); + + virtual bool ChangeFontSize(bool bGrow, const FontList* pFontList) override; + void clearSelection(); void selectAll(); diff --git a/include/svx/selectioncontroller.hxx b/include/svx/selectioncontroller.hxx index d2fb9c4b9964..7510a830e645 100644 --- a/include/svx/selectioncontroller.hxx +++ b/include/svx/selectioncontroller.hxx @@ -33,6 +33,7 @@ class SfxStyleSheet; class SdrPage; class SdrModel; class Point; +class FontList; namespace sdr { @@ -78,6 +79,8 @@ public: virtual bool setCursorLogicPosition(const Point& rPosition, bool bPoint); /// Get the position of the first and the last selected cell. virtual void getSelectedCells(table::CellPos& rFirstPos, table::CellPos& rLastPos); + /// Changes the font (grow/shrink) according to the input parameters. + virtual bool ChangeFontSize(bool bGrow, const FontList* pFontList); }; } |