diff options
Diffstat (limited to 'sc/source/ui/navipi/navipi.cxx')
-rw-r--r-- | sc/source/ui/navipi/navipi.cxx | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index 0e8319242828..f0e8c493b77a 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -64,7 +64,7 @@ static const sal_Int32 SCNAV_COLLETTERS = ::ScColToAlpha(SCNAV_MAXCOL).getLength #define SCNAV_MAXROW (MAXROWCOUNT) -//------------------------------------------------------------------------ + void ScNavigatorDlg::ReleaseFocus() { @@ -91,13 +91,13 @@ ColumnEdit::ColumnEdit( ScNavigatorDlg* pParent, const ResId& rResId ) SetMaxTextLen( SCNAV_COLDIGITS ); // 1...256...18278 or A...IV...ZZZ } -//------------------------------------------------------------------------ + ColumnEdit::~ColumnEdit() { } -//------------------------------------------------------------------------ + bool ColumnEdit::Notify( NotifyEvent& rNEvt ) { @@ -129,7 +129,7 @@ bool ColumnEdit::Notify( NotifyEvent& rNEvt ) return nHandled; } -//------------------------------------------------------------------------ + void ColumnEdit::LoseFocus() { @@ -137,7 +137,7 @@ void ColumnEdit::LoseFocus() } -//------------------------------------------------------------------------ + void ColumnEdit::Up() { @@ -149,7 +149,7 @@ void ColumnEdit::Up() nCol--; } -//------------------------------------------------------------------------ + void ColumnEdit::Down() { @@ -157,7 +157,7 @@ void ColumnEdit::Down() SetCol( nCol-1 ); } -//------------------------------------------------------------------------ + void ColumnEdit::First() { @@ -165,7 +165,7 @@ void ColumnEdit::First() SetText(OUString('A')); } -//------------------------------------------------------------------------ + void ColumnEdit::Last() { @@ -175,7 +175,7 @@ void ColumnEdit::Last() } -//------------------------------------------------------------------------ + void ColumnEdit::EvalText() { @@ -197,7 +197,7 @@ void ColumnEdit::EvalText() nKeyGroup = KEYGROUP_ALPHA; } -//------------------------------------------------------------------------ + void ColumnEdit::ExecuteCol() { @@ -209,7 +209,7 @@ void ColumnEdit::ExecuteCol() rDlg.SetCurrentCell( nCol-1, nRow-1 ); } -//------------------------------------------------------------------------ + void ColumnEdit::SetCol( SCCOL nColNo ) { @@ -228,7 +228,7 @@ void ColumnEdit::SetCol( SCCOL nColNo ) } } -//------------------------------------------------------------------------ + SCCOL ColumnEdit::AlphaToNum( OUString& rStr ) { @@ -253,7 +253,7 @@ SCCOL ColumnEdit::AlphaToNum( OUString& rStr ) return nColumn; } -//------------------------------------------------------------------------ + SCCOL ColumnEdit::NumStrToAlpha( OUString& rStr ) { @@ -267,7 +267,7 @@ SCCOL ColumnEdit::NumStrToAlpha( OUString& rStr ) return nColumn; } -//------------------------------------------------------------------------ + SCCOL ColumnEdit::NumToAlpha( SCCOL nColNo, OUString& rStr ) { @@ -293,13 +293,13 @@ RowEdit::RowEdit( ScNavigatorDlg* pParent, const ResId& rResId ) SetLast( SCNAV_MAXROW); } -//------------------------------------------------------------------------ + RowEdit::~RowEdit() { } -//------------------------------------------------------------------------ + bool RowEdit::Notify( NotifyEvent& rNEvt ) { @@ -320,13 +320,13 @@ bool RowEdit::Notify( NotifyEvent& rNEvt ) return nHandled; } -//------------------------------------------------------------------------ + void RowEdit::LoseFocus() { } -//------------------------------------------------------------------------ + void RowEdit::ExecuteRow() { @@ -347,13 +347,13 @@ ScDocListBox::ScDocListBox( ScNavigatorDlg* pParent, const ResId& rResId ) { } -//------------------------------------------------------------------------ + ScDocListBox::~ScDocListBox() { } -//------------------------------------------------------------------------ + void ScDocListBox::Select() { @@ -378,13 +378,13 @@ CommandToolBox::CommandToolBox( ScNavigatorDlg* pParent, const ResId& rResId ) SetItemBits( IID_DROPMODE, GetItemBits( IID_DROPMODE ) | TIB_DROPDOWNONLY ); } -//------------------------------------------------------------------------ + CommandToolBox::~CommandToolBox() { } -//------------------------------------------------------------------------ + void CommandToolBox::Select( sal_uInt16 nSelId ) { @@ -436,13 +436,13 @@ void CommandToolBox::Select() Select( GetCurItemId() ); } -//------------------------------------------------------------------------ + void CommandToolBox::Click() { } -//------------------------------------------------------------------------ + IMPL_LINK_NOARG(CommandToolBox, ToolBoxDropdownClickHdl) { @@ -470,7 +470,7 @@ IMPL_LINK_NOARG(CommandToolBox, ToolBoxDropdownClickHdl) return 1; } -//------------------------------------------------------------------------ + void CommandToolBox::UpdateButtons() { @@ -686,12 +686,12 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, Win ppBoundItems = new ScNavigatorControllerItem* [CTRL_ITEMS]; rBindings.ENTERREGISTRATIONS(); - //----------------------------- + REGISTER_SLOT( 0, SID_CURRENTCELL ); REGISTER_SLOT( 1, SID_CURRENTTAB ); REGISTER_SLOT( 2, SID_CURRENTDOC ); REGISTER_SLOT( 3, SID_SELECT_SCENARIO ); - //----------------------------- + rBindings.LEAVEREGISTRATIONS(); StartListening( *(SFX_APP()) ); @@ -745,7 +745,7 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, Win aLbEntries.SetNavigatorDlgFlag(true); } -//------------------------------------------------------------------------ + ScNavigatorDlg::~ScNavigatorDlg() { @@ -762,7 +762,7 @@ ScNavigatorDlg::~ScNavigatorDlg() EndListening( rBindings ); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::Resizing( Size& rNewSize ) // Size = Outputsize? { @@ -818,14 +818,14 @@ void ScNavigatorDlg::DataChanged( const DataChangedEvent& rDCEvt ) Window::DataChanged( rDCEvt ); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::Resize() { DoResize(); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::DoResize() { @@ -884,7 +884,7 @@ void ScNavigatorDlg::DoResize() } } -//------------------------------------------------------------------------ + void ScNavigatorDlg::Notify( SfxBroadcaster&, const SfxHint& rHint ) { @@ -957,7 +957,7 @@ void ScNavigatorDlg::Notify( SfxBroadcaster&, const SfxHint& rHint ) } } -//------------------------------------------------------------------------ + IMPL_LINK( ScNavigatorDlg, TimeHdl, Timer*, pTimer ) { @@ -968,7 +968,7 @@ IMPL_LINK( ScNavigatorDlg, TimeHdl, Timer*, pTimer ) return 0; } -//------------------------------------------------------------------------ + void ScNavigatorDlg::SetDropMode(sal_uInt16 nNew) { @@ -979,7 +979,7 @@ void ScNavigatorDlg::SetDropMode(sal_uInt16 nNew) rCfg.SetDragMode(nDropMode); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::CursorPosChanged() { @@ -989,7 +989,7 @@ void ScNavigatorDlg::CursorPosChanged() // if ( GetAreaAtCursor( aStrAreaName ) ) } -//------------------------------------------------------------------------ + void ScNavigatorDlg::SetCurrentCell( SCCOL nColNo, SCROW nRowNo ) { @@ -1025,7 +1025,7 @@ void ScNavigatorDlg::SetCurrentCellStr( const OUString rName ) &aNameItem, 0L ); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::SetCurrentTable( SCTAB nTabNo ) { @@ -1058,7 +1058,7 @@ void ScNavigatorDlg::SetCurrentTableStr( const OUString& rName ) } } -//------------------------------------------------------------------------ + void ScNavigatorDlg::SetCurrentObject( const OUString rName ) { @@ -1068,7 +1068,7 @@ void ScNavigatorDlg::SetCurrentObject( const OUString rName ) &aNameItem, 0L ); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::SetCurrentDoc( const OUString& rDocName ) // aktivieren { @@ -1078,14 +1078,14 @@ void ScNavigatorDlg::SetCurrentDoc( const OUString& rDocName ) // aktivie &aDocItem, 0L ); } -//------------------------------------------------------------------------ + ScTabViewShell* ScNavigatorDlg::GetTabViewShell() const { return PTR_CAST( ScTabViewShell, SfxViewShell::Current() ); } -//------------------------------------------------------------------------ + ScNavigatorSettings* ScNavigatorDlg::GetNavigatorSettings() { @@ -1098,7 +1098,7 @@ ScNavigatorSettings* ScNavigatorDlg::GetNavigatorSettings() return pViewSh ? pViewSh->GetNavigatorSettings() : NULL; } -//------------------------------------------------------------------------ + bool ScNavigatorDlg::GetViewData() { @@ -1108,7 +1108,7 @@ bool ScNavigatorDlg::GetViewData() return ( pViewData != NULL ); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::UpdateColumn( const SCCOL* pCol ) { @@ -1121,7 +1121,7 @@ void ScNavigatorDlg::UpdateColumn( const SCCOL* pCol ) CheckDataArea(); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::UpdateRow( const SCROW* pRow ) { @@ -1134,7 +1134,7 @@ void ScNavigatorDlg::UpdateRow( const SCROW* pRow ) CheckDataArea(); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::UpdateTable( const SCTAB* pTab ) { @@ -1146,7 +1146,7 @@ void ScNavigatorDlg::UpdateTable( const SCTAB* pTab ) CheckDataArea(); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::UpdateAll() { @@ -1169,7 +1169,7 @@ void ScNavigatorDlg::UpdateAll() aContentTimer.Stop(); // dann nicht nochmal } -//------------------------------------------------------------------------ + void ScNavigatorDlg::SetListMode( NavListMode eMode, bool bSetSize ) { @@ -1211,7 +1211,7 @@ void ScNavigatorDlg::SetListMode( NavListMode eMode, bool bSetSize ) UnmarkDataArea(); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::ShowList( bool bShow, bool bSetSize ) { @@ -1259,7 +1259,7 @@ void ScNavigatorDlg::ShowList( bool bShow, bool bSetSize ) } } -//------------------------------------------------------------------------ + void ScNavigatorDlg::ShowScenarios( bool bShow, bool bSetSize ) { @@ -1308,11 +1308,11 @@ void ScNavigatorDlg::ShowScenarios( bool bShow, bool bSetSize ) } -//------------------------------------------------------------------------ + // // Dokumente fuer Dropdown-Listbox // -//------------------------------------------------------------------------ + void ScNavigatorDlg::GetDocNames( const OUString* pManualSel ) { @@ -1361,7 +1361,7 @@ void ScNavigatorDlg::GetDocNames( const OUString* pManualSel ) aLbDocuments.SelectEntry( aSelEntry ); } -//------------------------------------------------------------------------ + void ScNavigatorDlg::MarkDataArea() { @@ -1383,7 +1383,7 @@ void ScNavigatorDlg::MarkDataArea() } } -//------------------------------------------------------------------------ + void ScNavigatorDlg::UnmarkDataArea() { @@ -1396,7 +1396,7 @@ void ScNavigatorDlg::UnmarkDataArea() } } -//------------------------------------------------------------------------ + void ScNavigatorDlg::CheckDataArea() { @@ -1414,7 +1414,7 @@ void ScNavigatorDlg::CheckDataArea() } } -//------------------------------------------------------------------------ + void ScNavigatorDlg::StartOfDataArea() { @@ -1434,7 +1434,7 @@ void ScNavigatorDlg::StartOfDataArea() } } -//------------------------------------------------------------------------ + void ScNavigatorDlg::EndOfDataArea() { @@ -1454,7 +1454,7 @@ void ScNavigatorDlg::EndOfDataArea() } } -//------------------------------------------------------------------------ + SfxChildAlignment ScNavigatorDlg::CheckAlignment( SfxChildAlignment eActAlign, SfxChildAlignment eAlign ) |