Lines Matching refs:pToolbar
3271 SvxConfigEntry* pToolbar = GetTopLevelSelection(); in DeleteSelectedContent() local
3274 RemoveEntry( pToolbar->GetEntries(), pEntry ); in DeleteSelectedContent()
3282 (( ToolbarSaveInData* ) GetSaveInData())->ApplyToolbar( pToolbar ); in DeleteSelectedContent()
3317 SvxConfigEntry* pToolbar = GetTopLevelSelection(); in MoveEntry() local
3318 if ( pToolbar ) in MoveEntry()
3319 ((ToolbarSaveInData*)GetSaveInData())->ApplyToolbar( pToolbar ); in MoveEntry()
3331 SvxConfigEntry* pToolbar = in IMPL_LINK() local
3346 String aNewName( stripHotKey( pToolbar->GetName() ) ); in IMPL_LINK()
3359 pToolbar->SetName( aNewName ); in IMPL_LINK()
3360 pSaveInData->ApplyToolbar( pToolbar ); in IMPL_LINK()
3366 aTopLevelListBox.SetEntryData( nSelectionPos, pToolbar ); in IMPL_LINK()
3384 pSaveInData_->RestoreToolbar( pToolbar ); in IMPL_LINK()
3393 pToolbar->SetStyle( 0 ); in IMPL_LINK()
3394 pSaveInData->SetSystemStyle( m_xFrame, pToolbar->GetCommand(), 0 ); in IMPL_LINK()
3402 pToolbar->SetStyle( 1 ); in IMPL_LINK()
3403 pSaveInData->SetSystemStyle( m_xFrame, pToolbar->GetCommand(), 1 ); in IMPL_LINK()
3411 pToolbar->SetStyle( 2 ); in IMPL_LINK()
3412 pSaveInData->SetSystemStyle( m_xFrame, pToolbar->GetCommand(), 2 ); in IMPL_LINK()
3427 SvxConfigEntry* pToolbar = GetTopLevelSelection(); in IMPL_LINK() local
3701 (( ToolbarSaveInData* ) GetSaveInData())->ApplyToolbar( pToolbar ); in IMPL_LINK()
4203 SvxConfigEntry* pToolbar = *toolbars; in Reset() local
4207 OUString url = pToolbar->GetCommand(); in Reset()
4289 void ToolbarSaveInData::ApplyToolbar( SvxConfigEntry* pToolbar ) in ApplyToolbar() argument
4301 ApplyToolbar( xIndexContainer, xFactory, pToolbar ); in ApplyToolbar()
4306 if ( pToolbar->IsUserDefined() ) in ApplyToolbar()
4310 uno::makeAny( OUString( pToolbar->GetName() ) ) ); in ApplyToolbar()
4315 if ( GetConfigManager()->hasSettings( pToolbar->GetCommand() ) ) in ApplyToolbar()
4318 pToolbar->GetCommand(), xSettings ); in ApplyToolbar()
4323 pToolbar->GetCommand(), xSettings ); in ApplyToolbar()
4324 if ( pToolbar->IsParentData() ) in ApplyToolbar()
4325 pToolbar->SetParentData( false ); in ApplyToolbar()
4344 void ToolbarSaveInData::CreateToolbar( SvxConfigEntry* pToolbar ) in CreateToolbar() argument
4358 uno::makeAny( pToolbar->GetName() ) ); in CreateToolbar()
4362 GetConfigManager()->insertSettings( pToolbar->GetCommand(), xSettings ); in CreateToolbar()
4381 GetEntries()->push_back( pToolbar ); in CreateToolbar()
4386 void ToolbarSaveInData::RemoveToolbar( SvxConfigEntry* pToolbar ) in RemoveToolbar() argument
4390 OUString url = pToolbar->GetCommand(); in RemoveToolbar()
4392 RemoveEntry( GetEntries(), pToolbar ); in RemoveToolbar()
4393 delete pToolbar; in RemoveToolbar()
4409 void ToolbarSaveInData::RestoreToolbar( SvxConfigEntry* pToolbar ) in RestoreToolbar() argument
4411 OUString url = pToolbar->GetCommand(); in RestoreToolbar()
4415 bool bParentToolbar = pToolbar->IsParentData(); in RestoreToolbar()
4424 pToolbar->GetEntries()->clear(); in RestoreToolbar()
4440 pToolbar->SetParentData( true ); in RestoreToolbar()
4445 LoadToolbar( xToolbarSettings, pToolbar ); in RestoreToolbar()
4449 SvxEntries::const_iterator iter = pToolbar->GetEntries()->begin(); in RestoreToolbar()
4451 for ( ; iter != pToolbar->GetEntries()->end(); iter++ ) in RestoreToolbar()
4633 SvxConfigEntry* pToolbar = GetTopLevelSelection(); in IMPL_LINK() local
4634 if ( pToolbar == NULL ) in IMPL_LINK()
4649 pPopup->EnableItem( ID_DELETE, pToolbar->IsDeletable() ); in IMPL_LINK()
4650 pPopup->EnableItem( ID_RENAME, pToolbar->IsRenamable() ); in IMPL_LINK()
4651 pPopup->EnableItem( ID_DEFAULT_STYLE, !pToolbar->IsRenamable() ); in IMPL_LINK()
4653 switch( pToolbar->GetStyle() ) in IMPL_LINK()
4672 SvxEntries* pEntries = pToolbar->GetEntries(); in IMPL_LINK()
4744 SvxConfigEntry* pToolbar = in IMPL_LINK() local
4747 pToolbar->SetUserDefined( sal_True ); in IMPL_LINK()
4748 pToolbar->SetMain( sal_True ); in IMPL_LINK()
4750 pData->CreateToolbar( pToolbar ); in IMPL_LINK()
4752 nInsertPos = aTopLevelListBox.InsertEntry( pToolbar->GetName() ); in IMPL_LINK()
4753 aTopLevelListBox.SetEntryData( nInsertPos, pToolbar ); in IMPL_LINK()
4820 SvxConfigEntry* pToolbar = GetTopLevelSelection(); in AddFunction() local
4822 if ( pToolbar != NULL ) in AddFunction()
4824 ( ( ToolbarSaveInData* ) GetSaveInData() )->ApplyToolbar( pToolbar ); in AddFunction()
4938 SvxConfigEntry* pToolbar = pPage->GetTopLevelSelection(); in ChangeVisibility() local
4943 pToolbarSaveInData->ApplyToolbar( pToolbar ); in ChangeVisibility()
4980 SvxConfigEntry* pToolbar = pPage->GetTopLevelSelection(); in NotifyMoving() local
4981 if ( pToolbar != NULL ) in NotifyMoving()
4985 pSaveInData->ApplyToolbar( pToolbar ); in NotifyMoving()
5008 SvxConfigEntry* pToolbar = pPage->GetTopLevelSelection(); in NotifyCopying() local
5009 if ( pToolbar != NULL ) in NotifyCopying()
5013 pSaveInData->ApplyToolbar( pToolbar ); in NotifyCopying()