Lines Matching refs:nPos

171 				sal_uInt16 nPos = mpControl->InsertEntry( rPresets.getUINameForProperty( (*aIter) ) );  in setValue()  local
173 mpControl->SelectEntryPos( nPos ); in setValue()
174 maPropertyValues[nPos] = (*aIter++); in setValue()
250 sal_uInt16 nPos = mpControl->InsertEntry( pEntry->GetColor(), pEntry->GetName() ); in ColorPropertyBox() local
252 mpControl->SelectEntryPos( nPos ); in ColorPropertyBox()
1389 sal_uInt16 nPos = 0; in CustomAnimationEffectTabPage() local
1392 nPos++; in CustomAnimationEffectTabPage()
1412 nPos++; in CustomAnimationEffectTabPage()
1414 nPos++; in CustomAnimationEffectTabPage()
1418 mpLBAfterEffect->SelectEntryPos( nPos ); in CustomAnimationEffectTabPage()
1428 sal_uInt16 nPos = LISTBOX_ENTRY_NOTFOUND; in CustomAnimationEffectTabPage() local
1434 case TextAnimationType::BY_PARAGRAPH: nPos = 0; break; in CustomAnimationEffectTabPage()
1435 case TextAnimationType::BY_WORD: nPos = 1; break; in CustomAnimationEffectTabPage()
1436 case TextAnimationType::BY_LETTER: nPos = 2; break; in CustomAnimationEffectTabPage()
1439 mpLBTextAnim->SelectEntryPos( nPos ); in CustomAnimationEffectTabPage()
1460 sal_uInt16 nPos = 0; in CustomAnimationEffectTabPage() local
1466 nPos = 1; in CustomAnimationEffectTabPage()
1483 nPos = (sal_uInt16)i+2; in CustomAnimationEffectTabPage()
1488 if( nPos == 0 ) in CustomAnimationEffectTabPage()
1490 nPos = (sal_uInt16)maSoundList.Count()+2; in CustomAnimationEffectTabPage()
1493 nPos = mpLBSound->InsertEntry( aURL.GetBase(), nPos ); in CustomAnimationEffectTabPage()
1498 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in CustomAnimationEffectTabPage()
1499 mpLBSound->SelectEntryPos( nPos ); in CustomAnimationEffectTabPage()
1538 sal_uInt16 nPos = mpLBAfterEffect->GetSelectEntryPos(); in updateControlStates() local
1539 mpCLBDimColor->Enable( nPos == 1 ); in updateControlStates()
1540 mpFTDimColor->Enable( nPos == 1 ); in updateControlStates()
1544 nPos = mpLBTextAnim->GetSelectEntryPos(); in updateControlStates()
1545 mpMFTextDelay->Enable( nPos != 0 ); in updateControlStates()
1546 mpFTTextDelay->Enable( nPos != 0 ); in updateControlStates()
1549 nPos = mpLBSound->GetSelectEntryPos(); in updateControlStates()
1550 mpPBSoundPreview->Enable( nPos >= 2 ); in updateControlStates()
1557 sal_uInt16 nPos = static_cast<ListBox*>( mpLBAfterEffect )->GetSelectEntryPos(); in IMPL_LINK() local
1558 if( nPos == 1 ) in IMPL_LINK()
1571 sal_uInt16 nPos = mpLBSound->GetSelectEntryPos(); in IMPL_LINK() local
1572 if( nPos == (mpLBSound->GetEntryCount() - 1) ) in IMPL_LINK()
1637 sal_uInt16 nPos = mpLBAfterEffect->GetSelectEntryPos(); in update() local
1638 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in update()
1640 sal_Bool bAfterEffect = nPos != 0; in update()
1653 if( nPos == 1 ) in update()
1666 sal_Bool bAfterEffectOnNextEffect = nPos != 2 ? sal_True : sal_False; in update()
1678 nPos = mpLBTextAnim->GetSelectEntryPos(); in update()
1679 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in update()
1683 switch( nPos ) in update()
1713 nPos = mpLBSound->GetSelectEntryPos(); in update()
1714 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in update()
1718 if( nPos == 0 ) in update()
1722 else if( nPos == 1 ) in update()
1729 OUString aSoundURL( *(String*)maSoundList.GetObject( nPos-2 ) ); in update()
1796 long nPos = 0; in openSoundFileDialog() local
1801 nPos = getSoundObject( aFile ); in openSoundFileDialog()
1803 if( nPos < 0 ) // not in Soundliste in openSoundFileDialog()
1811 nPos = getSoundObject( aFile ); in openSoundFileDialog()
1812 …DBG_ASSERT( nPos >= 0, "sd::CustomAnimationEffectTabPage::openSoundFileDialog(), Recently inserted… in openSoundFileDialog()
1837 nPos = 0; in openSoundFileDialog()
1839 mpLBSound->SelectEntryPos( (sal_uInt16) nPos ); in openSoundFileDialog()
1844 const sal_uInt16 nPos = mpLBSound->GetSelectEntryPos(); in onSoundPreview() local
1846 if( nPos >= 2 ) try in onSoundPreview()
1848 const OUString aSoundURL( *(String*)maSoundList.GetObject( nPos-2 ) ); in onSoundPreview()
1917 sal_uInt16 nPos = 0; in CustomAnimationDurationTabPage() local
1920 case EffectNodeType::WITH_PREVIOUS: nPos = 1; break; in CustomAnimationDurationTabPage()
1921 case EffectNodeType::AFTER_PREVIOUS: nPos = 2; break; in CustomAnimationDurationTabPage()
1923 mpLBStart->SelectEntryPos( nPos ); in CustomAnimationDurationTabPage()
1948 sal_uInt16 nPos = LISTBOX_ENTRY_NOTFOUND; in CustomAnimationDurationTabPage() local
1951 nPos = 0; in CustomAnimationDurationTabPage()
1953 nPos = 1; in CustomAnimationDurationTabPage()
1955 nPos = 2; in CustomAnimationDurationTabPage()
1957 nPos = 3; in CustomAnimationDurationTabPage()
1959 nPos = 4; in CustomAnimationDurationTabPage()
1961 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in CustomAnimationDurationTabPage()
1962 mpCBDuration->SelectEntryPos( nPos ); in CustomAnimationDurationTabPage()
1977 sal_uInt16 nPos = LISTBOX_ENTRY_NOTFOUND; in CustomAnimationDurationTabPage() local
1980 nPos = 0; in CustomAnimationDurationTabPage()
1982 nPos = 1; in CustomAnimationDurationTabPage()
1984 nPos = 2; in CustomAnimationDurationTabPage()
1986 nPos = 3; in CustomAnimationDurationTabPage()
1988 nPos = 4; in CustomAnimationDurationTabPage()
1990 nPos = 5; in CustomAnimationDurationTabPage()
1992 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in CustomAnimationDurationTabPage()
1993 mpCBRepeat->SelectEntryPos( nPos ); in CustomAnimationDurationTabPage()
2054 sal_uInt16 nPos = mpLBTrigger->InsertEntry( aDescription ); in CustomAnimationDurationTabPage() local
2056 mpLBTrigger->SetEntryData( nPos, (void*)nShape ); in CustomAnimationDurationTabPage()
2058 mpLBTrigger->SelectEntryPos( nPos ); in CustomAnimationDurationTabPage()
2080 sal_uInt16 nPos = mpLBStart->GetSelectEntryPos(); in update() local
2081 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in update()
2086 switch( nPos ) in update()
2116 nPos = mpCBRepeat->GetSelectEntryPos(); in update()
2117 if( (nPos != LISTBOX_ENTRY_NOTFOUND) || (mpCBRepeat->GetText().Len() != 0) ) in update()
2122 switch( nPos ) in update()
2163 nPos = mpCBDuration->GetSelectEntryPos(); in update()
2164 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in update()
2166 fDuration = *static_cast< const double * >( mpCBDuration->GetEntryData(nPos) ); in update()
2211 nPos = mpLBTrigger->GetSelectEntryPos(); in update()
2212 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in update()
2214 sal_Int32 nShape = (sal_Int32)(sal_IntPtr)mpLBTrigger->GetEntryData( nPos ); in update()
2331 sal_Int32 nPos = 6; in CustomAnimationTextAnimTabPage() local
2332 while( (nPos > 2) && (nPos > nMaxParaDepth) ) in CustomAnimationTextAnimTabPage()
2334 maLBGroupText.RemoveEntry( (sal_uInt16)nPos ); in CustomAnimationTextAnimTabPage()
2335 nPos--; in CustomAnimationTextAnimTabPage()
2344 sal_uInt16 nPos = maLBGroupText.GetSelectEntryPos(); in update() local
2345 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in update()
2347 sal_Int32 nTextGrouping = nPos - 1; in update()
2357 if( nPos > 0 ) in update()
2368 if( nPos > 1 ) in update()
2398 sal_uInt16 nPos = maLBGroupText.GetSelectEntryPos(); in updateControlStates() local
2400 maCBXGroupAuto.Enable( nPos > 1 ); in updateControlStates()
2401 maMFGroupAuto.Enable( nPos > 1 ); in updateControlStates()
2402 maCBXReverse.Enable( nPos > 0 ); in updateControlStates()
2404 if( !mbHasVisibleShapes && nPos > 0 ) in updateControlStates()