/trunk/main/cui/source/dialogs/ |
H A D | commonlingui.cxx | 197 Size aSize; in Enlarge() local 208 aSize = pResize[i]->GetSizePixel( ); in Enlarge() 209 pResize[i]->SetSizePixel( Size( aSize.Width() + _nX, aSize.Height() + _nY ) ); in Enlarge()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_ChartType.cxx | 206 Size aSize( m_aCB_3DLook.CalcMinimumSize() ); in setPosition() local 207 m_aCB_3DLook.SetPosSizePixel(rPoint,aSize); in setPosition() 209 aLBPos.X() += aSize.Width() in setPosition() 673 Size aSize( m_aCB_Splines.CalcMinimumSize() ); in setPosition() local 675 m_aCB_Splines.SetSizePixel( aSize ); in setPosition() 684 aNew.X() += ( aSize.Width() + aDistanceSize.Width() ); in setPosition() 832 Size aSize( this->GetSizePixel() ); in ChartTypeTabPage() local 833 this->SetSizePixel( Size( aSize.Width(), aSize.Height()-nYDiff+3 ) ); in ChartTypeTabPage()
|
/trunk/main/sw/source/ui/shells/ |
H A D | grfsh.cxx | 267 SwFmtFrmSize aSize; in Execute() local 269 aSize.SetWidth( rSz.Width() ); in Execute() 270 aSize.SetHeight( rSz.Height() ); in Execute() 276 aSize.SetWidthPercent( static_cast< sal_uInt8 >( rRelativeSize.Width() ) ); in Execute() 277 … aSize.SetHeightPercent( static_cast< sal_uInt8 >( rRelativeSize.Height() ) ); in Execute() 279 pSet->Put( aSize ); in Execute()
|
/trunk/main/wizards/com/sun/star/wizards/form/ |
H A D | FormControlArranger.java | 538 Size aSize = new Size(m_LabelWidth, m_LabelHeight); in insertLabel() local 545 aSize.Width = m_LabelWidth; in insertLabel() 546 LabelControlList[i].setSize(aSize); in insertLabel() 556 …trolList[i] = new Control(oFormHandler, xFormName, FormHandler.SOLABEL, sFieldName, aPoint, aSize); in insertLabel() 563 aSize.Width = m_LabelWidth; in insertLabel() 564 LabelControlList[i].setSize(aSize); in insertLabel()
|
/trunk/main/sd/source/core/ |
H A D | drawdoc3.cxx | 479 Size aSize(pRefPage->GetSize()); in InsertBookmarkAsPage() local 915 pRefPage->ScaleObjects(aSize, aBorderRect, sal_True); in InsertBookmarkAsPage() 917 pRefPage->SetSize(aSize); in InsertBookmarkAsPage() 953 pRefPage->ScaleObjects(aSize, aBorderRect, sal_True); in InsertBookmarkAsPage() 955 pRefPage->SetSize(aSize); in InsertBookmarkAsPage() 1940 Size aSize(rOldMaster.GetSize()); in SetMasterPage() local 1945 pMaster->ScaleObjects(aSize, aBorderRect, sal_True); in SetMasterPage() 1946 pMaster->SetSize(aSize); in SetMasterPage() 1954 aSize = rOldNotesMaster.GetSize(); in SetMasterPage() 1959 pNotesMaster->ScaleObjects(aSize, aNotesBorderRect, sal_True); in SetMasterPage() [all …]
|
/trunk/main/dbaccess/source/ui/control/ |
H A D | FieldDescControl.cxx | 1173 Size aSize(0,nControlHeight); in SetPosSize() local 1175 aSize.Width() = LogicToPixel(Size(m_nWidth, 0),MAP_APPFONT).Width(); in SetPosSize() 1182 aSize.Width() = CONTROL_WIDTH_1; in SetPosSize() 1185 aSize.Width() = CONTROL_WIDTH_2; in SetPosSize() 1188 aSize.Width() = CONTROL_WIDTH_3; in SetPosSize() 1191 aSize.Width() = CONTROL_WIDTH_4; in SetPosSize() 1212 aPosition.X() = aOwnSize.Width() - aSize.Width(); in SetPosSize() 1221 (*ppControl)->SetSizePixel( aSize ); in SetPosSize() 1222 aSize = (*ppControl)->GetSizePixel( ); in SetPosSize() 1230 (*ppControl)->SetPosSizePixel( aPosition, aSize ); in SetPosSize() [all …]
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | JoinTableView.cxx | 515 Size aSize = _pView->getRealOutputSize(); //GetOutputSizePixel(); in getMovementImpl() local 518 sal_Bool bFitsHor = (aUpperLeft.X() >= 0) && (aLowerRight.X() <= aSize.Width()); in getMovementImpl() 519 sal_Bool bFitsVert= (aUpperLeft.Y() >= 0) && (aLowerRight.Y() <= aSize.Height()); in getMovementImpl() 526 if ( aLowerRight.X() > aSize.Width() ) in getMovementImpl() 527 _nScrollX = aLowerRight.X() - aSize.Width() + TABWIN_SPACING_X; in getMovementImpl() 538 if ( aLowerRight.Y() > aSize.Height() ) in getMovementImpl() 539 _nScrollY = aLowerRight.Y() - aSize.Height() + TABWIN_SPACING_Y; in getMovementImpl() 557 if ( aSize.Width() + _pView->GetHScrollBar()->GetThumbPos() + _nScrollX > nHRangeMax ) in getMovementImpl() 559 …if ( bVisbile && aSize.Height() + _pView->GetVScrollBar()->GetThumbPos() + _nScrollY > nVRangeMax ) in getMovementImpl() 1630 …Size aSize(CalcZoom(aIter->second->GetSizePixel().Width()),CalcZoom(aIter->second->GetSizePixel().… in StateChanged() local [all …]
|
/trunk/main/starmath/inc/ |
H A D | rect.hxx | 92 Size aSize; member in SmRect 131 void SetWidth(sal_uLong nWidth) { aSize.Width() = nWidth; } in SetWidth() 132 void SetHeight(sal_uLong nHeight) { aSize.Height() = nHeight; } in SetHeight() 178 const Size & GetSize() const { return aSize; } in GetSize()
|
/trunk/main/sd/source/ui/animations/ |
H A D | DialogListBox.cxx | 248 Size aSize( maInnerSize ); in ImplResizeChild() local 255 aSize.Width() += nOffset; in ImplResizeChild() 262 aSize.Height() += nOffset; in ImplResizeChild() 265 mpChild->SetPosSizePixel( aWinPos, aSize ); in ImplResizeChild()
|
/trunk/main/filter/source/svg/ |
H A D | svgimport.cxx | 142 ::com::sun::star::awt::Size aSize; in implImport() 161 aSize.Width = aGraphicSize.Width(); in implImport() 162 aSize.Height = aGraphicSize.Height(); in implImport() 165 xShape->setSize( aSize ); in implImport()
|
/trunk/main/avmedia/source/java/ |
H A D | Player.java | 228 com.sun.star.awt.Size aSize = new com.sun.star.awt.Size( 0, 0 ); in getPreferredPlayerWindowSize() local 234 aSize.Width = Math.max( aDim.width, 0 ); in getPreferredPlayerWindowSize() 235 aSize.Height = Math.max( aDim.height, 0 ); in getPreferredPlayerWindowSize() 238 return aSize; in getPreferredPlayerWindowSize()
|
/trunk/main/sd/source/ui/accessibility/ |
H A D | AccessibleSlideSorterView.cxx | 471 const Size aSize (mpContentWindow->GetOutputSizePixel()); in getBounds() local 475 aBBox.Width = aSize.Width(); in getBounds() 476 aBBox.Height = aSize.Height(); in getBounds() 537 awt::Size aSize; in getSize() local 542 aSize.Width = aOutputSize.Width(); in getSize() 543 aSize.Height = aOutputSize.Height(); in getSize() 546 return aSize; in getSize()
|
/trunk/main/filter/source/graphicfilter/eos2met/ |
H A D | eos2met.cxx | 204 void METBitBlt(Point aPt, Size aSize, const Size& rSizePixel); 227 void METSetChrCellSize(Size aSize); 1140 void METWriter::METBitBlt(Point aPt, Size aSize, const Size& rBmpSizePixel) in METBitBlt() argument 1146 WritePoint(Point(aPt.X(),aPt.Y()+aSize.Height())); in METBitBlt() 1147 WritePoint(Point(aPt.X()+aSize.Width(),aPt.Y())); in METBitBlt() 1433 void METWriter::METSetChrCellSize(Size aSize) in METSetChrCellSize() argument 1435 if (aMETChrCellSize==aSize) in METSetChrCellSize() 1438 aMETChrCellSize=aSize; in METSetChrCellSize() 1440 if (aSize.Width()==0) aSize.Width()=aSize.Height(); in METSetChrCellSize() 1441 *pMET << (sal_uInt8)0x33 << (sal_uInt8)8 << (long)aSize.Width() << (long)aSize.Height(); in METSetChrCellSize()
|
/trunk/main/svtools/source/misc/ |
H A D | embedhlp.cxx | 526 awt::Size aSize; in GetSize() local 532 aSize = mxObj->getVisualAreaSize( mpImp->nViewAspect ); in GetSize() 552 if ( !aSize.Height && !aSize.Width ) in GetSize() 554 aSize.Width = 5000; in GetSize() 555 aSize.Height = 5000; in GetSize() 558 aResult = Size( aSize.Width, aSize.Height ); in GetSize()
|
/trunk/main/cui/source/options/ |
H A D | optupdt.cxx | 400 Size aSize = m_aCheckNowButton.GetSizePixel(); in CalcButtonWidth() local 402 if ( nTxtWidth > aSize.Width() ) in CalcButtonWidth() 404 aSize.Width() = nTxtWidth; in CalcButtonWidth() 405 m_aCheckNowButton.SetSizePixel( aSize ); in CalcButtonWidth() 406 m_aChangePathButton.SetSizePixel( aSize ); in CalcButtonWidth()
|
/trunk/main/sfx2/source/view/ |
H A D | viewfrm.cxx | 1316 Size aSize = pVSh->GetWindow()->GetOutputSizePixel(); in SetBorderPixelImpl() local 1317 if ( aSize.Width() && aSize.Height() ) in SetBorderPixelImpl() 1319 aSize.Width() += rBorder.Left() + rBorder.Right(); in SetBorderPixelImpl() 1320 aSize.Height() += rBorder.Top() + rBorder.Bottom(); in SetBorderPixelImpl() 1323 GetWindow().SetOutputSizePixel( aSize ); in SetBorderPixelImpl() 1328 aOuterSize.Width() += ( aSize.Width() - aOldSize.Width() ); in SetBorderPixelImpl() 1864 Size aSize = pWindow->LogicToPixel(rSize); in DoAdjustPosSize() local 1865 DoAdjustPosSizePixel(pSh, aPos, aSize); in DoAdjustPosSize() 2786 Size aSize = GetWindow().GetOutputSizePixel(); in Resize() local 2787 if ( bForce || aSize != pImp->aSize ) in Resize() [all …]
|
/trunk/main/svtools/source/contnr/ |
H A D | svimpbox.cxx | 1364 Size aSize( pView->Control::GetOutputSizePixel() ); in InitScrollBarBox() local 1365 aScrBarBox.SetPosPixel( Point(aSize.Width()-nVerSBarWidth, aSize.Height()-nHorSBarHeight)); in InitScrollBarBox() 1370 Size aSize( pView->Control::GetOutputSizePixel()); in Resize() local 1371 if( aSize.Width() <= 0 || aSize.Height() <= 0 ) in Resize() 1545 AdjustScrollBars( aSize ); in SetEntryHeight() 1654 Size aSize; in SetNodeBmpYOffset() local 1656 nNodeBmpWidth = aSize.Width(); in SetNodeBmpYOffset() 1666 Size aSize = GetExpandedNodeBmp().GetSizePixel(); in SetNodeBmpTabDistance() local 1667 nNodeBmpTabDistance -= aSize.Width() / 2; in SetNodeBmpTabDistance() 3341 Size aSize( pItem->GetSize( pView, pEntry ) ); in RequestHelp() local [all …]
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlexp2.cxx | 99 Size aSize( MMToPixel( aObjRect.GetSize() ) ); in FillGraphList() local 124 aR, aSize, bInCell, aSpace ); in FillGraphList() 138 ByteString::CreateFromInt32( pE->aSize.Width() ); in WriteGraphEntry() 140 ByteString::CreateFromInt32( pE->aSize.Height() ); in WriteGraphEntry()
|
/trunk/main/basebmp/test/ |
H A D | cliptest.cxx | 198 const basegfx::B2ISize aSize(11,11); in SetUp() local 199 mpClipMask = createBitmapDevice( aSize, in SetUp() 202 mpDevice1bpp = createBitmapDevice( aSize, in SetUp() 205 mpDevice32bpp = createBitmapDevice( aSize, in SetUp()
|
/trunk/main/desktop/source/deployment/gui/ |
H A D | dp_gui_dialog2.cxx | 188 Size aSize = LogicToPixel( Size( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ), in ExtBoxWithBtns_Impl() local 190 m_pOptionsBtn->SetSizePixel( aSize ); in ExtBoxWithBtns_Impl() 191 m_pEnableBtn->SetSizePixel( aSize ); in ExtBoxWithBtns_Impl() 192 m_pRemoveBtn->SetSizePixel( aSize ); in ExtBoxWithBtns_Impl() 194 SetExtraSize( aSize.Height() + 2 * TOP_OFFSET ); in ExtBoxWithBtns_Impl() 1186 Size aSize( aTotalSize.Width() - RSC_SP_DLG_INNERBORDER_LEFT - RSC_SP_DLG_INNERBORDER_RIGHT, in Resize() local 1190 m_pExtensionBox->SetSizePixel( aSize ); in Resize() 1586 Size aSize( aTotalSize.Width() - RSC_SP_DLG_INNERBORDER_LEFT - RSC_SP_DLG_INNERBORDER_RIGHT, in Resize() local 1591 m_pExtensionBox->SetPosSizePixel( aPos, aSize ); in Resize() 1594 aPos.Y() += aSize.Height()+RSC_SP_DLG_INNERBORDER_TOP; in Resize()
|
/trunk/main/sc/source/ui/view/ |
H A D | gridwin.cxx | 668 Size aSize( nSizeX, nHeight ); in LaunchPageFieldMenu() local 675 pFilterBox->SetSizePixel( aSize ); in LaunchPageFieldMenu() 791 Size aSize( nSizeX, nHeight ); in DoScenarioMenue() local 792 pFilterBox->SetSizePixel( aSize ); in DoScenarioMenue() 828 aSize = Size( nMaxText, nHeight ); in DoScenarioMenue() 829 pFilterBox->SetSizePixel( aSize ); in DoScenarioMenue() 1028 Size aSize( nSizeX, nHeight ); in DoAutoFilterMenue() local 1035 pFilterBox->SetSizePixel( aSize ); in DoAutoFilterMenue() 3233 Size aSize = GetOutputSizePixel(); in DropScroll() local 4856 if ( aPos.X() >= aSize.Width() ) in RFMouseMove() [all …]
|
/trunk/main/starmath/source/ |
H A D | utility.cxx | 334 Size aSize (rSize); in SetSize() local 339 if (aSize.Height() < nMinVal) in SetSize() 340 aSize.Height() = nMinVal; in SetSize() 347 Font::SetSize(aSize); in SetSize()
|
/trunk/main/vcl/source/gdi/ |
H A D | pdfwriter.cxx | 199 Size aSize = OutputDevice::LogicToLogic( rBitmap.GetPrefSize(), in DrawBitmap() local 202 ((PDFWriterImpl*)pImplementation)->drawBitmap( rDestPt, aSize, rBitmap ); in DrawBitmap() 219 Size aSize = OutputDevice::LogicToLogic( rBitmap.GetPrefSize(), in DrawBitmapEx() local 222 ((PDFWriterImpl*)pImplementation)->drawBitmap( rDestPt, aSize, rBitmap ); in DrawBitmapEx() 242 Size aSize = OutputDevice::LogicToLogic( rBitmap.GetPrefSize(), in DrawMask() local 245 ((PDFWriterImpl*)pImplementation)->drawMask( rDestPt, aSize, rBitmap, rMaskColor ); in DrawMask()
|
/trunk/main/canvas/source/directx/ |
H A D | dx_surfacebitmap.cxx | 684 const geometry::IntegerSize2D aSize( maSize.getX(),maSize.getY() ); in setPixel() local 686 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in setPixel() 688 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aSize.Height, in setPixel() 747 const geometry::IntegerSize2D aSize( maSize.getX(),maSize.getY() ); in getPixel() local 749 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in getPixel() 751 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aSize.Height, in getPixel()
|
/trunk/main/svl/unx/inc/ |
H A D | convert.hxx | 44 static void Swap( Size & aSize ) in Swap() argument 45 { Swap( aSize.Width() ); Swap( aSize.Height() ); } in Swap()
|