Lines Matching refs:pEntry
164 SvLBoxEntry* pEntry = new SvLBoxEntry; in CreateEntry() local
169 pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, Image(), Image(), 0)); // Sonst Puff! in CreateEntry()
171 pEntry->AddItem( new SvLBoxButton( pEntry, in CreateEntry()
174 pEntry->AddItem( new SvLBoxButton( pEntry, in CreateEntry()
178 pEntry->AddItem( new SvLBoxString( pEntry, 0, rFont1 ) ); in CreateEntry()
179 pEntry->AddItem( new SvLBoxString( pEntry, 0, rFont2 ) ); in CreateEntry()
181 return pEntry; in CreateEntry()
216 SvLBoxEntry* pEntry = aCheckLB.First(); in FillItemSet() local
218 while (pEntry) in FillItemSet()
221 aAdd.sFont = aCheckLB.GetEntryText(pEntry, 0); in FillItemSet()
222 aAdd.sReplaceBy = aCheckLB.GetEntryText(pEntry, 1); in FillItemSet()
223 aAdd.bReplaceAlways = aCheckLB.IsChecked(pEntry, 0); in FillItemSet()
224 aAdd.bReplaceOnScreenOnly = aCheckLB.IsChecked(pEntry, 1); in FillItemSet()
226 pEntry = aCheckLB.Next(pEntry); in FillItemSet()
267 SvLBoxEntry* pEntry = CreateEntry(aTmpStr1, aTmpStr2); in Reset() local
268 aCheckLB.Insert(pEntry); in Reset()
269 aCheckLB.CheckEntry(pEntry, 0, pSubs->bReplaceAlways); in Reset()
270 aCheckLB.CheckEntry(pEntry, 1, pSubs->bReplaceOnScreenOnly); in Reset()
298 SvLBoxEntry* pEntry; in IMPL_LINK() local
311 pEntry = aCheckLB.GetEntry(nPos); in IMPL_LINK()
319 pEntry = CreateEntry(sFont1, sFont2); in IMPL_LINK()
320 aCheckLB.Insert(pEntry); in IMPL_LINK()
323 aCheckLB.Select(pEntry); in IMPL_LINK()
331 pEntry = aCheckLB.FirstSelected(); in IMPL_LINK()
332 while (pEntry) in IMPL_LINK()
334 SvLBoxEntry* pDelEntry = pEntry; in IMPL_LINK()
335 pEntry = aCheckLB.NextSelected(pEntry); in IMPL_LINK()
346 SvLBoxEntry* pEntry = aCheckLB.FirstSelected(); in IMPL_LINK() local
348 if (aCheckLB.NextSelected(pEntry) == 0) in IMPL_LINK()
350 aFont1CB.SetText(aCheckLB.GetEntryText(pEntry, 0)); in IMPL_LINK()
351 aFont2CB.SetText(aCheckLB.GetEntryText(pEntry, 1)); in IMPL_LINK()
361 SvLBoxEntry* pEntry = aCheckLB.GetEntry(nPos); in IMPL_LINK() local
363 if (pEntry != aCheckLB.FirstSelected()) in IMPL_LINK()
366 aCheckLB.Select(pEntry); in IMPL_LINK()
407 SvLBoxEntry* pEntry = aCheckLB.FirstSelected(); in CheckEnable() local
428 else if(pEntry != 0 && aCheckLB.NextSelected(pEntry) != 0) in CheckEnable()
433 bDelete = pEntry != 0; in CheckEnable()
531 void SvxFontSubstCheckListBox::CheckEntry(SvLBoxEntry* pEntry, sal_uInt16 nCol, sal_Bool bChecked) in CheckEntry() argument
533 if ( pEntry ) in CheckEntry()
535 pEntry, in CheckEntry()
554 sal_Bool SvxFontSubstCheckListBox::IsChecked(SvLBoxEntry* pEntry, sal_uInt16 nCol) in IsChecked() argument
556 return GetCheckButtonState( pEntry, nCol ) == SV_BUTTON_CHECKED; in IsChecked()
563 void SvxFontSubstCheckListBox::SetCheckButtonState( SvLBoxEntry* pEntry, sal_uInt16 nCol, SvButtonS… in SetCheckButtonState() argument
565 SvLBoxButton* pItem = (SvLBoxButton*)(pEntry->GetItem(nCol + 1)); in SetCheckButtonState()
584 InvalidateEntry( pEntry ); in SetCheckButtonState()
592 SvButtonState SvxFontSubstCheckListBox::GetCheckButtonState( SvLBoxEntry* pEntry, sal_uInt16 nCol )… in GetCheckButtonState() argument
595 SvLBoxButton* pItem = (SvLBoxButton*)(pEntry->GetItem(nCol + 1)); in GetCheckButtonState()