Lines Matching refs:nId
191 sal_uInt16 nId( m_pToolBar->GetItemId( n ) ); in dispose() local
193 if ( nId > 0 ) in dispose()
195 AddonsParams* pRuntimeItemData = (AddonsParams*)m_pToolBar->GetItemData( nId ); in dispose()
198 m_pToolBar->SetItemData( nId, NULL ); in dispose()
207 bool AddonsToolBarManager::MenuItemAllowed( sal_uInt16 nId ) const in MenuItemAllowed()
209 if (( nId == MENUITEM_TOOLBAR_VISIBLEBUTTON ) || in MenuItemAllowed()
210 ( nId == MENUITEM_TOOLBAR_CUSTOMIZETOOLBAR )) in MenuItemAllowed()
221 sal_uInt16 nId( m_pToolBar->GetItemId( nPos ) ); in RefreshImages() local
223 if ( nId > 0 ) in RefreshImages()
225 ::rtl::OUString aCommandURL = m_pToolBar->GetItemCommand( nId ); in RefreshImages()
227 AddonsParams* pRuntimeItemData = (AddonsParams*)m_pToolBar->GetItemData( nId ); in RefreshImages()
231 m_pToolBar->SetItemImage( nId, RetrieveImage( m_xFrame, in RefreshImages()
247 sal_uInt16 nId( 1 ); in FillToolbar() local
311 m_pToolBar->InsertItem( nId, aTitle ); in FillToolbar()
315 m_pToolBar->SetItemImage( nId, aImage ); in FillToolbar()
321 m_pToolBar->SetItemData( nId, pRuntimeItemData ); in FillToolbar()
322 m_pToolBar->SetItemCommand( nId, aURL ); in FillToolbar()
348 aPropValue.Value = makeAny( sal_Int32( nId )); in FillToolbar()
366 …arMerger::CreateController( m_xServiceManager, m_xFrame, m_pToolBar, aURL, nId, nWidth, aControlTy… in FillToolbar()
371 m_aControllerMap[nId] = xController; in FillToolbar()
408 pItemWin->SetAccessibleName( m_pToolBar->GetItemText( nId ) ); in FillToolbar()
409 m_pToolBar->SetItemWindow( nId, pItemWin ); in FillToolbar()
427 ++nId; in FillToolbar()
441 sal_uInt16 nId( m_pToolBar->GetCurItemId() ); in IMPL_LINK() local
442 ToolBarControllerMap::const_iterator pIter = m_aControllerMap.find( nId ); in IMPL_LINK()
459 sal_uInt16 nId( m_pToolBar->GetCurItemId() ); in IMPL_LINK() local
460 ToolBarControllerMap::const_iterator pIter = m_aControllerMap.find( nId ); in IMPL_LINK()
488 sal_uInt16 nId( m_pToolBar->GetCurItemId() ); in IMPL_LINK() local
489 ToolBarControllerMap::const_iterator pIter = m_aControllerMap.find( nId ); in IMPL_LINK()
538 const sal_uInt16 nId = m_pToolBar->GetItemId(nPos); in IMPL_LINK() local
539 Window* pWindow = m_pToolBar->GetItemWindow( nId ); in IMPL_LINK()