diff options
Diffstat (limited to 'sc/source/ui/navipi/navipi.cxx')
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index 58aedee2ccec..20b88d024166 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -64,8 +64,6 @@ static const sal_Int32 SCNAV_COLLETTERS = ::ScColToAlpha(SCNAV_MAXCOL).getLength #define SCNAV_MAXROW (MAXROWCOUNT) - - void ScNavigatorDlg::ReleaseFocus() { SfxViewShell* pCurSh = SfxViewShell::Current(); @@ -91,14 +89,10 @@ ColumnEdit::ColumnEdit( ScNavigatorDlg* pParent, const ResId& rResId ) SetMaxTextLen( SCNAV_COLDIGITS ); // 1...256...18278 or A...IV...ZZZ } - - ColumnEdit::~ColumnEdit() { } - - bool ColumnEdit::Notify( NotifyEvent& rNEvt ) { bool nHandled = SpinField::Notify( rNEvt ); @@ -129,16 +123,12 @@ bool ColumnEdit::Notify( NotifyEvent& rNEvt ) return nHandled; } - - void ColumnEdit::LoseFocus() { EvalText(); } - - void ColumnEdit::Up() { nCol++; @@ -149,24 +139,18 @@ void ColumnEdit::Up() nCol--; } - - void ColumnEdit::Down() { if ( nCol>1 ) SetCol( nCol-1 ); } - - void ColumnEdit::First() { nCol = 1; SetText(OUString('A')); } - - void ColumnEdit::Last() { OUString aStr; @@ -175,8 +159,6 @@ void ColumnEdit::Last() } - - void ColumnEdit::EvalText() { OUString aStrCol = GetText(); @@ -197,8 +179,6 @@ void ColumnEdit::EvalText() nKeyGroup = KEYGROUP_ALPHA; } - - void ColumnEdit::ExecuteCol() { SCROW nRow = rDlg.aEdRow.GetRow(); @@ -209,8 +189,6 @@ void ColumnEdit::ExecuteCol() rDlg.SetCurrentCell( nCol-1, nRow-1 ); } - - void ColumnEdit::SetCol( SCCOL nColNo ) { OUString aStr; @@ -228,8 +206,6 @@ void ColumnEdit::SetCol( SCCOL nColNo ) } } - - SCCOL ColumnEdit::AlphaToNum( OUString& rStr ) { SCCOL nColumn = 0; @@ -253,8 +229,6 @@ SCCOL ColumnEdit::AlphaToNum( OUString& rStr ) return nColumn; } - - SCCOL ColumnEdit::NumStrToAlpha( OUString& rStr ) { SCCOL nColumn = 0; @@ -267,8 +241,6 @@ SCCOL ColumnEdit::NumStrToAlpha( OUString& rStr ) return nColumn; } - - SCCOL ColumnEdit::NumToAlpha( SCCOL nColNo, OUString& rStr ) { if ( nColNo > SCNAV_MAXCOL ) @@ -293,14 +265,10 @@ RowEdit::RowEdit( ScNavigatorDlg* pParent, const ResId& rResId ) SetLast( SCNAV_MAXROW); } - - RowEdit::~RowEdit() { } - - bool RowEdit::Notify( NotifyEvent& rNEvt ) { bool nHandled = NumericField::Notify( rNEvt ); @@ -320,14 +288,10 @@ bool RowEdit::Notify( NotifyEvent& rNEvt ) return nHandled; } - - void RowEdit::LoseFocus() { } - - void RowEdit::ExecuteRow() { SCCOL nCol = rDlg.aEdCol.GetCol(); @@ -347,14 +311,10 @@ ScDocListBox::ScDocListBox( ScNavigatorDlg* pParent, const ResId& rResId ) { } - - ScDocListBox::~ScDocListBox() { } - - void ScDocListBox::Select() { ScNavigatorDlg::ReleaseFocus(); @@ -378,14 +338,10 @@ CommandToolBox::CommandToolBox( ScNavigatorDlg* pParent, const ResId& rResId ) SetItemBits( IID_DROPMODE, GetItemBits( IID_DROPMODE ) | TIB_DROPDOWNONLY ); } - - CommandToolBox::~CommandToolBox() { } - - void CommandToolBox::Select( sal_uInt16 nSelId ) { // Modus umschalten ? @@ -436,14 +392,10 @@ void CommandToolBox::Select() Select( GetCurItemId() ); } - - void CommandToolBox::Click() { } - - IMPL_LINK_NOARG(CommandToolBox, ToolBoxDropdownClickHdl) { // Das Popupmenue fuer den Dropmodus muss im Click (Button Down) @@ -470,8 +422,6 @@ IMPL_LINK_NOARG(CommandToolBox, ToolBoxDropdownClickHdl) return 1; } - - void CommandToolBox::UpdateButtons() { NavListMode eMode = rDlg.eListMode; @@ -745,8 +695,6 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, Win aLbEntries.SetNavigatorDlgFlag(true); } - - ScNavigatorDlg::~ScNavigatorDlg() { aContentTimer.Stop(); @@ -762,8 +710,6 @@ ScNavigatorDlg::~ScNavigatorDlg() EndListening( rBindings ); } - - void ScNavigatorDlg::Resizing( Size& rNewSize ) // Size = Outputsize? { FloatingWindow* pFloat = pContextWin!=NULL ? pContextWin->GetFloatingWindow() : NULL; @@ -784,8 +730,6 @@ void ScNavigatorDlg::Resizing( Size& rNewSize ) // Size = Outputsize? } } - - void ScNavigatorDlg::Paint( const Rectangle& rRect ) { if (mbUseStyleSettingsBackground) @@ -818,15 +762,11 @@ void ScNavigatorDlg::DataChanged( const DataChangedEvent& rDCEvt ) Window::DataChanged( rDCEvt ); } - - void ScNavigatorDlg::Resize() { DoResize(); } - - void ScNavigatorDlg::DoResize() { Size aNewSize = GetOutputSizePixel(); @@ -884,8 +824,6 @@ void ScNavigatorDlg::DoResize() } } - - void ScNavigatorDlg::Notify( SfxBroadcaster&, const SfxHint& rHint ) { if ( rHint.ISA(SfxSimpleHint) ) @@ -957,8 +895,6 @@ void ScNavigatorDlg::Notify( SfxBroadcaster&, const SfxHint& rHint ) } } - - IMPL_LINK( ScNavigatorDlg, TimeHdl, Timer*, pTimer ) { if ( pTimer != &aContentTimer ) @@ -968,8 +904,6 @@ IMPL_LINK( ScNavigatorDlg, TimeHdl, Timer*, pTimer ) return 0; } - - void ScNavigatorDlg::SetDropMode(sal_uInt16 nNew) { nDropMode = nNew; @@ -979,8 +913,6 @@ void ScNavigatorDlg::SetDropMode(sal_uInt16 nNew) rCfg.SetDragMode(nDropMode); } - - void ScNavigatorDlg::CursorPosChanged() { //! Eintraege selektieren ??? @@ -989,8 +921,6 @@ void ScNavigatorDlg::CursorPosChanged() // if ( GetAreaAtCursor( aStrAreaName ) ) } - - void ScNavigatorDlg::SetCurrentCell( SCCOL nColNo, SCROW nRowNo ) { if ( (nColNo+1 != nCurCol) || (nRowNo+1 != nCurRow) ) @@ -1025,8 +955,6 @@ void ScNavigatorDlg::SetCurrentCellStr( const OUString& rName ) &aNameItem, 0L ); } - - void ScNavigatorDlg::SetCurrentTable( SCTAB nTabNo ) { if ( nTabNo != nCurTab ) @@ -1058,8 +986,6 @@ void ScNavigatorDlg::SetCurrentTableStr( const OUString& rName ) } } - - void ScNavigatorDlg::SetCurrentObject( const OUString& rName ) { SfxStringItem aNameItem( SID_CURRENTOBJECT, rName ); @@ -1068,8 +994,6 @@ void ScNavigatorDlg::SetCurrentObject( const OUString& rName ) &aNameItem, 0L ); } - - void ScNavigatorDlg::SetCurrentDoc( const OUString& rDocName ) // aktivieren { SfxStringItem aDocItem( SID_CURRENTDOC, rDocName ); @@ -1078,15 +1002,11 @@ void ScNavigatorDlg::SetCurrentDoc( const OUString& rDocName ) // aktivie &aDocItem, 0L ); } - - ScTabViewShell* ScNavigatorDlg::GetTabViewShell() const { return PTR_CAST( ScTabViewShell, SfxViewShell::Current() ); } - - ScNavigatorSettings* ScNavigatorDlg::GetNavigatorSettings() { // Don't store the settings pointer here, because the settings belong to @@ -1098,8 +1018,6 @@ ScNavigatorSettings* ScNavigatorDlg::GetNavigatorSettings() return pViewSh ? pViewSh->GetNavigatorSettings() : NULL; } - - bool ScNavigatorDlg::GetViewData() { ScTabViewShell* pViewSh = GetTabViewShell(); @@ -1108,8 +1026,6 @@ bool ScNavigatorDlg::GetViewData() return ( pViewData != NULL ); } - - void ScNavigatorDlg::UpdateColumn( const SCCOL* pCol ) { if ( pCol ) @@ -1121,8 +1037,6 @@ void ScNavigatorDlg::UpdateColumn( const SCCOL* pCol ) CheckDataArea(); } - - void ScNavigatorDlg::UpdateRow( const SCROW* pRow ) { if ( pRow ) @@ -1134,8 +1048,6 @@ void ScNavigatorDlg::UpdateRow( const SCROW* pRow ) CheckDataArea(); } - - void ScNavigatorDlg::UpdateTable( const SCTAB* pTab ) { if ( pTab ) @@ -1146,8 +1058,6 @@ void ScNavigatorDlg::UpdateTable( const SCTAB* pTab ) CheckDataArea(); } - - void ScNavigatorDlg::UpdateAll() { switch ( eListMode ) @@ -1169,8 +1079,6 @@ void ScNavigatorDlg::UpdateAll() aContentTimer.Stop(); // dann nicht nochmal } - - void ScNavigatorDlg::SetListMode( NavListMode eMode, bool bSetSize ) { if ( eMode != eListMode ) @@ -1211,8 +1119,6 @@ void ScNavigatorDlg::SetListMode( NavListMode eMode, bool bSetSize ) UnmarkDataArea(); } - - void ScNavigatorDlg::ShowList( bool bShow, bool bSetSize ) { FloatingWindow* pFloat = pContextWin!=NULL ? pContextWin->GetFloatingWindow() : NULL; @@ -1259,8 +1165,6 @@ void ScNavigatorDlg::ShowList( bool bShow, bool bSetSize ) } } - - void ScNavigatorDlg::ShowScenarios( bool bShow, bool bSetSize ) { FloatingWindow* pFloat = pContextWin!=NULL ? pContextWin->GetFloatingWindow() : NULL; @@ -1308,12 +1212,8 @@ void ScNavigatorDlg::ShowScenarios( bool bShow, bool bSetSize ) } - - // Dokumente fuer Dropdown-Listbox - - void ScNavigatorDlg::GetDocNames( const OUString* pManualSel ) { aLbDocuments.Clear(); @@ -1361,8 +1261,6 @@ void ScNavigatorDlg::GetDocNames( const OUString* pManualSel ) aLbDocuments.SelectEntry( aSelEntry ); } - - void ScNavigatorDlg::MarkDataArea() { ScTabViewShell* pViewSh = GetTabViewShell(); @@ -1383,8 +1281,6 @@ void ScNavigatorDlg::MarkDataArea() } } - - void ScNavigatorDlg::UnmarkDataArea() { ScTabViewShell* pViewSh = GetTabViewShell(); @@ -1396,8 +1292,6 @@ void ScNavigatorDlg::UnmarkDataArea() } } - - void ScNavigatorDlg::CheckDataArea() { if ( aTbxCmd.IsItemChecked( IID_DATA ) && pMarkArea ) @@ -1414,8 +1308,6 @@ void ScNavigatorDlg::CheckDataArea() } } - - void ScNavigatorDlg::StartOfDataArea() { // pMarkArea auswerten ??? @@ -1434,8 +1326,6 @@ void ScNavigatorDlg::StartOfDataArea() } } - - void ScNavigatorDlg::EndOfDataArea() { // pMarkArea auswerten ??? @@ -1454,8 +1344,6 @@ void ScNavigatorDlg::EndOfDataArea() } } - - SfxChildAlignment ScNavigatorDlg::CheckAlignment( SfxChildAlignment eActAlign, SfxChildAlignment eAlign ) { |