Lines Matching refs:rItemSet
351 void SdModule::GetState(SfxItemSet& rItemSet) in GetState() argument
354 if (rItemSet.GetItemState(SID_SD_AUTOPILOT) != SFX_ITEM_UNKNOWN) in GetState()
358 rItemSet.DisableItem(SID_SD_AUTOPILOT); in GetState()
370 rItemSet.DisableItem(SID_SD_AUTOPILOT); in GetState()
377 if( SFX_ITEM_AVAILABLE == rItemSet.GetItemState( SID_ATTR_METRIC ) ) in GetState()
385 rItemSet.Put( SfxUInt16Item( SID_ATTR_METRIC, pOptions->GetMetric() ) ); in GetState()
390 if (rItemSet.GetItemState(SID_OPENDOC) != SFX_ITEM_UNKNOWN) in GetState()
394 rItemSet.Put(*pItem); in GetState()
398 if (rItemSet.GetItemState(SID_OPENHYPERLINK) != SFX_ITEM_UNKNOWN) in GetState()
402 rItemSet.Put(*pItem); in GetState()
405 if( SFX_ITEM_AVAILABLE == rItemSet.GetItemState( SID_AUTOSPELL_CHECK ) ) in GetState()
412 rItemSet.Put( SfxBoolItem( SID_AUTOSPELL_CHECK, pDoc->GetOnlineSpell() ) ); in GetState()
416 if( SFX_ITEM_AVAILABLE == rItemSet.GetItemState( SID_ATTR_LANGUAGE ) ) in GetState()
420 …rItemSet.Put( SvxLanguageItem( pDocSh->GetDoc()->GetLanguage( EE_CHAR_LANGUAGE ), SID_ATTR_LANGUAG… in GetState()
423 if( SFX_ITEM_AVAILABLE == rItemSet.GetItemState( SID_ATTR_CHAR_CJK_LANGUAGE ) ) in GetState()
427 …rItemSet.Put( SvxLanguageItem( pDocSh->GetDoc()->GetLanguage( EE_CHAR_LANGUAGE_CJK ), SID_ATTR_CHA… in GetState()
430 if( SFX_ITEM_AVAILABLE == rItemSet.GetItemState( SID_ATTR_CHAR_CTL_LANGUAGE ) ) in GetState()
434 …rItemSet.Put( SvxLanguageItem( pDocSh->GetDoc()->GetLanguage( EE_CHAR_LANGUAGE_CTL ), SID_ATTR_CHA… in GetState()