/aoo4110/main/sw/source/core/text/ |
H A D | txttab.cxx | 629 const KSHORT nCharWidth = rInf.GetTxtSize( aTxt ).Width(); in Paint() local 631 if( nCharWidth ) in Paint() 634 KSHORT nChar = Width() / nCharWidth; in Paint() 644 const KSHORT nCharWidth = rInf.GetTxtSize( aTxt ).Width(); in Paint() local 646 ASSERT( nCharWidth, "!SwTabPortion::Paint: sophisticated tabchar" ); in Paint() 649 if( nCharWidth ) in Paint() 652 KSHORT nChar = Width() / nCharWidth; in Paint()
|
/aoo4110/main/svx/source/dialog/ |
H A D | rubydialog.cxx | 928 long nCharWidth = GetTextWidth(String::CreateFromAscii("X")); in Paint() local 929 if(nOutTextWidth < (nRightEnd - nLeftStart - nCharWidth)) in Paint() 931 nCharWidth /= 2; in Paint() 932 nLeftStart += nCharWidth; in Paint() 933 nRightEnd -= nCharWidth; in Paint() 946 long nCharWidth = GetTextWidth(cChar); in Paint() local 947 nLeftStart += nCharWidth + nSpace; in Paint()
|
H A D | pagectrl.cxx | 314 long nCharWidth = GetTextWidth(sDraw); in DrawPage() local 318 nHDiff = (nAWidth - nCharWidth)/2; in DrawPage() 324 aPos.X() += aMove.X() < 0 ? - nCharWidth : nCharWidth; in DrawPage()
|
/aoo4110/main/writerfilter/source/dmapper/ |
H A D | PropertyMap.cxx | 916 sal_Int32 nCharWidth = 423; //240 twip/ 12 pt in CloseSectionGroup() local 926 … nCharWidth = ConversionHelper::convertTwipToMM100( (long)( fHeight * 20.0 + 0.5 )); in CloseSectionGroup() 937 nCharWidth += ConversionHelper::convertTwipToMM100( nMain * 20 ); in CloseSectionGroup() 941 nCharWidth += ConversionHelper::convertTwipToMM100( nFraction ); in CloseSectionGroup() 943 … operator[]( PropertyDefinition( PROP_GRID_BASE_HEIGHT, false )) = uno::makeAny( nCharWidth ); in CloseSectionGroup() 944 sal_Int32 nRubyHeight = m_nGridLinePitch - nCharWidth; in CloseSectionGroup()
|
/aoo4110/main/vcl/os2/source/gdi/ |
H A D | salgdi3.cxx | 1683 LONG nCharWidth = 0; in GetEmbedFontData() local 1685 if( !Ft2QueryStringWidthW( mhPS, (LPWSTR)&cChar, 1, &nCharWidth ) ) in GetEmbedFontData() 1687 pCharWidths[i] = nCharWidth; in GetEmbedFontData() 1816 int nCharWidth = 0; in GetGlyphWidths() local 1817 if( Ft2QueryStringWidthW( mhPS, (LPWSTR)&i, 1, (LONG*)&nCharWidth ) ) in GetGlyphWidths() 1820 rWidths.push_back( nCharWidth ); in GetGlyphWidths()
|
H A D | os2layout.cxx | 86 void CacheGlyphWidth( int nCharCode, int nCharWidth ); 93 inline void ImplOs2FontEntry::CacheGlyphWidth( int nCharCode, int nCharWidth ) in CacheGlyphWidth() argument 95 maWidthMap[ nCharCode ] = nCharWidth; in CacheGlyphWidth()
|
/aoo4110/main/vcl/source/gdi/ |
H A D | sallayout.cxx | 2207 long nCharWidth = pTempWidths[i]; in FillDXArray() local 2208 if( !nCharWidth ) in FillDXArray() 2210 nCharWidth = static_cast<long>(nCharWidth * fUnitMul + 0.5); in FillDXArray() 2211 pCharWidths[i] = nCharWidth; in FillDXArray()
|
H A D | outdev3.cxx | 7864 long nCharWidth = pSalLayout->GetTextWidth(); in GetTextOutlines() local 7866 Point aOffset(nCharWidth / 2, 8); in GetTextOutlines() 7867 Size aSize(nCharWidth + 2 * aOffset.X(), nHeight + 2 * aOffset.Y()); in GetTextOutlines() 7920 nXOffset += nCharWidth; in GetTextOutlines()
|
/aoo4110/main/vcl/source/glyphs/ |
H A D | gcach_ftyp.cxx | 1299 int nCharWidth = pFaceFT->glyph->metrics.horiAdvance; in lcl_GetCharWidth() local 1305 nCharWidth = (int)((rMetrics.height - rMetrics.descender) * fStretch); in lcl_GetCharWidth() 1307 nCharWidth = (int)((rMetrics.height + rMetrics.descender) * fStretch); in lcl_GetCharWidth() 1311 return (nCharWidth + 32) >> 6; in lcl_GetCharWidth() 1359 …const int nCharWidth = bOriginallyZeroWidth ? 0 : lcl_GetCharWidth( maFaceFT, mfStretch, nGlyphFla… in InitGlyphData() local 1360 rGD.SetCharWidth( nCharWidth ); in InitGlyphData()
|
/aoo4110/main/vcl/win/source/gdi/ |
H A D | salgdi3.cxx | 2901 int nCharWidth = 0; in GetEmbedFontData() local 2903 if( !::GetCharWidth32W( getHDC(), cChar, cChar, &nCharWidth ) ) in GetEmbedFontData() 2905 pCharWidths[i] = nCharWidth; in GetEmbedFontData() 3040 int nCharWidth = 0; in GetGlyphWidths() local 3041 if( ::GetCharWidth32W( getHDC(), i, i, &nCharWidth ) ) in GetGlyphWidths() 3044 rWidths.push_back( nCharWidth ); in GetGlyphWidths()
|
H A D | winlayout.cxx | 114 void CacheGlyphWidth( int nCharCode, int nCharWidth ); 128 inline void ImplWinFontEntry::CacheGlyphWidth( int nCharCode, int nCharWidth ) in CacheGlyphWidth() argument 130 maWidthMap[ nCharCode ] = nCharWidth; in CacheGlyphWidth()
|
/aoo4110/main/vcl/source/control/ |
H A D | combobox.cxx | 1212 long nCharWidth = GetTextWidth( UniString( 'x' ) ); in GetMaxVisColumnsAndLines() local 1216 rnCols = (sal_uInt16)(aOutSz.Width()/nCharWidth); in GetMaxVisColumnsAndLines() 1222 rnCols = (sal_uInt16)(aOutSz.Width()/nCharWidth); in GetMaxVisColumnsAndLines()
|
H A D | lstbox.cxx | 1497 long nCharWidth = GetTextWidth( UniString( 'x' ) ); in GetMaxVisColumnsAndLines() local 1501 rnCols = (sal_uInt16) (aOutSz.Width()/nCharWidth); in GetMaxVisColumnsAndLines() 1507 rnCols = (sal_uInt16) (aOutSz.Width()/nCharWidth); in GetMaxVisColumnsAndLines()
|
H A D | edit.cxx | 2919 long nCharWidth = GetTextWidth( XubString( 'x' ) ); in GetMaxVisChars() local 2920 return nCharWidth ? (xub_StrLen)(nOutWidth/nCharWidth) : 0; in GetMaxVisChars()
|
/aoo4110/main/sw/source/core/txtnode/ |
H A D | fntcache.cxx | 1038 long nCharWidth = pKernArray[ 0 ]; in DrawText() local 1049 aPos.X() += ( nWidthPerChar - nCharWidth ) / 2; in DrawText() 1050 nNextFix = nCharWidth / 2; in DrawText() 1056 aPos.X() += nWidthPerChar - nCharWidth; in DrawText() 1057 nNextFix = nCharWidth - nHalfWidth; in DrawText()
|
/aoo4110/main/sw/source/filter/ww8/ |
H A D | ww8par6.cxx | 277 sal_uInt32 nCharWidth=240; in SetDocumentGrid() local 284 nCharWidth = ItemGet<SvxFontHeightItem>(*(pCollA[nI].pFmt), in SetDocumentGrid() 297 nCharWidth += nMain*20; in SetDocumentGrid() 301 nCharWidth += nFraction; in SetDocumentGrid() 316 && nCharWidth > 0 in SetDocumentGrid() 319 aGrid.SetBaseWidth( writer_cast<sal_uInt16>(nCharWidth)); in SetDocumentGrid()
|
H A D | ww8atr.cxx | 3763 sal_Int32 nCharWidth = rGrid.GetBaseWidth() - nPageCharSize; in FormatTextGrid() local 3765 nFraction = nCharWidth % 20; in FormatTextGrid() 3766 if ( nCharWidth < 0 ) in FormatTextGrid() 3772 nMain = nCharWidth / 20; in FormatTextGrid() 3773 if ( nCharWidth < 0 ) in FormatTextGrid()
|
/aoo4110/main/vcl/aqua/source/gdi/ |
H A D | salgdi.cxx | 2248 int nCharWidth = 0; in GetGlyphWidths() 2249 if( ::GetCharWidth32W( mhDC, i, i, &nCharWidth ) ) in GetGlyphWidths() 2252 rWidths.push_back( nCharWidth ); in GetGlyphWidths()
|
/aoo4110/main/editeng/source/editeng/ |
H A D | impedit2.cxx | 4268 …sal_Int32 nCharWidth = ( ( (n+1) < pPortion->GetLen() ) ? pDXArray[n] : pPortion->GetSize().Width(… in GetXPos() local 4281 nCharWidth += nCompressed; in GetXPos() 4286 nCharWidth *= 2; // last char pos to portion end is only compressed size in GetXPos() 4288 nX += nCharWidth/2; // 50% compression in GetXPos()
|
H A D | impedit3.cxx | 3550 …long nCharWidth = aTmpFont.QuickGetTextSize( pOutDev, pTextPortion->GetExtraValue(), 0, 1, NULL ).… in Paint() local 3552 if( nCharWidth ) in Paint() 3553 nChars = pTextPortion->GetSize().Width() / nCharWidth; in Paint()
|
/aoo4110/main/sc/source/ui/vba/ |
H A D | vbarange.cxx | 3746 long nCharWidth = pRefDevice->GetTextWidth( String( '0' ) ); // 1/100th mm in getDefaultCharWidth() local 3747 return lcl_hmmToPoints( nCharWidth ); in getDefaultCharWidth()
|