Lines Matching refs:nItemId
115 ImplToolItem::ImplToolItem( sal_uInt16 nItemId, const Image& rImage, in ImplToolItem() argument
119 mnId = nItemId; in ImplToolItem()
139 ImplToolItem::ImplToolItem( sal_uInt16 nItemId, const XubString& rText, in ImplToolItem() argument
143 mnId = nItemId; in ImplToolItem()
163 ImplToolItem::ImplToolItem( sal_uInt16 nItemId, const Image& rImage, in ImplToolItem() argument
168 mnId = nItemId; in ImplToolItem()
660 void ToolBox::InsertItem( sal_uInt16 nItemId, const Image& rImage, in InsertItem() argument
663 DBG_ASSERT( nItemId, "ToolBox::InsertItem(): ItemId == 0" ); in InsertItem()
664 DBG_ASSERT( GetItemPos( nItemId ) == TOOLBOX_ITEM_NOTFOUND, in InsertItem()
668 … ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), ImplToolItem( nItemId, rImage, nBits ) … in InsertItem()
680 void ToolBox::InsertItem( sal_uInt16 nItemId, const Image& rImage, in InsertItem() argument
684 DBG_ASSERT( nItemId, "ToolBox::InsertItem(): ItemId == 0" ); in InsertItem()
685 DBG_ASSERT( GetItemPos( nItemId ) == TOOLBOX_ITEM_NOTFOUND, in InsertItem()
689 … ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), ImplToolItem( nItemId, rImage, ImplConv… in InsertItem()
701 void ToolBox::InsertItem( sal_uInt16 nItemId, const XubString& rText, in InsertItem() argument
704 DBG_ASSERT( nItemId, "ToolBox::InsertItem(): ItemId == 0" ); in InsertItem()
705 DBG_ASSERT( GetItemPos( nItemId ) == TOOLBOX_ITEM_NOTFOUND, in InsertItem()
709 … ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), ImplToolItem( nItemId, ImplConvertMenuS… in InsertItem()
721 void ToolBox::InsertWindow( sal_uInt16 nItemId, Window* pWindow, in InsertWindow() argument
724 DBG_ASSERT( nItemId, "ToolBox::InsertWindow(): ItemId == 0" ); in InsertWindow()
725 DBG_ASSERT( GetItemPos( nItemId ) == TOOLBOX_ITEM_NOTFOUND, in InsertWindow()
730 aItem.mnId = nItemId; in InsertWindow()
839 void ToolBox::MoveItem( sal_uInt16 nItemId, sal_uInt16 nNewPos ) in MoveItem() argument
841 sal_uInt16 nPos = GetItemPos( nItemId ); in MoveItem()
874 void ToolBox::CopyItem( const ToolBox& rToolBox, sal_uInt16 nItemId, in CopyItem() argument
877 DBG_ASSERT( GetItemPos( nItemId ) == TOOLBOX_ITEM_NOTFOUND, in CopyItem()
880 sal_uInt16 nPos = rToolBox.GetItemPos( nItemId ); in CopyItem()
1079 sal_uInt16 ToolBox::GetItemPos( sal_uInt16 nItemId ) const in GetItemPos()
1083 if( mpData->m_aItems[nPos].mnId == nItemId ) in GetItemPos()
1200 Point ToolBox::GetItemPopupPosition( sal_uInt16 nItemId, const Size& rSize ) const in GetItemPopupPosition() argument
1202 return ImplGetPopupPosition( GetItemRect( nItemId ), rSize ); in GetItemPopupPosition()
1207 Rectangle ToolBox::GetItemRect( sal_uInt16 nItemId ) const in GetItemRect()
1212 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemRect()
1230 Rectangle ToolBox::GetItemDropDownRect( sal_uInt16 nItemId ) const in GetItemDropDownRect()
1235 sal_uInt16 nPos = GetItemPos( nItemId ); in GetItemDropDownRect()
1274 void ToolBox::SetItemBits( sal_uInt16 nItemId, ToolBoxItemBits nBits ) in SetItemBits() argument
1276 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemBits()
1293 ToolBoxItemBits ToolBox::GetItemBits( sal_uInt16 nItemId ) const in GetItemBits()
1295 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemBits()
1305 void ToolBox::SetItemData( sal_uInt16 nItemId, void* pNewData ) in SetItemData() argument
1307 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemData()
1318 void* ToolBox::GetItemData( sal_uInt16 nItemId ) const in GetItemData()
1320 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemData()
1330 void ToolBox::SetItemImage( sal_uInt16 nItemId, const Image& rImage ) in SetItemImage() argument
1332 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemImage()
1381 void ToolBox::SetItemImageAngle( sal_uInt16 nItemId, long nAngle10 ) in SetItemImageAngle() argument
1383 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemImageAngle()
1424 void ToolBox::SetItemImageMirrorMode( sal_uInt16 nItemId, sal_Bool bMirror ) in SetItemImageMirrorMode() argument
1426 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemImageMirrorMode()
1452 Image ToolBox::GetItemImage( sal_uInt16 nItemId ) const in GetItemImage()
1454 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemImage()
1464 long ToolBox::GetItemImageAngle( sal_uInt16 nItemId ) const in GetItemImageAngle()
1466 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemImageAngle()
1476 sal_Bool ToolBox::GetItemImageMirrorMode( sal_uInt16 nItemId ) const in GetItemImageMirrorMode()
1478 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemImageMirrorMode()
1488 void ToolBox::SetItemHighImage( sal_uInt16 nItemId, const Image& rImage ) in SetItemHighImage() argument
1490 ImplToolItem* pItem = ImplGetItem( nItemId ); in SetItemHighImage()
1501 Image ToolBox::GetItemHighImage( sal_uInt16 nItemId ) const in GetItemHighImage()
1503 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemHighImage()
1513 void ToolBox::SetItemText( sal_uInt16 nItemId, const XubString& rText ) in SetItemText() argument
1515 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemText()
1545 const XubString& ToolBox::GetItemText( sal_uInt16 nItemId ) const in GetItemText()
1547 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemText()
1557 void ToolBox::SetItemWindow( sal_uInt16 nItemId, Window* pNewWindow ) in SetItemWindow() argument
1559 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemWindow()
1574 Window* ToolBox::GetItemWindow( sal_uInt16 nItemId ) const in GetItemWindow()
1576 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemWindow()
1627 void ToolBox::SetItemDown( sal_uInt16 nItemId, sal_Bool bDown, sal_Bool bRelease ) in SetItemDown() argument
1629 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemDown()
1673 sal_Bool ToolBox::IsItemDown( sal_uInt16 nItemId ) const in IsItemDown()
1675 sal_uInt16 nPos = GetItemPos( nItemId ); in IsItemDown()
1685 void ToolBox::SetItemState( sal_uInt16 nItemId, TriState eState ) in SetItemState() argument
1687 sal_uInt16 nPos = GetItemPos( nItemId ); in SetItemState()
1749 TriState ToolBox::GetItemState( sal_uInt16 nItemId ) const in GetItemState()
1751 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemState()
1761 void ToolBox::EnableItem( sal_uInt16 nItemId, sal_Bool bEnable ) in EnableItem() argument
1763 sal_uInt16 nPos = GetItemPos( nItemId ); in EnableItem()
1793 sal_Bool ToolBox::IsItemEnabled( sal_uInt16 nItemId ) const in IsItemEnabled()
1795 ImplToolItem* pItem = ImplGetItem( nItemId ); in IsItemEnabled()
1805 void ToolBox::ShowItem( sal_uInt16 nItemId, sal_Bool bVisible ) in ShowItem() argument
1807 sal_uInt16 nPos = GetItemPos( nItemId ); in ShowItem()
1823 sal_Bool ToolBox::IsItemVisible( sal_uInt16 nItemId ) const in IsItemVisible()
1825 ImplToolItem* pItem = ImplGetItem( nItemId ); in IsItemVisible()
1835 sal_Bool ToolBox::IsItemReallyVisible( sal_uInt16 nItemId ) const in IsItemReallyVisible()
1840 ImplToolItem* pItem = ImplGetItem( nItemId ); in IsItemReallyVisible()
1853 void ToolBox::SetItemCommand( sal_uInt16 nItemId, const XubString& rCommand ) in SetItemCommand() argument
1855 ImplToolItem* pItem = ImplGetItem( nItemId ); in SetItemCommand()
1863 const XubString& ToolBox::GetItemCommand( sal_uInt16 nItemId ) const in GetItemCommand()
1865 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemCommand()
1875 void ToolBox::SetQuickHelpText( sal_uInt16 nItemId, const XubString& rText ) in SetQuickHelpText() argument
1877 ImplToolItem* pItem = ImplGetItem( nItemId ); in SetQuickHelpText()
1885 const XubString& ToolBox::GetQuickHelpText( sal_uInt16 nItemId ) const in GetQuickHelpText()
1887 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetQuickHelpText()
1897 void ToolBox::SetHelpText( sal_uInt16 nItemId, const XubString& rText ) in SetHelpText() argument
1899 ImplToolItem* pItem = ImplGetItem( nItemId ); in SetHelpText()
1907 const XubString& ToolBox::GetHelpText( sal_uInt16 nItemId ) const in GetHelpText()
1909 return ImplGetHelpText( nItemId ); in GetHelpText()
1914 void ToolBox::SetHelpId( sal_uInt16 nItemId, const rtl::OString& rHelpId ) in SetHelpId() argument
1916 ImplToolItem* pItem = ImplGetItem( nItemId ); in SetHelpId()
1924 rtl::OString ToolBox::GetHelpId( sal_uInt16 nItemId ) const in GetHelpId()
1928 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetHelpId()
2093 sal_uInt16 nItemId = 0; in GetDisplayItemId() local
2097 nItemId = mpData->m_pLayoutData->m_aLineItemIds[nText]; in GetDisplayItemId()
2098 return nItemId; in GetDisplayItemId()