diff options
Diffstat (limited to 'sfx2/source/appl/newhelp.cxx')
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index d6eabd4ea63a..506bd1b427b8 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -339,7 +339,6 @@ void ContentListBox_Impl::InitRoot() } - void ContentListBox_Impl::ClearChildren( SvTreeListEntry* pParent ) { SvTreeListEntry* pEntry = FirstChild( pParent ); @@ -352,7 +351,6 @@ void ContentListBox_Impl::ClearChildren( SvTreeListEntry* pParent ) } - void ContentListBox_Impl::RequestingChildren( SvTreeListEntry* pParent ) { try @@ -398,7 +396,6 @@ void ContentListBox_Impl::RequestingChildren( SvTreeListEntry* pParent ) } - bool ContentListBox_Impl::Notify( NotifyEvent& rNEvt ) { bool bHandled = false; @@ -413,7 +410,6 @@ bool ContentListBox_Impl::Notify( NotifyEvent& rNEvt ) } - OUString ContentListBox_Impl::GetSelectEntry() const { OUString aRet; @@ -513,7 +509,6 @@ void IndexBox_Impl::UserDraw( const UserDrawEvent& rUDEvt ) } - bool IndexBox_Impl::Notify( NotifyEvent& rNEvt ) { bool bHandled = false; @@ -528,7 +523,6 @@ bool IndexBox_Impl::Notify( NotifyEvent& rNEvt ) } - void IndexBox_Impl::SelectExecutableEntry() { sal_Int32 nPos = GetEntryPos( GetText() ); @@ -583,7 +577,6 @@ void IndexTabPage_Impl::dispose() } - namespace sfx2 { typedef std::unordered_map< OUString, int, OUStringHash > KeywordInfo; @@ -609,7 +602,6 @@ namespace sfx2 { m_pIndexCB->SetEntryData( nPos, NEW_ENTRY( aRefList[j], insert ) ); - void IndexTabPage_Impl::InitializeIndex() { WaitObject aWaitCursor( this ); @@ -726,7 +718,6 @@ void IndexTabPage_Impl::InitializeIndex() #undef UNIFY_AND_INSERT_TOKEN - void IndexTabPage_Impl::ClearIndex() { const sal_Int32 nCount = m_pIndexCB->GetEntryCount(); @@ -796,7 +787,6 @@ void IndexTabPage_Impl::SetFactory( const OUString& rFactory ) } - OUString IndexTabPage_Impl::GetSelectEntry() const { OUString aRet; @@ -807,7 +797,6 @@ OUString IndexTabPage_Impl::GetSelectEntry() const } - void IndexTabPage_Impl::SetKeyword( const OUString& rKeyword ) { sKeyword = rKeyword; @@ -819,7 +808,6 @@ void IndexTabPage_Impl::SetKeyword( const OUString& rKeyword ) } - bool IndexTabPage_Impl::HasKeyword() const { bool bRet = false; @@ -833,7 +821,6 @@ bool IndexTabPage_Impl::HasKeyword() const } - bool IndexTabPage_Impl::HasKeywordIgnoreCase() { bool bRet = false; @@ -857,7 +844,6 @@ bool IndexTabPage_Impl::HasKeywordIgnoreCase() } - void IndexTabPage_Impl::OpenKeyword() { if ( !sKeyword.isEmpty() ) @@ -894,7 +880,6 @@ bool SearchBox_Impl::PreNotify( NotifyEvent& rNEvt ) } - void SearchBox_Impl::Select() { if ( !IsTravelSelect() ) @@ -1012,7 +997,6 @@ void SearchTabPage_Impl::dispose() } - void SearchTabPage_Impl::ClearSearchResults() { const sal_Int32 nCount = m_pResultsLB->GetEntryCount(); @@ -1023,7 +1007,6 @@ void SearchTabPage_Impl::ClearSearchResults() } - void SearchTabPage_Impl::RememberSearchText( const OUString& rSearchText ) { for ( sal_Int32 i = 0; i < m_pSearchED->GetEntryCount(); ++i ) @@ -1039,7 +1022,6 @@ void SearchTabPage_Impl::RememberSearchText( const OUString& rSearchText ) } - IMPL_LINK_NOARG_TYPED(SearchTabPage_Impl, ClickHdl, Button*, void) { SearchHdl(nullptr); @@ -1111,7 +1093,6 @@ void SearchTabPage_Impl::SetDoubleClickHdl( const Link<ListBox&,void>& rLink ) } - OUString SearchTabPage_Impl::GetSelectEntry() const { OUString aRet; @@ -1122,7 +1103,6 @@ OUString SearchTabPage_Impl::GetSelectEntry() const } - void SearchTabPage_Impl::ClearPage() { ClearSearchResults(); @@ -1130,7 +1110,6 @@ void SearchTabPage_Impl::ClearPage() } - bool SearchTabPage_Impl::OpenKeyword( const OUString& rKeyword ) { bool bRet = false; @@ -1204,7 +1183,6 @@ void BookmarksBox_Impl::dispose() } - void BookmarksBox_Impl::DoAction( sal_uInt16 nAction ) { switch ( nAction ) @@ -1255,7 +1233,6 @@ void BookmarksBox_Impl::DoAction( sal_uInt16 nAction ) } - bool BookmarksBox_Impl::Notify( NotifyEvent& rNEvt ) { bool bRet = false; @@ -1363,7 +1340,6 @@ OUString BookmarksTabPage_Impl::GetSelectEntry() const } - void BookmarksTabPage_Impl::AddBookmarks( const OUString& rTitle, const OUString& rURL ) { OUString aImageURL = IMAGE_URL; @@ -1471,7 +1447,6 @@ SfxHelpIndexWindow_Impl::SfxHelpIndexWindow_Impl(SfxHelpWindow_Impl* _pParent) } - SfxHelpIndexWindow_Impl::~SfxHelpIndexWindow_Impl() { disposeOnce(); @@ -1500,7 +1475,6 @@ void SfxHelpIndexWindow_Impl::dispose() } - void SfxHelpIndexWindow_Impl::Initialize() { OUStringBuffer aHelpURL(HELP_URL); @@ -1524,7 +1498,6 @@ void SfxHelpIndexWindow_Impl::Initialize() } - void SfxHelpIndexWindow_Impl::SetActiveFactory() { DBG_ASSERT( pIPage, "index page not initialized" ); @@ -1551,7 +1524,6 @@ void SfxHelpIndexWindow_Impl::SetActiveFactory() } - HelpTabPage_Impl* SfxHelpIndexWindow_Impl::GetCurrentPage( sal_uInt16& rCurId ) { rCurId = m_pTabCtrl->GetCurPageId(); @@ -1707,7 +1679,6 @@ bool SfxHelpIndexWindow_Impl::PreNotify(NotifyEvent& rNEvt) } - void SfxHelpIndexWindow_Impl::DataChanged( const DataChangedEvent& rDCEvt ) { Window::DataChanged( rDCEvt ); @@ -1721,7 +1692,6 @@ void SfxHelpIndexWindow_Impl::DataChanged( const DataChangedEvent& rDCEvt ) } - void SfxHelpIndexWindow_Impl::SetDoubleClickHdl( const Link<Control*,bool>& rLink ) { aPageDoubleClickLink = rLink; @@ -1783,7 +1753,6 @@ void SfxHelpIndexWindow_Impl::AddBookmarks( const OUString& rTitle, const OUStri } - bool SfxHelpIndexWindow_Impl::IsValidFactory( const OUString& _rFactory ) { bool bValid = false; @@ -1800,7 +1769,6 @@ bool SfxHelpIndexWindow_Impl::IsValidFactory( const OUString& _rFactory ) } - void SfxHelpIndexWindow_Impl::ClearSearchPage() { if ( pSPage ) @@ -1954,7 +1922,6 @@ SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ) : } - SfxHelpTextWindow_Impl::~SfxHelpTextWindow_Impl() { disposeOnce(); @@ -1975,7 +1942,6 @@ void SfxHelpTextWindow_Impl::dispose() } - bool SfxHelpTextWindow_Impl::HasSelection() const { // is there any selection in the text and not only a cursor? @@ -1992,7 +1958,6 @@ bool SfxHelpTextWindow_Impl::HasSelection() const } - void SfxHelpTextWindow_Impl::InitToolBoxImages() { bool bLarge = SvtMiscOptions().AreCurrentSymbolsLarge(); @@ -2036,7 +2001,6 @@ void SfxHelpTextWindow_Impl::InitToolBoxImages() } - void SfxHelpTextWindow_Impl::InitOnStartupBox( bool bOnlyText ) { sCurrentFactory = SfxHelp::GetCurrentModuleIdentifier(); @@ -2130,7 +2094,6 @@ void SfxHelpTextWindow_Impl::InitOnStartupBox( bool bOnlyText ) } - void SfxHelpTextWindow_Impl::SetOnStartupBoxPosition() { long nX = std::max( GetOutputSizePixel().Width() - aOnStartupCB->GetSizePixel().Width(), nMinPos ); @@ -2140,7 +2103,6 @@ void SfxHelpTextWindow_Impl::SetOnStartupBoxPosition() } - Reference< XBreakIterator > SfxHelpTextWindow_Impl::GetBreakIterator() { if ( !xBreakIterator.is() ) @@ -2150,7 +2112,6 @@ Reference< XBreakIterator > SfxHelpTextWindow_Impl::GetBreakIterator() } - Reference< XTextRange > SfxHelpTextWindow_Impl::getCursor() const { // return the current cursor @@ -2182,7 +2143,6 @@ Reference< XTextRange > SfxHelpTextWindow_Impl::getCursor() const } - bool SfxHelpTextWindow_Impl::isHandledKey( const vcl::KeyCode& _rKeyCode ) { bool bRet = false; @@ -2204,7 +2164,6 @@ bool SfxHelpTextWindow_Impl::isHandledKey( const vcl::KeyCode& _rKeyCode ) } - IMPL_LINK_NOARG_TYPED(SfxHelpTextWindow_Impl, SelectHdl, Idle *, void) { try @@ -2245,7 +2204,6 @@ IMPL_LINK_NOARG_TYPED(SfxHelpTextWindow_Impl, SelectHdl, Idle *, void) } - IMPL_LINK_NOARG_TYPED( SfxHelpTextWindow_Impl, NotifyHdl, LinkParamNone*, void ) { InitToolBoxImages(); @@ -2254,7 +2212,6 @@ IMPL_LINK_NOARG_TYPED( SfxHelpTextWindow_Impl, NotifyHdl, LinkParamNone*, void ) } - IMPL_LINK_TYPED( SfxHelpTextWindow_Impl, FindHdl, sfx2::SearchDialog&, rDlg, void ) { FindHdl(&rDlg); @@ -2340,14 +2297,12 @@ void SfxHelpTextWindow_Impl::FindHdl(sfx2::SearchDialog* pDlg) } - IMPL_LINK_NOARG_TYPED( SfxHelpTextWindow_Impl, CloseHdl, sfx2::SearchDialog*, void ) { pSrchDlg.clear(); } - IMPL_LINK_TYPED( SfxHelpTextWindow_Impl, CheckHdl, Button*, pButton, void ) { CheckBox* pBox = static_cast<CheckBox*>(pButton); @@ -2370,7 +2325,6 @@ IMPL_LINK_TYPED( SfxHelpTextWindow_Impl, CheckHdl, Button*, pButton, void ) } - void SfxHelpTextWindow_Impl::Resize() { Size aSize = GetOutputSizePixel(); @@ -2381,7 +2335,6 @@ void SfxHelpTextWindow_Impl::Resize() } - bool SfxHelpTextWindow_Impl::PreNotify( NotifyEvent& rNEvt ) { bool bDone = false; @@ -2507,7 +2460,6 @@ bool SfxHelpTextWindow_Impl::PreNotify( NotifyEvent& rNEvt ) } - void SfxHelpTextWindow_Impl::GetFocus() { if ( !bIsInClose ) @@ -2529,7 +2481,6 @@ void SfxHelpTextWindow_Impl::GetFocus() } - void SfxHelpTextWindow_Impl::DataChanged( const DataChangedEvent& rDCEvt ) { Window::DataChanged( rDCEvt ); @@ -2544,7 +2495,6 @@ void SfxHelpTextWindow_Impl::DataChanged( const DataChangedEvent& rDCEvt ) } - void SfxHelpTextWindow_Impl::ToggleIndex( bool bOn ) { bIsIndexOn = bOn; @@ -2561,7 +2511,6 @@ void SfxHelpTextWindow_Impl::ToggleIndex( bool bOn ) } - void SfxHelpTextWindow_Impl::SelectSearchText( const OUString& rSearchText, bool _bIsFullWordSearch ) { aSearchText = rSearchText; @@ -2570,7 +2519,6 @@ void SfxHelpTextWindow_Impl::SelectSearchText( const OUString& rSearchText, bool } - void SfxHelpTextWindow_Impl::SetPageStyleHeaderOff() const { #ifdef DBG_UTIL @@ -2631,7 +2579,6 @@ void SfxHelpTextWindow_Impl::SetPageStyleHeaderOff() const } - void SfxHelpTextWindow_Impl::CloseFrame() { bIsInClose = true; @@ -2647,7 +2594,6 @@ void SfxHelpTextWindow_Impl::CloseFrame() } - void SfxHelpTextWindow_Impl::DoSearch() { if ( !pSrchDlg ) @@ -2678,7 +2624,6 @@ void SfxHelpWindow_Impl::Resize() } - void SfxHelpWindow_Impl::Split() { static long nMinSplitSize = 5; @@ -2773,7 +2718,6 @@ void SfxHelpWindow_Impl::MakeLayout() } - void SfxHelpWindow_Impl::InitSizes() { if ( xWindow.is() ) @@ -2795,7 +2739,6 @@ void SfxHelpWindow_Impl::InitSizes() } - void SfxHelpWindow_Impl::LoadConfig() { SvtViewOptions aViewOpt( E_WINDOW, CONFIGNAME_HELPWIN ); @@ -2833,7 +2776,6 @@ void SfxHelpWindow_Impl::LoadConfig() } - void SfxHelpWindow_Impl::SaveConfig() { SvtViewOptions aViewOpt( E_WINDOW, CONFIGNAME_HELPWIN ); @@ -2866,7 +2808,6 @@ void SfxHelpWindow_Impl::SaveConfig() } - void SfxHelpWindow_Impl::ShowStartPage() { OUString sHelpURL = SfxHelpWindow_Impl::buildHelpURL(pIndexWin->GetFactory(), @@ -2877,7 +2818,6 @@ void SfxHelpWindow_Impl::ShowStartPage() } - IMPL_LINK_TYPED( SfxHelpWindow_Impl, SelectHdl, ToolBox* , pToolBox, void ) { if ( pToolBox ) @@ -2888,7 +2828,6 @@ IMPL_LINK_TYPED( SfxHelpWindow_Impl, SelectHdl, ToolBox* , pToolBox, void ) } - IMPL_LINK_NOARG_TYPED(SfxHelpWindow_Impl, OpenHdl, Control*, bool) { pIndexWin->SelectExecutableEntry(); @@ -2930,7 +2869,6 @@ IMPL_LINK_NOARG_TYPED(SfxHelpWindow_Impl, OpenHdl, Control*, bool) } - IMPL_LINK_TYPED( SfxHelpWindow_Impl, SelectFactoryHdl, SfxHelpIndexWindow_Impl* , pWin, void ) { if ( sTitle.isEmpty() ) @@ -2948,14 +2886,12 @@ IMPL_LINK_TYPED( SfxHelpWindow_Impl, SelectFactoryHdl, SfxHelpIndexWindow_Impl* } - IMPL_LINK_TYPED( SfxHelpWindow_Impl, ChangeHdl, HelpListener_Impl&, rListener, void ) { SetFactory( rListener.GetFactory() ); } - void SfxHelpWindow_Impl::openDone(const OUString& sURL , bool bSuccess) { @@ -3008,7 +2944,6 @@ void SfxHelpWindow_Impl::openDone(const OUString& sURL , } - SfxHelpWindow_Impl::SfxHelpWindow_Impl( const css::uno::Reference < css::frame::XFrame2 >& rFrame, vcl::Window* pParent, WinBits ) : @@ -3050,7 +2985,6 @@ SfxHelpWindow_Impl::SfxHelpWindow_Impl( } - SfxHelpWindow_Impl::~SfxHelpWindow_Impl() { disposeOnce(); @@ -3101,7 +3035,6 @@ void SfxHelpWindow_Impl::SetFactory( const OUString& rFactory ) } - void SfxHelpWindow_Impl::SetHelpURL( const OUString& rURL ) { INetURLObject aObj( rURL ); @@ -3110,7 +3043,6 @@ void SfxHelpWindow_Impl::SetHelpURL( const OUString& rURL ) } - void SfxHelpWindow_Impl::DoAction( sal_uInt16 nActionId ) { switch ( nActionId ) @@ -3211,7 +3143,6 @@ void SfxHelpWindow_Impl::DoAction( sal_uInt16 nActionId ) } - void SfxHelpWindow_Impl::CloseWindow() { try @@ -3238,7 +3169,6 @@ void SfxHelpWindow_Impl::CloseWindow() } - void SfxHelpWindow_Impl::UpdateToolbox() { pTextWin->GetToolBox().EnableItem( TBI_BACKWARD, pHelpInterceptor->HasHistoryPred() ); @@ -3246,14 +3176,12 @@ void SfxHelpWindow_Impl::UpdateToolbox() } - bool SfxHelpWindow_Impl::HasHistoryPredecessor() const { return pHelpInterceptor->HasHistoryPred(); } - bool SfxHelpWindow_Impl::HasHistorySuccessor() const { return pHelpInterceptor->HasHistorySucc(); |