diff options
author | Noel Power <noel.power@suse.com> | 2013-02-19 17:29:32 +0000 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-02-19 18:09:24 +0000 |
commit | 2b1aa949539d2fcbb3d349be3c279996630d83fc (patch) | |
tree | 661e8b800eda9c0fcc4b6228e61183e3b05ab033 /sc/inc/table.hxx | |
parent | 0d05957cf0c38abab45030ba172025e4ef318f43 (diff) |
fdo#56276 - resize/reposition rotated shapes in a sensible way
Change-Id: Ifa4f848da21838591daa1f57fb42dfd3f4fa8044
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r-- | sc/inc/table.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index fd2aece5e356..a43c04d3cedf 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -629,12 +629,12 @@ public: // nPPT to test for modification void SetManualHeight( SCROW nStartRow, SCROW nEndRow, bool bManual ); - sal_uInt16 GetColWidth( SCCOL nCol ) const; + sal_uInt16 GetColWidth( SCCOL nCol, bool bHiddenAsZero = true ) const; SC_DLLPUBLIC sal_uInt16 GetRowHeight( SCROW nRow, SCROW* pStartRow = NULL, SCROW* pEndRow = NULL, bool bHiddenAsZero = true ) const; - sal_uLong GetRowHeight( SCROW nStartRow, SCROW nEndRow ) const; + sal_uLong GetRowHeight( SCROW nStartRow, SCROW nEndRow, bool bHiddenAsZero = true ) const; sal_uLong GetScaledRowHeight( SCROW nStartRow, SCROW nEndRow, double fScale ) const; - sal_uLong GetColOffset( SCCOL nCol ) const; - sal_uLong GetRowOffset( SCROW nRow ) const; + sal_uLong GetColOffset( SCCOL nCol, bool bHiddenAsZero = true ) const; + sal_uLong GetRowOffset( SCROW nRow, bool bHiddenAsZero = true ) const; /** * Get the last row such that the height of row 0 to the end row is as @@ -727,7 +727,7 @@ public: SCROW FirstVisibleRow(SCROW nStartRow, SCROW nEndRow) const; SCROW LastVisibleRow(SCROW nStartRow, SCROW nEndRow) const; SCROW CountVisibleRows(SCROW nStartRow, SCROW nEndRow) const; - sal_uInt32 GetTotalRowHeight(SCROW nStartRow, SCROW nEndRow) const; + sal_uInt32 GetTotalRowHeight(SCROW nStartRow, SCROW nEndRow, bool bHiddenAsZero = true) const; SCCOLROW LastHiddenColRow(SCCOLROW nPos, bool bCol) const; |