/trunk/main/svx/source/sdr/properties/ |
H A D | customshapeproperties.cxx | 100 … if ( ( nWhich >= SDRATTR_CUSTOMSHAPE_FIRST ) && ( nWhich <= SDRATTR_CUSTOMSHAPE_LAST ) ) in AllowItemChange() 108 void CustomShapeProperties::ClearObjectItem(const sal_uInt16 nWhich) in ClearObjectItem() argument 110 if ( !nWhich ) in ClearObjectItem() 123 TextProperties::ClearObjectItem( nWhich ); in ClearObjectItem() 126 void CustomShapeProperties::ClearObjectItemDirect(const sal_uInt16 nWhich) in ClearObjectItemDirect() argument 128 if ( !nWhich ) in ClearObjectItemDirect() 139 TextProperties::ClearObjectItemDirect( nWhich ); in ClearObjectItemDirect() 151 void CustomShapeProperties::PostItemChange(const sal_uInt16 nWhich) in PostItemChange() argument 153 switch(nWhich) in PostItemChange() 168 TextProperties::PostItemChange(nWhich); in PostItemChange() [all …]
|
H A D | attributeproperties.cxx | 80 sal_uInt16 nWhich = aIter.FirstWhich(); in ImpAddStyleSheet() local 82 while(nWhich) in ImpAddStyleSheet() 86 mpItemSet->ClearItem(nWhich); in ImpAddStyleSheet() 89 nWhich = aIter.NextWhich(); in ImpAddStyleSheet() 177 switch( nWhich ) in ItemChange() 236 mpItemSet->ClearItem(nWhich); in ItemChange() 448 while(nWhich) in SetModel() 455 nWhich = aIter.NextWhich(); in SetModel() 505 sal_uInt16 nWhich(aIter.FirstWhich()); in ForceStyleToHardAttributes() local 509 while(nWhich) in ForceStyleToHardAttributes() [all …]
|
H A D | e3dsceneproperties.cxx | 93 sal_uInt16 nWhich(aIter.FirstWhich()); in GetMergedItemSet() local 95 while(nWhich) in GetMergedItemSet() 99 if(nWhich <= SDRATTR_3DSCENE_FIRST || nWhich >= SDRATTR_3DSCENE_LAST) in GetMergedItemSet() 103 mpItemSet->InvalidateItem(nWhich); in GetMergedItemSet() 107 mpItemSet->MergeValue(rSet.Get(nWhich), sal_True); in GetMergedItemSet() 111 nWhich = aIter.NextWhich(); in GetMergedItemSet() 180 pSub->GetObj(a)->ClearMergedItem(nWhich); in ClearMergedItem() 184 E3dProperties::ClearMergedItem(nWhich); in ClearMergedItem() 187 void E3dSceneProperties::PostItemChange(const sal_uInt16 nWhich) in PostItemChange() argument 190 E3dProperties::PostItemChange(nWhich); in PostItemChange() [all …]
|
/trunk/main/svl/inc/svl/ |
H A D | itempool.hxx | 136 inline sal_uInt16 GetIndex_Impl(sal_uInt16 nWhich) const; 178 const SfxPoolItem* GetPoolDefaultItem( sal_uInt16 nWhich ) const; 185 virtual SfxMapUnit GetMetric( sal_uInt16 nWhich ) const; 198 virtual const SfxPoolItem& GetDefaultItem( sal_uInt16 nWhich ) const; 209 sal_uInt32 GetItemCount2(sal_uInt16 nWhich) const; 224 FASTBOOL IsInRange( sal_uInt16 nWhich ) const { in IsInRange() 225 return nWhich >= nStart && in IsInRange() 226 nWhich <= nEnd; } in IsInRange() 227 FASTBOOL IsInVersionsRange( sal_uInt16 nWhich ) const; 228 FASTBOOL IsInStoringRange( sal_uInt16 nWhich ) const; [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | drviewsf.cxx | 308 while ( nWhich ) in GetAttrState() 311 ? GetPool().GetSlotId(nWhich) in GetAttrState() 312 : nWhich; in GetAttrState() 530 rSet.DisableItem(nWhich); in GetAttrState() 538 rSet.DisableItem(nWhich); in GetAttrState() 551 rSet.DisableItem(nWhich); in GetAttrState() 568 rSet.DisableItem(nWhich); in GetAttrState() 579 rSet.DisableItem(nWhich); in GetAttrState() 696 nWhich = aIter.NextWhich(); in GetAttrState() 719 while( nWhich ) in GetAttrState() [all …]
|
/trunk/main/svl/source/items/ |
H A D | whiter.cxx | 66 sal_uInt16 nWhich = *pRanges + nOfst; in NextWhich() local 67 if ( 0 == nWhich || ( nWhich >= nFrom && nWhich <= nTo ) ) in NextWhich() 68 return nWhich; in NextWhich() 86 sal_uInt16 nWhich = *pRanges + nOfst; in PrevWhich() local 87 if ( nWhich >= nFrom && nWhich <= nTo ) in PrevWhich() 88 return nWhich; in PrevWhich() 113 sal_uInt16 nWhich = *(pRanges-1); in LastWhich() local 114 if ( nWhich >= nFrom && nWhich <= nTo ) in LastWhich() 115 return nWhich; in LastWhich()
|
/trunk/main/svx/source/dialog/ |
H A D | hdft.cxx | 771 sal_uInt16 nWhich(GetWhich(SID_ATTR_PAGE_HEADERSET)); in ResetBackground_Impl() local 790 nWhich = GetWhich(SID_ATTR_BRUSH); in ResetBackground_Impl() 804 nWhich = GetWhich(SID_ATTR_BORDER_OUTER); in ResetBackground_Impl() 809 (const SvxBoxItem&)rTmpSet.Get(nWhich); in ResetBackground_Impl() 815 nWhich = GetWhich(SID_ATTR_PAGE_FOOTERSET); in ResetBackground_Impl() 834 nWhich = GetWhich(SID_ATTR_BRUSH); in ResetBackground_Impl() 848 nWhich = GetWhich(SID_ATTR_BORDER_OUTER); in ResetBackground_Impl() 867 nWhich = GetWhich(SID_ATTR_BRUSH); in ResetBackground_Impl() 869 if(rSet.GetItemState(nWhich) >= SFX_ITEM_AVAILABLE) in ResetBackground_Impl() 881 nWhich = GetWhich(SID_ATTR_BORDER_OUTER); in ResetBackground_Impl() [all …]
|
/trunk/main/sw/source/ui/uiview/ |
H A D | view0.cxx | 272 while(nWhich) in StateViewOptions() 278 nWhich = 0; in StateViewOptions() 280 switch(nWhich) in StateViewOptions() 287 nWhich = 0; in StateViewOptions() 321 aBool.SetWhich( nWhich ); in StateViewOptions() 323 rSet.DisableItem(nWhich); in StateViewOptions() 324 nWhich = 0; in StateViewOptions() 344 nWhich = 0; in StateViewOptions() 357 nWhich = 0; in StateViewOptions() 365 if( nWhich ) in StateViewOptions() [all …]
|
H A D | srcview.cxx | 481 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 484 while(nWhich) in GetState() 486 switch(nWhich) in GetState() 495 rSet.DisableItem(nWhich); in GetState() 550 if(nWhich == SID_UNDO) in GetState() 560 rSet.DisableItem(nWhich); in GetState() 572 rSet.DisableItem(nWhich); in GetState() 584 rSet.DisableItem(nWhich); in GetState() 589 rSet.DisableItem(nWhich); in GetState() 599 rSet.DisableItem(nWhich); in GetState() [all …]
|
/trunk/main/cui/source/tabpages/ |
H A D | page.cxx | 759 sal_uInt16 nWhich = GetWhich( SID_ATTR_LRSPACE ); in FillItemSet() local 760 SfxMapUnit eUnit = pPool->GetMetric( nWhich ); in FillItemSet() 767 nWhich = GetWhich( SID_ATTR_ULSPACE ); in FillItemSet() 821 nWhich = GetWhich( SID_ATTR_PAGE_PAPERBIN ); in FillItemSet() 875 nWhich = GetWhich( SID_ATTR_PAGE ); in FillItemSet() 909 rSet.ClearItem( nWhich ); in FillItemSet() 911 rSet.Put( rOldSet.Get( nWhich ) ); in FillItemSet() 1122 sal_uInt16 nWhich = GetWhich( SID_ATTR_LRSPACE ); in IMPL_LINK() local 1322 nWhich = GetWhich(SID_ATTR_PAGE_FOOTERSET); in ResetBackground_Impl() 1466 (const SvxBoxItem&)rHeaderSet.Get( nWhich ); in InitHeadFoot_Impl() [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | drawsh.cxx | 426 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 432 while( nWhich ) in GetState() 434 switch( nWhich ) in GetState() 438 rSet.DisableItem( nWhich ); in GetState() 443 rSet.DisableItem( nWhich ); in GetState() 448 rSet.DisableItem( nWhich ); in GetState() 455 rSet.DisableItem( nWhich ); in GetState() 462 if (!Disable(rSet, nWhich)) in GetState() 495 rSet.DisableItem( nWhich ); in GetState() 511 rSet.DisableItem(nWhich); in GetState() [all …]
|
H A D | grfsh.cxx | 544 sal_uInt16 nWhich = aIter.FirstWhich(); in GetAttrState() local 545 while( nWhich ) in GetAttrState() 548 switch( nWhich ) in GetAttrState() 555 else if ( nWhich == SID_INSERT_GRAPHIC in GetAttrState() 609 rSet.Put( SfxInt16Item( nWhich, ((SwContrastGrf&) in GetAttrState() 614 rSet.Put( SfxInt16Item( nWhich, ((SwChannelRGrf&) in GetAttrState() 619 rSet.Put( SfxInt16Item( nWhich, ((SwChannelGGrf&) in GetAttrState() 651 rSet.Put( SfxBoolItem( nWhich, ((SwInvertGrf&) in GetAttrState() 683 rSet.DisableItem( nWhich ); in GetAttrState() 701 rSet.DisableItem( nWhich ); in GetAttrState() [all …]
|
H A D | frmsh.cxx | 734 while ( nWhich ) in GetState() 736 switch ( nWhich ) in GetState() 767 rSet.DisableItem( nWhich ); in GetState() 777 rSet.DisableItem( nWhich ); in GetState() 788 rSet.DisableItem( nWhich ); in GetState() 794 switch (nWhich) in GetState() 807 rSet.DisableItem( nWhich ); in GetState() 830 switch (nWhich) in GetState() 1371 while(nWhich) in DisableStateTextFrame() 1373 switch(nWhich) in DisableStateTextFrame() [all …]
|
H A D | drwbassh.cxx | 692 while( nWhich ) in GetState() 694 switch( nWhich ) in GetState() 705 rSet.DisableItem( nWhich ); in GetState() 709 rSet.DisableItem( nWhich ); in GetState() 769 nWhich = aIter.NextWhich(); in GetState() 794 if (nWhich) in Disable() 795 rSet.DisableItem( nWhich ); in Disable() 799 nWhich = aIter.FirstWhich(); in Disable() 800 while (nWhich) in Disable() 802 rSet.DisableItem( nWhich ); in Disable() [all …]
|
/trunk/main/sd/source/filter/xml/ |
H A D | sdtransform.cxx | 66 bool getBulletState( const SfxItemSet& rSet, sal_uInt16 nWhich, bool& rState ); 71 bool removeAlienAttributes( SfxItemSet& rSet, sal_uInt16 nWhich ); 241 sal_uInt16 nWhich(aIter.FirstWhich()); in transformTextShape() local 244 while(nWhich) in transformTextShape() 246 if(SFX_ITEM_SET != aParaSet.GetItemState(nWhich, true)) in transformTextShape() 248 aParaSet.Put(rStyleSet.Get(nWhich)); in transformTextShape() 252 nWhich = aIter.NextWhich(); in transformTextShape() 297 if( (rSet.GetItemState( nWhich ) == SFX_ITEM_SET) ) in getBulletState() 341 if( (rSet.GetItemState( nWhich ) == SFX_ITEM_SET) ) in removeAlienAttributes() 352 rSet.ClearItem( nWhich ); in removeAlienAttributes() [all …]
|
/trunk/main/sw/source/filter/inc/ |
H A D | fltshell.hxx | 341 virtual const SfxPoolItem& GetAttr(sal_uInt16 nWhich) = 0; 344 virtual const SfxPoolItem& GetCellAttr(sal_uInt16 nWhich); 397 virtual const SfxPoolItem& GetAttr(sal_uInt16 nWhich); 401 virtual const SfxPoolItem& GetCellAttr(sal_uInt16 nWhich); 449 virtual const SfxPoolItem& GetAttr(sal_uInt16 nWhich); 557 const SfxPoolItem& GetCellAttr(sal_uInt16 nWhich) { in GetCellAttr() argument 558 return pOut->GetCellAttr(nWhich); } in GetCellAttr() 627 void NextStyle(sal_uInt16 nWhich, sal_uInt16 nNext); 643 const SfxPoolItem& GetNodeOrStyAttr(sal_uInt16 nWhich); 644 const SfxPoolItem& GetAttr(sal_uInt16 nWhich); [all …]
|
/trunk/main/sw/source/filter/ww1/ |
H A D | fltshell.cxx | 261 sal_uInt16 nWhich = pTmp->pAttr->Which(); in NewAttr() local 711 pEntry->pAttr->Which() == nWhich) in GetFmtStackAttr() 732 && (pEntry->pAttr->Which() == nWhich) in GetOpenStackAttr() 744 SfxPoolItem* pHt = GetFmtStackAttr(nWhich); in GetFmtAttr() 754 return &pNd->GetAttr(nWhich); in GetFmtAttr() 1332 return pNd->GetAttr(nWhich); in GetNodeOrStyAttr() 1344 return pOut->GetNodeOrStyAttr( nWhich ); in GetNodeOrStyAttr() 1349 return pOut->GetAttr( nWhich ); in GetAttr() 1354 return pOut->GetFlyFrmAttr( nWhich ); in GetFlyFrmAttr() 1911 return pFly->GetFmtAttr( nWhich ); in GetFlyFrmAttr() [all …]
|
/trunk/main/sw/inc/ |
H A D | dbfld.hxx | 59 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 60 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 123 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 124 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 201 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 202 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 255 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 256 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 290 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 291 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); [all …]
|
/trunk/main/editeng/source/editeng/ |
H A D | editdoc.cxx | 1161 for ( sal_uInt16 nWhich = EE_PARA_START; nWhich <= EE_CHAR_END; nWhich++ ) in SetStyleSheet() local 1164 …if ( ( nWhich != EE_PARA_BULLETSTATE ) && ( rStyleAttribs.GetItemState( nWhich ) == SFX_ITEM_ON ) ) in SetStyleSheet() 1165 aAttribSet.ClearItem( nWhich ); in SetStyleSheet() 1177 return pTakeFrom->Get( nWhich ); in GetItem() 1703 if ( ( nAttrWhich < EE_FEATURE_START ) && ( !nWhich || ( nAttrWhich == nWhich ) ) ) in RemoveAttribs() 1713 if ( nWhich ) in RemoveAttribs() 1746 if ( nWhich ) in RemoveAttribs() 1753 if ( nWhich ) in RemoveAttribs() 1762 if ( nWhich ) in RemoveAttribs() 1885 sal_uInt16 nWhich = pItem->Which(); in FindAttribs() local [all …]
|
/trunk/main/sc/source/ui/inc/ |
H A D | uiitems.hxx | 61 ScInputStatusItem( sal_uInt16 nWhich, 153 ScSortItem( sal_uInt16 nWhich, 156 ScSortItem( sal_uInt16 nWhich, 181 ScQueryItem( sal_uInt16 nWhich, 184 ScQueryItem( sal_uInt16 nWhich, 213 ScSubTotalItem( sal_uInt16 nWhich, 216 ScSubTotalItem( sal_uInt16 nWhich, 241 ScUserListItem( sal_uInt16 nWhich ); 311 ScSolveItem( sal_uInt16 nWhich, 333 ScTabOpItem( sal_uInt16 nWhich, [all …]
|
/trunk/main/sw/source/core/txtnode/ |
H A D | ndtxt.cxx | 964 if (isCHRATR(nWhich) || isTXTATR_WITHEND(nWhich)) in Update() 1242 RES_TXTATR const nWhich, in lcl_GetTxtAttrs() argument 1265 if (pHint->Which() != nWhich) in lcl_GetTxtAttrs() 1386 const sal_uInt16 nWhich, in lcl_CopyHint() argument 1393 switch( nWhich ) in lcl_CopyHint() 2382 if (isTXTATR(nWhich) && in EraseText() 2775 const RES_TXTATR nWhich ) const in GetTxtAttrForCharAt() 2789 return ( RES_TXTATR_END == nWhich || nWhich == pHint->Which() ) in GetTxtAttrForCharAt() 3211 ( RES_CHRATR_FONT == nWhich || in GetExpandTxt() 3228 switch( nWhich ) in GetExpandTxt() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | tabvwshb.cxx | 455 while ( nWhich ) in GetDrawInsState() 457 switch ( nWhich ) in GetDrawInsState() 461 rSet.DisableItem( nWhich ); in GetDrawInsState() 466 rSet.DisableItem( nWhich ); in GetDrawInsState() 473 rSet.DisableItem( nWhich ); in GetDrawInsState() 482 rSet.DisableItem( nWhich ); in GetDrawInsState() 489 rSet.DisableItem( nWhich ); in GetDrawInsState() 499 nWhich = aIter.NextWhich(); in GetDrawInsState() 567 while ( nWhich ) in GetUndoState() 569 switch (nWhich) in GetUndoState() [all …]
|
H A D | editsh.cxx | 644 while (nWhich) in lcl_DisableAll() 667 while (nWhich) in GetState() 669 switch (nWhich) in GetState() 736 nWhich = aIter.NextWhich(); in GetState() 789 while (nWhich) in GetClipState() 791 switch (nWhich) in GetClipState() 796 rSet.DisableItem( nWhich ); in GetClipState() 813 rSet.DisableItem( nWhich ); in GetClipState() 816 nWhich = aIter.NextWhich(); in GetClipState() 1218 while( nWhich ) in GetUndoState() [all …]
|
H A D | tabvwshf.cxx | 840 while ( nWhich ) in GetStateTable() 842 switch ( nWhich ) in GetStateTable() 857 rSet.DisableItem( nWhich ); in GetStateTable() 868 rSet.DisableItem( nWhich ); in GetStateTable() 875 rSet.DisableItem( nWhich ); in GetStateTable() 886 rSet.DisableItem( nWhich ); in GetStateTable() 897 rSet.DisableItem( nWhich ); in GetStateTable() 904 rSet.DisableItem( nWhich ); in GetStateTable() 914 rSet.DisableItem( nWhich ); in GetStateTable() 931 rSet.DisableItem( nWhich ); in GetStateTable() [all …]
|
/trunk/main/svx/source/form/ |
H A D | fmtextcontrolshell.cxx | 385 WhichId nWhich = _rSet.GetPool()->GetWhich( _nSlot ); in lcl_translateUnoStateToItem() local 393 _rSet.InvalidateItem( nWhich ); in lcl_translateUnoStateToItem() 407 _rSet.Put( SfxBoolItem( nWhich, bState ) ); in lcl_translateUnoStateToItem() 417 _rSet.InvalidateItem( nWhich ); in lcl_translateUnoStateToItem() 427 _rSet.InvalidateItem( nWhich ); in lcl_translateUnoStateToItem() 636 WhichId nWhich = rPool.GetWhich( nSlotId ); in transferFeatureStatesToItemSet() local 637 bool bIsInPool = rPool.IsInRange( nWhich ); in transferFeatureStatesToItemSet() 691 … for ( WhichId nWhich = pPool->GetFirstWhich(); nWhich <= pPool->GetLastWhich(); ++nWhich ) in executeAttributeDialog() local 726 pPureItems->ClearItem( nWhich ); in executeAttributeDialog() 885 WhichId nWhich = aToggled.GetPool()->GetWhich( nSlot ); in ExecuteTextAttribute() local [all …]
|