/trunk/main/sw/source/ui/utlui/ |
H A D | uitool.cxx | 207 SwFmtFrmSize aSize(ATT_FIX_SIZE); in ItemSetToPageDesc() local 208 aSize.SetSize(rSizeItem.GetSize()); in ItemSetToPageDesc() 209 rMaster.SetFmtAttr(aSize); in ItemSetToPageDesc() 418 SvxSizeItem aSize(SID_ATTR_PAGE_SIZE, Size(rFrmSize.GetSize())); in PageDescToItemSet() local 419 aHeaderSet.Put(aSize); in PageDescToItemSet() 471 SvxSizeItem aSize(SID_ATTR_PAGE_SIZE, Size(rFrmSize.GetSize())); in PageDescToItemSet() local 472 aFooterSet.Put(aSize); in PageDescToItemSet()
|
/trunk/main/vcl/source/app/ |
H A D | help.cxx | 405 Size aSize; in SetHelpText() local 406 aSize.Height() = GetTextHeight(); in SetHelpText() 408 aSize.Width() = GetCtrlTextWidth( maHelpText ); in SetHelpText() 410 aSize.Width() = GetTextWidth( maHelpText ); in SetHelpText() 411 maTextRect = Rectangle( Point( HELPTEXTMARGIN_QUICK, HELPTEXTMARGIN_QUICK ), aSize ); in SetHelpText() 435 Size aSize( CalcOutSize() ); in SetHelpText() local 436 SetOutputSizePixel( aSize ); in SetHelpText()
|
/trunk/main/toolkit/source/awt/ |
H A D | vclxdevice.cxx | 330 …L_CALL VCLXDevice::convertSizeToLogic( const ::com::sun::star::awt::Size& aSize, ::sal_Int16 Targe… in convertSizeToLogic() argument 332 (void)aSize; in convertSizeToLogic() 347 ::Size aVCLSize = VCLUnoHelper::ConvertToVCLSize(aSize); in convertSizeToLogic() 355 …L_CALL VCLXDevice::convertSizeToPixel( const ::com::sun::star::awt::Size& aSize, ::sal_Int16 Sourc… in convertSizeToPixel() argument 357 (void)aSize; in convertSizeToPixel() 371 ::Size aVCLSize = VCLUnoHelper::ConvertToVCLSize(aSize); in convertSizeToPixel()
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsTheme.cxx | 268 const Size aSize (pFont->GetSize()); in GetFont() local 269 pFont->SetSize(Size(aSize.Width()*5/3, aSize.Height()*5/3)); in GetFont() 278 const Size aSize (pFont->GetSize()); in GetFont() local 279 pFont->SetSize(Size(aSize.Width()*4/3, aSize.Height()*4/3)); in GetFont()
|
/trunk/main/writerfilter/source/dmapper/ |
H A D | FormControlHelper.cxx | 51 awt::Size aSize; member 192 m_pImpl->aSize.Width = nCheckBoxHeight; in createCheckbox() 193 m_pImpl->aSize.Height = m_pImpl->aSize.Width; in createCheckbox() 277 xShape->setSize(m_pImpl->aSize); in insertControl()
|
/trunk/main/canvas/source/directx/ |
H A D | dx_5rm.cxx | 1265 const ::basegfx::B2ISize aSize( getFramebufferSize() ); in create() local 1271 aSurfaceDesc.dwHeight= aSize.getY(); in create() 1272 aSurfaceDesc.dwWidth = aSize.getX(); in create() 1895 aSurfaceDesc.dwHeight= aSize.getY(); in validateMainSurfaces() 1896 aSurfaceDesc.dwWidth = aSize.getX(); in validateMainSurfaces() 2101 ::basegfx::B2ISize aSize(surfaceSize); in createSurface() 2102 if(!(aSize.getX())) in createSurface() 2103 aSize.setX(rPageSize.getX()); in createSurface() 2104 if(!(aSize.getY())) in createSurface() 2105 aSize.setY(rPageSize.getY()); in createSurface() [all …]
|
/trunk/main/accessibility/inc/accessibility/helper/ |
H A D | listboxhelper.hxx | 72 Size aSize = aTemp.GetSize(); in GetBoundingRectangle() local 73 aSize.Height() /= m_aComboListBox.GetDisplayLineCount(); in GetBoundingRectangle() 75 aTopLeft.Y() += aSize.Height() * ( nItem - m_aComboListBox.GetTopEntry() ); in GetBoundingRectangle() 76 aRect = Rectangle( aTopLeft, aSize ); in GetBoundingRectangle()
|
/trunk/main/embedserv/source/embed/ |
H A D | ed_ipersiststr.cxx | 654 SIZEL aSize; in Save() local 655 hr = m_pDocHolder->GetExtent( &aSize ); in Save() 663 *((sal_Int32*)&aInf[8]) = aSize.cx; in Save() 664 *((sal_Int32*)&aInf[12]) = aSize.cy; in Save() 837 SIZEL aSize; in Load() local 838 hr = m_pDocHolder->GetExtent( &aSize ); in Load() 846 *((sal_Int32*)&aInf[8]) = aSize.cx; in Load() 847 *((sal_Int32*)&aInf[12]) = aSize.cy; in Load()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_DataSource.cxx | 158 Size aSize = rChooserButton.PixelToLogic( rEditField.GetSizePixel(), MAP_APPFONT ); in lcl_ShowChooserButton() local 159 aSize.setWidth( aSize.getWidth() + nWidhtDiff ); in lcl_ShowChooserButton() 160 rEditField.SetSizePixel( rChooserButton.LogicToPixel( aSize, MAP_APPFONT )); in lcl_ShowChooserButton() 216 Size aSize( rControl.GetSizePixel()); in lcl_increaseHeightOfControl() local 217 aSize.setHeight( aSize.getHeight () + nYOffset ); in lcl_increaseHeightOfControl() 218 rControl.SetSizePixel( aSize ); in lcl_increaseHeightOfControl()
|
/trunk/test/testuno/source/fvt/uno/sw/frame/ |
H A D | FrameSize.java | 77 Size aSize = new Size(); in testFrameSize() local 78 aSize.Height = 41; in testFrameSize() 79 aSize.Width = 15000; in testFrameSize() 80 xShape.setSize(aSize); in testFrameSize()
|
/trunk/main/svtools/source/control/ |
H A D | prgsbar.cxx | 152 Size aSize = GetOutputSizePixel(); in ImplDrawProgress() local 153 mnPrgsHeight = aSize.Height()-(PROGRESSBAR_WIN_OFFSET*2); in ImplDrawProgress() 156 long nMaxWidth = (aSize.Width()-(PROGRESSBAR_WIN_OFFSET*2)+PROGRESSBAR_OFFSET); in ImplDrawProgress() 167 maPos.X() = (aSize.Width()-nMaxWidth)/2; in ImplDrawProgress()
|
/trunk/main/dbaccess/source/ui/dlg/ |
H A D | dlgsave.cxx | 339 Size aSize = GetSizePixel(); in OSaveAsDlg() local 340 aSize.Height() = in OSaveAsDlg() 342 SetSizePixel(aSize); in OSaveAsDlg() 460 Size aSize = GetSizePixel(); in implInit() local 461 aSize.Height() -= nMoveUp; in implInit() 462 SetSizePixel(aSize); in implInit()
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salgdi.cxx | 379 … const CGSize aSize = CGDisplayScreenSize( nDisplayID ); // => result is in millimeters in initResolution() local 380 … mnRealDPIX = static_cast<long>((CGDisplayPixelsWide( nDisplayID ) * 25.4) / aSize.width); in initResolution() 381 … mnRealDPIY = static_cast<long>((CGDisplayPixelsHigh( nDisplayID ) * 25.4) / aSize.height); in initResolution() 1533 const Size aSize = rSrcBitmap.GetSize(); in drawTransformedBitmap() local 1537 xImage = rSrcSalBmp.CreateCroppedImage( 0, 0, (int)aSize.Width(), (int)aSize.Height() ); in drawTransformedBitmap() 1539 xImage = rSrcSalBmp.CreateWithMask( *pMaskSalBmp, 0, 0, (int)aSize.Width(), (int)aSize.Height() ); in drawTransformedBitmap() 1549 aXRel.getX()/aSize.Width(), aXRel.getY()/aSize.Width(), in drawTransformedBitmap() 1550 aYRel.getX()/aSize.Height(), aYRel.getY()/aSize.Height(), in drawTransformedBitmap() 1555 const CGRect aSrcRect = CGRectMake( 0, 0, aSize.Width(), aSize.Height()); in drawTransformedBitmap()
|
/trunk/main/vcl/source/window/ |
H A D | window.cxx | 1251 Size aSize; in ImplLoadRes() local 1725 if ( aSize.Width() ) in ImplPointToLogic() 1734 aSize.Height() += 72/2; in ImplPointToLogic() 1735 aSize.Height() /= 72; in ImplPointToLogic() 1737 aSize.Height() /= 100; in ImplPointToLogic() 1740 aSize = PixelToLogic( aSize ); in ImplPointToLogic() 1742 rFont.SetSize( aSize ); in ImplPointToLogic() 1753 aSize = LogicToPixel( aSize ); in ImplLogicToPoint() 1755 if ( aSize.Width() ) in ImplLogicToPoint() 1763 aSize.Height() *= 100; in ImplLogicToPoint() [all …]
|
H A D | toolbox2.cxx | 266 aSize = maItemSize; in GetSize() 275 aSize.Width() = aWinSize.Width(); in GetSize() 276 aSize.Height() = aWinSize.Height(); in GetSize() 283 aSize.Width() = 0; in GetSize() 284 aSize.Height() = 0; in GetSize() 293 aSize.Width() = mnSepSize; in GetSize() 298 aSize.Width() = rDefaultSize.Width(); in GetSize() 299 aSize.Height() = mnSepSize; in GetSize() 304 aSize.Width() = 0; in GetSize() 305 aSize.Height() = 0; in GetSize() [all …]
|
/trunk/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | ShapeHelper.java | 53 XShapes xShapes, Point aPos, Size aSize, String sShapeType ) in createAndInsertShape() argument 56 XShape xShape = createShape( xDrawDoc, aPos, aSize, sShapeType ); in createAndInsertShape() 66 Point aPos, Size aSize, String sShapeType ) in createShape() argument 77 xShape.setSize( aSize ); in createShape()
|
/trunk/main/sfx2/source/dialog/ |
H A D | basedlgs.cxx | 247 aSize = GetSizePixel(); in StateChanged() 332 aSize = GetSizePixel(); in IMPL_LINK() 477 rInfo.aSize = aSize; in FillInfo() 647 aSize = GetSizePixel(); in IMPL_LINK() 701 rInfo.aSize = aSize; in FillInfo()
|
/trunk/main/svx/source/unodraw/ |
H A D | unopage.cxx | 558 awt::Size aSize = xShape->getSize(); in _CreateSdrObject() local 559 aSize.Width += 1; in _CreateSdrObject() 560 aSize.Height += 1; in _CreateSdrObject() 562 Rectangle aRect( Point( aPos.X, aPos.Y ), Size( aSize.Width, aSize.Height ) ); in _CreateSdrObject() 597 double fW = (double)aSize.Width; in _CreateSdrObject() 598 double fH = (double)aSize.Height; in _CreateSdrObject()
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salgdi2.cxx | 475 const Size aSize( rSalBitmap.GetSize() ); in drawBitmap() local 476 HBITMAP hMaskBitmap = CreateBitmap( (int) aSize.Width(), (int) aSize.Height(), 1, 1, NULL ); in drawBitmap() 487 BitBlt( hMaskDC, 0, 0, (int) aSize.Width(), (int) aSize.Height(), hSrcDC, 0, 0, SRCCOPY ); in drawBitmap() 501 BitBlt( hMaskDC, 0, 0, (int) aSize.Width(), (int) aSize.Height(), hSrcDC, 0, 0, SRCCOPY ); in drawBitmap()
|
/trunk/main/extensions/source/propctrlr/ |
H A D | formgeometryhandler.cxx | 420 AwtSize aSize( m_xAssociatedShape->getSize() ); in setPropertyValue() local 422 aSize.Width = nSize; in setPropertyValue() 424 aSize.Height = nSize; in setPropertyValue() 425 m_xAssociatedShape->setSize( aSize ); in setPropertyValue() 749 AwtSize aSize = m_xShape->getSize(); in propertyChange() local 750 … aEventTranslations.push_back( EventTranslation( PROPERTY_WIDTH, makeAny( aSize.Width ) ) ); in propertyChange() 751 … aEventTranslations.push_back( EventTranslation( PROPERTY_HEIGHT, makeAny( aSize.Height ) ) ); in propertyChange()
|
/trunk/main/basctl/source/basicide/ |
H A D | basicrenderable.cxx | 148 awt::Size aSize; in getRenderer() local 149 aSize.Width = aPageSize.Width(); in getRenderer() 150 aSize.Height = aPageSize.Height(); in getRenderer() 151 aVals[0].Value <<= aSize; in getRenderer()
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | TableWindowTitle.cxx | 177 Size aSize(GetTextWidth(GetText()) + 20, in MouseButtonDown() local 180 …aSize.Height() += (m_pTabWin->GetListBox()->GetEntryCount() + 2) * m_pTabWin->GetListBox()->GetEnt… in MouseButtonDown() 181 if(m_pTabWin->GetSizePixel() != aSize) in MouseButtonDown() 183 m_pTabWin->SetSizePixel(aSize); in MouseButtonDown()
|
/trunk/main/extensions/source/update/ui/ |
H A D | updatecheckui.cxx | 847 Size aSize = GetSizePixel(); in Resize() local 849 if ( ( aSize.Height() < 20 ) || ( aSize.Width() < 60 ) ) in Resize() 852 Rectangle aRect( 0, TIP_HEIGHT, aSize.Width(), aSize.Height() - TIP_HEIGHT ); in Resize() 855 long nTipOffset = aSize.Width() - TIP_RIGHT_OFFSET + mnTipOffset; in Resize() 894 Size aSize = GetSizePixel(); in Paint() local 895 long nTipOffset = aSize.Width() - TIP_RIGHT_OFFSET + mnTipOffset; in Paint()
|
/trunk/main/svtools/source/hatchwindow/ |
H A D | hatchwindow.cxx | 49 const awt::Size& aSize ) in initializeWindow() argument 65 aHatchBorderSize = aSize; in initializeWindow() 66 pHatchWindow->SetHatchBorderPixel( Size( aSize.Width, aSize.Height ) ); in initializeWindow()
|
/trunk/main/basic/source/runtime/ |
H A D | inputbox.cxx | 122 Size aSize( rDlgSize ); in PositionPrompt() local 123 aSize.Width() -= 70; in PositionPrompt() 124 aSize.Height() -= 50; in PositionPrompt() 125 aPromptText.SetSizePixel( LogicToPixel(aSize)); in PositionPrompt()
|