Lines Matching refs:nNr1

692 , nNr1(Nr1)  in StatementCommand()
709 …AM_USHORT_1 ) {m_pDbgWin->AddText( " n1:" );m_pDbgWin->AddText( String::CreateFromInt32( nNr1 ) );} in StatementCommand()
726 , nNr1(0) in StatementCommand()
740 if( nParams & PARAM_USHORT_1 ) pCmdIn->Read( nNr1 ); in StatementCommand()
755 …AM_USHORT_1 ) {m_pDbgWin->AddText( " n1:" );m_pDbgWin->AddText( String::CreateFromInt32( nNr1 ) );} in StatementCommand()
2300 nLNr1 = Time().GetTime() + nNr1/10; in Execute()
2316 nNr1 = 1; // Welcher Button ist dran? in Execute()
2376 if ( nNr1 >= 10+pBD->GetButtonCount() ) nNr1 = 1; in Execute()
2377 switch( nNr1 ) in Execute()
2386 nNr1 = 10; // Nochmal alle Buttons der Reihe nach in Execute()
2395 nNr1++; in Execute()
2404 nNr1++; in Execute()
2414 nNr1++; in Execute()
2418 sal_uInt16 nID = pBD->GetButtonId( nNr1-10 ); in Execute()
2425 nNr1++; in Execute()
2453 nNr1 = 1; // Zum durchprobieren der Buttons beim Schlie�en in Execute()
2485 nNr1 = 1; // Zum durchprobieren der Buttons beim Schlie�en in Execute()
2502 nNr1 = 1; // Zum durchprobieren der Buttons beim Schlie�en in Execute()
2527 nNr1 = 1000; // defaults to 1000 = 1 Sec. in Execute()
2530 nLNr1 = Time().GetTime() + nNr1/10; in Execute()
2662 pProfiler->StartAutoProfiling( nNr1 ); in Execute()
2681 …ams & PARAM_USHORT_1 ) { pRet->GenReturn( RET_ProfileInfo, S_ProfileBorder1, (comm_ULONG)nNr1 ); }; in Execute()
2790 nPhysicalIndex = nNr1; in Execute()
2795 for ( sal_uInt16 i = 0 ; i < pMenu->GetItemCount() && nVisibleCount < nNr1 ; i++ ) in Execute()
2806 DBG_ASSERT( nVisibleCount == nNr1, "Adaption of Index failed: nVisibleCount != nNr1" ); in Execute()
2823 if ( ValueOK( rtl::OString(), RcString( nMethodId ),nNr1,nItemCount) ) in Execute()
2829 sal_uInt16 nLogicalPos = pMenu->GetItemPos(nNr1); in Execute()
2832 if ( !pMenu->IsItemEnabled( nNr1 ) ) in Execute()
2851 if ( ValueOK( rtl::OString(), RcString( nMethodId ),nNr1,nItemCount) ) in Execute()
2857 pRet->GenReturn ( RET_Value, nMethodId, (comm_BOOL)pMenu->IsItemChecked(nNr1) ); in Execute()
2862 pRet->GenReturn ( RET_Value, nMethodId, (comm_BOOL)pMenu->IsItemEnabled(nNr1) ); in Execute()
2867 pRet->GenReturn ( RET_Value, nMethodId, (String)pMenu->GetItemText(nNr1) ); in Execute()
2872 pRet->GenReturn ( RET_Value, nMethodId, (String)pMenu->GetItemCommand(nNr1) ); in Execute()
2877 pRet->GenReturn ( RET_Value, nMethodId, (sal_Bool)(pMenu->GetPopupMenu(nNr1) != NULL) ); in Execute()
2882 if ( pMenu->GetPopupMenu(nNr1) ) in Execute()
2885 aSubMenuId1 = nNr1; in Execute()
2887 aSubMenuId2 = nNr1; in Execute()
2889 aSubMenuId3 = nNr1; in Execute()
2892 pPopup->SelectEntry(nNr1); in Execute()
2894 pMenuBar->SelectEntry(nNr1); in Execute()
2900 pPopup->EndExecute(nNr1); in Execute()
2908 pMenuBar->SelectEntry(nNr1); in Execute()
3006 nDirFlags = nFlags = nNr1; in Execute()
3230 nMinTypeKeysDelay = nNr1; in Execute()
3298 switch( nNr1 ) in Execute()
3373 if ( ValueOK( rtl::OString(), RcString( nMethodId ), nNr1, GetDocWinCount() ) ) in Execute()
3375 Window* pWin = GetDocWin( nNr1-1 ); in Execute()
3476 , nNr1( 0 ) in StatementControl()
3512 if( nParams & PARAM_USHORT_1 ) pCmdIn->Read( nNr1 ); in StatementControl()
3528 …AM_USHORT_1 ) {m_pDbgWin->AddText( " n1:" );m_pDbgWin->AddText( String::CreateFromInt32( nNr1 ) );} in StatementControl()
3878 nNr1 = (sal_uInt16)-aStart.X(); in HandleVisibleControls()
3883 nNr1 = std::max((sal_uInt16)-aStart.X(),nNr1); in HandleVisibleControls()
3890 Point aPt(-nNr1,-nNr2); in HandleVisibleControls()
3915 nNr1 = 1; in HandleVisibleControls()
3917 … FixedText* pFixedText = (FixedText*)GetWinByRT( pControl, WINDOW_FIXEDTEXT, sal_True, nNr1-1 ); in HandleVisibleControls()
3921 …ValueOK(aUId, MethodString( nMethodId ),nNr1,CountWinByRT( pControl, WINDOW_FIXEDTEXT, sal_True ) … in HandleVisibleControls()
3985 nNr1 = 1; in HandleCommonMethods()
4011 for (int j = 0; j < nNr1; j++) in HandleCommonMethods()
4124 Point aPos = Point(aS.Width() * nNr1 / 100,aS.Height() * nNr2 / 100); in HandleCommonMethods()
4144 Point aPos = Point(aS.Width() * nNr1 / 100,aS.Height() * nNr2 / 100); in HandleCommonMethods()
4163 Point aPos = Point(aS.Width() * nNr1 / 100,aS.Height() * nNr2 / 100); in HandleCommonMethods()
4184 Point aPos = Point(aS.Width() * nNr1 / 100,aS.Height() * nNr2 / 100); in HandleCommonMethods()
4297 switch ( nNr1 ) in HandleCommonMethods()
4395 pRet->GenReturn ( RET_Value, aUId, String(pStatus->GetItemText(nNr1))); in HandleCommonMethods()
4429 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,pStatus->GetItemCount()) ) in HandleCommonMethods()
4430 pRet->GenReturn ( RET_Value, aUId, comm_ULONG(pStatus->GetItemId(nNr1-1))); in HandleCommonMethods()
4445 nNr1 = CONST_ALIGN_RIGHT; // default is right Scrollbar(vertical) in HandleCommonMethods()
4447 if ( (nNr1 != CONST_ALIGN_RIGHT) && (nNr1 != CONST_ALIGN_BOTTOM) ) in HandleCommonMethods()
4458 pScroll = GetScrollBar( pControl, nNr1, sal_True ); in HandleCommonMethods()
4573 nNr1 = 0; // defaultm��ig sofort zur�ck in Execute()
4586 if ( aSeconds <= nNr2 + nNr1 ) // Zeit ist noch nicht abgelaufen in Execute()
4719 … if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((TabControl*)pControl)->GetPageCount() ) ) in Execute()
4720 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)((TabControl*)pControl)->GetPageId(nNr1-1)); in Execute()
4731 ((TabControl*)pControl)->SetCurPageId( nNr1 ); in Execute()
4735 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((TabControl*)pControl)->GetPageCount() ) ) in Execute()
4739 ((TabControl*)pControl)->SetCurPageId( ((TabControl*)pControl)->GetPageId( nNr1-1 ) ); in Execute()
4928 nNr1 = 1; in Execute()
4930 ValueOK(aUId, MethodString( nMethodId ),nNr1,((ListBox*)pControl)->GetSelectEntryCount()); in Execute()
4931 …pRet->GenReturn ( RET_Value, aUId, comm_ULONG(((ListBox*)pControl)->GetSelectEntryPos(nNr1-1)) +1); in Execute()
4935 nNr1 = 1; in Execute()
4936 pRet->GenReturn ( RET_Value, aUId, ((ListBox*)pControl)->GetSelectEntry(nNr1-1)); in Execute()
4942 pRet->GenReturn ( RET_Value, aUId, ((ListBox*)pControl)->GetEntry(nNr1-1)); in Execute()
4985 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,pLB->GetEntryCount()) ) in Execute()
4989 pLB->SelectEntryPos( nNr1-1, bBool1 ); in Execute()
4990 if ( pLB->IsEntryPosSelected( nNr1-1 ) ? !bBool1 : bBool1 ) // XOR into with BOOL in Execute()
4991 …, GEN_RES_STR2( S_METHOD_FAILED, MethodString( nMethodId ), UniString::CreateFromInt32( nNr1 ) ) ); in Execute()
5036 pRet->GenReturn ( RET_Value, aUId, ((ComboBox*)pControl)->GetEntry(nNr1-1)); in Execute()
5044 if ( !ValueOK(aUId, MethodString( nMethodId ),nNr1,((ComboBox*)pControl)->GetEntryCount()) ) in Execute()
5046 aString1 = ((ComboBox*)pControl)->GetEntry(nNr1-1); in Execute()
5150 nNr1 = 1; in Execute()
5151 for (int i = 1; i<= nNr1; i++) in Execute()
5162 nNr1 = 1; in Execute()
5163 for (int i = 1; i<= nNr1; i++) in Execute()
5401 if ( ValueOK( aUId, CUniString("GetState"), nNr1, 4 ) ) in Execute()
5402 switch (nNr1) in Execute()
5443 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTB->GetItemCount() )) in Execute()
5444 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetHelpText(pTB->GetItemId(nNr1-1))); in Execute()
5447 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTB->GetItemCount() )) in Execute()
5448 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetQuickHelpText(pTB->GetItemId(nNr1-1))); in Execute()
5451 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTB->GetItemCount() )) in Execute()
5452 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetItemText(pTB->GetItemId(nNr1-1))); in Execute()
5455 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetItemText(nNr1)); in Execute()
5512 nNr1 = 1; in Execute()
5520 … while ( ( nValidTextItemCount < nNr1 ) && nIndex < pThisEntry->ItemCount() ) in Execute()
5531 if ( ValueOK( aUId, CUniString("GetText"), nNr1, nValidTextItemCount ) ) in Execute()
5546 nNr1 = 1; in Execute()
5547 if ( ValueOK(aUId, CUniString("GetSelIndex"),nNr1,((SvLBox*)pControl)->GetSelectionCount()) ) in Execute()
5549 nNr1--; in Execute()
5550 GET_NTH_ENTRY_LBOX( FirstSelected, NextSelected, nNr1); in Execute()
5572 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5574 SvLBoxEntry *pEntry = (SvLBoxEntry*)((SvTreeListBox*)pControl)->GetEntryAtVisPos( nNr1-1 ); in Execute()
5586 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5588 SvLBoxEntry *pEntry = (SvLBoxEntry*)((SvTreeListBox*)pControl)->GetEntryAtVisPos( nNr1-1 ); in Execute()
5600 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5602 SvLBoxEntry *pEntry = (SvLBoxEntry*)((SvTreeListBox*)pControl)->GetEntryAtVisPos( nNr1-1 ); in Execute()
5609 nNr1 = 1; in Execute()
5612 if ( ValueOK(aUId, CUniString("GetSelText"),nNr1,((SvLBox*)pControl)->GetSelectionCount()) ) in Execute()
5614 nNr1--; in Execute()
5615 GET_NTH_ENTRY_LBOX( FirstSelected, NextSelected, nNr1); in Execute()
5636 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5638 … SvLBoxEntry *pThisEntry = (SvLBoxEntry*)((SvTreeListBox*)pControl)->GetEntryAtVisPos( nNr1-1 ); in Execute()
5678 … if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5680 … pThisEntry = (SvLBoxEntry*)pTree->GetEntryAtVisPos( nNr1-1 ); in Execute()
5762 … if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5764 … pThisEntry = (SvLBoxEntry*)pTree->GetEntryAtVisPos( nNr1-1 ); in Execute()
5913 … if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,pEBBox->GetRowCount() ) ) in Execute()
5924 … pEBBox->GoToRowColumnId( nNr1-1, pEBBox->GetColumnId( nNr2 ) ); in Execute()
6007 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pVS->GetItemCount() )) in Execute()
6008 … pRet->GenReturn ( RET_Value, aUId, pVS->GetItemText( pVS->GetItemId( nNr1-1 ) ) ); in Execute()
6011 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pVS->GetItemCount() )) in Execute()
6012 pVS->SelectItem( pVS->GetItemId( nNr1-1 ) ); in Execute()
6044 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pRM->GetItemCount() )) in Execute()
6045 … pRet->GenReturn ( RET_Value, aUId, pRM->GetRoadmapItemLabel( pRM->GetItemID( nNr1-1 ) ) ); in Execute()
6048 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pRM->GetItemCount() )) in Execute()
6050 … if ( pRM->IsRoadmapItemEnabled( pRM->GetItemID( nNr1-1 ) ) ) in Execute()
6051 … pRM->SelectRoadmapItemByID( pRM->GetItemID( nNr1-1 ) ); in Execute()
6063 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pRM->GetItemCount() )) in Execute()
6064 …t->GenReturn ( RET_Value, aUId, (comm_BOOL)pRM->IsRoadmapItemEnabled( pRM->GetItemID( nNr1-1 ) ) ); in Execute()
6081 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pELB->getItemCount() )) in Execute()
6085 … pRet->GenReturn ( RET_Value, aUId, pELB->getItemName( nNr1 -1 ) ); in Execute()
6088 … pRet->GenReturn ( RET_Value, aUId, pELB->getItemVersion( nNr1 -1 ) ); in Execute()
6091 … pRet->GenReturn ( RET_Value, aUId, pELB->getItemDescription( nNr1 -1 ) ); in Execute()
6094 … pRet->GenReturn ( RET_Value, aUId, pELB->getItemPublisher( nNr1 -1 ) ); in Execute()
6097 … pRet->GenReturn ( RET_Value, aUId, pELB->getItemPublisherLink( nNr1 -1 ) ); in Execute()
6106 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pELB->getItemCount() )) in Execute()
6108 pELB->select( nNr1-1 ); in Execute()
6156 … if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTC->GetColumnCount() ) && in Execute()
6161 … pModel->getCellContent( nNr1-1, nNr2-1, aCell ); in Execute()
6168 … if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTC->GetColumnCount() ) && in Execute()
6173 … pModel->getCellContent( nNr1-1, nNr2-1, aCell ); in Execute()
6248 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTC->GetRowCount() )) in Execute()
6250 … if ( pTC->GoToRow( ::svt::table::RowPos( nNr1-1 ) ) ) in Execute()
6257 …hile ( ( nLastPos = pTC->getTableControlInterface().hitTest( aPos ).nRow ) != nNr1-1 && nStep > 0 ) in Execute()
6259 … if ( nLastPos > nNr1-1 || nLastPos == ROW_INVALID ) in Execute()
6265 … if ( pTC->getTableControlInterface().hitTest( aPos ).nRow == nNr1-1 ) in Execute()
6270 if ( pTC->IsRowSelected( nNr1-1 ) ) in Execute()
6286 nNr1 = 1; in Execute()
6287 if ( ValueOK( aUId, CUniString("GetSelIndex"), nNr1, pTC->GetSelectedRowCount() ) ) in Execute()
6288 … pRet->GenReturn ( RET_Value, aUId, comm_USHORT( pTC->GetSelectedRowIndex( nNr1-1 ) +1 ) ); in Execute()
6416 if ( aMin.Width() <= nNr1 && aMin.Height() <= nNr2 ) in Execute()
6418 pControl->SetSizePixel(Size(nNr1,nNr2)); in Execute()
6496 pControl->SetPosPixel(Point(nNr1,nNr2)); in Execute()
6689 if ( pBD->GetPushButton( nNr1 ) ) in Execute()
6691 if ( nNr1 != BUTTONID_HELP ) in Execute()
6695 pBD->GetPushButton( nNr1 )->Click(); in Execute()
6698 …ReportError( aUId, GEN_RES_STR2( S_NO_DEFAULT_BUTTON, UniString::CreateFromInt32( nNr1 ), MethodSt… in Execute()
6707 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,pBD->GetButtonCount()) ) in Execute()
6708 pRet->GenReturn ( RET_Value, aUId, comm_ULONG(pBD->GetButtonId(nNr1-1))); in Execute()