Lines Matching refs:nWhich
75 sal_Bool lcl_PutVObjModeItem( sal_uInt16 nWhich,
80 sal_Bool lcl_PutScaleItem( sal_uInt16 nWhich,
88 sal_Bool lcl_PutScaleItem2( sal_uInt16 nWhich,
96 sal_Bool lcl_PutBoolItem( sal_uInt16 nWhich,
202 sal_uInt16 nWhich = 0; in Reset() local
234 nWhich = GetWhich(SID_SCATTR_PAGE_SCALE); in Reset()
235 if ( rCoreSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_AVAILABLE ) in Reset()
237 sal_uInt16 nScale = ((const SfxUInt16Item&)rCoreSet.Get(nWhich)).GetValue(); in Reset()
243 nWhich = GetWhich(SID_SCATTR_PAGE_SCALETO); in Reset()
244 if ( rCoreSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_AVAILABLE ) in Reset()
246 …const ScPageScaleToItem& rItem = static_cast< const ScPageScaleToItem& >( rCoreSet.Get( nWhich ) ); in Reset()
259 nWhich = GetWhich(SID_SCATTR_PAGE_SCALETOPAGES); in Reset()
260 if ( rCoreSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_AVAILABLE ) in Reset()
262 sal_uInt16 nPages = ((const SfxUInt16Item&)rCoreSet.Get(nWhich)).GetValue(); in Reset()
477 sal_Bool lcl_PutBoolItem( sal_uInt16 nWhich, in lcl_PutBoolItem() argument
484 && WAS_DEFAULT(nWhich,rOldSet) ); in lcl_PutBoolItem()
487 rCoreSet.ClearItem(nWhich); in lcl_PutBoolItem()
489 rCoreSet.Put( SfxBoolItem( nWhich, bIsChecked ) ); in lcl_PutBoolItem()
496 sal_Bool lcl_PutVObjModeItem( sal_uInt16 nWhich, in lcl_PutVObjModeItem() argument
503 && WAS_DEFAULT(nWhich,rOldSet) ); in lcl_PutVObjModeItem()
506 rCoreSet.ClearItem( nWhich ); in lcl_PutVObjModeItem()
509 rCoreSet.Put( ScViewObjectModeItem( nWhich, bIsChecked in lcl_PutVObjModeItem()
517 sal_Bool lcl_PutScaleItem( sal_uInt16 nWhich, in lcl_PutScaleItem() argument
528 !WAS_DEFAULT( nWhich, rOldSet ); in lcl_PutScaleItem()
531 rCoreSet.Put( SfxUInt16Item( nWhich, bIsSel ? nValue : 0 ) ); in lcl_PutScaleItem()
533 rCoreSet.ClearItem( nWhich ); in lcl_PutScaleItem()
539 sal_Bool lcl_PutScaleItem2( sal_uInt16 nWhich, in lcl_PutScaleItem2() argument
553 !WAS_DEFAULT( nWhich, rOldSet ); in lcl_PutScaleItem2()
563 rCoreSet.ClearItem( nWhich ); in lcl_PutScaleItem2()