/aoo42x/main/sc/source/ui/view/ |
H A D | hintwin.cxx | 71 if ( aLineSize.Width() > aTextSize.Width() ) in ScHintWindow() 72 aTextSize.Width() = aLineSize.Width(); in ScHintWindow() 74 aTextSize.Width() += HINT_INDENT; in ScHintWindow() 79 Size aWinSize( Max( aHeadSize.Width(), aTextSize.Width() ) + 2 * HINT_MARGIN + 1, in ScHintWindow()
|
H A D | printfun.cxx | 1082 aSize.Width() -= nLeftMargin + nRightMargin; in GetDataSize() 1149 aPos.X() = rOrg.Left() + rOrg.GetSize().Width()/2 - aGrfSize.Width()/2; in lcl_DrawGraphic() 1159 aPos.X() = rOrg.Left() + rOrg.GetSize().Width()/2 - aGrfSize.Width()/2; in lcl_DrawGraphic() 1169 aPos.X() = rOrg.Left() + rOrg.GetSize().Width()/2 - aGrfSize.Width()/2; in lcl_DrawGraphic() 1400 long nOneX = aOnePixel.Width(); in PrintColHdr() 1446 long nOneX = aOnePixel.Width(); in PrintRowHdr() 1488 long nOneX = aOnePixel.Width(); in LocateColHdr() 1509 long nOneX = aOnePixel.Width(); in LocateRowHdr() 1550 long nOneX = aOnePixel.Width(); in LocateArea() 1912 aDataSize.Width() -= nMarkLen; in DoNotes() [all …]
|
/aoo42x/main/cui/source/options/ |
H A D | optimprove.cxx | 85 const long nMinWidth = m_aYesRB.CalcMinimumSize().Width(); in SvxImprovementPage() 86 const long nNewWidth = std::max( aNewSize.Width() * 4 / 5, nMinWidth ); in SvxImprovementPage() 87 const long nWDelta = aNewSize.Width() - nNewWidth; in SvxImprovementPage() 88 aNewSize.Width() = nNewWidth; in SvxImprovementPage() 95 aNewSize.Width() = nNewWidth; in SvxImprovementPage() 100 aNewSize.Width() = nNewWidth; in SvxImprovementPage() 105 aNewSize.Width() -= nWDelta; in SvxImprovementPage() 109 aSize.Width() -= nWDelta; in SvxImprovementPage()
|
/aoo42x/main/sd/source/ui/presenter/ |
H A D | SlideRenderer.cxx | 151 if (rMaximalSize.Width <= 0 in calculatePreviewSize() 158 const double nWindowAspectRatio (double(rMaximalSize.Width) / double(rMaximalSize.Height)); in calculatePreviewSize() 165 rMaximalSize.Width, in calculatePreviewSize() 166 sal::static_int_cast<sal_Int32>(rMaximalSize.Width / nSlideAspectRatio)); in calculatePreviewSize() 198 double(aPageSize.Width()) / double(aPageSize.Height()), in CreatePreview() 200 if (aPreviewSize.Width <= 0 || aPreviewSize.Height <= 0) in CreatePreview() 217 Size(aPreviewSize.Width*nFactor, aPreviewSize.Height*nFactor), in CreatePreview() 225 Size(aPreviewSize.Width,aPreviewSize.Height), in CreatePreview()
|
/aoo42x/main/canvas/source/vcl/ |
H A D | impltools.cxx | 238 aBmpSize.Width(), in transformBitmap() 320 if( aDestBmpSize.Width() == 0 || aDestBmpSize.Height() == 0 ) in transformBitmap() 365 for( int x=0; x<aDestBmpSize.Width(); ++x ) in transformBitmap() 372 if( nSrcX < 0 || nSrcX >= aBmpSize.Width() || in transformBitmap() 411 for( int x=0; x<aDestBmpSize.Width(); ++x ) in transformBitmap() 418 if( nSrcX < 0 || nSrcX >= aBmpSize.Width() || in transformBitmap() 468 for( int x=0; x<aDestBmpSize.Width(); ++x ) in transformBitmap() 475 if( nSrcX < 0 || nSrcX >= aBmpSize.Width() || in transformBitmap() 490 for( int x=0; x<aDestBmpSize.Width(); ++x ) in transformBitmap() 497 if( nSrcX < 0 || nSrcX >= aBmpSize.Width() || in transformBitmap()
|
/aoo42x/main/avmedia/source/xine/ |
H A D | window.cxx | 186 int nW = aRect.Width, nH = aRect.Height; in implLayoutVideoWindow() 197 aPrefSize.Width >>= 2; in implLayoutVideoWindow() 203 aPrefSize.Width >>= 1; in implLayoutVideoWindow() 209 aPrefSize.Width <<= 1; in implLayoutVideoWindow() 215 aPrefSize.Width <<= 2; in implLayoutVideoWindow() 228 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in implLayoutVideoWindow() 230 nX = ( nVideoW - aPrefSize.Width ) >> 1; in implLayoutVideoWindow() 232 nWidth = aPrefSize.Width; in implLayoutVideoWindow() 240 if( aPrefSize.Width > 0 && aPrefSize.Height > 0 && nVideoW > 0 && nVideoH > 0 ) in implLayoutVideoWindow() 242 double fPrefWH = (double) aPrefSize.Width / aPrefSize.Height; in implLayoutVideoWindow()
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | wrtww8gr.cxx | 521 const sal_uInt16 nWidth = static_cast< sal_uInt16 >(aSize.Width()); in Insert() 627 aGrTwipSz.Width() = nWidth; in WritePICFHeader() 632 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Width() * 254L / 144)); in WritePICFHeader() 637 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Width())); in WritePICFHeader() 640 if ( aGrTwipSz.Width() + nXSizeAdd ) // set mx in WritePICFHeader() 821 || (aGrTwipSz.Width() < 0 ) || (aGrTwipSz.Height() < 0) ) in WritePICBulletFHeader() 823 aGrTwipSz.Width() = nWidth; in WritePICBulletFHeader() 828 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Width() * 254L / 144)); in WritePICBulletFHeader() 833 Set_UInt16(pArr, msword_cast<sal_uInt16>(aGrTwipSz.Width())); in WritePICBulletFHeader() 836 if( aGrTwipSz.Width() + nXSizeAdd ) // set mx in WritePICBulletFHeader() [all …]
|
/aoo42x/main/vcl/source/gdi/ |
H A D | gdimtf.cxx | 482 if( aDestSize.Width() && aDestSize.Height() ) in Play() 487 if( !aTmpPrefSize.Width() ) in Play() 488 aTmpPrefSize.Width() = aDestSize.Width(); in Play() 493 Fraction aScaleX( aDestSize.Width(), aTmpPrefSize.Width() ); in Play() 873 aOffset.Width() = static_cast<long>(aOffset.Width() * (double)aMap.GetScaleX()); in Move() 903 aPrefSize.Width() = FRound( aPrefSize.Width() * fScaleX ); in Scale() 968 aRet.Move( rOffset.Width(), rOffset.Height() ); in ImplGetRotatedPolygon() 1891 aClipStack.back().Move( aDelta.Width(), aDelta.Width() ); in GetBoundRect() 3044 if ( aSizePix.Width() && aSizePix.Height() in CreateThumbnail() 3060 aSizePix.Width() = nMaximumExtent; in CreateThumbnail() [all …]
|
/aoo42x/main/sw/source/core/text/ |
H A D | itrpaint.cxx | 124 if( nPaintOfst && pCurr->Width() ) in CalcPaintOfst() 128 while( pPor && GetInfo().X() + pPor->Width() + (pPor->Height()/2) in CalcPaintOfst() 134 long nTmp = GetInfo().X() +pPor->Width() + in CalcPaintOfst() 148 if( pLast && !pLast->Width() && pLast->IsPostItsPortion() ) in CalcPaintOfst() 285 if( GetInfo().OnWin() && pPor && !pPor->Width() ) in DrawTextLine() 332 if ( pPor->Width() && pPor->InTxtGrp() ) in DrawTextLine() 369 GetInfo().X() + pPor->Width() + ( pPor->Height() / 2 ) > nMaxRight ) in DrawTextLine() 377 if( GetInfo().OnWin() && pNext && !pNext->Width() ) in DrawTextLine() 641 nSumWidth += pPor->Width(); in CheckSpecialUnderline() 657 nSumHeight += pPor->Width() * nFontHeight; in CheckSpecialUnderline() [all …]
|
H A D | porlin.hxx | 93 inline void PrtWidth( KSHORT nNewWidth ) { Width( nNewWidth ); } in PrtWidth() 94 inline KSHORT PrtWidth() const { return Width(); } in PrtWidth() 95 inline void AddPrtWidth( const KSHORT nNew ) { Width( Width() + nNew ); } in AddPrtWidth() 96 inline void SubPrtWidth( const KSHORT nNew ) { Width( Width() - nNew ); } in SubPrtWidth() 214 Width() == rPortion.Width() && in operator ==()
|
/aoo42x/main/sw/source/core/frmedt/ |
H A D | fews.cxx | 836 default: aPos.X() += pFrm->Frm().Width(); in CalcBoundRect() 848 pFrm->Frm().Width(); break; in CalcBoundRect() 857 case text::RelOrientation::FRAME_RIGHT: aPos.X() += pFrm->Prt().Width(); in CalcBoundRect() 1113 aVertEnvironRect.Width(), in CalcBoundRect() 1120 aHoriEnvironRect.Width(), in CalcBoundRect() 1146 _orRect.Width( (_orRect.Width()*9)/10 ); in CalcBoundRect() 1229 pFrm->Prt().Width(); in CalcBoundRect() 1239 pPage->Prt().Width() ; in CalcBoundRect() 1258 aPos.X() += pFrm->Prt().Width(); in CalcBoundRect() 1314 if ( aRet.Width() == 0 && aRet.Height() == 0 && in GetGraphicDefaultSize() [all …]
|
/aoo42x/main/filter/source/pdf/ |
H A D | impdialog.cxx | 460 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabGeneralPage() 1073 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabSecurityPage() 1298 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() 1300 Size aNewSize( aSize.Width(), nLineHeight ); in ImpPDFTabLinksPage() 1310 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() 1312 Size aNewSize( aSize.Width(), nLineHeight ); in ImpPDFTabLinksPage() 1322 if ( aSize.Width() > aMinSize.Width() ) in ImpPDFTabLinksPage() 1324 Size aNewSize( aSize.Width(), nLineHeight ); in ImpPDFTabLinksPage() 1532 aImageSize.Width() += 6; in ImplErrorDialog() 1540 … Size( aDlgSize.Width() - aImageSize.Width() - 15, aImageSize.Height() ) ); in ImplErrorDialog() [all …]
|
/aoo42x/main/sfx2/source/appl/ |
H A D | workwin.cxx | 942 aTmp.Left() += aSize.Width(); in Arrange_Impl() 2837 aSize.Width() = pSplitWin->GetSizePixel().Width(); in ArrangeAutoHideWindows() 2841 long nLeft = aPos.X() + aSize.Width(); in ArrangeAutoHideWindows() 2850 aPos.X() += aSize.Width(); in ArrangeAutoHideWindows() 2854 aSize.Width() = pSplitWin->GetSizePixel().Width(); in ArrangeAutoHideWindows() 2856 aPos.X() -= aSize.Width(); in ArrangeAutoHideWindows() 2863 aSize.Width() = aArea.GetWidth(); in ArrangeAutoHideWindows() 2883 aSize.Width() = aArea.GetWidth(); in ArrangeAutoHideWindows() 2907 aSize.Width() = aArea.GetWidth(); in ArrangeAutoHideWindows() 2945 aArea.Left() += aSize.Width(); in GetFreeArea() [all …]
|
/aoo42x/main/UnoControls/source/controls/ |
H A D | progressmonitor.cxx | 510 Size aProgressBarSize = Size( aTempRectangle.Width, aTempRectangle.Height ); in getPreferredSize() 519 nWidth += aProgressBarSize.Width ; in getPreferredSize() 565 setPosSize ( 0, 0, aDefaultSize.Width, aDefaultSize.Height, PosSize::SIZE ) ; in createPeer() 637 ( nWidth != aBasePosSize.Width ) || in setPosSize() 694 rGraphics->drawLine ( m_a3DLine.X, m_a3DLine.Y, m_a3DLine.X+m_a3DLine.Width, m_a3DLine.Y ) ; in impl_paint() 760 nWidth_Button = aButtonSize.Width ; in impl_recalcLayout() 767 nWidth_Topic_Top = Max ( aTopicSize_Top.Width, aTopicSize_Bottom.Width ) ; in impl_recalcLayout() 774 nWidth_Text_Top = Max ( aTextSize_Top.Width, aTextSize_Bottom.Width ) ; in impl_recalcLayout() 851 m_a3DLine.Width = nWidth_ProgressBar ; in impl_recalcLayout() 859 xGraphics->drawLine ( m_a3DLine.X, m_a3DLine.Y, m_a3DLine.X+m_a3DLine.Width, m_a3DLine.Y ) ; in impl_recalcLayout() [all …]
|
/aoo42x/main/starmath/source/ |
H A D | toolbox.cxx | 260 DBG_ASSERT( aCatSize.Width() == aCmdSize.Width(), "width mismatch" ); in AdjustPosSize() 269 …aToolBoxCat_Delim.SetSizePixel( Size( aCatSize.Width(), aToolBoxCat_Delim.GetSizePixel().Height() … in AdjustPosSize() 278 …Size aWndSize ( aCatSize.Width(), pToolBoxCmd->GetPosPixel().Y() + pToolBoxCmd->GetSizePixel().… in AdjustPosSize() 290 Point( rWin.GetSizePixel().Width() - aWndSize.Width(), 0) ) ); in AdjustPosSize() 351 DBG_ASSERT( aCatSize.Width() == aCmdSize.Width(), "width mismatch" ); in SetCategory() 353 Size aWndSize ( aCatSize.Width(), pToolBoxCmd->GetPosPixel().Y() + aCmdSize.Height() + 3); in SetCategory()
|
/aoo42x/main/sdext/source/presenter/ |
H A D | PresenterCanvasHelper.cxx | 96 if (rContentBoundingBox.Width > 0 && rContentBoundingBox.Height > 0) in PaintRectangle() 176 const sal_Int32 nLeft = (rRepaintBox.X / aBitmapSize.Width) * aBitmapSize.Width; in PaintTiledBitmap() 178 const sal_Int32 nRight = ((rRepaintBox.X + rRepaintBox.Width - 1 + aBitmapSize.Width - 1) in PaintTiledBitmap() 179 / aBitmapSize.Width) * aBitmapSize.Width; in PaintTiledBitmap() 184 for (sal_Int32 nX=nLeft; nX<=nRight; nX+=aBitmapSize.Width) in PaintTiledBitmap() 187 awt::Rectangle(nX,nY,aBitmapSize.Width,aBitmapSize.Height), in PaintTiledBitmap()
|
H A D | PresenterHelpView.cxx | 315 awt::Rectangle(0,0,aWindowBox.Width,aWindowBox.Height), in Paint() 332 geometry::RealPoint2D(aWindowBox.Width/2, gnVerticalBorder), in Paint() 333 geometry::RealPoint2D(aWindowBox.Width/2, mnSeparatorY - gnVerticalBorder), in Paint() 340 geometry::RealPoint2D(aWindowBox.Width, mnSeparatorY), in Paint() 355 aWindowBox.Width/2 - gnHorizontalGap, in Paint() 364 aWindowBox.Width/2 + gnHorizontalGap, in Paint() 366 aWindowBox.Width - gnHorizontalGap, in Paint() 427 if (aWindowBox.Width<=0 || aWindowBox.Height<=0) in CheckFontSize() 541 mnMaximalWidth = (mxWindow->getPosSize().Width - 4*gnHorizontalGap) / 2; in Resize() 548 aWindowBox.Width/2, in Resize() [all …]
|
/aoo42x/main/cui/source/tabpages/ |
H A D | tpline.cxx | 1706 if(aSize.Width() > MAX_BMP_WIDTH || in IMPL_LINK() 1709 sal_Bool bWidth = aSize.Width() > aSize.Height(); in IMPL_LINK() 1711 (double)MAX_BMP_WIDTH / (double)aSize.Width(): in IMPL_LINK() 1793 sal_Bool bWidth = aSize.Width() > aSize.Height(); in IMPL_LINK() 1795 (double)MAX_BMP_WIDTH / (double)aSize.Width(): in IMPL_LINK() 1836 if(aSize.Width() > MAX_BMP_WIDTH || in IMPL_STATIC_LINK() 1971 if (aSymbolLastSize.Height() && aSymbolLastSize.Width()) in IMPL_LINK() 1979 long nDelta = nWidthVal - aSymbolLastSize.Width(); in IMPL_LINK() 1980 aSymbolSize.Width() = nWidthVal; in IMPL_LINK() 1994 aSymbolSize.Width() = aSymbolLastSize.Width() + (long)((double)nDelta * fSizeRatio); in IMPL_LINK() [all …]
|
/aoo42x/main/sd/source/ui/view/ |
H A D | drviewsh.cxx | 107 sal_Int32 nFreeSpaceX(aVisAreaSize.Width() - aLogicSize.Width()); in MakeVisible() 120 aVisArea.Left() + ((aVisAreaSize.Width() * nPercentBorder) / 200), in MakeVisible() 122 aVisArea.Right() - ((aVisAreaSize.Width() * nPercentBorder) / 200), in MakeVisible() 132 aNewPos.X() -= aVisAreaSize.Width() / 2; in MakeVisible() 138 aNewPos.X() += aVisAreaSize.Width() / 2; in MakeVisible() 146 while(rRect.Right() > aNewPos.X() + aVisAreaSize.Width()) in MakeVisible()
|
/aoo42x/main/sd/source/filter/grf/ |
H A D | sdgrffilter.cxx | 229 aPagSize.Width() -= pPage->GetLftBorder() + pPage->GetRgtBorder(); in Import() 233 if ( ( ( aGrfSize.Height() > aPagSize.Height() ) || ( aGrfSize.Width() > aPagSize.Width() ) ) && in Import() 236 double fGrfWH = (double) aGrfSize.Width() / aGrfSize.Height(); in Import() 237 double fWinWH = (double) aPagSize.Width() / aPagSize.Height(); in Import() 242 aGrfSize.Width() = (long) ( aPagSize.Height() * fGrfWH ); in Import() 247 aGrfSize.Width() = aPagSize.Width(); in Import() 248 aGrfSize.Height()= (long) ( aPagSize.Width() / fGrfWH ); in Import() 253 aPos.X() = ( ( aPagSize.Width() - aGrfSize.Width() ) >> 1 ) + pPage->GetLftBorder(); in Import()
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | basedlgs.cxx | 251 aPos.X() += ( aParentSize.Width() - aDlgSize.Width() ) / 2; in StateChanged() 256 aPoint.X() = aRect.Right() - aDlgSize.Width(); in StateChanged() 864 aImageSize.Width() += 4; in SetPage() 884 Size aFLSz = LogicToPixel( Size( aOutSz.Width(), RSC_CD_FIXEDLINE_HEIGHT ) ); in SetPage() 889 aPnt.X() = aOutSz.Width() - aOffSz.Width() - aBtnSz.Width(); in SetPage() 895 aPnt.X() = aOffSz.Width(); in SetPage() 965 Point aPnt( aOutSz.Width(), LogicToPixel( Point( 0, 6 ), MAP_APPFONT ).Y() ); in SetTabPage() 966 aOutSz.Width() += aBtnSiz.Width() + LogicToPixel( Size( 6, 0 ), MAP_APPFONT ).Width(); in SetTabPage()
|
/aoo42x/main/sw/source/filter/html/ |
H A D | htmltabw.cxx | 132 if( !aSz.Width() ) in Pixelize() 133 aSz.Width() = 1; in Pixelize() 135 rValue = (sal_uInt16)aSz.Width(); in Pixelize() 373 if( aOldSz.Width() && !aPixelSz.Width() ) in OutTableCell() 374 aPixelSz.Width() = 1; in OutTableCell() 684 if( !aPixelSpc.Width() && nHSpace ) in Write() 685 aPixelSpc.Width() = 1; in Write() 689 if( aPixelSpc.Width() ) in Write() 997 nFlyWidth = rFrmSize.GetSize().Width(); in OutHTML_SwTblNode() 1022 long nWidth = rFrmSize.GetSize().Width(); in OutHTML_SwTblNode() [all …]
|
/aoo42x/main/svtools/source/contnr/ |
H A D | svimpbox.cxx | 1200 aHorSize.Width() -= nTabBarWidth; in PositionScrollBars() 1202 aTabSize.Width() = nTabBarWidth; in PositionScrollBars() 1206 aHorSize.Width() -= nVerSBarWidth; in PositionScrollBars() 1211 Point aVerPos( rSize.Width() - aVerSize.Width() + nOverlap, -nOverlap ); in PositionScrollBars() 1214 aHorSize.Width() += 2 * nOverlap; in PositionScrollBars() 1222 rSize.Width() = aVerPos.X(); in PositionScrollBars() 1324 aHorSBar.SetVisibleSize( aOSize.Width() ); in AdjustScrollBars() 1461 long nMaxRight = GetOutputSize().Width(); in ShowVerSBar() 1656 nNodeBmpWidth = aSize.Width(); in SetNodeBmpYOffset() 1667 nNodeBmpTabDistance -= aSize.Width() / 2; in SetNodeBmpTabDistance() [all …]
|
/aoo42x/main/svtools/source/graphic/ |
H A D | provider.cxx | 522 if ( aSourceSizePixel.Width() && aSourceSizePixel.Height() ) in ImplCalculateCropRect() 535 if ( aSize100thMM.Width() && aSize100thMM.Height() ) in ImplCalculateCropRect() 537 double fSourceSizePixelWidth = static_cast<double>(aSourceSizePixel.Width()); in ImplCalculateCropRect() 539 …static_cast< sal_Int32 >((fSourceSizePixelWidth * rGraphicCropLogic.Left ) / aSize100thMM.Width()); in ImplCalculateCropRect() 541 …t32 >(( fSourceSizePixelWidth * ( aSize100thMM.Width() - rGraphicCropLogic.Right ) ) / aSize100thM… in ImplCalculateCropRect() 565 if ( nImageResolution && rLogicalSize.Width && rLogicalSize.Height ) in ImplApplyBitmapResolution() 568 …PIX = ( static_cast<double>(rVisiblePixelSize.Width()) * 2540.0 ) / static_cast<double>(rLogicalSi… in ImplApplyBitmapResolution() 570 const sal_Int32 nSourcePixelWidth( rGraphic.GetSizePixel().Width() ); in ImplApplyBitmapResolution() 654 if ( aMtfSize.Width() && aMtfSize.Height() ) in ImplApplyFilterData() 657 …pMode.SetScaleX( static_cast< double >( aLogicalSize.Width ) / static_cast< double >( aMtfSize.Wid… in ImplApplyFilterData() [all …]
|
/aoo42x/main/vcl/source/control/ |
H A D | combobox.cxx | 622 aPrefSz.Width() = nWidth; in SetPosSizePixel() 675 aOutSz.Width() -= aContent.getWidth(); in Resize() 688 mpSubEdit->SetSizePixel( Size( aOutSz.Width(), mnDDHeight ) ); in Resize() 1133 aSz.Width() = mpImplLB->GetMaxEntryWidth(); in CalcMinimumSize() 1134 aSz.Width() += GetSettings().GetStyleSettings().GetScrollBarSize(); in CalcMinimumSize() 1189 aSz.Width() = nColumns * GetTextWidth( UniString( 'X' ) ); in CalcSize() 1191 aSz.Width() = aMinSz.Width(); in CalcSize() 1194 aSz.Width() += GetSettings().GetStyleSettings().GetScrollBarSize(); in CalcSize() 1198 if ( aSz.Width() < aMinSz.Width() ) in CalcSize() 1216 rnCols = (sal_uInt16)(aOutSz.Width()/nCharWidth); in GetMaxVisColumnsAndLines() [all …]
|