diff options
author | Justin Luth <justin_luth@sil.org> | 2018-09-07 09:24:01 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2018-09-22 06:27:48 +0200 |
commit | 871795ad598dfccc156e6dd47937638893b727d8 (patch) | |
tree | 943933c3a81caaab922a62f31cf67dbbbfa8c5a4 /svx/source/table/tablelayouter.hxx | |
parent | bb11b48e6a4317a73b52ebf7646339d921fb7641 (diff) |
tdf#117721 draw ui: add .uno::SetOptimalRowHeight
Optimal row height: Adjusts the height of the selected rows
to fit the content, causing the table to shrink.
This really is SetMinimalRowHeight, but until minimize
is also added, it is the most desirable optimization.
Change-Id: I90717b2752027404a85fd5eb01c68279996598ca
Reviewed-on: https://gerrit.libreoffice.org/60129
Reviewed-by: Justin Luth <justin_luth@sil.org>
Tested-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'svx/source/table/tablelayouter.hxx')
-rw-r--r-- | svx/source/table/tablelayouter.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/table/tablelayouter.hxx b/svx/source/table/tablelayouter.hxx index 960541219f9a..701a1eaf66ee 100644 --- a/svx/source/table/tablelayouter.hxx +++ b/svx/source/table/tablelayouter.hxx @@ -96,7 +96,7 @@ public: sal_Int32 getVerticalEdge( int nEdgeX , sal_Int32* pnMin, sal_Int32* pnMax); void DistributeColumns( ::tools::Rectangle& rArea, sal_Int32 nFirstCol, sal_Int32 nLastCol, const bool bOptimize ); - void DistributeRows( ::tools::Rectangle& rArea, sal_Int32 nFirstRow, sal_Int32 nLastRow ); + void DistributeRows( ::tools::Rectangle& rArea, sal_Int32 nFirstRow, sal_Int32 nLastRow, const bool bOptimize ); void dumpAsXml(struct _xmlTextWriter* pWriter) const; private: |