Home
last modified time | relevance | path

Searched refs:aWindowSize (Results 1 – 24 of 24) sorted by relevance

/aoo41x/main/sfx2/source/dialog/
H A Dtitledockwin.cxx137 Size aWindowSize( GetOutputSizePixel() ); in impl_layout() local
145 aWindowSize.Width() - aToolBoxSize.Width(), in impl_layout()
154 aWindowSize.Height() -= m_nTitleBarHeight; in impl_layout()
158 aWindowSize.Width() - m_aBorder.Left() - m_aBorder.Right(), in impl_layout()
159 aWindowSize.Height() - m_aBorder.Top() - m_aBorder.Bottom() in impl_layout()
185 Size aWindowSize( GetOutputSizePixel() ); in Paint() local
188 int nOuterRight = aWindowSize.Width() - 1; in Paint()
191 int nOuterBottom = aWindowSize.Height() - 1; in Paint()
/aoo41x/main/sd/source/ui/slidesorter/controller/
H A DSlsScrollBarManager.cxx542 Size aWindowSize = pWindow->GetOutputSizePixel(); in CalcAutoScrollOffset() local
543 Rectangle aWindowArea (pWindow->GetPosPixel(), aWindowSize); in CalcAutoScrollOffset()
547 if (aWindowSize.Width() > maScrollBorder.Width() * 3 in CalcAutoScrollOffset()
558 if (rMouseWindowPosition.X() >= (aWindowSize.Width() - maScrollBorder.Width()) in CalcAutoScrollOffset()
562 * (rMouseWindowPosition.X() - aWindowSize.Width() in CalcAutoScrollOffset()
567 if (aWindowSize.Height() > maScrollBorder.Height() * 3 in CalcAutoScrollOffset()
568 && aWindowSize.Height() < aViewPixelArea.GetHeight()) in CalcAutoScrollOffset()
577 if (rMouseWindowPosition.Y() >= (aWindowSize.Height() - maScrollBorder.Height()) in CalcAutoScrollOffset()
581 * (rMouseWindowPosition.Y() - aWindowSize.Height() in CalcAutoScrollOffset()
/aoo41x/main/sfx2/source/sidebar/
H A DDeck.cxx149 const Size aWindowSize (GetSizePixel()); in GetContentArea() local
155 aWindowSize.Width() - 1 - Theme::GetInteger(Theme::Int_DeckRightPadding) - nBorderSize, in GetContentArea()
156 aWindowSize.Height() - 1 - Theme::GetInteger(Theme::Int_DeckBottomPadding) - nBorderSize); in GetContentArea()
177 const Size aWindowSize (GetSizePixel()); in Paint() local
188 aWindowSize.Width() - 1, in Paint()
189 aWindowSize.Height() - 1); in Paint()
H A DTitleBar.cxx93 Size aWindowSize (GetOutputSizePixel()); in Paint() local
97 aWindowSize.Width(), in Paint()
98 aWindowSize.Height() in Paint()
H A DSidebarController.cxx1093 const Size aWindowSize (pWindow->GetSizePixel()); in SetChildWindowWidth() local
1097 Size(nNewWidth, aWindowSize.Height()), in SetChildWindowWidth()
1167 const Size aWindowSize (mpParentWindow->GetSizePixel()); in UpdateCloseIndicator() local
1171 aWindowSize.Width() - TabBar::GetDefaultWidth() - aImageSize.Width(), in UpdateCloseIndicator()
1172 (aWindowSize.Height() - aImageSize.Height())/2)); in UpdateCloseIndicator()
/aoo41x/main/sc/source/ui/view/
H A Dprevwsh.cxx295 Size aWindowSize = pPreview->GetOutputSize(); in UpdateScrollBars() local
303 pHorScroll->SetLineSize( aWindowSize.Width() / 16 ); in UpdateScrollBars()
304 pHorScroll->SetPageSize( aWindowSize.Width() ); in UpdateScrollBars()
305 pHorScroll->SetVisibleSize( aWindowSize.Width() ); in UpdateScrollBars()
306 nMaxPos = aPageSize.Width() - aWindowSize.Width(); in UpdateScrollBars()
333 nMaxVertPos = aPageSize.Height() - aWindowSize.Height(); in UpdateScrollBars()
334 pVerScroll->SetLineSize( aWindowSize.Height() / 16 ); in UpdateScrollBars()
335 pVerScroll->SetPageSize( aWindowSize.Height() ); in UpdateScrollBars()
336 pVerScroll->SetVisibleSize( aWindowSize.Height() ); in UpdateScrollBars()
342 pVerScroll->SetThumbPos( nPageNo * aWindowSize.Height() ); in UpdateScrollBars()
[all …]
/aoo41x/main/UnoControls/source/controls/
H A Dstatusindicator.cxx514 Size aWindowSize ( aEvent.Width, aEvent.Height ); in impl_recalcLayout() local
518 if( aWindowSize.Width < DEFAULT_WIDTH ) in impl_recalcLayout()
520 aWindowSize.Width = DEFAULT_WIDTH; in impl_recalcLayout()
522 if( aWindowSize.Height < DEFAULT_HEIGHT ) in impl_recalcLayout()
524 aWindowSize.Height = DEFAULT_HEIGHT; in impl_recalcLayout()
535 nWidth_ProgressBar = aWindowSize.Width-nWidth_Text-(3*FREEBORDER) ; in impl_recalcLayout()
/aoo41x/main/sd/source/ui/notes/
H A DNotesDockingWindow.cxx78 Size aWindowSize (GetOutputSizePixel()); in Paint() local
80 Point aPosition(10,aWindowSize.Height()/2); in Paint()
84 (aWindowSize.Width()-aBBox.GetWidth())/2, in Paint()
85 (aWindowSize.Height()-aBBox.GetHeight())/2); in Paint()
/aoo41x/main/extensions/source/update/ui/
H A Dupdatecheckui.cxx944 Size aWindowSize = GetSizePixel(); in Show() local
951 aWindowSize.setHeight( maTitleRect.GetHeight() * 7 / 4+ maTextRect.GetHeight() + in Show()
955 aWindowSize.setWidth( maTitleRect.GetWidth() ); in Show()
957 aWindowSize.setWidth( maTextRect.GetWidth() ); in Show()
959 aWindowSize.setWidth( aWindowSize.Width() + 3 * BUBBLE_BORDER + aImgSize.Width() ); in Show()
961 if ( aWindowSize.Height() < aImgSize.Height() + TIP_HEIGHT + 2 * BUBBLE_BORDER ) in Show()
962 aWindowSize.setHeight( aImgSize.Height() + TIP_HEIGHT + 2 * BUBBLE_BORDER ); in Show()
965 aPos.X() = maTipPos.X() - aWindowSize.Width() + TIP_RIGHT_OFFSET; in Show()
973 SetPosSizePixel( aPos, aWindowSize ); in Show()
/aoo41x/main/sd/source/ui/slideshow/
H A Dslideshowviewimpl.cxx323 const Size aWindowSize( mrOutputWindow.GetSizePixel() ); in clear() local
327 aWindowSize.Width(), in clear()
328 aWindowSize.Height() ) ) ); in clear()
354 const Size aWindowSize( rTmpSize.Width()-1, in getTransformation() local
356 Size aOutputSize( aWindowSize ); in getTransformation()
379 Point aOutputOffset( ( aWindowSize.Width() - aOutputSize.Width() ) >> 1, in getTransformation()
380 ( aWindowSize.Height() - aOutputSize.Height() ) >> 1 ); in getTransformation()
/aoo41x/main/svx/source/sidebar/
H A DColorPanel.cxx88 Size aWindowSize = GetOutputSizePixel(); in Resize() local
89 SetPosSizePixel(Point(0,0), aWindowSize); in Resize()
90 if (IsVisible() && aWindowSize.Width() > 0) in Resize()
98 int nColumnCount = aWindowSize.Width() / 30; in Resize()
/aoo41x/main/svx/source/sidebar/debug/
H A DColorPanel.cxx88 Size aWindowSize = GetOutputSizePixel(); in Resize() local
89 SetPosSizePixel(Point(0,0), aWindowSize); in Resize()
90 if (IsVisible() && aWindowSize.Width() > 0) in Resize()
98 int nColumnCount = aWindowSize.Width() / 30; in Resize()
/aoo41x/main/sd/source/ui/sidebar/
H A DPreviewValueSet.cxx90 Size aWindowSize (GetOutputSizePixel()); in Resize() local
91 if (aWindowSize.Width()>0 && aWindowSize.Height()>0) in Resize()
H A DLayoutMenu.cxx357 Size aWindowSize = GetOutputSizePixel(); in Resize() local
358 if (IsVisible() && aWindowSize.Width() > 0) in Resize()
368 int nColumnCount = aWindowSize.Width() / aItemSize.Width(); in Resize()
/aoo41x/main/sw/source/ui/uiview/
H A Dviewmdi.cxx131 const Size aWindowSize( GetEditWin().PixelToLogic( rEditSize, aTmpMap ) ); in _SetZoom() local
150 nFac = aWindowSize.Width() * 100 / aPageSize.Width(); in _SetZoom()
158 nFac = aWindowSize.Width() * 100 / nTmpWidth; in _SetZoom()
162 long nVisPercent = aWindowSize.Height() * 100 / aPageSize.Height(); in _SetZoom()
169 nFac = aWindowSize.Width() * 100 / nTmpWidth; in _SetZoom()
H A Dview2.cxx1342 const Size aWindowSize( GetEditWin().PixelToLogic( rEditSize, aTmpMap ) ); in StateStatusLine() local
1348 long nFac = aWindowSize.Width() * 100 / nTmpWidth; in StateStatusLine()
1350 long nVisPercent = aWindowSize.Height() * 100 / aPageSize.Height(); in StateStatusLine()
1358 nFac = aWindowSize.Width() * 100 / nTmpWidth; in StateStatusLine()
/aoo41x/main/sd/source/ui/slidesorter/view/
H A DSlideSorterView.cxx393 const Size aWindowSize (pWindow->GetSizePixel()); in Rearrange() local
394 if (aWindowSize.Width()<=0 || aWindowSize.Height()<=0) in Rearrange()
400 aWindowSize, in Rearrange()
/aoo41x/main/svtools/workben/
H A Dsvdem.cxx304 Size aWindowSize( GetOutputSize() ); in Paint() local
312 x = aWindowSize.Width()/2; in Paint()
313 y = aWindowSize.Height()/2; in Paint()
321 x = aWindowSize.Width()/2 - GetTextWidth( aText )/2; in Paint()
322 y = aWindowSize.Height()/2 - GetTextHeight()/2; in Paint()
/aoo41x/main/cui/source/dialogs/
H A Dcuihyperdlg.cxx199 Size aWindowSize( SFX_APP()->GetTopWindow()->GetSizePixel() ); in Move() local
205 if( aDlgPos.X()+(1.02*aDlgSize.Width())+aExtraWndSize.Width() > aWindowSize.Width() ) in Move()
/aoo41x/main/sdext/source/presenter/
H A DPresenterClock.cxx534 const awt::Size aWindowSize(aWindowBox.Width,aWindowBox.Height); in Resize() local
536 mpClockPainter->Resize(aWindowSize); in Resize()
538 mpClockPainter2->Resize(aWindowSize); in Resize()
H A DPresenterWindowManager.cxx1554 const awt::Rectangle aWindowSize (rxWindow->getPosSize()); in ModeChangeAnimationStarter() local
1556 mpSprite->Resize(geometry::RealSize2D(aWindowSize.Width, aWindowSize.Height)); in ModeChangeAnimationStarter()
/aoo41x/main/reportdesign/source/ui/dlg/
H A DAddField.cxx392 const Size aWindowSize( GetOutputSizePixel() ); in Resize() local
403 Size aLBSize( aWindowSize ); in Resize()
/aoo41x/main/framework/source/services/
H A Dbackingwindow.cxx788 Size aWindowSize( GetSizePixel() ); in Resize() local
790 maControlRect = Rectangle( Point( (aWindowSize.Width() - aControlSize.Width()) / 2, in Resize()
791 (aWindowSize.Height() - aControlSize.Height()) / 2 ), in Resize()
/aoo41x/main/starmath/source/
H A Dview.cxx430 Size aWindowSize (GetSizePixel()); in ZoomToFitInWindow() local
434 long nVal = Min ((85 * aWindowSize.Width()) / aSize.Width(), in ZoomToFitInWindow()
435 (85 * aWindowSize.Height()) / aSize.Height()); in ZoomToFitInWindow()

Completed in 151 milliseconds