diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-12-18 12:55:55 +0100 |
---|---|---|
committer | Oliver Specht <oliver.specht@cib.de> | 2015-12-18 14:47:10 +0000 |
commit | d95428278d54697064973a70c68fd2c40d174d8a (patch) | |
tree | d0d4b4d6159312d1c06e1f9ed3fa0ccbbed0d0b2 /sw/source/core/docnode/ndtbl1.cxx | |
parent | 9d1ee5a5b4730a6d3da4e8a02a08d1d27e9d27e4 (diff) |
tdf#33477: added support of property VertOrient to cell range
Change-Id: Id8f0c138fb665a19b92f2779aa59ae1778efddc5
Reviewed-on: https://gerrit.libreoffice.org/20789
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'sw/source/core/docnode/ndtbl1.cxx')
-rw-r--r-- | sw/source/core/docnode/ndtbl1.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sw/source/core/docnode/ndtbl1.cxx b/sw/source/core/docnode/ndtbl1.cxx index 99be14a5312e..a95cec88befa 100644 --- a/sw/source/core/docnode/ndtbl1.cxx +++ b/sw/source/core/docnode/ndtbl1.cxx @@ -1213,6 +1213,20 @@ bool SwDoc::GetBoxAttr( const SwCursor& rCursor, SfxPoolItem& rToFill ) else if( rToFill != rDir ) bRet = false; } + break; + case RES_VERT_ORIENT: + { + const SwFormatVertOrient& rOrient = + aBoxes[i]->GetFrameFormat()->GetVertOrient(); + if( !bOneFound ) + { + (SwFormatVertOrient&)rToFill = rOrient; + bOneFound = true; + } + else if( rToFill != rOrient ) + bRet = false; + } + break; } if ( !bRet ) |