Home
last modified time | relevance | path

Searched refs:GetItemCount (Results 1 – 25 of 124) sorted by relevance

12345

/trunk/main/sfx2/source/dialog/
H A Dsplitwin.cxx621 if ( nLine > nL && GetItemCount( GetItemId( nL, 0 ) ) == 1 ) in MoveWindow()
735 if ( bNewLine || nLine == GetItemCount( 0 ) ) in InsertWindow_Impl()
741 for ( sal_uInt16 n=0; n<GetItemCount(0); n++ ) in InsertWindow_Impl()
765 if ( GetItemCount( 0 ) == 1 && GetItemCount( 1 ) == 1 ) in InsertWindow_Impl()
848 if ( GetItemCount( nSet ) == 1 && GetItemCount( 0 ) == 1 ) in RemoveWindow()
892 if ( nSet && !GetItemCount( nSet ) ) in RemoveWindow()
950 return GetItemCount( 0 ); in GetLineCount()
976 return GetItemCount( nId ); in GetWindowCount()
988 return GetItemCount( 0 ); in GetWindowCount()
1140 if ( GetItemCount( 0 ) == 0 ) in SetPinned_Impl()
[all …]
/trunk/main/sd/source/ui/sidebar/
H A DLayoutMenu.cxx281 if (GetItemCount() > 0) in GetPreferredWidth()
290 int nColumnCount = (GetItemCount() + nRowCount-1) / nRowCount; in GetPreferredWidth()
304 if ( ! mbUseOwnScrollBar && GetItemCount()>0) in GetHeightForWidth()
317 int nRowCount = (GetItemCount() + nColumnCount-1) / nColumnCount; in GetHeightForWidth()
330 if (GetItemCount()>0) in GetMinimumWidth()
361 if (GetItemCount() > 0) in Resize()
452 if (GetItemCount() > 0 && nColumnCount > 0) in CalculateRowCount()
454 nRowCount = (GetItemCount() + nColumnCount - 1) / nColumnCount; in CalculateRowCount()
678 for (sal_uInt16 nId=1; nId<=GetItemCount(); nId++) in Clear()
820 sal_uInt16 nItemCount (GetItemCount()); in UpdateSelection()
H A DMasterPagesSelector.cxx551 if (nIndex>0 && nIndex<=PreviewValueSet::GetItemCount()) in GetUserData()
564 if (nIndex>0 && nIndex<=PreviewValueSet::GetItemCount()) in SetUserData()
695 for (sal_uInt16 nIndex=1; nIndex<=PreviewValueSet::GetItemCount(); nIndex++) in InvalidatePreview()
715 for (sal_uInt16 nIndex=1; nIndex<=PreviewValueSet::GetItemCount(); nIndex++) in UpdateAllPreviews()
738 for (sal_uInt16 nIndex=1; nIndex<=PreviewValueSet::GetItemCount(); nIndex++) in ClearPageSet()
H A DRecentMasterPagesSelector.cxx160 if (PreviewValueSet::GetItemCount() > 0) in AssignMasterPageToPageList()
162 if (PreviewValueSet::GetItemCount() >= nSelectedItemId) in AssignMasterPageToPageList()
165 PreviewValueSet::SelectItem(PreviewValueSet::GetItemCount()); in AssignMasterPageToPageList()
/trunk/main/framework/source/fwe/classes/
H A Daddonmenu.cxx77 for ( sal_uInt16 i = 0; i < GetItemCount(); i++ ) in ~AddonMenu()
168 if ( pAddonMenu->GetItemCount() == 0 ) in CreateAddonMenu()
189 for ( nPos = 0; nPos < pMenu->GetItemCount(); nPos++ ) in FindMenuId()
223 sal_uInt16 nItemCount = pHelpMenu->GetItemCount(); in MergeAddonHelpMenu()
258 if ( pHelpMenu->GetItemCount() > nItemCount ) in MergeAddonHelpMenu()
262 nInsSepAfterPos += ( pHelpMenu->GetItemCount() - nItemCount ); in MergeAddonHelpMenu()
315 if ( pAddonPopupMenu->GetItemCount() > 0 ) in MergeAddonPopupMenus()
371 if ( pSubMenu->GetItemCount() == 0 ) in BuildMenu()
/trunk/main/sfx2/source/menu/
H A Dvirtmenu.cxx113 for (sal_uInt16 nPos = 0; nPos<pSVMenu->GetItemCount(); nPos++) in Update()
372 nCount = pSVMenu->GetItemCount(); in CreateFromSVMenu()
571 sal_uInt16 nItemCount = pSVMenu->GetItemCount(); in IMPL_LINK()
645 sal_uInt16 nItemCount = pSVMenu->GetItemCount(); in UpdateImages()
695 sal_uInt16 nItemCount = pMenu->GetItemCount(); in UpdateImages()
731 sal_uInt16 nItemCount = pMenu->GetItemCount(); in RemoveMenuImages()
877 if ( pAddonMenu && pAddonMenu->GetItemCount() > 0 ) in InsertAddOnsMenuItem()
879 sal_uInt16 nItemCount = pMenu->GetItemCount(); in InsertAddOnsMenuItem()
973 int nItemCount = pMenu->GetItemCount(); in IMPL_LINK()
983 pMenu->RemoveItem( pMenu->GetItemCount()-1 ); in IMPL_LINK()
[all …]
H A Dmnumgr.cxx295 sal_uInt16 n, nCount = pSVMenu->GetItemCount(); in UseDefault()
306 nCount = aPop.GetItemCount(); in UseDefault()
528 sal_uInt16 n, nCount = pSVMenu->GetItemCount(); in Popup()
543 nCount = aPop.GetItemCount(); in Popup()
580 sal_uInt16 n, nCount = pSVMenu->GetItemCount(); in ExecutePopup()
593 nCount = aPop.GetItemCount(); in ExecutePopup()
/trunk/main/framework/source/classes/
H A Dmenumanager.cxx162 sal_uInt16 nItemCount = pMenu->GetItemCount(); in MenuManager()
196 if ( pSubMenu && ( pSubMenu->GetItemCount() > 0 )) in MenuManager()
379 sal_uInt16 nItemCount = pAddonMenu->GetItemCount();
677 int nItemCount = pMenu->GetItemCount(); in UpdateSpecialFileMenu()
683 for ( sal_uInt16 n = nPos; n < pMenu->GetItemCount(); ) in UpdateSpecialFileMenu()
690 pMenu->RemoveItem( pMenu->GetItemCount()-1 ); in UpdateSpecialFileMenu()
812 int nItemCount = pMenu->GetItemCount(); in UpdateSpecialWindowMenu()
818 for ( sal_uInt16 n = nPos; n < pMenu->GetItemCount(); ) in UpdateSpecialWindowMenu()
821 if ( pMenu->GetItemType( pMenu->GetItemCount()-1 ) == MENUITEM_SEPARATOR ) in UpdateSpecialWindowMenu()
822 pMenu->RemoveItem( pMenu->GetItemCount()-1 ); in UpdateSpecialWindowMenu()
[all …]
/trunk/main/svx/source/dialog/
H A Dsimptabl.cxx200 if ( nPrivTabCount > aHeaderBar.GetItemCount() ) in SetTabs()
201 nPrivTabCount = aHeaderBar.GetItemCount(); in SetTabs()
236 if(nPrivTabCount>aHeaderBar.GetItemCount()) in Paint()
237 nPrivTabCount=aHeaderBar.GetItemCount(); in Paint()
446 if(nPrivTabCount>aHeaderBar.GetItemCount()) in HBarEndDrag()
447 nPrivTabCount=aHeaderBar.GetItemCount(); in HBarEndDrag()
/trunk/main/svtools/source/control/
H A Dtaskbar.cxx310 while ( i < pTempButtonBar->GetItemCount() ) in Resize()
324 if ( pTempButtonBar->GetItemCount() ) in Resize()
388 if ( pTempTaskToolBox->GetItemCount() ) in Resize()
535 if ( pTempButtonBar && pTempButtonBar->GetItemCount() ) in CalcWindowSizePixel()
537 if ( pTempTaskToolBox && pTempTaskToolBox->GetItemCount() ) in CalcWindowSizePixel()
H A Dstdmenu.cxx81 sal_uInt16 j = GetItemCount(); in Fill()
103 sal_uInt16 nItemCount = GetItemCount(); in SetCurName()
345 sal_uInt16 nItemCount = GetItemCount(); in SetCurStyle()
489 sal_uInt16 nItemCount = GetItemCount(); in SetCurHeight()
/trunk/main/vcl/source/window/
H A Dmenu.cxx596 if( GetItemCount() == 0 ) in calcMinSize()
607 sal_uInt16 nItems = GetItemCount(); in calcMinSize()
1409 if ( nPos < GetItemCount() ) in RemoveItem()
1495 sal_uInt16 Menu::GetItemCount() const in GetItemCount() function in Menu
2140 sal_uInt16 nCount = rMenu.GetItemCount(); in operator =()
3042 if ( GetItemCount() ) in RemoveDisabledEntries()
3055 sal_uInt16 nCount = GetItemCount(); in HasValidEntries()
3735 if ( !GetItemCount() ) in ImplExecute()
3812 if ( GetItemCount() ) in ImplExecute()
4876 n = pMenu->GetItemCount()-1; in ImplCursorUpDown()
[all …]
H A Daccel.cxx407 sal_uInt16 nItemCount = GetItemCount(); in RemoveItem()
440 sal_uInt16 nItemCount = GetItemCount(); in RemoveItem()
473 sal_uInt16 Accelerator::GetItemCount() const in GetItemCount() function in Accelerator
592 sal_uInt16 nItemCount = GetItemCount(); in SetAccel()
652 sal_uInt16 nItemCount = GetItemCount(); in EnableItem()
/trunk/main/framework/source/uielement/
H A Daddonstoolbarmanager.cxx189 for ( sal_uInt16 n = 0; n < m_pToolBar->GetItemCount(); n++ ) in dispose()
219 for ( sal_uInt16 nPos = 0; nPos < m_pToolBar->GetItemCount(); nPos++ ) in RefreshImages()
294 sal_uInt16 nCount = m_pToolBar->GetItemCount(); in FillToolbar()
303 sal_uInt16 nCount = m_pToolBar->GetItemCount(); in FillToolbar()
536 for ( sal_uInt16 nPos = 0; nPos < m_pToolBar->GetItemCount(); ++nPos ) in IMPL_LINK()
H A Dmenubarmanager.cxx814 for ( sal_uInt16 n = 0; n < pMenu->GetItemCount(); n++ ) in CheckAndAddMenuExtension()
838 pMenu->EnableItem( nItemId, pThisPopup->GetItemCount() ? true : false ); in lcl_CheckForChildren()
894 for ( sal_uInt16 nPos = 0; nPos < pMenu->GetItemCount(); nPos++ ) in IMPL_LINK()
991 … pMenu->EnableItem( pMenuItemHandler->nItemId, pThisPopup->GetItemCount() ? true : false ); in IMPL_LINK()
1171 sal_uInt16 nCount = pPopupMenu->GetItemCount(); in MustBeHidden()
1282 for ( nPos = 0; nPos < pMenu->GetItemCount(); nPos++ ) in FillMenuManager()
1301 sal_uInt16 nItemCount = pMenu->GetItemCount(); in FillMenuManager()
1341 pPopup->GetItemCount() == 0 && in FillMenuManager()
1393 if ( pSubMenu && ( pSubMenu->GetItemCount() > 0 )) in FillMenuManager()
1719 sal_uInt16 nCount = pMenu->GetItemCount(); in FillMenuWithConfiguration()
[all …]
H A Dtoolbarmanager.cxx339 for ( sal_uInt16 i = 0; i < m_pToolBar->GetItemCount(); i++ ) in Destroy()
417 for ( sal_uInt16 nPos = 0; nPos < m_pToolBar->GetItemCount(); nPos++ ) in RefreshImages()
469 for ( sal_uInt16 nPos = 0; nPos < m_pToolBar->GetItemCount(); nPos++ ) in UpdateImageOrientation()
833 for ( sal_uInt16 i = 0; i < m_pToolBar->GetItemCount(); i++ ) in RemoveControllers()
942 for ( sal_uInt16 i = 0; i < m_pToolBar->GetItemCount(); i++ ) in CreateControllers()
1703 for( i=0; i<pMenu->GetItemCount(); ) in ImplClearPopupMenu()
1824 for ( nPos = 0; nPos < m_pToolBar->GetItemCount(); ++nPos ) in GetToolBarCustomMenu()
1853 if( pMenu->GetItemCount() ) in GetToolBarCustomMenu()
1857 for( i=0; i< aPopupMenu.GetItemCount(); i++) in GetToolBarCustomMenu()
1873 for( i=0; i< aPopupMenu.GetPopupMenu( 1 )->GetItemCount(); i++) in GetToolBarCustomMenu()
[all …]
H A Dnewmenucontroller.cxx96 sal_uInt16 nItemCount = pPopupMenu->GetItemCount();
142 sal_uInt16 nCount( pPopupMenu->GetItemCount() ); in determineAndSetNewDocAccel()
248 sal_uInt32 nItemCount( pPopupMenu->GetItemCount() ); in setAccelerators()
370 for ( sal_uInt16 i = 0; i < pSubMenu->GetItemCount(); i++ ) in fillPopupMenu()
H A Dstatusbarmerger.cxx143 if ( nInsPos > pStatusbar->GetItemCount() ) in lcl_MergeItems()
172 if ( nPos < pStatusbar->GetItemCount() ) in lcl_RemoveItems()
206 for ( sal_uInt16 nPos = 0; nPos < pStatusbar->GetItemCount(); nPos++ ) in FindReferencePos()
/trunk/main/svx/source/sidebar/
H A DColorPanel.cxx63 if (GetItemCount()>0) in GetPreferredHeight()
74 int nRowCount = (GetItemCount() + nColumnCount-1) in GetPreferredHeight()
93 if (GetItemCount() > 0) in Resize()
120 if (GetItemCount()>0 && nColumnCount>0) in CalculateRowCount()
/trunk/main/svx/source/sidebar/debug/
H A DColorPanel.cxx63 if (GetItemCount()>0) in GetPreferredHeight()
74 int nRowCount = (GetItemCount() + nColumnCount-1) in GetPreferredHeight()
93 if (GetItemCount() > 0) in Resize()
120 if (GetItemCount()>0 && nColumnCount>0) in CalculateRowCount()
/trunk/main/svtools/source/dialogs/
H A Droadmapwizard.cxx408 …til = ::std::max( (RoadmapTypes::ItemIndex)nUpperStepBoundary, m_pImpl->pRoadmap->GetItemCount() ); in implUpdateRoadmap()
411 bool bExistentItem = ( nItemIndex < m_pImpl->pRoadmap->GetItemCount() ); in implUpdateRoadmap()
419 while ( nItemIndex < m_pImpl->pRoadmap->GetItemCount() ) in implUpdateRoadmap()
720 …til = ::std::max( (RoadmapTypes::ItemIndex)nUpperStepBoundary, m_pImpl->pRoadmap->GetItemCount() ); in updateRoadmapItemLabel()
726 bool bExistentItem = ( nItemIndex < m_pImpl->pRoadmap->GetItemCount() ); in updateRoadmapItemLabel()
/trunk/main/connectivity/source/inc/ado/
H A DAolewrap.hxx154 inline sal_Int32 GetItemCount() const in GetItemCount() function in connectivity::ado::WpOLECollection
162 OSL_ENSURE(index >= 0 && index<GetItemCount(),"Wrong index for field!"); in GetItem()
200 sal_Int32 nCount = GetItemCount(); in fillElementNames()
/trunk/main/dbaccess/source/ui/control/
H A Dtoolboxcontroller.cxx178 sal_uInt16 nCount = pToolBox->GetItemCount(); in initialize()
205 sal_uInt16 nCount = pMenu->GetItemCount(); in statusChanged()
244 sal_uInt16 nCount = pMenu->GetItemCount(); in getMenu()
/trunk/main/automation/source/server/
H A Dstatemnt.cxx912 for ( i = 0; i < pTB->GetItemCount() ; i++ ) in WriteControlData()
1041 for ( i = 0; i < pMenu->GetItemCount() ; i++ ) in WriteControlData()
2761 nItemCount = pMenu->GetItemCount(); in Execute()
2765 for ( sal_uInt16 i = 0 ; i < pMenu->GetItemCount() ; i++ ) in Execute()
4403 if ( pStatus->GetItemCount() == 1 ) in HandleCommonMethods()
4424 pRet->GenReturn ( RET_Value, aUId, comm_ULONG(pStatus->GetItemCount())); in HandleCommonMethods()
4429 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,pStatus->GetItemCount()) ) in HandleCommonMethods()
5443 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTB->GetItemCount() )) in Execute()
5461 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pTB->GetItemCount()); in Execute()
6004 pRet->GenReturn ( RET_Value, aUId, comm_ULONG( pVS->GetItemCount())); in Execute()
[all …]
/trunk/main/sfx2/source/appl/
H A Dsfxpicklist.cxx278 if ( pMenu->GetItemType( pMenu->GetItemCount()-1 ) == MENUITEM_SEPARATOR ) in CreateMenuEntries()
279 pMenu->RemoveItem( pMenu->GetItemCount()-1 ); in CreateMenuEntries()
282 pMenu->GetItemType( pMenu->GetItemCount()-1 ) in CreateMenuEntries()

Completed in 318 milliseconds

12345