Lines Matching refs:pToolbar
242 ToolBox* pToolbar, in FindReferencePoint() argument
247 aResult.pToolbar = pToolbar; in FindReferencePoint()
250 const sal_uInt16 nSize( pToolbar->GetItemCount() ); in FindReferencePoint()
254 const sal_uInt16 nItemId = pToolbar->GetItemId( i ); in FindReferencePoint()
257 const ::rtl::OUString rCmd = pToolbar->GetItemCommand( nItemId ); in FindReferencePoint()
323 ToolBox* pToolbar, in ProcessMergeOperation() argument
333 … return MergeItems( xFrame, pToolbar, nPos, 1, rItemId, rCommandMap, rModuleIdentifier, rItems ); in ProcessMergeOperation()
335 … return MergeItems( xFrame, pToolbar, nPos, 0, rItemId, rCommandMap, rModuleIdentifier, rItems ); in ProcessMergeOperation()
337 … return ReplaceItem( xFrame, pToolbar, nPos, rItemId, rCommandMap, rModuleIdentifier, rItems ); in ProcessMergeOperation()
339 return RemoveItems( pToolbar, nPos, rMergeCommandParameter ); in ProcessMergeOperation()
392 ToolBox* pToolbar, in ProcessMergeFallback() argument
411 … return MergeItems( xFrame, pToolbar, 0, 0, rItemId, rCommandMap, rModuleIdentifier, rItems ); in ProcessMergeFallback()
413 …return MergeItems( xFrame, pToolbar, TOOLBOX_APPEND, 0, rItemId, rCommandMap, rModuleIdentifier, r… in ProcessMergeFallback()
462 ToolBox* pToolbar, in MergeItems() argument
481 if ( nInsPos > sal_Int32( pToolbar->GetItemCount() )) in MergeItems()
485 pToolbar->InsertSeparator( sal_uInt16( nInsPos )); in MergeItems()
500 … ToolBarMerger::CreateToolbarItem( pToolbar, rCommandMap, sal_uInt16( nInsPos ), rItemId, rItem ); in MergeItems()
555 ToolBox* pToolbar, in ReplaceItem() argument
562 pToolbar->RemoveItem( nPos ); in ReplaceItem()
563 …return MergeItems( xFrame, pToolbar, nPos, 0, rItemId, rCommandMap, rModuleIdentifier, rAddonToolb… in ReplaceItem()
592 ToolBox* pToolbar, in RemoveItems() argument
601 if ( nPos < pToolbar->GetItemCount() ) in RemoveItems()
602 pToolbar->RemoveItem( nPos ); in RemoveItems()
636 ToolBox* pToolbar, in CreateController() argument
645 pResult = new ButtonToolbarController( xSMGR, pToolbar, rCommandURL ); in CreateController()
647 … pResult = new ComboboxToolbarController( xSMGR, xFrame, pToolbar, nId, nWidth, rCommandURL ); in CreateController()
649 pResult = new EditToolbarController( xSMGR, xFrame, pToolbar, nId, nWidth, rCommandURL ); in CreateController()
651 … pResult = new SpinfieldToolbarController( xSMGR, xFrame, pToolbar, nId, nWidth, rCommandURL ); in CreateController()
653 pResult = new ImageButtonToolbarController( xSMGR, xFrame, pToolbar, nId, rCommandURL ); in CreateController()
655 … pResult = new DropdownToolbarController( xSMGR, xFrame, pToolbar, nId, nWidth, rCommandURL ); in CreateController()
657 pResult = new ToggleButtonToolbarController( xSMGR, xFrame, pToolbar, nId, in CreateController()
660 pResult = new ToggleButtonToolbarController( xSMGR, xFrame, pToolbar, nId, in CreateController()
663 pResult = new GenericToolbarController( xSMGR, xFrame, pToolbar, nId, rCommandURL ); in CreateController()
668 void ToolBarMerger::CreateToolbarItem( ToolBox* pToolbar, CommandToInfoMap& rCommandMap, sal_uInt16… in CreateToolbarItem() argument
670 pToolbar->InsertItem( nItemId, rItem.aLabel, 0, nPos ); in CreateToolbarItem()
671 pToolbar->SetItemCommand( nItemId, rItem.aCommandURL ); in CreateToolbarItem()
672 pToolbar->SetQuickHelpText( nItemId, rItem.aLabel ); in CreateToolbarItem()
673 pToolbar->SetItemText( nItemId, rItem.aLabel ); in CreateToolbarItem()
674 pToolbar->EnableItem( nItemId, sal_True ); in CreateToolbarItem()
675 pToolbar->SetItemState( nItemId, STATE_NOCHECK ); in CreateToolbarItem()
686 pToolbar->SetItemData( nItemId, pAddonParams ); in CreateToolbarItem()