Lines Matching refs:sal_uInt16

103 	sal_uInt16		nTabPortion;
160 sal_uInt16 nIndex, in lcl_DrawRedLines()
161 sal_uInt16 nMaxEnd, in lcl_DrawRedLines()
174 sal_uInt16 nStyle; in lcl_DrawRedLines()
182 sal_uInt16 nEnd, nStart = nIndex; in lcl_DrawRedLines()
292 for ( sal_uInt16 nView = 0; nView < aEditViews.Count(); nView++ ) in UpdateViews()
342 for( sal_uInt16 nView = 0; nView < aEditViews.Count(); nView++ ) in IMPL_LINK_INLINE_START()
476 for ( sal_uInt16 nView = 0; nView < aEditViews.Count(); nView++ ) in FormatDoc()
580 for ( sal_uInt16 nView = 0; nView < aEditViews.Count(); nView++ ) in CheckAutoPageSize()
652 const sal_uInt16 nInvalidStart = pParaPortion->GetInvalidPosStart(); in CreateLines()
653 const sal_uInt16 nInvalidEnd = nInvalidStart + Abs( nInvalidDiff ); in CreateLines()
666 sal_uInt16 nStart = nInvalidStart; // DOPPELT !!!!!!!!!!!!!!! in CreateLines()
667 sal_uInt16 nEnd = nStart - nInvalidDiff; // neg. in CreateLines()
669 sal_uInt16 nPos = 0; in CreateLines()
670 sal_uInt16 nPortions = pParaPortion->GetTextPortions().Count(); in CreateLines()
671 for ( sal_uInt16 nTP = 0; nTP < nPortions; nTP++ ) in CreateLines()
694 sal_uInt16 nRealInvalidStart = nInvalidStart; in CreateLines()
718 sal_uInt16 nLine = pParaPortion->GetLines().Count()-1; in CreateLines()
719 for ( sal_uInt16 nL = 0; nL <= nLine; nL++ ) in CreateLines()
742 pParaPortion->SetBulletX( (sal_uInt16) GetXValue( aBulletArea.Right() ) ); in CreateLines()
750 sal_uInt16 nDelFromLine = 0xFFFF; in CreateLines()
753 sal_uInt16 nIndex = pLine->GetStart(); in CreateLines()
772 sal_uInt16 nPortionStart = 0; in CreateLines()
773 sal_uInt16 nPortionEnd = 0; in CreateLines()
816 sal_uInt16 nTmpPos = nIndex; in CreateLines()
817 sal_uInt16 nTmpPortion = pLine->GetStartPortion(); in CreateLines()
845 sal_uInt16 nLineHeight = aTempFormatterMetrics.GetHeight(); in CreateLines()
872 sal_uInt16 n = 0; in CreateLines()
933 sal_uInt16 nWhich = pNextFeature->GetItem()->Which(); in CreateLines()
1067 sal_uInt16 nLen = pPortion->GetLen(); in CreateLines()
1070 sal_uInt16 nPos = nTmpPos - pLine->GetStart(); in CreateLines()
1082 sal_uInt16 _nPortionEnd = nTmpPos + pPortion->GetLen(); in CreateLines()
1086 sal_uInt16 nScriptTypeLeft = GetScriptType( EditPaM( pNode, _nPortionEnd ) ); in CreateLines()
1087 sal_uInt16 nScriptTypeRight = GetScriptType( EditPaM( pNode, _nPortionEnd+1 ) ); in CreateLines()
1105 for ( sal_uInt16 n = aCurrentTab.nTabPortion+1; n <= nTmpPortion; n++ ) in CreateLines()
1124 sal_uInt16 nDecPos = aText.Search( aCurrentTab.aTabStop.GetDecimal() ); in CreateLines()
1180 sal_uInt16 nP = SplitTextPortion( pParaPortion, nTmpPos, pLine ); in CreateLines()
1224 pLine->SetEndPortion( (sal_uInt16)pParaPortion->GetTextPortions().Count() - 1 ); in CreateLines()
1276 pLine->SetHeight( (sal_uInt16)aTextSize.Height() ); in CreateLines()
1284 sal_uInt16 nTPos = pLine->GetStart(); in CreateLines()
1285 for ( sal_uInt16 nP = pLine->GetStartPortion(); nP <= pLine->GetEndPortion(); nP++ ) in CreateLines()
1298 sal_uInt16 nLineHeight = aFormatterMetrics.GetHeight(); in CreateLines()
1315 sal_uInt16 nMinHeight = GetYValue( rLSItem.GetLineHeight() ); in CreateLines()
1316 sal_uInt16 nTxtHeight = pLine->GetHeight(); in CreateLines()
1321 pLine->SetMaxAscent( (sal_uInt16)(pLine->GetMaxAscent() + nDiff) ); in CreateLines()
1333 sal_uInt16 nTxtHeight = pLine->GetHeight(); in CreateLines()
1341 pLine->SetMaxAscent( (sal_uInt16)(pLine->GetMaxAscent() - nDiff) ); in CreateLines()
1342 pLine->SetHeight( (sal_uInt16)nH, nTxtHeight ); in CreateLines()
1348 sal_uInt16 nTxtHeight = pLine->GetHeight(); in CreateLines()
1355 pLine->SetMaxAscent( (sal_uInt16)nMaxAscent ); in CreateLines()
1356 pLine->SetHeight( (sal_uInt16)nH, nTxtHeight ); in CreateLines()
1404 sal_uInt16 nPosInArray = pLine->GetEnd()-1-pLine->GetStart(); in CreateLines()
1418 pLine->SetStartPosX( (sal_uInt16)n ); in CreateLines()
1432 pLine->SetStartPosX( (sal_uInt16)n ); in CreateLines()
1440 pLine->SetStartPosX( (sal_uInt16)nStartX ); in CreateLines()
1447 pLine->SetStartPosX( (sal_uInt16)nStartX ); // FI, LI in CreateLines()
1461 sal_uInt16 nLen = pLine->GetLen(); in CreateLines()
1462 sal_uInt16 nCount = pLine->GetCharPosArray().Count(); in CreateLines()
1470 pLine->SetStartPosX( (sal_uInt16) ( pLine->GetStartPosX() + nTextXOffset ) ); in CreateLines()
1473 …pLine->SetHeight( (sal_uInt16) ( pLine->GetHeight() + nTextExtraYOffset ), 0, pLine->GetHeight() ); in CreateLines()
1474 pLine->SetMaxAscent( (sal_uInt16) ( pLine->GetMaxAscent() + nTextExtraYOffset ) ); in CreateLines()
1495 sal_uInt16 nStart = pLine->GetStart(); in CreateLines()
1496 sal_uInt16 nEnd = pLine->GetEnd(); in CreateLines()
1535 sal_uInt16 nEndPortion = pLine->GetEndPortion(); in CreateLines()
1621 pParaPortion->SetBulletX( (sal_uInt16) GetXValue( aBulletArea.Right() ) ); in CreateAndInsertEmptyLine()
1644 pTmpLine->SetHeight( (sal_uInt16) pDummyPortion->GetSize().Height() ); in CreateAndInsertEmptyLine()
1645 sal_uInt16 nLineHeight = aFormatterMetrics.GetHeight(); in CreateAndInsertEmptyLine()
1672 sal_uInt16 nMinHeight = rLSItem.GetLineHeight(); in CreateAndInsertEmptyLine()
1673 sal_uInt16 nTxtHeight = pTmpLine->GetHeight(); in CreateAndInsertEmptyLine()
1678 pTmpLine->SetMaxAscent( (sal_uInt16)(pTmpLine->GetMaxAscent() + nDiff) ); in CreateAndInsertEmptyLine()
1691 sal_uInt16 nTxtHeight = pTmpLine->GetHeight(); in CreateAndInsertEmptyLine()
1699 pTmpLine->SetMaxAscent( (sal_uInt16)(pTmpLine->GetMaxAscent() - nDiff) ); in CreateAndInsertEmptyLine()
1700 pTmpLine->SetHeight( (sal_uInt16)nH, nTxtHeight ); in CreateAndInsertEmptyLine()
1706 sal_uInt16 nTxtHeight = pTmpLine->GetHeight(); in CreateAndInsertEmptyLine()
1713 pTmpLine->SetMaxAscent( (sal_uInt16)nMaxAscent ); in CreateAndInsertEmptyLine()
1714 pTmpLine->SetHeight( (sal_uInt16)nH, nTxtHeight ); in CreateAndInsertEmptyLine()
1726 pTmpLine->SetMaxAscent( (sal_uInt16)(pTmpLine->GetMaxAscent() + nDiff/2) ); in CreateAndInsertEmptyLine()
1727 pTmpLine->SetHeight( (sal_uInt16)nMinHeight ); in CreateAndInsertEmptyLine()
1740 sal_uInt16 nPos = (sal_uInt16) pParaPortion->GetTextPortions().Count() - 1 ; in CreateAndInsertEmptyLine()
1761 …ne( ParaPortion* pParaPortion, EditLine* pLine, TextPortion* pPortion, sal_uInt16 nPortionStart, l… in ImpBreakLine()
1765 sal_uInt16 nBreakInLine = nPortionStart - pLine->GetStart(); in ImpBreakLine()
1766 sal_uInt16 nMax = nBreakInLine + pPortion->GetLen(); in ImpBreakLine()
1770 sal_uInt16 nMaxBreakPos = nBreakInLine + pLine->GetStart(); in ImpBreakLine()
1771 sal_uInt16 nBreakPos = 0xFFFF; in ImpBreakLine()
1787 sal_uInt16 nMinBreakPos = pLine->GetStart(); in ImpBreakLine()
1788 sal_uInt16 nAttrs = pNode->GetCharAttribs().GetAttribs().Count(); in ImpBreakLine()
1789 for ( sal_uInt16 nAttr = nAttrs; nAttr; ) in ImpBreakLine()
1817 nBreakPos = (sal_uInt16)aLBR.breakIndex; in ImpBreakLine()
1858 sal_uInt16 nWordStart = nBreakPos; in ImpBreakLine()
1859 sal_uInt16 nWordEnd = (sal_uInt16) aBoundary.endPos; in ImpBreakLine()
1862 sal_uInt16 nWordLen = nWordEnd - nWordStart; in ImpBreakLine()
1868 sal_uInt16 nMinTrail = nWordEnd-nMaxBreakPos+1; //+1: Vor dem angeknacksten Buchstaben in ImpBreakLine()
1875 sal_uInt16 _nWordLen = 1 + xHyphWord->getHyphenPos(); in ImpBreakLine()
1902 sal_uInt16 nAltStart = _nWordLen - 1; in ImpBreakLine()
1903 sal_uInt16 nTxtStart = nAltStart - (aAlt.Len() - aWord.Len()); in ImpBreakLine()
1904 sal_uInt16 nTxtEnd = nTxtStart; in ImpBreakLine()
1905 sal_uInt16 nAltEnd = nAltStart; in ImpBreakLine()
1957 sal_uInt16 nEndPortion = SplitTextPortion( pParaPortion, nBreakPos, pLine ); in ImpBreakLine()
1974 sal_uInt16 nPosInArray = nBreakPos - 1 - pLine->GetStart(); in ImpBreakLine()
2020 const sal_uInt16 nFirstChar = pLine->GetStart(); in ImpAdjustBlocks()
2021 const sal_uInt16 nLastChar = pLine->GetEnd() -1; // Last zeigt dahinter in ImpAdjustBlocks()
2028 sal_uInt16 nChar; in ImpAdjustBlocks()
2053 sal_uInt16 nPortionStart, nPortion; in ImpAdjustBlocks()
2072 sal_uInt16 nGaps = aPositions.Count(); in ImpAdjustBlocks()
2081 for ( sal_uInt16 n = 0; n < aPositions.Count(); n++ ) in ImpAdjustBlocks()
2086 sal_uInt16 nPortionStart, nPortion; in ImpAdjustBlocks()
2097 sal_uInt16 nPortionEnd = nPortionStart + pLastPortion->GetLen(); in ImpAdjustBlocks()
2098 for ( sal_uInt16 _n = nChar; _n < nPortionEnd; _n++ ) in ImpAdjustBlocks()
2114 void ImpEditEngine::ImpFindKashidas( ContentNode* pNode, sal_uInt16 nStart, sal_uInt16 nEnd, SvUSho… in ImpFindKashidas()
2125 sal_uInt16 nSavPos = aWordSel.Max().GetIndex(); in ImpFindKashidas()
2231 sal_uInt16 ImpEditEngine::SplitTextPortion( ParaPortion* pPortion, sal_uInt16 nPos, EditLine* pCurL… in SplitTextPortion()
2240 sal_uInt16 nSplitPortion; in SplitTextPortion()
2241 sal_uInt16 nTmpPos = 0; in SplitTextPortion()
2243 sal_uInt16 nPortions = pPortion->GetTextPortions().Count(); in SplitTextPortion()
2266 sal_uInt16 nOverlapp = nTmpPos - nPos; in SplitTextPortion()
2280 sal_uInt16 nTxtPortionStart = pPortion->GetTextPortions().GetStartPos( nSplitPortion ); in SplitTextPortion()
2297 void ImpEditEngine::CreateTextPortions( ParaPortion* pParaPortion, sal_uInt16& rStart /* , sal_Bool… in CreateTextPortions()
2299 sal_uInt16 nStartPos = rStart; in CreateTextPortions()
2306 sal_uInt16 nAttr = 0; in CreateTextPortions()
2332 sal_uInt16 nLastAttr = 0xFFFF; in CreateTextPortions()
2333 for( sal_uInt16 n = 0; n < mpIMEInfos->nLen; n++ ) in CreateTextPortions()
2347 sal_uInt16 nPortionStart = 0; in CreateTextPortions()
2348 sal_uInt16 nInvPortion = 0; in CreateTextPortions()
2349 sal_uInt16 nP; in CreateTextPortions()
2376 sal_uInt16 nInvPos; in CreateTextPortions()
2383 for ( sal_uInt16 i = nInvPos+1; i < aPositions.Count(); i++ ) in CreateTextPortions()
2385 … TextPortion* pNew = new TextPortion( (sal_uInt16)aPositions[i] - (sal_uInt16)aPositions[i-1] ); in CreateTextPortions()
2395 void ImpEditEngine::RecalcTextPortion( ParaPortion* pParaPortion, sal_uInt16 nStartPos, short nNewC… in RecalcTextPortion()
2408 sal_uInt16 nNewPortionPos = 0; in RecalcTextPortion()
2418 sal_uInt16 & r = in RecalcTextPortion()
2430 sal_uInt16 nPortionStart; in RecalcTextPortion()
2431 const sal_uInt16 nTP = pParaPortion->GetTextPortions(). in RecalcTextPortion()
2447 sal_uInt16 nPortion = 0; in RecalcTextPortion()
2448 sal_uInt16 nPos = 0; in RecalcTextPortion()
2449 sal_uInt16 nEnd = nStartPos-nNewChars; in RecalcTextPortion()
2450 sal_uInt16 nPortions = pParaPortion->GetTextPortions().Count(); in RecalcTextPortion()
2489 sal_uInt16 nLastPortion = pParaPortion->GetTextPortions().Count() - 1; in RecalcTextPortion()
2560 …pEditEngine::SeekCursor( ContentNode* pNode, sal_uInt16 nPos, SvxFont& rFont, OutputDevice* pOut, in SeekCursor()
2588sal_uInt16 nRelWidth = ((const SvxCharScaleWidthItem&)pNode->GetContentAttribs().GetItem( EE_CHAR_… in SeekCursor()
2613 sal_uInt16 nAttr = 0; in SeekCursor()
2746 sal_uInt16 nAttr = mpIMEInfos->pAttribs[ nPos - mpIMEInfos->aPos.GetIndex() - 1 ]; in SeekCursor()
2778 sal_uInt16 nPropr = rFont.GetPropr(); in RecalcFormatterFontMetrics()
2785 sal_uInt16 nAscent, nDescent; in RecalcFormatterFontMetrics()
2788 nAscent = (sal_uInt16)aMetric.GetAscent(); in RecalcFormatterFontMetrics()
2790 nAscent = sal::static_int_cast< sal_uInt16 >( in RecalcFormatterFontMetrics()
2792 nDescent = (sal_uInt16)aMetric.GetDescent(); in RecalcFormatterFontMetrics()
2806 nAscent = sal::static_int_cast< sal_uInt16 >( rFont.GetHeight() ); in RecalcFormatterFontMetrics()
2807 …nDescent= sal::static_int_cast< sal_uInt16 >( ImplCalculateFontIndependentLineSpacing( rFont.GetHe… in RecalcFormatterFontMetrics()
2811sal_uInt16 nIntLeading = ( aMetric.GetIntLeading() > 0 ) ? (sal_uInt16)aMetric.GetIntLeading() : 0; in RecalcFormatterFontMetrics()
2828 nAscent = (sal_uInt16)aMetric.GetAscent(); in RecalcFormatterFontMetrics()
2829 nDescent = (sal_uInt16)aMetric.GetDescent(); in RecalcFormatterFontMetrics()
2845 nAscent = (sal_uInt16) (((long)nAscent)*nPropr/100 + nDiff); in RecalcFormatterFontMetrics()
2851 nDescent = (sal_uInt16) (((long)nDescent)*nPropr/100 - nDiff); in RecalcFormatterFontMetrics()
2916 sal_uInt16 nIndex = 0; in Paint()
2925 sal_uInt16 nLines = pPortion->GetLines().Count(); in Paint()
2926 sal_uInt16 nLastLine = nLines-1; in Paint()
2939 sal_uInt16 nSBL = ( rLSItem.GetInterLineSpaceRule() == SVX_INTER_LINE_SPACE_FIX ) in Paint()
2943 for ( sal_uInt16 nLine = 0; nLine < nLines; nLine++ ) in Paint()
2986 for ( sal_uInt16 y = pLine->GetStartPortion(); y <= pLine->GetEndPortion(); y++ ) in Paint()
3064 sal_uInt16 nTextStart = 0; in Paint()
3065 sal_uInt16 nTextLen = 0; in Paint()
3251 sal_uInt16 nStart(nIndex); in Paint()
3252 sal_uInt16 nEnd(0); in Paint()
3254 … const sal_uInt16 nMaxEnd(nIndex + pTextPortion->GetLen()); in Paint()
3560 aText.Fill( (sal_uInt16)nChars, pTextPortion->GetExtraValue() ); in Paint()
3752 sal_uInt16 nAttr = mpIMEInfos->pAttribs[ 0 ]; in Paint()
3911 EditPaM ImpEditEngine::SplitContent( sal_uInt32 nNode, sal_uInt16 nSepPos ) in SplitContent()
4216 void ImpEditEngine::SetCharStretching( sal_uInt16 nX, sal_uInt16 nY ) in SetCharStretching()
4236 void ImpEditEngine::DoStretchChars( sal_uInt16 nX, sal_uInt16 nY ) in DoStretchChars()
4252 pNewWidth->SetValue( (sal_uInt16)nProp ); in DoStretchChars()
4285 sal_uInt16 nItemId = EE_CHAR_FONTHEIGHT; in DoStretchChars()
4309 pNewUL->SetUpper( (sal_uInt16)nUpper ); in DoStretchChars()
4313 pNewUL->SetLower( (sal_uInt16)nLower ); in DoStretchChars()
4323 sal_uInt16 nLastEnd = 0; // damit nach entfernen und neu nicht nochmal in DoStretchChars()
4325 sal_uInt16 nAttribs = rAttribs.Count(); in DoStretchChars()
4326 for ( sal_uInt16 nAttr = 0; nAttr < nAttribs; nAttr++ ) in DoStretchChars()
4331 sal_uInt16 nWhich = pAttr->Which(); in DoStretchChars()
4348 pNewWidth->SetValue( (sal_uInt16)nProp ); in DoStretchChars()
4497 void ImpEditEngine::ImplInitLayoutMode( OutputDevice* pOutDev, sal_uInt32 nPara, sal_uInt16 nIndex ) in ImplInitLayoutMode()
4595 …n( ContentNode* pNode, TextPortion* pTextPortion, sal_uInt16 nStartPos, sal_Int32* pDXArray, sal_u… in ImplCalcAsianCompression()
4610 sal_uInt16 nPortionLen = pTextPortion->GetLen(); in ImplCalcAsianCompression()
4611 for ( sal_uInt16 n = 0; n < nPortionLen; n++ ) in ImplCalcAsianCompression()
4685 for ( sal_uInt16 i = n-1; i < (nPortionLen-1); i++ ) in ImplCalcAsianCompression()
4697 for ( sal_uInt16 i = n; i < (nPortionLen-1); i++ ) in ImplCalcAsianCompression()
4732 sal_uInt16 nPortion = pLine->GetEndPortion(); in ImplExpandCompressedPortions()
4756 for ( sal_uInt16 n = 0; n < aCompressedPortions.Count(); n++ ) in ImplExpandCompressedPortions()
4763 sal_uInt16 nTxtPortion = pParaPortion->GetTextPortions().GetPos( pTP ); in ImplExpandCompressedPortions()
4764sal_uInt16 nTxtPortionStart = pParaPortion->GetTextPortions().GetStartPos( nTxtPortion ); in ImplExpandCompressedPortions()
4769 …ompression( pParaPortion->GetNode(), pTP, nTxtPortionStart, pDXArray, (sal_uInt16)nCompressPercent… in ImplExpandCompressedPortions()
4778 …arkingVector& rTextMarkingVector, const String& rTxt, const sal_uInt16 nIdx, const sal_uInt16 nLen… in ImplFillTextMarkingVector()