/aoo4110/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() 42 inline KSHORT Width() const { return nWidth; } in Width() 61 nWidth = KSHORT(rSize.Width()); in SvLSize() 62 nHeight = KSHORT(rSize.Height()); in SvLSize() 67 nHeight = KSHORT(rSize.Width()); in SvXSize() 68 nWidth = KSHORT(rSize.Height()); in SvXSize() 73 nWidth = KSHORT(rSize.Width()); in operator =() [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 | itrtxt.hxx | 51 KSHORT nRegDiff; // Zeilenabstand des Registers 79 inline KSHORT RegDiff() const { return nRegDiff; } in RegDiff() 103 void CalcAscentAndHeight( KSHORT &rAscent, KSHORT &rHeight ) const; 137 KSHORT nDropLeft; 138 KSHORT nDropHeight; 139 KSHORT nDropDescent; 169 inline KSHORT GetLineWidth() const in GetLineWidth() 170 { return KSHORT( Right() - GetLeftMargin() + 1 ); } in GetLineWidth() 183 inline KSHORT GetDropLeft() const { return nDropLeft; } in GetDropLeft() 184 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() 286 nNewTabPos = KSHORT(nNextPos); in NewTabPortion() 502 const KSHORT nRight = Min( GetTabPos(), rInf.Width() ); in PostFormat() 505 KSHORT nPorWidth = 0; in PostFormat() 539 KSHORT nNewWidth = nPorWidth /2; in PostFormat() 545 const KSHORT nDiffWidth = nRight - Fix(); in PostFormat() 549 const KSHORT nOldWidth = GetFixWidth(); in PostFormat() 550 const KSHORT nAdjDiff = nDiffWidth - nPorWidth; in PostFormat() 583 const KSHORT nTmpWidth = PrtWidth(); in Paint() 634 KSHORT nChar = Width() / nCharWidth; in Paint() [all …]
|
H A D | txtdrop.cxx | 329 const KSHORT nOldHeight = Height(); in PaintDrop() 330 const KSHORT nOldWidth = Width(); in PaintDrop() 333 const KSHORT nOldPosX = (KSHORT)rInf.X(); in PaintDrop() 474 KSHORT nDropHght = 0; in CalcDropHeight() 475 KSHORT nAscent = 0; in CalcDropHeight() 476 KSHORT nHeight = 0; in CalcDropHeight() 477 KSHORT nDropLns = 0; in CalcDropHeight() 542 KSHORT nAscent = 0; in GuessDropHeight() 543 KSHORT nHeight = 0; in GuessDropHeight() 675 KSHORT nX = 0; in PaintDropPortion() [all …]
|
H A D | inftxt.hxx | 98 KSHORT nDefTabStop; 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 597 inline KSHORT Width() const { return nWidth; } in Width() 611 inline KSHORT RealWidth() const { return nRealWidth; } in RealWidth() 809 inline KSHORT SwTxtSizeInfo::GetAscent() const in GetAscent() [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 | 534 const KSHORT nMinDst, in SwNumberPortion() 638 Height( KSHORT( nDiff ) ); in Format() 641 Width( KSHORT(nDiff) ); in Format() 680 const KSHORT nOldWidth = Width(); in Paint() 729 KSHORT nSpaceOffs = nFixWidth; in Paint() 745 KSHORT nTmpOffset = nOffset; in Paint() 848 Height( KSHORT(nGrfHeight) ); in SwGrfNumPortion() 870 KSHORT nFollowedByWidth( 0 ); in Format() 888 Width( rInf.Width() - (KSHORT)rInf.X() ); in Format() 925 Width( KSHORT(nDiff) ); in Format() [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 | 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() 1587 KSHORT nTmpAscent, nTmpHeight; in FormatLine() 1699 KSHORT nLineHeight = pCurr->Height(); in CalcRealHeight() 1715 KSHORT nAsc = pCurr->GetAscent() + in CalcRealHeight() 1805 KSHORT nDummy = nLineHeight + 1; in CalcRealHeight() 1816 KSHORT nDiff = KSHORT( nTmpY % RegDiff() ); in CalcRealHeight() 1860 rInf.RealWidth( KSHORT(rInf.Right()) - KSHORT(GetLeftMargin()) ); in FeedInf() [all …]
|
H A D | itrcrsr.cxx | 460 KSHORT nX = 0; in GetEndCharRect() 461 KSHORT nLast = 0; in GetEndCharRect() 464 KSHORT nTmpHeight, nTmpAscent; in GetEndCharRect() 466 KSHORT nPorHeight = nTmpHeight; in GetEndCharRect() 467 KSHORT nPorAscent = nTmpAscent; in GetEndCharRect() 547 KSHORT nPorHeight = nTmpHeight; in _GetCharRect() 548 KSHORT nPorAscent = nTmpAscent; in _GetCharRect() 1309 KSHORT nX = KSHORT( x ); in GetCrsrOfst() 1328 KSHORT nWidth = pPor->Width(); in GetCrsrOfst() 1358 KSHORT nWidth30; in GetCrsrOfst() [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 | 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 | txtfly.cxx | 171 KSHORT nTmpHeight = pCurrent->GetRealHeight(); in UpdatePos() 384 rInf.SetLineHeight( KSHORT(nHeight) ); in ChkFlyUnderflow() 411 rInf.SetLineHeight( KSHORT(nHeight) ); in ChkFlyUnderflow() 563 pFly->Height( KSHORT(aInter.Height()) ); in CalcFlyWidth() 576 pFly->Height( KSHORT( nH ) ); in CalcFlyWidth() 579 pFly->SetAscent( KSHORT(nAscent) ); in CalcFlyWidth() 593 pFly->Height( KSHORT(aInter.Height()) ); in CalcFlyWidth() 595 pFly->SetAscent( KSHORT(nAscent) ); in CalcFlyWidth() 677 KSHORT nAscent = 0; in NewFlyCntPortion() 1899 static KSHORT nRadius = 0; in ShowContour() [all …]
|
H A D | pormulti.cxx | 122 KSHORT nAdd = ( nTmp - Height() ) / 2; in CalcSize() 461 KSHORT nTmpAsc = rInf.GetAscent(); in FormatBrackets() 1419 KSHORT nOldX = KSHORT(GetInfo().X()); in PaintMultiPortion() 1453 KSHORT nTmpX = KSHORT(GetInfo().X()); in PaintMultiPortion() 1747 KSHORT nOldX = 0; in BuildMultiPortion() 1754 nOldX = KSHORT(GetInfo().X()); in BuildMultiPortion() 1890 aInf.Width( KSHORT(nActWidth) ); in BuildMultiPortion() 1891 aInf.RealWidth( KSHORT(nActWidth) ); in BuildMultiPortion() 2070 rMulti.Height( KSHORT(nH) ); in BuildMultiPortion() 2071 rMulti.SetAscent( KSHORT(nAsc) ); 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()
|