Lines Matching refs:aItem

573 	ImplToolItem aItem;  in InsertItem()  local
579 aItem.mnId = sal::static_int_cast<sal_uInt16>(ReadLongRes()); in InsertItem()
581 aItem.mnId = 1; in InsertItem()
584 aItem.meType = (ToolBoxItemType)ReadLongRes(); in InsertItem()
587 aItem.mnBits = (ToolBoxItemBits)ReadLongRes(); in InsertItem()
590 aItem.maHelpId = ReadByteStringRes(); in InsertItem()
594 aItem.maText = ReadStringRes(); in InsertItem()
595 aItem.maText = ImplConvertMenuString( aItem.maText ); in InsertItem()
598 aItem.maHelpText = ReadStringRes(); in InsertItem()
604 aItem.maImage = Image( aBmp, IMAGE_STDBTN_COLOR ); in InsertItem()
609 aItem.maImage = Image( ResId( (RSHEADER_TYPE*)GetClassRes(), *rResId.GetResMgr() ) ); in InsertItem()
614 aItem.mbEnabled = !(sal_Bool)ReadShortRes(); in InsertItem()
617 aItem.meState = (TriState)ReadLongRes(); in InsertItem()
620 aItem.mbVisible = !((sal_Bool)ReadShortRes()); in InsertItem()
623 aItem.maCommandStr = ReadStringRes(); in InsertItem()
627 if ( !bImage && aItem.mnId ) in InsertItem()
628 aItem.maImage = maImageList.GetImage( aItem.mnId ); in InsertItem()
632 if ( aItem.meType != TOOLBOXITEM_BUTTON ) in InsertItem()
635 aItem.mnId = 0; in InsertItem()
641 DBG_ASSERT( aItem.mnId, "ToolBox::InsertItem(): ItemId == 0" ); in InsertItem()
642 DBG_ASSERT( GetItemPos( aItem.mnId ) == TOOLBOX_ITEM_NOTFOUND, in InsertItem()
647 …(nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem ); in InsertItem()
729 ImplToolItem aItem; in InsertWindow() local
730 aItem.mnId = nItemId; in InsertWindow()
731 aItem.meType = TOOLBOXITEM_BUTTON; in InsertWindow()
732 aItem.mnBits = nBits; in InsertWindow()
733 aItem.mpWindow = pWindow; in InsertWindow()
734 …(nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem ); in InsertWindow()
752 ImplToolItem aItem; in InsertSpace() local
753 aItem.meType = TOOLBOXITEM_SPACE; in InsertSpace()
754 aItem.mbEnabled = sal_False; in InsertSpace()
755 …(nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem ); in InsertSpace()
770 ImplToolItem aItem; in InsertSeparator() local
771 aItem.meType = TOOLBOXITEM_SEPARATOR; in InsertSeparator()
772 aItem.mbEnabled = sal_False; in InsertSeparator()
774 aItem.mnSepSize = nPixSize; in InsertSeparator()
775 …(nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem ); in InsertSeparator()
790 ImplToolItem aItem; in InsertBreak() local
791 aItem.meType = TOOLBOXITEM_BREAK; in InsertBreak()
792 aItem.mbEnabled = sal_False; in InsertBreak()
793 …(nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem ); in InsertBreak()
853 ImplToolItem aItem = mpData->m_aItems[nPos]; in MoveItem() local
855 …os < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nNewPos : mpData->m_aItems.end(), aItem ); in MoveItem()