Fix #98595# Implementation of rotated number portions
This commit is contained in:
parent
f16962ff58
commit
1c3b33068d
2 changed files with 7 additions and 5 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: inftxt.hxx,v $
|
||||
*
|
||||
* $Revision: 1.34 $
|
||||
* $Revision: 1.35 $
|
||||
*
|
||||
* last change: $Author: fme $ $Date: 2002-05-30 12:44:25 $
|
||||
* last change: $Author: fme $ $Date: 2002-05-30 13:17:57 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -163,7 +163,8 @@ public:
|
|||
// vertical alignment
|
||||
inline USHORT GetVertAlign() const { return nVertAlign; }
|
||||
inline sal_Bool HasSpecialAlign() const
|
||||
{ return SvxParaVertAlignItem::BASELINE != nVertAlign; }
|
||||
{ return SvxParaVertAlignItem::BASELINE != nVertAlign ||
|
||||
SvxParaVertAlignItem::AUTOMATIC != nVertAlign; }
|
||||
|
||||
// friend ostream &operator<<( ostream &rOS, const SwLineInfo &rInf );
|
||||
friend SvStream &operator<<( SvStream &rOS, const SwLineInfo &rInf );
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: itrpaint.cxx,v $
|
||||
*
|
||||
* $Revision: 1.27 $
|
||||
* $Revision: 1.28 $
|
||||
*
|
||||
* last change: $Author: fme $ $Date: 2002-04-12 11:08:29 $
|
||||
* last change: $Author: fme $ $Date: 2002-05-30 13:17:58 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -365,6 +365,7 @@ void SwTxtPainter::DrawTextLine( const SwRect &rPaint, SwSaveClip &rClip,
|
|||
#ifdef VERTICAL_LAYOUT
|
||||
GETGRID( GetTxtFrm()->FindPageFrm() )
|
||||
const sal_Bool bAdjustBaseLine = GetLineInfo().HasSpecialAlign() ||
|
||||
GetTxtFrm()->IsVertical() ||
|
||||
( 0 != pGrid );
|
||||
if ( ! bAdjustBaseLine )
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue