| /trunk/main/sw/source/core/text/ |
| H A D | possiz.hxx | 33 KSHORT nWidth; 34 KSHORT nHeight; 36 inline SwPosSize( const KSHORT nW = 0, const KSHORT nH = 0 ) in SwPosSize() 39 : nWidth(KSHORT(rSize.Width())), nHeight(KSHORT(rSize.Height())){ } in SwPosSize() 40 inline KSHORT Height() const { return nHeight; } in Height() 41 inline void Height( const KSHORT nNew ) { nHeight = nNew; } in Height() 42 inline KSHORT Width() const { return nWidth; } in Width() 43 inline void Width( const KSHORT nNew ) { nWidth = nNew; } in Width() 61 nWidth = KSHORT(rSize.Width()); in SvLSize() 62 nHeight = KSHORT(rSize.Height()); in SvLSize() [all …]
|
| H A D | itrtxt.hxx | 51 KSHORT nRegDiff; // Zeilenabstand des Registers 79 inline KSHORT RegDiff() const { return nRegDiff; } in RegDiff() 102 inline KSHORT GetLineHeight() const { return pCurr->GetRealHeight(); } in GetLineHeight() 103 void CalcAscentAndHeight( KSHORT &rAscent, KSHORT &rHeight ) const; 137 KSHORT nDropLeft; 138 KSHORT nDropHeight; 139 KSHORT nDropDescent; 150 inline void SetDropLeft( const KSHORT nNew ) { nDropLeft = nNew; } in SetDropLeft() 169 inline KSHORT GetLineWidth() const in GetLineWidth() 170 { return KSHORT( Right() - GetLeftMargin() + 1 ); } in GetLineWidth() [all …]
|
| H A D | pordrop.hxx | 72 KSHORT nDropHeight; // Hoehe 73 KSHORT nDropDescent; // Abstand zur naechsten Zeile 74 KSHORT nDistance; // Abstand zum Text 75 KSHORT nFix; // Fixposition 82 inline void Fix( const KSHORT nNew ) { nFix = nNew; } in Fix() 85 const KSHORT nDropHeight, 86 const KSHORT nDropDescent, 87 const KSHORT nDistance ); 97 inline KSHORT GetDistance() const { return nDistance; } in GetDistance() 98 inline KSHORT GetDropHeight() const { return nDropHeight; } in GetDropHeight() [all …]
|
| H A D | porglue.hxx | 40 KSHORT nFixWidth; 42 SwGluePortion( const KSHORT nInitFixWidth ); 47 inline KSHORT GetFixWidth() const { return nFixWidth; } in GetFixWidth() 48 inline void SetFixWidth( const KSHORT nNew ) { nFixWidth = nNew; } in SetFixWidth() 54 virtual xub_StrLen GetCrsrOfst( const KSHORT nOfst ) const; 67 KSHORT nFix; // der Width-Offset in der Zeile 70 SwFixPortion( const KSHORT nFixWidth, const KSHORT nFixPos ); 71 inline void Fix( const KSHORT nNewFix ) { nFix = nNewFix; } in Fix() 72 inline KSHORT Fix() const { return nFix; } in Fix() 83 SwMarginPortion( const KSHORT nFixWidth );
|
| H A D | txttab.cxx | 96 KSHORT nNewTabPos; in NewTabPortion() 183 KSHORT nDefTabDist = aLineInf.GetDefTabStop(); in NewTabPortion() 190 nDefTabDist = (KSHORT)rTab.GetStart()->GetTabPos(); in NewTabPortion() 286 nNewTabPos = KSHORT(nNextPos); in NewTabPortion() 337 SwTabPortion::SwTabPortion( const KSHORT nTabPosition, const xub_Unicode cFillChar ) in SwTabPortion() 502 const KSHORT nRight = Min( GetTabPos(), rInf.Width() ); in PostFormat() 505 KSHORT nPorWidth = 0; in PostFormat() 520 …KSHORT nPrePorWidth = static_cast<const SwTabDecimalPortion*>(this)->GetWidthOfPortionsUpToDecimal… in PostFormat() 539 KSHORT nNewWidth = nPorWidth /2; in PostFormat() 545 const KSHORT nDiffWidth = nRight - Fix(); in PostFormat() [all …]
|
| H A D | txtdrop.cxx | 124 const KSHORT nDrpHeight, in SwDropPortion() 125 const KSHORT nDrpDescent, in SwDropPortion() 126 const KSHORT nDist ) in SwDropPortion() 329 const KSHORT nOldHeight = Height(); in PaintDrop() 330 const KSHORT nOldWidth = Width(); in PaintDrop() 331 const KSHORT nOldAscent = GetAscent(); in PaintDrop() 333 const KSHORT nOldPosX = (KSHORT)rInf.X(); in PaintDrop() 462 xub_StrLen SwDropPortion::GetCrsrOfst( const KSHORT ) const in GetCrsrOfst() 474 KSHORT nDropHght = 0; in CalcDropHeight() 475 KSHORT nAscent = 0; in CalcDropHeight() [all …]
|
| H A D | inftxt.hxx | 98 KSHORT nDefTabStop; 119 inline KSHORT GetDefTabStop() const { return nDefTabStop; } in GetDefTabStop() 120 inline void SetDefTabStop( KSHORT nNew ) const in SetDefTabStop() 294 inline KSHORT GetTxtHeight() const; 321 inline KSHORT GetAscent() const; 546 KSHORT nRealWidth; // "echte" Zeilenbreite 547 KSHORT nWidth; // "virtuelle" Zeilenbreite 548 KSHORT nLineHeight; // endgueltige Hoehe nach CalcLine 549 KSHORT nLineNettoHeight; // line height without spacing 550 KSHORT nForcedLeftMargin; // Verschiebung des linken Rands wg. Rahmen [all …]
|
| H A D | porglue.cxx | 45 SwGluePortion::SwGluePortion( const KSHORT nInitFixWidth ) in SwGluePortion() 56 xub_StrLen SwGluePortion::GetCrsrOfst( const KSHORT nOfst ) const in GetCrsrOfst() 174 :SwGluePortion( KSHORT(rRect.Width()) ), nFix( KSHORT(rRect.Left()) ) in SwFixPortion() 176 Height( KSHORT(rRect.Height()) ); in SwFixPortion() 180 SwFixPortion::SwFixPortion(const KSHORT nFixedWidth, const KSHORT nFixedPos) in SwFixPortion() 190 SwMarginPortion::SwMarginPortion( const KSHORT nFixedWidth ) in SwMarginPortion() 237 KSHORT nRightGlue = pRight && 0 < pRight->GetPrtGlue() in AdjustRight() 238 ? KSHORT(pRight->GetPrtGlue()) : 0; in AdjustRight()
|
| H A D | porlin.hxx | 71 KSHORT nAscent; // Maximaler Ascender 90 inline KSHORT &GetAscent() { return nAscent; } in GetAscent() 91 inline KSHORT GetAscent() const { return nAscent; } in GetAscent() 92 inline void SetAscent( const KSHORT nNewAsc ) { nAscent = nNewAsc; } in SetAscent() 93 inline void PrtWidth( KSHORT nNewWidth ) { Width( nNewWidth ); } in PrtWidth() 94 inline KSHORT PrtWidth() const { return Width(); } in PrtWidth() 95 inline void AddPrtWidth( const KSHORT nNew ) { Width( Width() + nNew ); } in AddPrtWidth() 96 inline void SubPrtWidth( const KSHORT nNew ) { Width( Width() - nNew ); } in SubPrtWidth() 165 virtual xub_StrLen GetCrsrOfst( const KSHORT nOfst ) const; 186 virtual KSHORT GetViewWidth( const SwTxtSizeInfo &rInf ) const;
|
| H A D | portab.hxx | 34 const KSHORT nTabPos; 40 SwTabPortion( const KSHORT nTabPos, const xub_Unicode cFill = '\0' ); 46 inline KSHORT GetTabPos() const { return nTabPos; } in GetTabPos() 61 inline SwTabLeftPortion( const KSHORT nTabPosVal, const xub_Unicode cFillChar='\0' ) in SwTabLeftPortion() 74 inline SwTabRightPortion( const KSHORT nTabPosVal, const xub_Unicode cFillChar='\0' ) in SwTabRightPortion() 87 inline SwTabCenterPortion( const KSHORT nTabPosVal, const xub_Unicode cFillChar='\0' ) in SwTabCenterPortion() 109 inline SwTabDecimalPortion( const KSHORT nTabPosVal, const xub_Unicode cTab, in SwTabDecimalPortion() 138 inline SwAutoTabDecimalPortion( const KSHORT nTabPosVal, const xub_Unicode cTab, in SwAutoTabDecimalPortion()
|
| H A D | porlin.cxx | 84 KSHORT SwLinePortion::GetViewWidth( const SwTxtSizeInfo & ) const in GetViewWidth() 110 const KSHORT nViewWidth = GetViewWidth( rInf ); in PrePaint() 115 const KSHORT nHalfView = nViewWidth / 2; in PrePaint() 121 KSHORT nPos; in PrePaint() 134 nPos = KSHORT( rInf.X() ); in PrePaint() 140 nPos = KSHORT( rInf.Y() ); in PrePaint() 146 nPos = KSHORT( rInf.X() ); in PrePaint() 152 nPos = KSHORT( rInf.Y() ); in PrePaint() 284 xub_StrLen SwLinePortion::GetCrsrOfst( const KSHORT nOfst ) const in GetCrsrOfst() 331 const KSHORT nNewWidth = static_cast<sal_uInt16>(rInf.X() + PrtWidth()); in Format()
|
| H A D | porfld.hxx | 47 KSHORT nViewWidth; // Screenbreite fuer leere Felder 84 virtual KSHORT GetViewWidth( const SwTxtSizeInfo &rInf ) const; 145 KSHORT nFixWidth; // vgl. Glues 146 KSHORT nMinDist; // minimaler Abstand zum Text 157 const KSHORT nMinDst, 183 const KSHORT nMinDst, 207 const KSHORT nMinDst, 255 virtual KSHORT GetViewWidth( const SwTxtSizeInfo &rInf ) const;
|
| H A D | itradj.cxx | 575 KSHORT nPrtWidth = pCurrent->PrtWidth(); in CalcRightMargin() 608 pRight->PrtWidth( KSHORT( nRealWidth - nPrtWidth ) ); in CalcRightMargin() 618 pCurrent->PrtWidth( KSHORT( nRealWidth ) ); in CalcRightMargin() 765 const KSHORT nCurrWidth = pCurr->PrtWidth(); in CalcFlyPortion() 793 KSHORT nLocalWidth = KSHORT( aLocal.Left() + aLocal.Width() ); in CalcFlyPortion() 798 pFlyPortion->Height( KSHORT( rCurrRect.Height() ) ); in CalcFlyPortion() 847 const KSHORT nDropLineStart = in CalcDropAdjust() 848 KSHORT(GetLineStart()) + pLeft->Width() + pDropPor->Width(); in CalcDropAdjust() 849 KSHORT nMinLeft = nDropLineStart; in CalcDropAdjust() 864 const KSHORT nLineStart = in CalcDropAdjust() [all …]
|
| H A D | porfld.cxx | 125 KSHORT SwFldPortion::GetViewWidth( const SwTxtSizeInfo &rInf ) const in GetViewWidth() 533 const KSHORT nMinDst, in SwNumberPortion() 637 Height( KSHORT( nDiff ) ); in Format() 640 Width( KSHORT(nDiff) ); in Format() 679 const KSHORT nOldWidth = Width(); in Paint() 728 KSHORT nSpaceOffs = nFixWidth; in Paint() 744 KSHORT nTmpOffset = nOffset; in Paint() 793 const KSHORT nMinDst, in SwBulletPortion() 815 const sal_Bool bLft, const sal_Bool bCntr, const KSHORT nMinDst, in SwGrfNumPortion() 847 Height( KSHORT(nGrfHeight) ); in SwGrfNumPortion() [all …]
|
| H A D | itrform2.cxx | 149 KSHORT SwTxtFormatter::GetFrmRstHeight() const in GetFrmRstHeight() 163 return KSHORT( nHeight ); in GetFrmRstHeight() 960 KSHORT nExpect = Min( KSHORT( ((Font *)pTmpFnt)->GetSize().Height() ), in NewTxtPortion() 961 KSHORT( pPor->GetAscent() ) ) / 8; in NewTxtPortion() 1503 const KSHORT nOldHeight = pCurr->Height(); in FormatLine() 1504 const KSHORT nOldAscent = pCurr->GetAscent(); in FormatLine() 1587 KSHORT nTmpAscent, nTmpHeight; in FormatLine() 1699 KSHORT nLineHeight = pCurr->Height(); in CalcRealHeight() 1715 KSHORT nAsc = pCurr->GetAscent() + in CalcRealHeight() 1758 if( nLineHeight < KSHORT( pSpace->GetLineHeight() ) ) in CalcRealHeight() [all …]
|
| H A D | pormulti.hxx | 67 KSHORT nAscent; // Ascent of the brackets 68 KSHORT nHeight; // Height of them 69 KSHORT nPreWidth; // Width of the opening bracket 70 KSHORT nPostWidth; // Width of the closing bracket 170 inline KSHORT PreWidth() const { return pBracket->nPreWidth; }; in PreWidth() 171 inline KSHORT PostWidth() const { return pBracket->nPostWidth; } in PostWidth() 174 inline KSHORT BracketWidth(){ return PreWidth() + PostWidth(); } in BracketWidth()
|
| H A D | itrcrsr.cxx | 283 if( nFirstLineOfs < KSHORT( pSpace->GetLineHeight() ) ) in CtorInitTxtMargin() 308 nFirstLineOfs = (KSHORT)nTmp; in CtorInitTxtMargin() 464 KSHORT nX = 0; in GetEndCharRect() 465 KSHORT nLast = 0; in GetEndCharRect() 468 KSHORT nTmpHeight, nTmpAscent; in GetEndCharRect() 470 KSHORT nPorHeight = nTmpHeight; in GetEndCharRect() 471 KSHORT nPorAscent = nTmpAscent; in GetEndCharRect() 525 KSHORT nTmpAscent, nTmpHeight; // Zeilenhoehe in _GetCharRect() 551 KSHORT nPorHeight = nTmpHeight; in _GetCharRect() 552 KSHORT nPorAscent = nTmpAscent; in _GetCharRect() [all …]
|
| H A D | porfly.hxx | 41 KSHORT nBlankWidth; 45 inline KSHORT GetBlankWidth( ) const { return nBlankWidth; } in GetBlankWidth() 46 inline void SetBlankWidth( const KSHORT nNew ) { nBlankWidth = nNew; } in SetBlankWidth() 63 virtual xub_StrLen GetCrsrOfst( const KSHORT nOfst ) const; 93 xub_StrLen GetFlyCrsrOfst( const KSHORT nOfst, const Point &rPoint,
|
| H A D | portxt.hxx | 48 virtual xub_StrLen GetCrsrOfst( const KSHORT nOfst ) const; 73 virtual KSHORT GetViewWidth( const SwTxtSizeInfo &rInf ) const; 89 KSHORT nBlankWidth; 92 inline KSHORT GetBlankWidth( ) const { return nBlankWidth; } in GetBlankWidth() 93 inline void SetBlankWidth( const KSHORT nNew ) { nBlankWidth = nNew; } in SetBlankWidth()
|
| H A D | txtfly.cxx | 171 KSHORT nTmpHeight = pCurrent->GetRealHeight(); in UpdatePos() 172 KSHORT nAscent = pCurrent->GetAscent() + nTmpHeight - pCurrent->Height(); in UpdatePos() 384 rInf.SetLineHeight( KSHORT(nHeight) ); in ChkFlyUnderflow() 386 rInf.SetLineNettoHeight( KSHORT( pCurr->Height() ) ); in ChkFlyUnderflow() 396 rInf.SetLineHeight( KSHORT(nHeight) ); in ChkFlyUnderflow() 397 rInf.SetLineNettoHeight( KSHORT( pCurr->Height() ) ); in ChkFlyUnderflow() 411 rInf.SetLineHeight( KSHORT(nHeight) ); in ChkFlyUnderflow() 412 rInf.SetLineNettoHeight( KSHORT( pCurr->Height() ) ); in ChkFlyUnderflow() 563 pFly->Height( KSHORT(aInter.Height()) ); in CalcFlyWidth() 576 pFly->Height( KSHORT( nH ) ); in CalcFlyWidth() [all …]
|
| H A D | porrst.cxx | 93 xub_StrLen SwBreakPortion::GetCrsrOfst( const KSHORT ) const in GetCrsrOfst() 96 KSHORT SwBreakPortion::GetViewWidth( const SwTxtSizeInfo & ) const in GetViewWidth() 361 sal_Bool SwTxtFrm::FillRegister( SwTwips& rRegStart, KSHORT& rRegDiff ) in FillRegister() 413 KSHORT nNettoHeight = rRegDiff; in FillRegister() 421 if( rRegDiff < KSHORT( rSpace.GetLineHeight() ) ) in FillRegister() 441 rRegDiff = (KSHORT)nTmp; in FillRegister() 570 KSHORT SwControlCharPortion::GetViewWidth( const SwTxtSizeInfo& rInf ) const in GetViewWidth()
|
| H A D | pormulti.cxx | 119 KSHORT nTmp = ((SwDoubleLinePortion*)this)->GetBrackets()->nHeight; in CalcSize() 122 KSHORT nAdd = ( nTmp - Height() ) / 2; in CalcSize() 372 KSHORT nChWidth = bOpen ? PreWidth() : PostWidth(); in PaintBracket() 461 KSHORT nTmpAsc = rInf.GetAscent(); in FormatBrackets() 710 KSHORT nLeft = 0; // the space in front of the first letter in _Adjust() 711 KSHORT nRight = 0; // the space at the end of the last letter in _Adjust() 1418 KSHORT nOldX = KSHORT(GetInfo().X()); in PaintMultiPortion() 1452 KSHORT nTmpX = KSHORT(GetInfo().X()); in PaintMultiPortion() 1746 KSHORT nOldX = 0; in BuildMultiPortion() 1753 nOldX = KSHORT(GetInfo().X()); in BuildMultiPortion() [all …]
|
| H A D | porftn.hxx | 39 KSHORT nOrigHeight; 46 KSHORT nOrig = KSHRT_MAX ); 47 inline KSHORT& Orig() { return nOrigHeight; } in Orig() 112 virtual xub_StrLen GetCrsrOfst( const KSHORT nOfst ) const;
|
| H A D | porrst.hxx | 57 virtual KSHORT GetViewWidth( const SwTxtSizeInfo &rInf ) const; 124 KSHORT nInnerWidth; 129 inline KSHORT GetInnerWidth() const { return nInnerWidth; } in GetInnerWidth() 169 virtual KSHORT GetViewWidth( const SwTxtSizeInfo& rInf ) const;
|
| H A D | txtftn.cxx | 865 KSHORT nReal; in NewFtnPortion() 867 KSHORT nOldReal = pCurr->GetRealHeight(); in NewFtnPortion() 868 KSHORT nOldAscent = pCurr->GetAscent(); in NewFtnPortion() 869 KSHORT nOldHeight = pCurr->Height(); in NewFtnPortion() 1140 KSHORT nLastLeft = 0; in FormatQuoVadis() 1151 const KSHORT nOldRealWidth = rInf.RealWidth(); in FormatQuoVadis() 1274 pCurr->Width( pCurr->Width() + KSHORT( nQuoWidth ) ); in FormatQuoVadis() 1306 KSHORT nRstHeight = GetFrmRstHeight(); in MakeDummyLine() 1423 SwTxtFtn *pFootn, KSHORT nReal ) in SwFtnPortion() 1614 xub_StrLen SwErgoSumPortion::GetCrsrOfst( const KSHORT ) const in GetCrsrOfst()
|