/aoo41x/main/sw/source/ui/misc/ |
H A D | num.cxx | 624 const SwTwips nWidth = pWrtSh->GetAnyCurRect(RECT_FRM).Width(); in SetWrtShell() local 626 aDistBorderMF.SetMax(aDistBorderMF.Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 627 aDistNumMF .SetMax(aDistNumMF .Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 628 aIndentMF .SetMax(aIndentMF .Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 630 aListtabMF.SetMax(aListtabMF.Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 631 aAlignedAtMF.SetMax(aAlignedAtMF.Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 632 aIndentAtMF.SetMax(aIndentAtMF.Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 634 const SwTwips nLast2 = nWidth /2; in SetWrtShell()
|
/aoo41x/main/starmath/source/ |
H A D | node.cxx | 1112 pLine->AdaptToX(rDev, nWidth + 2 * nExtLen); in Arrange() 2159 nWidth = 0; in SmPolyLineNode() 2211 nWidth = nThick + 2 * nBorderwidth; in Arrange() 2225 aInfo.SetWidth(nWidth - 2 * nBorderwidth); in Draw() 2251 nBodyWidth = nWidth; in AdaptToX() 2311 aToSize.Width() = nWidth; in AdaptToX() 2325 long nWidth = aToSize.Width(), in Arrange() local 2329 if (nWidth == 0) in Arrange() 2330 nWidth = nFontHeight / 3; in Arrange() 2683 aFntSize.Width() = nWidth; in AdaptToX() [all …]
|
/aoo41x/main/sw/source/core/layout/ |
H A D | paintfrm.cxx | 1144 long MA_FASTCALL lcl_AlignWidth( const long nWidth ) in lcl_AlignWidth() argument 1146 if ( nWidth ) in lcl_AlignWidth() 1148 const long nW = nWidth % nPixelSzW; in lcl_AlignWidth() 1151 return Max(1L, nWidth - nHalfPixelSzW); in lcl_AlignWidth() 1153 return nWidth; in lcl_AlignWidth() 3873 aOut.Left( aOut.Left() + nWidth ); in PaintShadow() 3891 rOutRect.Right ( rOutRect.Right() - nWidth ); in PaintShadow() 3919 rOutRect.Left( rOutRect.Left() + nWidth ); in PaintShadow() 3975 rOutRect.Left( rOutRect.Left() + nWidth ); in PaintShadow() 4902 nX += nPrtWidth/2 - nWidth/2; break; in PaintLine() [all …]
|
/aoo41x/main/editeng/source/uno/ |
H A D | unofored.cxx | 389 sal_uLong nWidth; in GetParaBounds() local 399 nWidth = rEditEngine.GetTextHeight( nPara ); in GetParaBounds() 403 return Rectangle( nTextWidth - aPnt.Y() - nWidth, 0, nTextWidth - aPnt.Y(), nHeight ); in GetParaBounds() 407 nWidth = rEditEngine.CalcTextWidth(); in GetParaBounds() 410 return Rectangle( 0, aPnt.Y(), nWidth, aPnt.Y() + nHeight ); in GetParaBounds()
|
/aoo41x/main/basegfx/inc/basegfx/raster/ |
H A D | bpixelraster.hxx | 60 BPixelRaster(sal_uInt32 nWidth, sal_uInt32 nHeight) in BPixelRaster() argument 61 : mnWidth(nWidth), in BPixelRaster() 63 mnCount(nWidth * nHeight), in BPixelRaster()
|
/aoo41x/main/sw/source/ui/frmdlg/ |
H A D | frmpage.cxx | 1841 aVal.nWidth = nWidth; in IMPL_LINK() 1863 nWidth = aVal.nWidth; in IMPL_LINK() 1878 nTmp = Min(nHeight * nMaxWidth / Max(nWidth, 1L), nMaxWidth); in IMPL_LINK() 2115 nHeight = SwTwips((double)nWidth / fWidthHeightRatio); in IMPL_LINK() 2120 nWidth = SwTwips((double)nHeight * fWidthHeightRatio); in IMPL_LINK() 2220 sal_Int64 nWidth = aWidthED.NormalizePercent(rSize.GetWidth()); in Init() local 2223 if (nWidth != aWidthED.GetValue(FUNIT_TWIP)) in Init() 2229 aWidthED.SetUserValue(nWidth, FUNIT_TWIP); in Init() 2232 aWidthED.SetPrcntValue(nWidth, FUNIT_TWIP); in Init() 2717 const long nWidth = aPntSz.Width(); in Paint() local [all …]
|
/aoo41x/main/oox/source/dump/ |
H A D | dumperbase.cxx | 238 appendChar( rStr, cFill, nWidth - rData.getLength() ); in appendString() 246 appendString( rStr, OUString::valueOf( static_cast< sal_Int32 >( nData ) ), nWidth, cFill ); in appendDec() 249 void StringHelper::appendDec( OUStringBuffer& rStr, sal_Int8 nData, sal_Int32 nWidth, sal_Unicode c… in appendDec() argument 251 appendString( rStr, OUString::valueOf( static_cast< sal_Int32 >( nData ) ), nWidth, cFill ); in appendDec() 256 appendString( rStr, OUString::valueOf( static_cast< sal_Int32 >( nData ) ), nWidth, cFill ); in appendDec() 261 appendString( rStr, OUString::valueOf( static_cast< sal_Int32 >( nData ) ), nWidth, cFill ); in appendDec() 266 appendString( rStr, OUString::valueOf( static_cast< sal_Int64 >( nData ) ), nWidth, cFill ); in appendDec() 271 appendString( rStr, OUString::valueOf( nData ), nWidth, cFill ); in appendDec() 283 appendString( rStr, aBuffer.makeStringAndClear(), nWidth, cFill ); in appendDec() 288 appendString( rStr, OUString::valueOf( nData ), nWidth, cFill ); in appendDec() [all …]
|
/aoo41x/main/sd/source/ui/sidebar/ |
H A D | MasterPageContainerProviders.hxx | 83 virtual Image operator() (int nWidth, SdPage* pPage, ::sd::PreviewRenderer& rRenderer) = 0; 107 virtual Image operator () (int nWidth, SdPage* pPage, ::sd::PreviewRenderer& rRenderer); 144 virtual Image operator() (int nWidth, SdPage* pPage, ::sd::PreviewRenderer& rRenderer);
|
/aoo41x/main/vcl/inc/unx/ |
H A D | salframe.h | 229 virtual void SetMinClientSize( long nWidth, long nHeight ); 230 virtual void SetMaxClientSize( long nWidth, long nHeight ); 231 virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ); 270 virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight );
|
H A D | salobj.h | 42 void UnionClipRegion( long nX, long nY, long nWidth, long nHeight ); 85 virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight ); 88 virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight );
|
/aoo41x/main/framework/source/uielement/ |
H A D | dropdownboxtoolbarcontroller.cxx | 152 sal_Int32 nWidth, in DropdownToolbarController() argument 158 if ( nWidth == 0 ) in DropdownToolbarController() 159 nWidth = 100; in DropdownToolbarController() 165 m_pListBoxControl->SetSizePixel( ::Size( nWidth, aPixelSize.Height() )); in DropdownToolbarController()
|
/aoo41x/main/sw/source/filter/xml/ |
H A D | xmlithlp.hxx | 65 sal_uInt16 nWidth, sal_Bool bDouble ); 69 sal_Bool bHasWidth, sal_uInt16 nWidth, 74 sal_uInt16 nWidth, sal_uInt16 nOutWidth,
|
/aoo41x/main/vcl/source/gdi/ |
H A D | pdffontcache.cxx | 53 sal_Int32 nWidth = 0; in getGlyphWidth() local 77 nWidth = rFontData.m_nWidths[ nIndex ]; in getGlyphWidth() 79 return nWidth; in getGlyphWidth()
|
H A D | lineinfo.cxx | 90 LineInfo::LineInfo( LineStyle eStyle, long nWidth ) in LineInfo() argument 95 mpImplLineInfo->mnWidth = nWidth; in LineInfo() 168 void LineInfo::SetWidth( long nWidth ) in SetWidth() argument 172 mpImplLineInfo->mnWidth = nWidth; in SetWidth()
|
H A D | cvtsvm.cxx | 210 rOStm << nWidth; in ImplWriteLineColor() 843 sal_Int32 nWidth, nHeight; in ImplConvertFromSVM1() local 852 rIStm >> nWidth >> nHeight; in ImplConvertFromSVM1() 857 aFont.SetSize( Size( nWidth, nHeight ) ); in ImplConvertFromSVM1() 968 sal_Int32 nIndex, nLen, nWidth; in ImplConvertFromSVM1() local 970 rIStm >> aPt >> nIndex >> nLen >> nTmp >> nWidth; in ImplConvertFromSVM1() 1303 long nWidth; in ImplConvertFromSVM1() local 1308 rIStm >> aStartPt >> nWidth >> nStrikeout >> nUnderline >> nFollowingActionCount; in ImplConvertFromSVM1() 1310 rMtf.AddAction( new MetaTextLineAction( aStartPt, nWidth, in ImplConvertFromSVM1() 2409 const long nWidth = pA->GetWidth(); in ImplWriteActions() local [all …]
|
/aoo41x/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeFontWork.cxx | 286 sal_Int32 nWidth = 0; in GetTextAreaOutline() local 299 …tTextOutlines( aCharacterData.vOutlines, aCharText, 0, 0, STRING_LEN, sal_True, nWidth, pDXArry ) ) in GetTextAreaOutline() 357 …v.GetTextOutlines( aCharacterData.vOutlines, rText, 0, 0, STRING_LEN, sal_True, nWidth, pDXArry ) ) in GetTextAreaOutline() 671 sal_Int32 nWidth = rTextAreaBoundRect.GetWidth(); in FitTextOutlinesToShapeOutlines() local 673 if ( rFWData.bSingleLineMode && nHeight && nWidth ) in FitTextOutlinesToShapeOutlines() 703 double fM1 = fx1 / (double)nWidth; in FitTextOutlinesToShapeOutlines() 704 double fM2 = fx2 / (double)nWidth; in FitTextOutlinesToShapeOutlines() 785 double fX = (double)rPoint.X() / (double)nWidth; in FitTextOutlinesToShapeOutlines()
|
/aoo41x/main/filter/source/msfilter/ |
H A D | mscodec.cxx | 62 inline void lclRotateLeft( Type& rnValue, sal_uInt8 nBits, sal_uInt8 nWidth ) in lclRotateLeft() argument 64 OSL_ASSERT( (nBits < nWidth) && (nWidth < sizeof( Type ) * 8) ); in lclRotateLeft() 65 Type nMask = static_cast< Type >( (1UL << nWidth) - 1 ); in lclRotateLeft() 67 ((rnValue << nBits) | ((rnValue & nMask) >> (nWidth - nBits))) & nMask ); in lclRotateLeft()
|
/aoo41x/main/vcl/source/window/ |
H A D | status.cxx | 973 long nWidth = GetTextWidth( pItem->maText ) + nFudge; in DataChanged() local 974 if( nWidth > pItem->mnWidth + STATUSBAR_OFFSET ) in DataChanged() 975 pItem->mnWidth = nWidth + STATUSBAR_OFFSET; in DataChanged() 1011 void StatusBar::InsertItem( sal_uInt16 nItemId, sal_uLong nWidth, in InsertItem() argument 1030 pItem->mnWidth = (long)nWidth+nFudge+STATUSBAR_OFFSET; in InsertItem() 1360 long nWidth = GetTextWidth( pItem->maText ) + nFudge; in SetItemText() local 1361 if( (nWidth > pItem->mnWidth + STATUSBAR_OFFSET) || in SetItemText() 1362 ((nWidth < pItem->mnWidth) && (mnDX - STATUSBAR_OFFSET) < mnItemsWidth )) in SetItemText() 1364 pItem->mnWidth = nWidth + STATUSBAR_OFFSET; in SetItemText()
|
/aoo41x/main/sw/source/core/text/ |
H A D | frminf.cxx | 110 long nWidth = pFrm->Prt().Width(); in IsFilled() local 111 nWidth *= nPercent; in IsFilled() 112 nWidth /= 100; in IsFilled() 113 return KSHORT(nWidth) <= pLay->Width(); in IsFilled()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | drawutil.cxx | 61 sal_uInt16 nWidth = pDoc->GetColWidth(i,nTab); in CalcScale() local 62 nTwipsX += (long) nWidth; in CalcScale() 63 nPixelX += ScViewData::ToPixel( nWidth, nPPTX ); in CalcScale()
|
H A D | output2.cxx | 518 nWidth = pOutput->pRefDevice->PixelToLogic(Size(nWidth,0)).Width(); in SetTextToWidthOrHash() 583 nWidth += (nMaxDigit - GetDotWidth()) * nDecimalCount; in SetTextToWidthOrHash() 585 nWidth += (nMaxDigit - GetSignWidth()) * nSignCount; in SetTextToWidthOrHash() 587 nWidth += (nMaxDigit - GetExpWidth()) * nExpCount; in SetTextToWidthOrHash() 599 if (nActualTextWidth > nWidth) in SetTextToWidthOrHash() 1121 pRowInfo[0].pCellInfo[nCompCol+1].nWidth : in GetOutputArea() 1130 pRowInfo[0].pCellInfo[nCompCol+1].nWidth : in GetOutputArea() 1170 pRowInfo[0].pCellInfo[nCellX+i+1].nWidth : in GetOutputArea() 1892 nPosX += pRowInfo[0].pCellInfo[nX+1].nWidth * nLayoutSign; in DrawStrings() 2976 nPosX += pRowInfo[0].pCellInfo[nX+1].nWidth * nLayoutSign; in DrawEdit() [all …]
|
/aoo41x/main/sw/source/core/frmedt/ |
H A D | tblsel.cxx | 1034 long nWidth; in GetMergeSel() local 1077 nWidth = rUnion.Right() - pCell->Frm().Left(); in GetMergeSel() 1078 nWidth = nWidth * aNew.GetWidth() / in GetMergeSel() 1080 long nTmpWidth = aNew.GetWidth() - nWidth; in GetMergeSel() 1081 aNew.SetWidth( nWidth ); in GetMergeSel() 1127 nWidth = aNew.GetWidth() - nLeft - nRight; in GetMergeSel() 1144 aNew.SetWidth( nWidth ); in GetMergeSel() 1242 nWidth = pFirstBox->GetFrmFmt()->GetFrmSize().GetWidth(); in GetMergeSel() 1254 nWidth += rPt.pSelBox->GetFrmFmt()->GetFrmSize().GetWidth(); in GetMergeSel() 1288 nWidth = pFirstBox->GetFrmFmt()->GetFrmSize().GetWidth(); in GetMergeSel() [all …]
|
/aoo41x/main/svx/source/stbctrls/ |
H A D | pszctrl.cxx | 436 sal_uIntPtr nWidth=PAINT_OFFSET+aTmpPosImage.GetSizePixel().Width(); in GetDefItemWidth() local 437 nWidth+=PAINT_OFFSET+aTmpSizeImage.GetSizePixel().Width(); in GetDefItemWidth() 438 nWidth+=2*(PAINT_OFFSET+rStb.GetTextWidth(String::CreateFromAscii("XXXX,XX / XXXX,XX"))); in GetDefItemWidth() 440 return nWidth; in GetDefItemWidth()
|
/aoo41x/main/sw/source/core/inc/ |
H A D | drawfont.hxx | 68 sal_uInt16 nWidth; member in SwDrawTextInfo 125 nWidth = nW; in SwDrawTextInfo() 287 return nWidth; in GetWidth() 478 nWidth = nNew; in SetWidth()
|
/aoo41x/main/sfx2/source/sidebar/ |
H A D | SidebarToolBox.cxx | 200 long nWidth, in SetPosSizePixel() argument 210 nWidth, in SetPosSizePixel() 216 nWidth, in SetPosSizePixel() 221 ToolBox::SetPosSizePixel(nX, nY, nWidth, nHeight, nFlags); in SetPosSizePixel()
|