/trunk/main/sc/source/ui/drawfunc/ |
H A D | drtxtob.cxx | 114 while (nWhich) in StateDisableItems() 116 rSet.DisableItem( nWhich ); in StateDisableItems() 117 nWhich = aIter.NextWhich(); in StateDisableItems() 549 while (nWhich) in GetClipState() 551 switch (nWhich) in GetClipState() 556 rSet.DisableItem( nWhich ); in GetClipState() 573 rSet.DisableItem( nWhich ); in GetClipState() 576 nWhich = aIter.NextWhich(); in GetClipState() 1265 while ( nWhich ) in GetStatePropPanelAttr() 1269 : nWhich; in GetStatePropPanelAttr() [all …]
|
/trunk/main/sw/source/filter/writer/ |
H A D | wrt_fn.cxx | 80 sal_uInt16 nWhich = aIter.FirstWhich(); in Out_SfxItemSet() local 81 while( nWhich ) in Out_SfxItemSet() 83 if( SFX_ITEM_SET == pSet->GetItemState( nWhich, bDeep, &pItem ) && in Out_SfxItemSet() 85 *pItem != rPool.GetDefaultItem( nWhich ) in Out_SfxItemSet() 87 *pItem != pSet->GetParent()->Get( nWhich )) in Out_SfxItemSet() 88 )) && 0 != ( pOut = pTab[ nWhich - RES_CHRATR_BEGIN] )) in Out_SfxItemSet() 90 nWhich = aIter.NextWhich(); in Out_SfxItemSet()
|
/trunk/main/sw/source/core/attr/ |
H A D | format.cxx | 289 sal_uInt16 nWhich = pOldValue ? pOldValue->Which() : in Modify() local 291 switch( nWhich ) in Modify() 367 if( SFX_ITEM_SET == aSet.GetItemState( nWhich, sal_False )) in Modify() 373 ASSERT( RES_PARATR_DROP == nWhich, "Modify ohne Absender verschickt" ); in Modify() 437 const SfxPoolItem& SwFmt::GetFmtAttr( sal_uInt16 nWhich, sal_Bool bInParents ) const in GetFmtAttr() argument 439 if(RES_BACKGROUND == nWhich && supportsFullDrawingLayerFillAttributeSet()) in GetFmtAttr() 453 return aSet.Get( nWhich, bInParents ); in GetFmtAttr() 459 if(RES_BACKGROUND == nWhich && supportsFullDrawingLayerFillAttributeSet()) in GetItemState() 488 return aSet.GetItemState( nWhich, bSrchInParent, ppItem ); in GetItemState() 496 const sal_uInt16 nWhich = rAttr.Which(); in SetFmtAttr() local [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | editutil.cxx | 474 sal_uInt16 nWhich; in RemoveParaAttribs() local 475 for (nWhich = EE_CHAR_START; nWhich <= EE_CHAR_END; nWhich ++) in RemoveParaAttribs() 478 if ( rParaAttribs.GetItemState( nWhich, sal_False, &pParaItem ) == SFX_ITEM_SET ) in RemoveParaAttribs() 481 if ( !pDefaults || *pParaItem != pDefaults->Get(nWhich) ) in RemoveParaAttribs() 506 for (nWhich = EE_CHAR_START; nWhich <= EE_CHAR_END; nWhich ++) in RemoveParaAttribs() 511 if ( aNewCharAttrs.GetItemState( nWhich, sal_False, &pItem ) == SFX_ITEM_SET && in RemoveParaAttribs() 512 *pItem != aOldCharAttrs.Get(nWhich) ) in RemoveParaAttribs() 514 aNewCharAttrs.ClearItem(nWhich); in RemoveParaAttribs()
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | colex.cxx | 52 sal_uInt16 nWhich = pPool->GetWhich( SID_ATTR_PAGE ); in UpdateExample() local 54 if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET ) in UpdateExample() 57 pPage = (const SvxPageItem*)&rSet.Get( nWhich ); in UpdateExample() 63 nWhich = pPool->GetWhich( SID_ATTR_PAGE_SIZE ); in UpdateExample() 65 if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET ) in UpdateExample() 68 const SvxSizeItem& rSize = (const SvxSizeItem&)rSet.Get( nWhich ); in UpdateExample() 71 nWhich = RES_LR_SPACE; in UpdateExample() 72 if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET ) in UpdateExample() 75 const SvxLRSpaceItem& rLRSpace = (const SvxLRSpaceItem&)rSet.Get( nWhich ); in UpdateExample() 86 nWhich = RES_UL_SPACE; in UpdateExample() [all …]
|
/trunk/main/svx/source/form/ |
H A D | fmsrcimp.cxx | 376 ::rtl::OUString FmSearchEngine::FormatField(sal_Int32 nWhich) in FormatField() argument 381 …DBG_ASSERT(m_aControlTexts[nWhich] != NULL, "FmSearchEngine::FormatField(sal_Int32) : invalid obje… in FormatField() 382 …DBG_ASSERT(m_aControlTexts[nWhich]->getControl().is(), "FmSearchEngine::FormatField : invalid cont… in FormatField() 386 …DBG_ASSERT((nWhich == 0) || (nWhich == m_nCurrentFieldIndex), "FmSearchEngine::FormatField : Param… in FormatField() 388 nWhich = m_nCurrentFieldIndex; in FormatField() 391 DBG_ASSERT((nWhich >= 0) && ((sal_uInt32)nWhich < m_aControlTexts.size()), in FormatField() 393 …return m_aControlTexts[m_nCurrentFieldIndex == -1 ? nWhich : m_nCurrentFieldIndex]->getCurrentText… in FormatField() 399 …DBG_ASSERT((nWhich == 0) || (nWhich == m_nCurrentFieldIndex), "FmSearchEngine::FormatField : Param… in FormatField() 402 nWhich = 0; in FormatField() 405 DBG_ASSERT((nWhich>=0) && (nWhich < (m_arrUsedFields.end() - m_arrUsedFields.begin())), in FormatField() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | wrtw8esh.cxx | 1172 sal_uInt16 i, nWhich, nSlotId; in OutAttr() local 1178 nWhich = rHt.pAttr->Which(); in OutAttr() 1179 if (nWhich == EE_FEATURE_FIELD) in OutAttr() 1194 if (nWhich && nWhich != nSlotId && in OutAttr() 1246 if (nWhich) in HasTextItem() 1273 nWhich = GetSetWhichFromSwDocWhich(aSet, *m_rExport.pDoc, nWhich); in GetItem() 1275 pRet = &aSet.Get(nWhich); in GetItem() 1300 nWhich != nSlotId && in OutParaAttr() 1301 ( bCharAttr ? ( nWhich >= RES_CHRATR_BEGIN && nWhich < RES_TXTATR_END ) in OutParaAttr() 1302 : ( nWhich >= RES_PARATR_BEGIN && nWhich < RES_FRMATR_END ) ) ) in OutParaAttr() [all …]
|
/trunk/main/editeng/inc/editeng/ |
H A D | brshitem.hxx | 71 sal_uInt16 nVersion, sal_uInt16 nWhich ); 76 SvxBrushItem( sal_uInt16 nWhich ); 77 SvxBrushItem( const Color& rColor, sal_uInt16 nWhich ); 80 SvxGraphicPosition ePos, sal_uInt16 nWhich ); 82 SvxGraphicPosition ePos, sal_uInt16 nWhich ); 84 SvxGraphicPosition ePos, sal_uInt16 nWhich ); 86 SvxBrushItem( const CntWallpaperItem&, sal_uInt16 nWhich );
|
H A D | editobj.hxx | 47 sal_uInt16 nWhich; member in EditTextObject 51 EditTextObject( sal_uInt16 nWhich ); 60 sal_uInt16 Which() const { return nWhich; } in Which() 94 virtual sal_Bool HasCharAttribs( sal_uInt16 nWhich = 0 ) const; 97 virtual sal_Bool RemoveCharAttribs( sal_uInt16 nWhich = 0 ); 98 virtual sal_Bool RemoveParaAttribs( sal_uInt16 nWhich = 0 );
|
/trunk/main/sd/source/ui/view/ |
H A D | drtxtob.cxx | 187 sal_uInt16 nWhich = aIter.FirstWhich(); in GetAttrState() local 196 while ( nWhich ) in GetAttrState() 198 sal_uInt16 nSlotId = SfxItemPool::IsWhich(nWhich) in GetAttrState() 199 ? GetPool().GetSlotId(nWhich) in GetAttrState() 200 : nWhich; in GetAttrState() 241 aAttrSet.Put( *pI, nWhich ); in GetAttrState() 243 aAttrSet.InvalidateItem( nWhich ); in GetAttrState() 253 rSet.Put( SfxTemplateItem( nWhich, pStyleSheet->GetName() ) ); in GetAttrState() 256 rSet.Put( SfxTemplateItem( nWhich, String() ) ); in GetAttrState() 435 nWhich = aIter.NextWhich(); in GetAttrState()
|
H A D | drawview.cxx | 340 sal_uInt16 nWhich(aWhichIter.FirstWhich()); in SetAttributes() local 341 while( nWhich ) in SetAttributes() 343 if( SFX_ITEM_ON == rSet.GetItemState( nWhich ) ) in SetAttributes() 344 aTempSet.ClearItem( nWhich ); in SetAttributes() 345 nWhich = aWhichIter.NextWhich(); in SetAttributes() 367 sal_uInt16 nWhich(aWhichIter.FirstWhich()); in SetAttributes() local 368 while( nWhich ) in SetAttributes() 370 if( SFX_ITEM_ON == rSet.GetItemState( nWhich ) ) in SetAttributes() 371 pObject->ClearMergedItem( nWhich ); in SetAttributes() 372 nWhich = aWhichIter.NextWhich(); in SetAttributes()
|
/trunk/main/sfx2/source/view/ |
H A D | viewfrm.cxx | 920 for ( sal_uInt16 nWhich = aIter.FirstWhich(); nWhich; nWhich = aIter.NextWhich() ) in StateReload_Impl() local 926 rSet.DisableItem( nWhich ); in StateReload_Impl() 930 switch ( nWhich ) in StateReload_Impl() 953 rSet.DisableItem(nWhich); in StateReload_Impl() 2665 for ( sal_uInt16 nWhich = *pRanges++; nWhich <= *pRanges; ++nWhich ) in StateView_Impl() local 2667 switch(nWhich) in StateView_Impl() 2691 rSet.DisableItem( nWhich ); in StateView_Impl() 3242 for(sal_uInt16 nWhich = *pRanges++; nWhich <= *pRanges; ++nWhich) in MiscState_Impl() local 3244 switch(nWhich) in MiscState_Impl() 3333 rSet.DisableItem( nWhich ); in MiscState_Impl() [all …]
|
/trunk/main/sw/source/ui/app/ |
H A D | apphdl.cxx | 155 sal_uInt16 nWhich = aIter.FirstWhich(); in StateOther() local 160 while(nWhich) in StateOther() 162 switch(nWhich) in StateOther() 176 rSet.DisableItem( nWhich ); in StateOther() 194 rSet.DisableItem(nWhich); in StateOther() 201 rSet.Put( SfxBoolItem( nWhich, pModuleConfig-> in StateOther() 207 nWhich = aIter.NextWhich(); in StateOther() 619 sal_uInt16 nWhich = rReq.GetSlot(); in ExecOther() local 620 switch (nWhich) in ExecOther() 628 InsertLab(rReq, nWhich == FN_LABEL); in ExecOther() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdedtv1.cxx | 946 sal_uInt16 nWhich(aIter.FirstWhich()); in MergeAttrFromMarked() local 948 while(nWhich) in MergeAttrFromMarked() 953 rAttr.InvalidateItem(nWhich); in MergeAttrFromMarked() 963 nWhich = aIter.NextWhich(); in MergeAttrFromMarked() 1005 sal_uInt16 nWhich = pItem->Which(); in SetAttrToMarked() local 1006 if (nWhich>=EE_CHAR_START && nWhich<=EE_CHAR_END) in SetAttrToMarked() 1007 aCharWhichIds.push_back( nWhich ); in SetAttrToMarked() 1021 while(!bPossibleGeomChange && nWhich) in SetAttrToMarked() 1026 if((nWhich >= SDRATTR_TEXT_MINFRAMEHEIGHT && nWhich <= SDRATTR_TEXT_CONTOURFRAME) in SetAttrToMarked() 1029 || nWhich == SDRATTR_3DOBJ_DEPTH in SetAttrToMarked() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | cellsh2.cxx | 1243 while (nWhich) in GetDBState() 1245 switch (nWhich) in GetDBState() 1265 rSet.DisableItem( nWhich ); in GetDBState() 1276 rSet.DisableItem( nWhich ); in GetDBState() 1294 rSet.DisableItem( nWhich ); in GetDBState() 1306 rSet.DisableItem( nWhich ); in GetDBState() 1337 if ( nWhich == SID_AUTO_FILTER ) in GetDBState() 1343 rSet.DisableItem( nWhich ); in GetDBState() 1354 rSet.DisableItem( nWhich ); in GetDBState() 1394 rSet.DisableItem( nWhich ); in GetDBState() [all …]
|
H A D | prevwsh.cxx | 747 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 748 while ( nWhich ) in GetState() 750 switch (nWhich) in GetState() 759 rSet.DisableItem(nWhich); in GetState() 764 rSet.DisableItem(nWhich); in GetState() 770 rSet.DisableItem(nWhich); in GetState() 774 rSet.DisableItem(nWhich); in GetState() 778 rSet.DisableItem(nWhich); in GetState() 782 SvxZoomItem aZoom( eZoom, nZoom, nWhich ); in GetState() 830 rSet.DisableItem( nWhich ); in GetState() [all …]
|
/trunk/main/svx/inc/svx/sdr/properties/ |
H A D | groupproperties.hxx | 42 virtual sal_Bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; 45 virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0); 48 virtual void PostItemChange(const sal_uInt16 nWhich); 86 virtual void ClearObjectItem(const sal_uInt16 nWhich = 0); 90 virtual void ClearObjectItemDirect(const sal_uInt16 nWhich = 0); 96 virtual void ClearMergedItem(const sal_uInt16 nWhich = 0);
|
/trunk/main/sw/source/ui/shells/ |
H A D | textsh.cxx | 803 sal_uInt16 nWhich = aIter.FirstWhich(); in StateInsert() local 812 while ( nWhich ) in StateInsert() 814 switch ( nWhich ) in StateInsert() 824 rSet.DisableItem( nWhich ); in StateInsert() 834 rSet.DisableItem( nWhich ); in StateInsert() 844 rSet.DisableItem( nWhich ); in StateInsert() 879 rSet.DisableItem(nWhich); in StateInsert() 944 rSet.DisableItem(nWhich); in StateInsert() 953 rSet.DisableItem(nWhich); in StateInsert() 976 rSet.DisableItem(nWhich); in StateInsert() [all …]
|
H A D | txtattr.cxx | 89 sal_uInt16 nWhich = rReq.GetSlot(); in ExecCharAttr() local 94 pArgs->GetItemState(nWhich, sal_False, &pItem); in ExecCharAttr() 96 Get( nWhich )).GetValue() ? STATE_ON : STATE_OFF; in ExecCharAttr() 104 switch ( nWhich ) in ExecCharAttr() 116 eEscape = nWhich == FN_SET_SUPER_SCRIPT ? in ExecCharAttr() 119 if( (nWhich == FN_SET_SUB_SCRIPT && nTmpEsc < 0) || in ExecCharAttr() 120 (nWhich == FN_SET_SUPER_SCRIPT && nTmpEsc > 0) ) in ExecCharAttr() 124 if( nWhich == FN_SET_SUB_SCRIPT ) in ExecCharAttr() 134 eEscape = nWhich == FN_SET_SUPER_SCRIPT ? in ExecCharAttr() 214 sal_uInt16 nWhich = rPool.GetWhich( nSlot ); in ExecCharAttrArgs() local [all …]
|
/trunk/main/svx/inc/svx/ |
H A D | postattr.hxx | 45 SvxPostItAuthorItem( sal_uInt16 nWhich ); 47 SvxPostItAuthorItem( const String& rAuthor, sal_uInt16 nWhich ); 77 SvxPostItDateItem( sal_uInt16 nWhich ); 79 SvxPostItDateItem( const String& rDate, sal_uInt16 nWhich ); 108 SvxPostItTextItem( sal_uInt16 nWhich ); 110 SvxPostItTextItem( const String& rText, sal_uInt16 nWhich );
|
/trunk/main/sw/source/core/doc/ |
H A D | docfld.cxx | 241 switch( nWhich ) in RemoveFldType() 250 if( RES_SETEXPFLD == nWhich ) in RemoveFldType() 256 nWhich = 0; in RemoveFldType() 261 if( nWhich ) in RemoveFldType() 1292 sal_uInt16 nWhich, n; in UpdateExpFlds() local 1447 if( RES_GETEXPFLD == nWhich ) in UpdateExpFlds() 1495 if( RES_GETEXPFLD == nWhich ) in UpdateExpFlds() 1688 switch(nWhich) in GetDBDesc() 2255 switch( nWhich ) in InsDelFldInFldLst() 2280 GetBodyNode( rFld, nWhich ); in InsDelFldInFldLst() [all …]
|
/trunk/main/sfx2/source/dialog/ |
H A D | styledlg.cxx | 153 sal_uInt16 nWhich = aIter.FirstWhich(); in IMPL_LINK() local 155 while ( nWhich ) in IMPL_LINK() 157 SfxItemState eState = pInSet->GetItemState( nWhich, sal_False ); in IMPL_LINK() 160 pExampleSet->ClearItem( nWhich ); in IMPL_LINK() 162 pExampleSet->Put( pInSet->Get( nWhich ) ); in IMPL_LINK() 163 nWhich = aIter.NextWhich(); in IMPL_LINK()
|
/trunk/main/sw/source/core/text/ |
H A D | redlnitr.cxx | 266 MSHORT nWhich = aIter.FirstWhich(); in _Seek() local 267 while( nWhich ) in _Seek() 270 if( ( nWhich < RES_CHRATR_END ) && in _Seek() 271 ( SFX_ITEM_SET == pSet->GetItemState( nWhich, sal_True, &pItem ) ) ) in _Seek() 279 if( RES_CHRATR_COLOR == nWhich ) in _Seek() 282 nWhich = aIter.NextWhich(); in _Seek() 381 MSHORT nWhich = aHints[i]->Which(); in _ChkSpecialUnderline() local 382 if( RES_CHRATR_UNDERLINE == nWhich || in _ChkSpecialUnderline() 383 RES_CHRATR_ESCAPEMENT == nWhich ) in _ChkSpecialUnderline()
|
/trunk/main/sfx2/source/doc/ |
H A D | objserv.cxx | 907 for ( sal_uInt16 nWhich = aIter.FirstWhich(); nWhich; nWhich = aIter.NextWhich() ) in GetState_Impl() local 909 switch ( nWhich ) in GetState_Impl() 914 rSet.DisableItem( nWhich ); in GetState_Impl() 936 rSet.DisableItem( nWhich ); in GetState_Impl() 944 nWhich, String(SfxResId(STR_SAVEDOC)))); in GetState_Impl() 946 rSet.DisableItem(nWhich); in GetState_Impl() 952 rSet.DisableItem( nWhich ); in GetState_Impl() 968 rSet.DisableItem(nWhich); in GetState_Impl() 978 rSet.DisableItem( nWhich ); in GetState_Impl() 994 rSet.DisableItem( nWhich ); in GetState_Impl() [all …]
|
/trunk/main/sd/source/ui/docshell/ |
H A D | docshell.cxx | 275 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 277 while ( nWhich ) in GetState() 279 sal_uInt16 nSlotId = SfxItemPool::IsWhich(nWhich) in GetState() 280 ? GetPool().GetSlotId(nWhich) in GetState() 281 : nWhich; in GetState() 321 rSet.Put(SfxUInt16Item(nWhich, nOpt)); in GetState() 334 rSet.Put(SfxVisibilityItem(nWhich, SvtCJKOptions().IsAnyEnabled())); in GetState() 341 nWhich = aIter.NextWhich(); in GetState()
|