Lines Matching refs:pOpt
639 const InsCaptionOpt* pOpt = pModOpt->GetCapOption(bHTMLMode, eObjType, pOleId); in SetOptions() local
641 if (pOpt) in SetOptions()
643 aCheckLB.SetEntryData(nPos, new InsCaptionOpt(*pOpt)); in SetOptions()
644 aCheckLB.CheckEntryPos(nPos, pOpt->UseCaption()); in SetOptions()
703 InsCaptionOpt* pOpt = (InsCaptionOpt*)pSelEntry->GetUserData(); in IMPL_LINK() local
727 if(pOpt->GetCategory().Len()) in IMPL_LINK()
728 aCategoryBox.SetText(pOpt->GetCategory()); in IMPL_LINK()
731 if (pOpt->GetCategory().Len() && in IMPL_LINK()
732 aCategoryBox.GetEntryPos(pOpt->GetCategory()) == COMBOBOX_ENTRY_NOTFOUND) in IMPL_LINK()
733 aCategoryBox.InsertEntry(pOpt->GetCategory()); in IMPL_LINK()
737 switch(pOpt->GetObjType()) in IMPL_LINK()
749 if (pOpt->GetNumType() == (sal_uInt16)(sal_uLong)aFormatBox.GetEntryData(i)) in IMPL_LINK()
755 aTextEdit.SetText(pOpt->GetCaption()); in IMPL_LINK()
758 switch (pOpt->GetObjType()) in IMPL_LINK()
771 aPosBox.SelectEntryPos(pOpt->GetPos()); in IMPL_LINK()
772 aPosBox.Enable( pOpt->GetObjType() != GRAPHIC_CAP && in IMPL_LINK()
773 pOpt->GetObjType() != OLE_CAP && in IMPL_LINK()
775 aPosBox.SelectEntryPos(pOpt->GetPos()); in IMPL_LINK()
777 sal_uInt16 nLevelPos = ( pOpt->GetLevel() < MAXLEVEL ) ? pOpt->GetLevel() + 1 : 0; in IMPL_LINK()
779 aEdDelim.SetText(pOpt->GetSeparator()); in IMPL_LINK()
780 aNumberingSeparatorED.SetText( pOpt->GetNumSeparator() ); in IMPL_LINK()
781 if(pOpt->GetCharacterStyle().Len()) in IMPL_LINK()
782 aCharStyleLB.SelectEntry( pOpt->GetCharacterStyle() ); in IMPL_LINK()
786 pOpt->GetObjType() != TABLE_CAP && pOpt->GetObjType() != FRAME_CAP ); in IMPL_LINK()
787 aApplyBorderCB.Check( pOpt->CopyAttributes() ); in IMPL_LINK()
817 InsCaptionOpt* pOpt = (InsCaptionOpt*)pEntry->GetUserData(); in SaveEntry() local
819 pOpt->UseCaption() = aCheckLB.IsChecked((sal_uInt16)aCheckLB.GetModel()->GetAbsPos(pEntry)); in SaveEntry()
822 pOpt->SetCategory(aEmptyStr); in SaveEntry()
827 pOpt->SetCategory(aName); in SaveEntry()
829 pOpt->SetNumType((sal_uInt16)(sal_uLong)aFormatBox.GetEntryData(aFormatBox.GetSelectEntryPos())); in SaveEntry()
830 pOpt->SetCaption(aTextEdit.IsEnabled() ? aTextEdit.GetText() : aEmptyStr ); in SaveEntry()
831 pOpt->SetPos(aPosBox.GetSelectEntryPos()); in SaveEntry()
834 pOpt->SetLevel(nLevel); in SaveEntry()
835 pOpt->SetSeparator(aEdDelim.GetText()); in SaveEntry()
836 pOpt->SetNumSeparator( aNumberingSeparatorED.GetText()); in SaveEntry()
838 pOpt->SetCharacterStyle(aEmptyStr); in SaveEntry()
840 pOpt->SetCharacterStyle(aCharStyleLB.GetSelectEntry()); in SaveEntry()
841 pOpt->CopyAttributes() = aApplyBorderCB.IsChecked(); in SaveEntry()