/aoo41x/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 …]
|
/aoo41x/main/sw/source/ui/uiview/ |
H A D | viewstat.cxx | 80 while(nWhich) in GetState() 82 switch(nWhich) in GetState() 121 rSet.DisableItem(nWhich); in GetState() 130 rSet.DisableItem(nWhich); in GetState() 177 rSet.DisableItem(nWhich); in GetState() 220 rSet.DisableItem(nWhich); in GetState() 292 rSet.Put(SfxBoolItem( nWhich, pVFrame->HasChildWindow(nWhich))); in GetState() 458 for( sal_uInt16 nWhich = aIter.FirstWhich(); nWhich; in GetDrawState() local 460 switch(nWhich) in GetDrawState() 485 rSet.Put( SfxBoolItem(nWhich, nDrawSfxId == nWhich)); in GetDrawState() [all …]
|
/aoo41x/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 …]
|
/aoo41x/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() 277 rSet.DisableItem( nWhich ); in GetState() 305 rSet.DisableItem( nWhich ); in GetState() 415 rSet.Put(SfxBoolItem(nWhich, in GetState() 471 nWhich = aIter.NextWhich(); in GetState() 723 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 …]
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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 | 440 while(nWhich) in StateClpbrd() 442 switch(nWhich) in StateClpbrd() 544 while(nWhich) in StateUndo() 546 switch(nWhich) in StateUndo() 1390 while ( nWhich ) in GetState() 1849 while (nWhich) in StateDisableItems() 1875 while ( nWhich ) in StateStyle() 2179 while( nWhich ) in GetTxtFontCtrlState() 2181 switch( nWhich ) in GetTxtFontCtrlState() 2293 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 | 1393 while ( nWhich ) in GetState() 1395 switch ( nWhich ) in GetState() 1528 rSet.DisableItem(nWhich); in GetState() 1534 rSet.DisableItem(nWhich); in GetState() 1568 rSet.DisableItem( nWhich ); in GetState() 1578 rSet.DisableItem( nWhich ); in GetState() 1598 rSet.DisableItem( nWhich ); in GetState() 1620 rSet.Put(SfxBoolItem(nWhich, pApply && pApply->nColor == nWhich)); in GetState() 1675 rSet.DisableItem( nWhich ); in GetState() 1683 rSet.DisableItem( nWhich ); in GetState() [all …]
|
/aoo41x/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() 396 && (RES_TXTATR_NOEND_END > nWhich); in isTXTATR_NOEND() 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() 411 return (RES_FRMATR_BEGIN <= nWhich) && (RES_FRMATR_END > nWhich); in isFRMATR() 415 return (RES_GRFATR_BEGIN <= nWhich) && (RES_GRFATR_END > nWhich); in isGRFATR() 419 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 …]
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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() 572 pArrPtr->nWhich = 0; in SetAttrBwd() 626 pCmp->nWhich = 0; in SetAttrBwd() 680 if( !pArrPtr->nWhich ) in CheckStack() 695 pArrPtr->nWhich = 0; in CheckStack() 870 sal_uInt16 nWhich; in lcl_Search() local [all …]
|
/aoo41x/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 …]
|
/aoo41x/main/sw/source/core/txtnode/ |
H A D | thints.cxx | 1698 const sal_uInt16 nWhich, in DeleteAttributes() argument 1798 …return (nWhich == RES_CHRATR_UNDERLINE || nWhich == RES_CHRATR_POSTURE || nWhich == RES_CHRATR_… in lcl_IsIgnoredCharFmtForBullets() 1799 || nWhich == RES_CHRATR_CJK_POSTURE || nWhich == RES_CHRATR_CJK_WEIGHT in lcl_IsIgnoredCharFmtForBullets() 1800 || nWhich == RES_CHRATR_CTL_POSTURE || nWhich == RES_CHRATR_CTL_WEIGHT); in lcl_IsIgnoredCharFmtForBullets() 1932 ASSERT( isCHRATR(nWhich) || isTXTATR(nWhich), in SetAttr() 1934 if ( isCHRATR(nWhich) || isTXTATR(nWhich) ) in SetAttr() 2001 while( nWhich ) in lcl_MergeAttr() 2026 while( nWhich ) in lcl_MergeAttr_ExpandChrFmt() 2387 if (nWhich == RES_TXTATR_CHARFMT || nWhich == RES_TXTATR_AUTOFMT) in lcl_CollectHintSpans() 2435 void operator()(sal_uInt16 const nWhich) { m_rItemSet.ClearItem(nWhich); } in operator ()() [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() 75 SwUpdateAttr aUpdateAttr( *GetStart(), *GetEnd(), nWhich ); in ModifyNotification() 186 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0; in Modify() local 187 ASSERT( isCHRATR(nWhich) || (RES_OBJECTDYING == nWhich) in Modify() 188 || (RES_ATTRSET_CHG == nWhich) || (RES_FMT_CHG == nWhich), in Modify() 193 SwUpdateAttr aUpdateAttr( *GetStart(), *GetEnd(), nWhich ); in Modify() 236 ASSERT( isCHRATR(nWhich) || (RES_OBJECTDYING == nWhich) in Modify() 237 || (RES_ATTRSET_CHG == nWhich) || (RES_FMT_CHG == nWhich), in Modify() [all …]
|
/aoo41x/main/sc/source/ui/pagedlg/ |
H A D | tptable.cxx | 75 sal_Bool lcl_PutVObjModeItem( sal_uInt16 nWhich, 80 sal_Bool lcl_PutScaleItem( 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() 484 && WAS_DEFAULT(nWhich,rOldSet) ); in lcl_PutBoolItem() 487 rCoreSet.ClearItem(nWhich); in lcl_PutBoolItem() 503 && WAS_DEFAULT(nWhich,rOldSet) ); in lcl_PutVObjModeItem() 506 rCoreSet.ClearItem( nWhich ); in lcl_PutVObjModeItem() 533 rCoreSet.ClearItem( nWhich ); in lcl_PutScaleItem() [all …]
|
/aoo41x/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 …]
|