Home
last modified time | relevance | path

Searched refs:nCharWidth (Results 1 – 21 of 21) sorted by relevance

/aoo41x/main/sw/source/core/text/
H A Dtxttab.cxx629 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()
/aoo41x/main/svx/source/dialog/
H A Drubydialog.cxx928 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 Dpagectrl.cxx314 long nCharWidth = GetTextWidth(sDraw); in DrawPage() local
318 nHDiff = (nAWidth - nCharWidth)/2; in DrawPage()
324 aPos.X() += aMove.X() < 0 ? - nCharWidth : nCharWidth; in DrawPage()
/aoo41x/main/writerfilter/source/dmapper/
H A DPropertyMap.cxx916 sal_Int32 nCharWidth = 423; //240 twip/ 12 pt in CloseSectionGroup() local
926nCharWidth = 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()
/aoo41x/main/vcl/os2/source/gdi/
H A Dsalgdi3.cxx1683 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 Dos2layout.cxx86 void CacheGlyphWidth( int nCharCode, int nCharWidth );
93 inline void ImplOs2FontEntry::CacheGlyphWidth( int nCharCode, int nCharWidth ) in CacheGlyphWidth() argument
95 maWidthMap[ nCharCode ] = nCharWidth; in CacheGlyphWidth()
/aoo41x/main/vcl/source/gdi/
H A Dsallayout.cxx2207 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 Doutdev3.cxx7864 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()
/aoo41x/main/vcl/source/glyphs/
H A Dgcach_ftyp.cxx1299 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()
/aoo41x/main/vcl/win/source/gdi/
H A Dsalgdi3.cxx2901 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 Dwinlayout.cxx114 void CacheGlyphWidth( int nCharCode, int nCharWidth );
128 inline void ImplWinFontEntry::CacheGlyphWidth( int nCharCode, int nCharWidth ) in CacheGlyphWidth() argument
130 maWidthMap[ nCharCode ] = nCharWidth; in CacheGlyphWidth()
/aoo41x/main/vcl/source/control/
H A Dcombobox.cxx1212 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 Dlstbox.cxx1497 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 Dedit.cxx2919 long nCharWidth = GetTextWidth( XubString( 'x' ) ); in GetMaxVisChars() local
2920 return nCharWidth ? (xub_StrLen)(nOutWidth/nCharWidth) : 0; in GetMaxVisChars()
/aoo41x/main/sw/source/core/txtnode/
H A Dfntcache.cxx1038 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()
/aoo41x/main/sw/source/filter/ww8/
H A Dww8par6.cxx277 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 Dww8atr.cxx3763 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()
/aoo41x/main/vcl/aqua/source/gdi/
H A Dsalgdi.cxx2248 int nCharWidth = 0; in GetGlyphWidths()
2249 if( ::GetCharWidth32W( mhDC, i, i, &nCharWidth ) ) in GetGlyphWidths()
2252 rWidths.push_back( nCharWidth ); in GetGlyphWidths()
/aoo41x/main/editeng/source/editeng/
H A Dimpedit2.cxx4268 …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 Dimpedit3.cxx3550 …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()
/aoo41x/main/sc/source/ui/vba/
H A Dvbarange.cxx3746 long nCharWidth = pRefDevice->GetTextWidth( String( '0' ) ); // 1/100th mm in getDefaultCharWidth() local
3747 return lcl_hmmToPoints( nCharWidth ); in getDefaultCharWidth()

Completed in 331 milliseconds