tabview5.cxx (cdf0e10c) tabview5.cxx (079eb148)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

--- 589 unchanged lines hidden (view full) ---

598 pGridWin[i]->SetDigitLanguage( eNewLang );
599}
600
601//---------------------------------------------------------------
602
603void ScTabView::ScrollToObject( SdrObject* pDrawObj )
604{
605 if ( pDrawObj )
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

--- 589 unchanged lines hidden (view full) ---

598 pGridWin[i]->SetDigitLanguage( eNewLang );
599}
600
601//---------------------------------------------------------------
602
603void ScTabView::ScrollToObject( SdrObject* pDrawObj )
604{
605 if ( pDrawObj )
606 MakeVisible( pDrawObj->GetLogicRect() );
606 {
607 // #i118524# use the BoundRect, this defines the visible area
608 MakeVisible(pDrawObj->GetCurrentBoundRect());
609 }
607}
608
609void ScTabView::MakeVisible( const Rectangle& rHMMRect )
610{
611 Window* pWin = GetActiveWin();
612 Size aWinSize = pWin->GetOutputSizePixel();
613 SCTAB nTab = aViewData.GetTabNo();
614

--- 108 unchanged lines hidden ---
610}
611
612void ScTabView::MakeVisible( const Rectangle& rHMMRect )
613{
614 Window* pWin = GetActiveWin();
615 Size aWinSize = pWin->GetOutputSizePixel();
616 SCTAB nTab = aViewData.GetTabNo();
617

--- 108 unchanged lines hidden ---