/aoo41x/main/vcl/source/glyphs/ |
H A D | gcach_layout.cxx | 106 for( int nCharPos = -1; rArgs.GetNextPos( &nCharPos, &bRightToLeft ); ) in operator ()() local 490 if( nCharPos >= 0 ) { in operator ()() 491 nCharPos += nMinRunPos; in operator ()() 502 if( nCharPos >= 0 ) in operator ()() 505 if ( (nCharPos > 0) && lcl_CharIsJoiner(rArgs.mpStr[nCharPos-1]) ) in operator ()() 507 … else if ( (nCharPos + 1 < nEndRunPos) && lcl_CharIsJoiner(rArgs.mpStr[nCharPos+1]) ) in operator ()() 518 if( nCharPos >= 0 ) in operator ()() 588 if( nClusterMinPos > nCharPos ) in operator ()() 602 if( nClusterMaxPos < nCharPos ) in operator ()() 610 nClusterMaxPos = nCharPos; in operator ()() [all …]
|
/aoo41x/main/vcl/source/gdi/ |
H A D | sallayout.cxx | 432 if( (nRunPos0 <= nCharPos) && (nCharPos < nRunPos1) ) in AddPos() 434 if( (nRunPos1 <= nCharPos) && (nCharPos < nRunPos0) ) in AddPos() 481 if( nCharPos < nMinCharPos ) in PosIsInRun() 514 if( *nCharPos < 0 ) in GetNextPos() 525 if( *nCharPos < 0 ) in GetNextPos() 528 *nCharPos = nRunPos0; in GetNextPos() 534 ++(*nCharPos); in GetNextPos() 550 --(*nCharPos); in GetNextPos() 1174 for( int nCharPos = i = -1; rArgs.GetNextPos( &nCharPos, &bRTL ); ) in ApplyDXArray() local 1960 if (nCharPos[n+1] > nOrigCharPos && (nCharPos[n+1] < nCharPos[n])) in AdjustLayout() [all …]
|
H A D | outdev3.cxx | 6101 int nCharPos = -1; in ImplGlyphFallbackLayout() local 6104 for( int i=0; i<8 && rLayoutArgs.GetNextPos( &nCharPos, &bRTL); ++i ) in ImplGlyphFallbackLayout() 6105 fprintf(stderr," U+%04X", rLayoutArgs.mpStr[ nCharPos ] ); in ImplGlyphFallbackLayout() 6111 int nCharPos = -1; in ImplGlyphFallbackLayout() local 6114 while( rLayoutArgs.GetNextPos( &nCharPos, &bRTL) ) in ImplGlyphFallbackLayout() 6115 aMissingCodeBuf.append( rLayoutArgs.mpStr[ nCharPos ] ); in ImplGlyphFallbackLayout() 6238 int nCharPos = -1; in GetTextIsRTL() local 6239 aArgs.GetNextPos( &nCharPos, &bRTL ); in GetTextIsRTL() 6240 return (nCharPos != nIndex) ? sal_True : sal_False; in GetTextIsRTL() 7856 for( int nCharPos = -1; aLayoutArgs.GetNextPos( &nCharPos, &bRTL);) in GetTextOutlines() local [all …]
|
H A D | pdfwriter_impl.cxx | 2382 for( int nCharPos = -1; rArgs.GetNextPos( &nCharPos, &bRightToLeft ); ) in LayoutText() local 2386 sal_Unicode cChar = rArgs.mpStr[ nCharPos ]; in LayoutText() 2411 rArgs.NeedFallback( nCharPos, bRightToLeft ); in LayoutText() 2419 GlyphItem aGI( nCharPos, cChar, aNewPos, nGlyphFlags, nGlyphWidth ); in LayoutText()
|
/aoo41x/main/vcl/inc/ |
H A D | sallayout.hxx | 78 bool AddPos( int nCharPos, bool bRTL ); 85 bool GetNextPos( int* nCharPos, bool* bRTL ); 86 bool PosIsInRun( int nCharPos ) const; 87 bool PosIsInAnyRun( int nCharPos ) const; 121 bool GetNextPos( int* nCharPos, bool* bRTL ) in GetNextPos() argument 122 { return maRuns.GetNextPos( nCharPos, bRTL ); } in GetNextPos() 124 bool NeedFallback( int nCharPos, bool bRTL ) in NeedFallback() argument 125 { return maReruns.AddPos( nCharPos, bRTL ); } in NeedFallback() 294 GlyphItem( int nCharPos, sal_GlyphId aGlyphId, const Point& rLinearPos, in GlyphItem() 296 : mnFlags(nFlags), mnCharPos(nCharPos), in GlyphItem()
|
/aoo41x/main/vcl/os2/source/gdi/ |
H A D | os2layout.cxx | 308 int nCharPos = bIsRTL ? --j : i++; local 309 sal_Unicode cChar = rArgs.mpStr[ nCharPos ]; 329 mpGlyphs2Chars[ mnGlyphCount ] = nCharPos; 330 mpChars2Glyphs[ nCharPos - rArgs.mnMinCharPos ] = mnGlyphCount; 392 int nCharPos = mpGlyphs2Chars ? mpGlyphs2Chars[i]: i + rArgs.mnMinCharPos; local 393 rArgs.NeedFallback( nCharPos, bRTL ); 395 rArgs.NeedFallback( nCharPos+1, bRTL ); 557 int nCharPos; local 559 nCharPos = nStart + mnMinCharPos; 561 nCharPos = mpGlyphs2Chars[nStart]; [all …]
|
/aoo41x/main/vcl/aqua/source/gdi/ |
H A D | atslayout.cxx | 499 int nCharPos = nStart + mnMinCharPos; in GetNextGlyphs() local 501 nCharPos = mpGlyphs2Chars[nStart]; in GetNextGlyphs() 508 if( nCharPos < r.mnMinCharPos ) in GetNextGlyphs() 510 if( nCharPos >= r.mnEndCharPos ) in GetNextGlyphs() 535 const int nCharPos = mpGlyphs2Chars ? mpGlyphs2Chars[nStart] : nStart + mnMinCharPos; in GetNextGlyphs() local 539 OSStatus eStatus = ATSUMatchFontsToText( maATSULayout, nCharPos, kATSUToTextEnd, in GetNextGlyphs() 541 if( (eStatus == kATSUFontsMatched) && ((int)nChangedOffset == nCharPos) ) in GetNextGlyphs() 562 int nCharPos; in GetNextGlyphs() local 564 nCharPos = mpGlyphs2Chars[nStart]; in GetNextGlyphs() 566 nCharPos = nStart + mnMinCharPos; in GetNextGlyphs() [all …]
|
/aoo41x/main/vcl/win/source/gdi/ |
H A D | winlayout.cxx | 365 int nCharPos = bIsRTL ? --j : i++; local 459 rArgs.NeedFallback( nCharPos, bRTL ); 461 rArgs.NeedFallback( nCharPos+1, bRTL ); 625 int nCharPos; local 627 nCharPos = nStart + mnMinCharPos; 629 nCharPos = mpGlyphs2Chars[nStart]; 630 *(pCharIndexes++) = nCharPos; 1903 nCharPos = mpGlyphs2Chars[ nStart ]; 1932 nCharPos = -1; 1955 *(pCharPosAry++) = nCharPos; [all …]
|
/aoo41x/main/svtools/source/edit/ |
H A D | textdata.cxx | 92 sal_uInt16 TETextPortionList::FindPortion( sal_uInt16 nCharPos, sal_uInt16& nPortionStart, sal_Bool… in FindPortion() argument 100 if ( nTmpPos >= nCharPos ) in FindPortion() 103 if ( ( nTmpPos != nCharPos ) || !bPreferStartingPortion || ( nPortion == Count() - 1 ) ) in FindPortion()
|
H A D | textview.cxx | 1621 sal_uInt16 nCharPos = mpImpl->mpTextEngine->GetCharPos( rPaM.GetPara(), nLine-1, nX ); in CursorUp() local 1622 aPaM.GetIndex() = nCharPos; in CursorUp() 1635 sal_uInt16 nCharPos = mpImpl->mpTextEngine->GetCharPos( aPaM.GetPara(), nL, nX+1 ); in CursorUp() local 1636 aPaM.GetIndex() = nCharPos; in CursorUp() 1659 sal_uInt16 nCharPos = mpImpl->mpTextEngine->GetCharPos( rPaM.GetPara(), nLine+1, nX ); in CursorDown() local 1660 aPaM.GetIndex() = nCharPos; in CursorDown() 1671 sal_uInt16 nCharPos = mpImpl->mpTextEngine->GetCharPos( aPaM.GetPara(), 0, nX+1 ); in CursorDown() local 1672 aPaM.GetIndex() = nCharPos; in CursorDown()
|
H A D | textdat2.hxx | 98 …sal_uInt16 FindPortion( sal_uInt16 nCharPos, sal_uInt16& rPortionStart, sal_Bool bPreferStartingPo…
|
/aoo41x/main/editeng/source/editeng/ |
H A D | editdoc2.cxx | 112 sal_uInt16 TextPortionList::FindPortion( sal_uInt16 nCharPos, sal_uInt16& nPortionStart, sal_Bool b… in FindPortion() argument 120 if ( nTmpPos >= nCharPos ) in FindPortion() 123 if ( ( nTmpPos != nCharPos ) || !bPreferStartingPortion || ( nPortion == Count() - 1 ) ) in FindPortion()
|
H A D | editdoc.hxx | 430 …sal_uInt16 FindPortion( sal_uInt16 nCharPos, sal_uInt16& rPortionStart, sal_Bool bPreferStartingPo…
|
H A D | impedit3.cxx | 102 xub_StrLen nCharPos; member 968 aCurrentTab.nCharPos = nTmpPos; in CreateLines()
|
/aoo41x/main/vcl/unx/generic/gdi/ |
H A D | pspgraphics.cxx | 607 int nCharPos = -1; in LayoutText() local 614 if( !rArgs.GetNextPos( &nCharPos, &bRightToLeft ) ) in LayoutText() 617 sal_Unicode cChar = rArgs.mpStr[ nCharPos ]; in LayoutText() 630 rArgs.NeedFallback( nCharPos, bRightToLeft ); in LayoutText() 665 aPrevItem = GlyphItem( nCharPos, aGlyphId, aNewPos, nGlyphFlags, nGlyphWidth ); in LayoutText()
|
/aoo41x/main/vcl/unx/headless/ |
H A D | svppspgraphics.cxx | 548 int nCharPos = -1; in LayoutText() local 555 if( !rArgs.GetNextPos( &nCharPos, &bRightToLeft ) ) in LayoutText() 558 sal_UCS4 cChar = rArgs.mpStr[ nCharPos ]; in LayoutText() 571 rArgs.NeedFallback( nCharPos, bRightToLeft ); in LayoutText() 606 aPrevItem = GlyphItem( nCharPos, aGlyphId, aNewPos, nGlyphFlags, nGlyphWidth ); in LayoutText()
|