Lines Matching refs:pEntry

283 void lcl_SetCheckButton( SvLBoxEntry* pEntry, sal_Bool bCheck )  in lcl_SetCheckButton()  argument
285 SvLBoxButton* pItem = (SvLBoxButton*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXBUTTON)); in lcl_SetCheckButton()
303 BrwStringDic_Impl( SvLBoxEntry* pEntry, sal_uInt16 nFlags, in BrwStringDic_Impl() argument
304 const String& rStr ) : SvLBoxString( pEntry, nFlags, rStr ) {} in BrwStringDic_Impl()
307 SvLBoxEntry* pEntry);
311 SvLBoxEntry* pEntry ) in Paint() argument
313 ModuleUserData_Impl* pData = (ModuleUserData_Impl*)pEntry->GetUserData(); in Paint()
475 BrwString_Impl( SvLBoxEntry* pEntry, sal_uInt16 nFlags, in BrwString_Impl() argument
476 const String& rStr ) : SvLBoxString( pEntry, nFlags, rStr ) {} in BrwString_Impl()
479 SvLBoxEntry* pEntry);
483 SvLBoxEntry* pEntry ) in Paint() argument
488 if(pEntry->GetUserData()) in Paint()
499 OptionsUserData aData( (sal_uLong) pEntry->GetUserData() ); in Paint()
716 ServiceInfo_Impl* pEntry; in lcl_MergeDisplayArray() local
719 pEntry = &rSvcInfoArr[i]; in lcl_MergeDisplayArray()
720 if (pEntry && pEntry->sDisplayName == rToAdd.sDisplayName) in lcl_MergeDisplayArray()
724 DBG_ASSERT( !pEntry->xSpell.is() && in lcl_MergeDisplayArray()
725 pEntry->sSpellImplName.getLength() == 0, in lcl_MergeDisplayArray()
727 pEntry->sSpellImplName = rToAdd.sSpellImplName; in lcl_MergeDisplayArray()
728 pEntry->xSpell = rToAdd.xSpell; in lcl_MergeDisplayArray()
732 DBG_ASSERT( !pEntry->xGrammar.is() && in lcl_MergeDisplayArray()
733 pEntry->sGrammarImplName.getLength() == 0, in lcl_MergeDisplayArray()
735 pEntry->sGrammarImplName = rToAdd.sGrammarImplName; in lcl_MergeDisplayArray()
736 pEntry->xGrammar = rToAdd.xGrammar; in lcl_MergeDisplayArray()
740 DBG_ASSERT( !pEntry->xHyph.is() && in lcl_MergeDisplayArray()
741 pEntry->sHyphImplName.getLength() == 0, in lcl_MergeDisplayArray()
743 pEntry->sHyphImplName = rToAdd.sHyphImplName; in lcl_MergeDisplayArray()
744 pEntry->xHyph = rToAdd.xHyph; in lcl_MergeDisplayArray()
748 DBG_ASSERT( !pEntry->xThes.is() && in lcl_MergeDisplayArray()
749 pEntry->sThesImplName.getLength() == 0, in lcl_MergeDisplayArray()
751 pEntry->sThesImplName = rToAdd.sThesImplName; in lcl_MergeDisplayArray()
752 pEntry->xThes = rToAdd.xThes; in lcl_MergeDisplayArray()
951 ServiceInfo_Impl* pEntry; in SetChecked() local
954 pEntry = &aDisplayServiceArr[i]; in SetChecked()
955 if (pEntry && !pEntry->bConfigured) in SetChecked()
959 (pEntry->sSpellImplName == rSrvcImplName || in SetChecked()
960 pEntry->sGrammarImplName == rSrvcImplName || in SetChecked()
961 pEntry->sHyphImplName == rSrvcImplName || in SetChecked()
962 pEntry->sThesImplName == rSrvcImplName)) in SetChecked()
964 pEntry->bConfigured = sal_True; in SetChecked()
1359 SvLBoxEntry *pEntry = aLinguDicsCLB.GetEntry( i ); in FillItemSet() local
1360 if (pEntry) in FillItemSet()
1362 DicUserData aData( (sal_uLong)pEntry->GetUserData() ); in FillItemSet()
1393 SvLBoxEntry *pEntry = aLinguOptionsCLB.GetEntry( j ); in FillItemSet() local
1395 OptionsUserData aData( (sal_uLong)pEntry->GetUserData() ); in FillItemSet()
1479 SvLBoxEntry* pEntry = aLinguDicsCLB.GetEntry( aLinguDicsCLB.GetEntryCount() - 1 ); in AddDicBoxEntry() local
1480 DBG_ASSERT( pEntry, "failed to add entry" ); in AddDicBoxEntry()
1481 if (pEntry) in AddDicBoxEntry()
1484 pEntry->SetUserData( (void *) aData.GetUserData() ); in AddDicBoxEntry()
1485 lcl_SetCheckButton( pEntry, aData.IsChecked() ); in AddDicBoxEntry()
1525 SvLBoxEntry* pEntry = aLinguModulesCLB.GetEntry(i); in UpdateModulesBox_Impl() local
1526 pEntry->SetUserData( (void *) &rInfo ); in UpdateModulesBox_Impl()
1556 SvLBoxEntry* pEntry = NULL; in Reset() local
1562 pEntry = CreateEntry( sSpellAuto, CBCOL_FIRST ); in Reset()
1568 pEntry->SetUserData( (void *)nUserData ); in Reset()
1569 pModel->Insert( pEntry ); in Reset()
1570 lcl_SetCheckButton( pEntry, bVal ); in Reset()
1572 pEntry = CreateEntry( sGrammarAuto, CBCOL_FIRST ); in Reset()
1578 pEntry->SetUserData( (void *)nUserData ); in Reset()
1579 pModel->Insert( pEntry ); in Reset()
1580 lcl_SetCheckButton( pEntry, bVal ); in Reset()
1582 pEntry = CreateEntry( sCapitalWords, CBCOL_FIRST ); in Reset()
1585 pEntry->SetUserData( (void *)nUserData ); in Reset()
1586 pModel->Insert( pEntry ); in Reset()
1587 lcl_SetCheckButton( pEntry, bVal ); in Reset()
1589 pEntry = CreateEntry( sWordsWithDigits, CBCOL_FIRST ); in Reset()
1592 pEntry->SetUserData( (void *)nUserData ); in Reset()
1593 pModel->Insert( pEntry ); in Reset()
1594 lcl_SetCheckButton( pEntry, bVal ); in Reset()
1596 pEntry = CreateEntry( sCapitalization, CBCOL_FIRST ); in Reset()
1599 pEntry->SetUserData( (void *)nUserData ); in Reset()
1600 pModel->Insert( pEntry ); in Reset()
1601 lcl_SetCheckButton( pEntry, bVal ); in Reset()
1603 pEntry = CreateEntry( sSpellSpecial, CBCOL_FIRST ); in Reset()
1606 pEntry->SetUserData( (void *)nUserData ); in Reset()
1607 pModel->Insert( pEntry ); in Reset()
1608 lcl_SetCheckButton( pEntry, bVal ); in Reset()
1610 pEntry = CreateEntry( sNumMinWordlen, CBCOL_SECOND ); in Reset()
1613 pEntry->SetUserData( (void *)nUserData ); in Reset()
1614 pModel->Insert( pEntry ); in Reset()
1621 pEntry = CreateEntry( sNumPreBreak, CBCOL_SECOND ); in Reset()
1626 pEntry->SetUserData( (void *)nUserData ); in Reset()
1627 pModel->Insert( pEntry ); in Reset()
1629 pEntry = CreateEntry( sNumPostBreak, CBCOL_SECOND ); in Reset()
1634 pEntry->SetUserData( (void *)nUserData ); in Reset()
1635 pModel->Insert( pEntry ); in Reset()
1637 pEntry = CreateEntry( sHyphAuto, CBCOL_FIRST ); in Reset()
1640 pEntry->SetUserData( (void *)nUserData ); in Reset()
1641 pModel->Insert( pEntry ); in Reset()
1642 lcl_SetCheckButton( pEntry, bVal ); in Reset()
1644 pEntry = CreateEntry( sHyphSpecial, CBCOL_FIRST ); in Reset()
1647 pEntry->SetUserData( (void *)nUserData ); in Reset()
1648 pModel->Insert( pEntry ); in Reset()
1649 lcl_SetCheckButton( pEntry, bVal ); in Reset()
1712 SvLBoxEntry* pEntry = aLinguDicsCLB.GetEntry( nPos ); in IMPL_LINK() local
1713 if (pEntry) in IMPL_LINK()
1714 lcl_SetCheckButton( pEntry, sal_True ); in IMPL_LINK()
1783 SvLBoxEntry *pEntry = aLinguDicsCLB.GetCurEntry(); in IMPL_LINK() local
1784 if (pEntry) in IMPL_LINK()
1786 DicUserData aData( (sal_uLong) pEntry->GetUserData() ); in IMPL_LINK()
1814 SvLBoxEntry *pEntry = aLinguDicsCLB.GetCurEntry(); in IMPL_LINK() local
1815 if (pEntry) in IMPL_LINK()
1817 DicUserData aData( (sal_uLong) pEntry->GetUserData() ); in IMPL_LINK()
1873 SvLBoxEntry *pEntry = aLinguOptionsCLB.GetCurEntry(); in IMPL_LINK() local
1874 DBG_ASSERT( pEntry, "no entry selected" ); in IMPL_LINK()
1875 if (pEntry) in IMPL_LINK()
1878 OptionsUserData aData( (sal_uLong)pEntry->GetUserData() ); in IMPL_LINK()
1899 pEntry->SetUserData( (void *) aData.GetUserData() ); in IMPL_LINK()
1923 SvLBoxEntry *pEntry = pBox->GetCurEntry(); in IMPL_LINK() local
1924 if (pEntry) in IMPL_LINK()
1926 DicUserData aData( (sal_uLong) pEntry->GetUserData() ); in IMPL_LINK()
1935 SvLBoxEntry *pEntry = pBox->GetCurEntry(); in IMPL_LINK() local
1936 if (pEntry) in IMPL_LINK()
1938 OptionsUserData aData( (sal_uLong) pEntry->GetUserData() ); in IMPL_LINK()
1954 SvLBoxEntry* pEntry = new SvLBoxEntry; in CreateEntry() local
1961pEntry->AddItem( new SvLBoxButton( pEntry, SvLBoxButtonKind_enabledCheckbox, 0, pCheckButtonData )… in CreateEntry()
1963 pEntry->AddItem( new SvLBoxString( pEntry, 0, sEmpty) ); // Leerspalte in CreateEntry()
1964 pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, Image(), Image(), 0)); // Sonst Puff! in CreateEntry()
1965 pEntry->AddItem( new BrwString_Impl( pEntry, 0, rTxt ) ); in CreateEntry()
1967 return pEntry; in CreateEntry()
2119 SvLBoxEntry* pEntry = new SvLBoxEntry; in CreateEntry() local
2128pEntry->AddItem( new SvLBoxButton( pEntry, SvLBoxButtonKind_enabledCheckbox, 0, pCheckButtonData )… in CreateEntry()
2130 pEntry->AddItem( new SvLBoxString( pEntry, 0, sEmpty) ); // Leerspalte in CreateEntry()
2131 pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, Image(), Image(), 0)); // Sonst Puff! in CreateEntry()
2132 pEntry->AddItem( new BrwStringDic_Impl( pEntry, 0, rTxt ) ); in CreateEntry()
2134 return pEntry; in CreateEntry()
2146 SvLBoxEntry *pEntry = pBox->GetCurEntry(); in IMPL_LINK() local
2147 if (pEntry) in IMPL_LINK()
2149 ModuleUserData_Impl* pData = (ModuleUserData_Impl*)pEntry->GetUserData(); in IMPL_LINK()
2192 SvLBoxEntry *pEntry = pBox->First(); in IMPL_LINK() local
2193 while (pEntry) in IMPL_LINK()
2195 pData = (ModuleUserData_Impl *) pEntry->GetUserData(); in IMPL_LINK()
2198 pEntry != pCurEntry) in IMPL_LINK()
2200 lcl_SetCheckButton( pEntry, sal_False ); in IMPL_LINK()
2201 pBox->InvalidateEntry( pEntry ); in IMPL_LINK()
2203 pEntry = pBox->Next( pEntry ); in IMPL_LINK()
2247 SvLBoxEntry *pEntry = aModulesCLB.GetEntry(i); in IMPL_LINK() local
2248 ModuleUserData_Impl* pData = (ModuleUserData_Impl*)pEntry->GetUserData(); in IMPL_LINK()
2307 SvLBoxEntry* pEntry = CreateEntry( sSpell, CBCOL_SECOND ); in IMPL_LINK() local
2310 pEntry->SetUserData( (void *)pUserData ); in IMPL_LINK()
2311 pModel->Insert( pEntry ); in IMPL_LINK()
2352 pEntry = CreateEntry( sGrammar, CBCOL_SECOND ); in IMPL_LINK()
2354 pEntry->SetUserData( (void *)pUserData ); in IMPL_LINK()
2355 pModel->Insert( pEntry ); in IMPL_LINK()
2396 pEntry = CreateEntry( sHyph, CBCOL_SECOND ); in IMPL_LINK()
2398 pEntry->SetUserData( (void *)pUserData ); in IMPL_LINK()
2399 pModel->Insert( pEntry ); in IMPL_LINK()
2440 pEntry = CreateEntry( sThes, CBCOL_SECOND ); in IMPL_LINK()
2442 pEntry->SetUserData( (void *)pUserData ); in IMPL_LINK()
2443 pModel->Insert( pEntry ); in IMPL_LINK()
2492 SvLBoxEntry* pEntry; in IMPL_LINK() local
2494 0 != (pEntry = aModulesCLB.GetEntry(nCurPos))) in IMPL_LINK()
2499 ModuleUserData_Impl* pData = (ModuleUserData_Impl*)pEntry->GetUserData(); in IMPL_LINK()
2500 String aStr(aModulesCLB.GetEntryText(pEntry)); in IMPL_LINK()
2505 pModel->Remove(pEntry); in IMPL_LINK()