/trunk/main/svl/source/items/ |
H A D | itemset.cxx | 383 if( *pPtr <= nWhich && nWhich <= *(pPtr+1) ) in ClearItem() 424 for( nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd ) in ClearItem() 474 for ( sal_uInt16 nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd ) in ClearInvalidItems() local 482 for( sal_uInt16 nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd ) in ClearInvalidItems() local 523 if ( *pPtr <= nWhich && nWhich <= *(pPtr+1) ) in GetItemState() 576 if( *pPtr <= nWhich && nWhich <= *(pPtr+1) ) in Put() 659 for ( sal_uInt16 nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd ) in Put() local 714 for ( sal_uInt16 nWhich = *pPtr; nWhich <= *(pPtr+1); ++nWhich, ++ppFnd ) in PutExtended() local 1442 if( *pPtr <= nWhich && nWhich <= *(pPtr+1) ) in MergeValue() 1463 if( *pPtr <= nWhich && nWhich <= *(pPtr+1) ) in InvalidateItem() [all …]
|
H A D | itempool.cxx | 59 if( IsInRange( nWhich ) ) in GetPoolDefaultItem() 748 if ( 0 == nWhich ) in Put() 749 nWhich = rItem.Which(); in Put() 774 SFX_ASSERT( rItem.IsA(GetDefaultItem(nWhich).Type()), nWhich, in Put() 954 if ( !IsInRange(nWhich) ) in GetDefaultItem() 1017 if ( !IsInRange(nWhich) ) in GetItem2() 1042 if ( !IsInRange(nWhich) ) in GetItemCount2() 1086 if ( !IsWhich(nWhich) ) in GetSlotId() 1087 return nWhich; in GetSlotId() 1103 return nWhich; in GetSlotId() [all …]
|
H A D | poolio.cxx | 638 nWhich = GetNewWhich( nWhich ); in Load() 691 nWhich = GetNewWhich( nWhich ); in Load() 822 while ( rStream >> nWhich, nWhich ) in Load1_Impl() 826 nWhich = GetNewWhich( nWhich ); in Load1_Impl() 971 while ( rStream >> nWhich, nWhich ) in Load1_Impl() 975 nWhich = GetNewWhich( nWhich ); in Load1_Impl() 1342 nWhich = 0; in SetVersionMap() 1447 return nWhich >= pImp->nVerStart && nWhich <= pImp->nVerEnd; in IsInVersionsRange() 1654 nWhich = pRefPool->GetNewWhich( nWhich ); in LoadItem() 1665 if ( nWhich ) in LoadItem() [all …]
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewstat.cxx | 78 while(nWhich) in GetState() 80 switch(nWhich) in GetState() 119 rSet.DisableItem(nWhich); in GetState() 128 rSet.DisableItem(nWhich); in GetState() 184 rSet.DisableItem(nWhich); in GetState() 227 rSet.DisableItem(nWhich); in GetState() 299 rSet.Put(SfxBoolItem( nWhich, pVFrame->HasChildWindow(nWhich))); in GetState() 465 for( sal_uInt16 nWhich = aIter.FirstWhich(); nWhich; in GetDrawState() local 467 switch(nWhich) in GetDrawState() 492 rSet.Put( SfxBoolItem(nWhich, nDrawSfxId == nWhich)); in GetDrawState() [all …]
|
/trunk/main/cui/source/tabpages/ |
H A D | chardlg.cxx | 215 sal_uInt16 nWhich; in ActivatePage() local 363 nWhich = GetWhich( SID_ATTR_BRUSH ); in ActivatePage() 488 nWhich = GetWhich( nWeight ); in SetPrevFontStyle() 980 sal_uInt16 nWhich = 0; in Reset_Impl() local 1197 sal_uInt16 nWhich = 0; in FillItemSet_Impl() local 1227 nWhich = GetWhich( nSlot ); in FillItemSet_Impl() 1268 rSet.ClearItem( nWhich ); in FillItemSet_Impl() 1278 nWhich = GetWhich( nSlot ); in FillItemSet_Impl() 1327 nWhich = GetWhich( nSlot ); in FillItemSet_Impl() 1387 nWhich = GetWhich( nSlot ); in FillItemSet_Impl() [all …]
|
H A D | backgrnd.cxx | 551 sal_uInt16 nWhich = GetWhich( nSlot ); in Reset() local 593 nWhich = GetWhich( SID_ATTR_BRUSH ); in Reset() 632 nWhich = GetWhich( SID_ATTR_BRUSH ); in Reset() 833 rCoreSet.ClearItem( nWhich ); in FillItemSet() 875 rCoreSet.ClearItem( nWhich ); in FillItemSet() 1028 CntWallpaperItem aItem( nWhich ); in FillItemSetWithWallpaperItem() 1033 rCoreSet.ClearItem( nWhich ); in FillItemSetWithWallpaperItem() 1047 CntWallpaperItem aItem( nWhich ); in FillItemSetWithWallpaperItem() 1055 rCoreSet.ClearItem( nWhich ); in FillItemSetWithWallpaperItem() 1060 CntWallpaperItem aItem( nWhich ); in FillItemSetWithWallpaperItem() [all …]
|
/trunk/main/sw/source/core/inc/ |
H A D | swfont.hxx | 182 { if( !aSub[ nWhich ].pMagic ) GoMagic( pSh, nWhich ); } in ChkMagic() 185 { aSub[nWhich].CopyMagic( pFnt->aSub[nWhich] ); } in CopyMagic() 187 { rMagic = aSub[nWhich].pMagic; rIdx = aSub[nWhich].nFntIndex; } in GetMagic() 189 { aSub[nWhich].pMagic = pNew; aSub[nWhich].nFntIndex = nIdx; } in SetMagic() 191 { return aSub[nWhich].pMagic != pFnt->aSub[nWhich].pMagic || in DifferentMagic() 192 !aSub[nWhich].pMagic || !pFnt->aSub[nWhich].pMagic; } in DifferentMagic() 195 { return aSub[nWhich].aSize; } in GetSize() 426 aSub[nWhich].SetName( rName ); in SetName() 768 if( SW_CJK == nWhich ) in SetLanguage() 852 #define SV_STAT(nWhich) argument [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | cellsh.cxx | 133 while ( nWhich ) in GetBlockState() 137 switch ( nWhich ) in GetBlockState() 258 rSet.DisableItem(nWhich); in GetBlockState() 264 nWhich = aIter.NextWhich(); in GetBlockState() 281 while ( nWhich ) in GetCellState() 285 switch ( nWhich ) in GetCellState() 331 rSet.DisableItem(nWhich); in GetCellState() 332 nWhich = aIter.NextWhich(); in GetCellState() 537 while ( nWhich ) in GetState() 539 switch ( nWhich ) in GetState() [all …]
|
H A D | tabvwsha.cxx | 180 while ( nWhich ) in GetState() 182 switch ( nWhich ) in GetState() 189 rSet.DisableItem( nWhich ); in GetState() 212 rSet.DisableItem( nWhich ); in GetState() 215 rSet.DisableItem( nWhich ); in GetState() 288 rSet.DisableItem( nWhich ); in GetState() 316 rSet.DisableItem( nWhich ); in GetState() 426 rSet.Put(SfxBoolItem(nWhich, in GetState() 482 nWhich = aIter.NextWhich(); in GetState() 734 while( nWhich ) in GetSaveState() [all …]
|
H A D | formatsh.cxx | 189 while ( nWhich ) in GetStyleState() 193 : nWhich; in GetStyleState() 1868 while ( nWhich ) in GetAttrState() 1870 switch(nWhich) in GetAttrState() 2184 if ( nWhich ) in GetTextAttrState() 2203 nWhich = 0; in GetTextAttrState() 2248 if ( nWhich ) in GetTextAttrState() 2298 while ( nWhich ) in GetAlignState() 2300 switch ( nWhich ) in GetAlignState() 2339 while ( nWhich ) in GetNumFormatState() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdibrow.cxx | 618 switch (nWhich) { in IsItemIneffective() 635 if (nWhich==XATTR_LINESTART || nWhich==XATTR_LINESTARTCENTER) { in IsItemIneffective() 642 if (nWhich==XATTR_LINEEND || nWhich==XATTR_LINEENDCENTER) { in IsItemIneffective() 683 if (nWhich==XATTR_FILLBITMAP || nWhich==XATTR_FILLBMP_TILE) { in IsItemIneffective() 705 if (nWhich==XATTR_FILLBMP_SIZEX || nWhich==XATTR_FILLBMP_SIZEY) { in IsItemIneffective() 758 …if ((nWhich>=XATTR_FORMTXTSHDWCOLOR && nWhich<=XATTR_FORMTXTSHDWYVAL) || nWhich>=XATTR_FORMTXTSHDW… in IsItemIneffective() 878 switch (nWhich) { in ImpSortWhich() 919 return nWhich; in ImpSortWhich() 935 while (nWhich!=0) { in SetAttributes() 939 if (!bDontSortItems) nWhich=ImpSortWhich(nWhich); in SetAttributes() [all …]
|
/trunk/main/sw/inc/ |
H A D | hintids.hxx | 380 inline bool isATR(const sal_uInt16 nWhich) in isATR() argument 382 return (RES_CHRATR_BEGIN <= nWhich) && (RES_UNKNOWNATR_END > nWhich); in isATR() 386 return (RES_CHRATR_BEGIN <= nWhich) && (RES_CHRATR_END > nWhich); in isCHRATR() 400 return (RES_TXTATR_BEGIN <= nWhich) && (RES_TXTATR_END > nWhich); in isTXTATR() 404 return (RES_PARATR_BEGIN <= nWhich) && (RES_PARATR_END > nWhich); in isPARATR() 408 return (RES_PARATR_LIST_BEGIN <= nWhich) && (RES_PARATR_LIST_END > nWhich); in isPARATR_LIST() 412 return (RES_FRMATR_BEGIN <= nWhich) && (RES_FRMATR_END > nWhich); in isFRMATR() 416 return (XATTR_FILL_FIRST <= nWhich) && (XATTR_FILL_LAST >= nWhich); in isDrawingLayerAttribute() 420 return (RES_GRFATR_BEGIN <= nWhich) && (RES_GRFATR_END > nWhich); in isGRFATR() 424 return (RES_BOXATR_BEGIN <= nWhich) && (RES_BOXATR_END > nWhich); in isBOXATR() [all …]
|
H A D | docufld.hxx | 183 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 184 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 220 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 221 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 256 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 285 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 326 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 399 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 436 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 571 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | annotsh.cxx | 638 while(nWhich) in GetState() 972 while(nWhich) in StateClpbrd() 974 switch(nWhich) in StateClpbrd() 1019 while( nWhich ) in StateStatusLine() 1049 while(nWhich) in StateInsert() 1051 switch(nWhich) in StateInsert() 1150 while(nWhich) in GetNoteState() 1341 while(nWhich) in GetLinguState() 1343 switch (nWhich) in GetLinguState() 1539 while( nWhich ) in StateUndo() [all …]
|
H A D | basesh.cxx | 438 while(nWhich) in StateClpbrd() 440 switch(nWhich) in StateClpbrd() 542 while(nWhich) in StateUndo() 544 switch(nWhich) in StateUndo() 1388 while ( nWhich ) in GetState() 1847 while (nWhich) in StateDisableItems() 1873 while ( nWhich ) in StateStyle() 2177 while( nWhich ) in GetTxtFontCtrlState() 2179 switch( nWhich ) in GetTxtFontCtrlState() 2284 while(nWhich) in GetBckColState() [all …]
|
H A D | drwtxtex.cxx | 633 while(nWhich) in GetState() 818 rSet.DisableItem( nWhich ); in GetState() 869 rSet.DisableItem(nWhich); in GetState() 880 nWhich = aIter.NextWhich(); in GetState() 898 while(nWhich) in GetDrawTxtCtrlState() 916 rSet.Put( *pI, nWhich ); in GetDrawTxtCtrlState() 1003 while(nWhich) in StateClpbrd() 1005 switch(nWhich) in StateClpbrd() 1049 while(nWhich) in StateInsert() 1051 switch(nWhich) in StateInsert() [all …]
|
H A D | textsh1.cxx | 1395 while ( nWhich ) in GetState() 1397 switch ( nWhich ) in GetState() 1530 rSet.DisableItem(nWhich); in GetState() 1536 rSet.DisableItem(nWhich); in GetState() 1594 rSet.DisableItem( nWhich ); in GetState() 1616 rSet.Put(SfxBoolItem(nWhich, pApply && pApply->nColor == nWhich)); in GetState() 1659 if( FN_INSERT_PAGEHEADER == nWhich in GetState() 1671 rSet.DisableItem( nWhich ); in GetState() 1679 rSet.DisableItem( nWhich ); in GetState() 1706 … rSet.Put(SfxBoolItem( nWhich, 0 != GetView().GetViewFrame()->GetChildWindow( nWhich ) )); in GetState() [all …]
|
/trunk/main/svx/source/form/ |
H A D | fmshell.cxx | 879 while ( nWhich ) in GetState() 881 switch( nWhich ) in GetState() 887 rSet.Put( SfxBoolItem( nWhich, aToolboxAccess.isToolboxVisible( nWhich ) ) ); in GetState() 894 rSet.DisableItem( nWhich ); in GetState() 961 rSet.Put( SfxBoolItem(nWhich, (nWhich==m_nLastSlot)) ); in GetState() 998 rSet.DisableItem(nWhich); in GetState() 1080 GetFormState(rSet,nWhich); in GetState() 1126 nWhich = aIter.NextWhich(); in GetState() 1140 rSet.DisableItem(nWhich); in GetFormState() 1146 switch (nWhich) in GetFormState() [all …]
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit5.cxx | 378 for ( sal_uInt16 nWhich = EE_ITEMS_START; nWhich <= EE_CHAR_END; nWhich++) in GetAttribs() local 414 if ( nWhich <= EE_PARA_END ) in GetAttribs() 415 aCurSet.InvalidateItem( nWhich ); in GetAttribs() 425 for ( sal_uInt16 nWhich = EE_ITEMS_START; nWhich <= EE_CHAR_END; nWhich++ ) in GetAttribs() local 585 for ( sal_uInt16 nWhich = EE_ITEMS_START; nWhich <= EE_CHAR_END; nWhich++) in SetAttribs() local 589 const SfxPoolItem& rItem = rSet.Get( nWhich ); in SetAttribs() 590 if ( nWhich <= EE_PARA_END ) in SetAttribs() 652 pUndo->SetRemoveWhich( nWhich ); in RemoveCharAttribs() 686 if ( !nWhich ) in RemoveCharAttribs() 721 ( !nWhich || ( pAttr->GetItem()->Which() == nWhich ) ) ) in RemoveCharAttribs() [all …]
|
/trunk/main/sw/source/core/crsr/ |
H A D | findattr.cxx | 168 sal_uInt16 nWhich; member 269 sal_uInt16 nWhich; in SetNewSet() local 391 if( !pArrPtr->nWhich ) in SetAttrFwd() 412 pArrPtr->nWhich = 0; in SetAttrFwd() 467 pCmp->nWhich = 0; in SetAttrFwd() 573 pArrPtr->nWhich = 0; in SetAttrBwd() 627 pCmp->nWhich = 0; in SetAttrBwd() 682 if( !pArrPtr->nWhich ) in CheckStack() 697 pArrPtr->nWhich = 0; in CheckStack() 872 sal_uInt16 nWhich; in lcl_Search() local [all …]
|
/trunk/main/sw/source/core/txtnode/ |
H A D | thints.cxx | 1796 return (nWhich == RES_CHRATR_UNDERLINE || nWhich == RES_CHRATR_ESCAPEMENT); in lcl_IsIgnoredCharFmtForNumbering() 1805 …return (nWhich == RES_CHRATR_UNDERLINE || nWhich == RES_CHRATR_POSTURE || nWhich == RES_CHRATR_WEI… in lcl_IsIgnoredCharFmtForBullets() 1806 || nWhich == RES_CHRATR_CJK_POSTURE || nWhich == RES_CHRATR_CJK_WEIGHT in lcl_IsIgnoredCharFmtForBullets() 1807 || nWhich == RES_CHRATR_CTL_POSTURE || nWhich == RES_CHRATR_CTL_WEIGHT); in lcl_IsIgnoredCharFmtForBullets() 1939 ASSERT( isCHRATR(nWhich) || isTXTATR(nWhich), in SetAttr() 1941 if ( isCHRATR(nWhich) || isTXTATR(nWhich) ) in SetAttr() 2008 while( nWhich ) in lcl_MergeAttr() 2394 if (nWhich == RES_TXTATR_CHARFMT || nWhich == RES_TXTATR_AUTOFMT) in lcl_CollectHintSpans() 2442 void operator()(sal_uInt16 const nWhich) { m_rItemSet.ClearItem(nWhich); } in operator ()() 2865 switch( nWhich ) in TryInsertHint() [all …]
|
H A D | txtatr2.cxx | 68 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0; in ModifyNotification() local 69 ASSERT( isCHRATR(nWhich) || (RES_OBJECTDYING == nWhich) in ModifyNotification() 70 || (RES_ATTRSET_CHG == nWhich) || (RES_FMT_CHG == nWhich), in ModifyNotification() 78 nWhich); in ModifyNotification() 190 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0; in Modify() local 191 ASSERT( isCHRATR(nWhich) || (RES_OBJECTDYING == nWhich) in Modify() 192 || (RES_ATTRSET_CHG == nWhich) || (RES_FMT_CHG == nWhich), in Modify() 200 nWhich); in Modify() 244 ASSERT( isCHRATR(nWhich) || (RES_OBJECTDYING == nWhich) in Modify() 245 || (RES_ATTRSET_CHG == nWhich) || (RES_FMT_CHG == nWhich), in Modify() [all …]
|
/trunk/main/sc/source/ui/pagedlg/ |
H A D | tptable.cxx | 74 sal_Bool lcl_PutVObjModeItem( sal_uInt16 nWhich, 79 sal_Bool lcl_PutScaleItem( sal_uInt16 nWhich, 95 sal_Bool lcl_PutBoolItem( sal_uInt16 nWhich, 201 sal_uInt16 nWhich = 0; in Reset() local 233 nWhich = GetWhich(SID_SCATTR_PAGE_SCALE); in Reset() 483 && WAS_DEFAULT(nWhich,rOldSet) ); in lcl_PutBoolItem() 486 rCoreSet.ClearItem(nWhich); in lcl_PutBoolItem() 502 && WAS_DEFAULT(nWhich,rOldSet) ); in lcl_PutVObjModeItem() 505 rCoreSet.ClearItem( nWhich ); in lcl_PutVObjModeItem() 532 rCoreSet.ClearItem( nWhich ); in lcl_PutScaleItem() [all …]
|
/trunk/main/svx/source/sdr/properties/ |
H A D | defaultproperties.cxx | 126 if(AllowItemChange(nWhich)) in ClearObjectItem() 128 ItemChange(nWhich); in ClearObjectItem() 129 PostItemChange(nWhich); in ClearObjectItem() 131 if(nWhich) in ClearObjectItem() 133 SfxItemSet aSet(*GetSdrObject().GetObjectItemPool(), nWhich, nWhich, 0, 0); in ClearObjectItem() 141 if(AllowItemChange(nWhich)) in ClearObjectItemDirect() 143 ItemChange(nWhich); in ClearObjectItemDirect() 159 while(nWhich) in SetObjectItemSet() 163 if(AllowItemChange(nWhich, pPoolItem)) in SetObjectItemSet() 166 ItemChange(nWhich, pPoolItem); in SetObjectItemSet() [all …]
|
/trunk/main/chart2/source/controller/itemsetwrapper/ |
H A D | ItemConverter.cxx | 115 for( sal_uInt16 nWhich = nBeg; nWhich <= nEnd; ++nWhich ) in FillItemSet() local 117 if( GetItemProperty( nWhich, aProperty )) in FillItemSet() 134 rOutItemSet.Put( *pItem, nWhich ); in FillItemSet() 158 FillSpecialItem( nWhich, rOutItemSet ); in FillItemSet() 241 sal_uInt16 nWhich = aIter.FirstWhich (); in InvalidateUnequalItems() local 244 while (nWhich) in InvalidateUnequalItems() 249 if (rSourceSet.Get(nWhich) != rDestSet.Get(nWhich)) in InvalidateUnequalItems() 251 if( SID_CHAR_DLG_PREVIEW_STRING != nWhich ) in InvalidateUnequalItems() 253 rDestSet.InvalidateItem(nWhich); in InvalidateUnequalItems() 258 rDestSet.InvalidateItem(nWhich); in InvalidateUnequalItems() [all …]
|