/aoo42x/main/sc/source/ui/view/ |
H A D | pivotsh.cxx | 166 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 167 while (nWhich) in GetState() 169 switch (nWhich) in GetState() 177 rSet.DisableItem( nWhich ); in GetState() 185 rSet.DisableItem( nWhich ); in GetState() 189 nWhich = aIter.NextWhich(); in GetState()
|
H A D | tabvwsh9.cxx | 219 sal_uInt16 nWhich = aIter.FirstWhich(); in GetImageMapState() local 220 while ( nWhich ) in GetImageMapState() 222 switch ( nWhich ) in GetImageMapState() 239 rSet.DisableItem( nWhich ); in GetImageMapState() 243 rSet.Put( SfxBoolItem( nWhich, bThere ) ); in GetImageMapState() 267 nWhich = aIter.NextWhich(); in GetImageMapState()
|
H A D | tabvwsh2.cxx | 409 sal_uInt16 nWhich = aIter.FirstWhich(); in GetDrawState() local 411 while ( nWhich ) in GetDrawState() 413 switch ( nWhich ) in GetDrawState() 438 SfxAllEnumItem aItem( nWhich, nPutId ); in GetDrawState() 452 rSet.DisableItem( nWhich ); in GetDrawState() 457 rSet.Put( SfxBoolItem( nWhich, nDrawSfxId == SID_OBJECT_SELECT && IsDrawSelMode() ) ); in GetDrawState() 460 nWhich = aIter.NextWhich(); in GetDrawState()
|
/aoo42x/main/editeng/source/editeng/ |
H A D | editobj2.hxx | 81 sal_uInt16 nWhich = pItem->Which(); in IsFeature() local 82 return ( ( nWhich >= EE_FEATURE_START ) && in IsFeature() 83 ( nWhich <= EE_FEATURE_END ) ); in IsFeature() 92 XEditAttribute* FindAttrib( sal_uInt16 nWhich, sal_uInt16 nChar ) const; 260 virtual sal_Bool HasCharAttribs( sal_uInt16 nWhich = 0 ) const; 263 virtual sal_Bool RemoveCharAttribs( sal_uInt16 nWhich = 0 ); 264 virtual sal_Bool RemoveParaAttribs( sal_uInt16 nWhich = 0 );
|
H A D | editdoc2.cxx | 501 for ( sal_uInt16 nWhich = EE_PARA_START; nWhich <= EE_CHAR_END; nWhich++ ) in ConvertAndPutItems() local 505 sal_uInt16 nSourceWhich = nWhich; in ConvertAndPutItems() 506 sal_uInt16 nSlot = pDestPool->GetTrueSlotId( nWhich ); in ConvertAndPutItems() 517 MapUnit eDestUnit = pDestUnit ? *pDestUnit : (MapUnit)pDestPool->GetMetric( nWhich ); in ConvertAndPutItems() 523 rDest.Put( *pItem, nWhich ); in ConvertAndPutItems() 528 rDest.Put( rSource.Get( nSourceWhich ), nWhich ); in ConvertAndPutItems()
|
H A D | editdbg.cxx | 299 for ( sal_uInt16 nWhich = EE_PARA_START; nWhich <= EE_CHAR_END; nWhich++ ) in DbgOutItemSet() local 301 fprintf( fp, "\nWhich: %i\t", nWhich ); in DbgOutItemSet() 302 if ( rSet.GetItemState( nWhich, bSearchInParent ) == SFX_ITEM_OFF ) in DbgOutItemSet() 304 else if ( rSet.GetItemState( nWhich, bSearchInParent ) == SFX_ITEM_DONTCARE ) in DbgOutItemSet() 306 else if ( rSet.GetItemState( nWhich, bSearchInParent ) == SFX_ITEM_ON ) in DbgOutItemSet() 309 if ( !bShowALL && ( rSet.GetItemState( nWhich, bSearchInParent ) != SFX_ITEM_ON ) ) in DbgOutItemSet() 312 const SfxPoolItem& rItem = rSet.Get( nWhich, bSearchInParent ); in DbgOutItemSet()
|
/aoo42x/main/editeng/inc/editeng/ |
H A D | bulitem.hxx | 90 SvxBulletItem( sal_uInt16 nWhich = 0 ); 91 …SvxBulletItem( sal_uInt8 nStyle, const Font& rFont, sal_uInt16 nStart = 0, sal_uInt16 nWhich = 0 ); 92 SvxBulletItem( const Font& rFont, sal_Unicode cSymbol, sal_uInt16 nWhich=0 ); 93 SvxBulletItem( const Bitmap&, sal_uInt16 nWhich = 0 ); 94 SvxBulletItem( const GraphicObject&, sal_uInt16 nWhich = 0 ); 95 SvxBulletItem( SvStream& rStrm, sal_uInt16 nWhich = 0 );
|
/aoo42x/main/forms/source/richtext/ |
H A D | rtattributehandler.cxx | 150 WhichId nWhich = 0; in lcl_implGetWhich() local 153 case SID_ATTR_CHAR_LATIN_FONTHEIGHT:nWhich = EE_CHAR_FONTHEIGHT;break; in lcl_implGetWhich() 154 case SID_ATTR_CHAR_LATIN_FONT: nWhich = EE_CHAR_FONTINFO; break; in lcl_implGetWhich() 155 case SID_ATTR_CHAR_LATIN_LANGUAGE: nWhich = EE_CHAR_LANGUAGE; break; in lcl_implGetWhich() 156 case SID_ATTR_CHAR_LATIN_POSTURE: nWhich = EE_CHAR_ITALIC; break; in lcl_implGetWhich() 157 case SID_ATTR_CHAR_LATIN_WEIGHT: nWhich = EE_CHAR_WEIGHT; break; in lcl_implGetWhich() 160 nWhich = _rPool.GetWhich( (SfxSlotId)_nAttributeId ); in lcl_implGetWhich() 162 return nWhich; in lcl_implGetWhich()
|
/aoo42x/main/sc/source/ui/attrdlg/ |
H A D | tabpages.cxx | 108 sal_uInt16 nWhich = GetWhich( SID_SCATTR_PROTECTION ); in Reset() local 110 SfxItemState eItemState = rCoreAttrs.GetItemState( nWhich, sal_False, in Reset() 115 pProtAttr = (const ScProtectionAttr*)&(rCoreAttrs.Get(nWhich)); in Reset() 151 sal_uInt16 nWhich = GetWhich( SID_SCATTR_PROTECTION ); in FillItemSet() local 154 SfxItemState eItemState = rOldSet.GetItemState( nWhich, sal_False ); in FillItemSet() 175 rCoreAttrs.ClearItem( nWhich ); in FillItemSet()
|
/aoo42x/main/svx/inc/svx/sdr/properties/ |
H A D | customshapeproperties.hxx | 45 virtual sal_Bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; 51 virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem); 55 virtual void PostItemChange(const sal_uInt16 nWhich); 58 virtual void ClearObjectItem(const sal_uInt16 nWhich = 0); 62 virtual void ClearObjectItemDirect(const sal_uInt16 nWhich = 0);
|
H A D | emptyproperties.hxx | 46 virtual sal_Bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; 49 virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0); 52 virtual void PostItemChange(const sal_uInt16 nWhich); 80 virtual void ClearObjectItem(const sal_uInt16 nWhich = 0); 84 virtual void ClearObjectItemDirect(const sal_uInt16 nWhich = 0);
|
H A D | defaultproperties.hxx | 46 virtual sal_Bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; 49 virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0); 52 virtual void PostItemChange(const sal_uInt16 nWhich); 80 virtual void ClearObjectItem(const sal_uInt16 nWhich = 0); 84 virtual void ClearObjectItemDirect(const sal_uInt16 nWhich = 0);
|
/aoo42x/main/sd/source/ui/view/ |
H A D | outlnvsh.cxx | 1670 while ( nWhich ) in GetAttrState() 1673 ? GetPool().GetSlotId(nWhich) in GetAttrState() 1674 : nWhich; in GetAttrState() 1681 rSet.DisableItem( nWhich ); in GetAttrState() 1722 rSet.DisableItem(nWhich); in GetAttrState() 1738 rSet.DisableItem(nWhich); in GetAttrState() 1747 rSet.DisableItem(nWhich); in GetAttrState() 1752 nWhich = aIter.NextWhich(); in GetAttrState() 2138 while (nWhich) in GetState() 2140 switch (nWhich) in GetState() [all …]
|
H A D | drviews9.cxx | 778 sal_uInt16 nWhich = aIter.FirstWhich (); in AttrState() local 782 while (nWhich) in AttrState() 784 switch (nWhich) in AttrState() 790 rSet.Put (SfxUInt32Item (nWhich, (long) rFillStyleItem.GetValue ())); in AttrState() 798 rSet.Put (SfxUInt32Item (nWhich, (long) rLineStyleItem.GetValue ())); in AttrState() 806 rSet.Put (SfxUInt32Item (nWhich, (long) rLineWidthItem.GetValue ())); in AttrState() 860 rSet.Put (SfxUInt32Item (nWhich, (long) ((nWhich == SID_GETRED) in AttrState() 862 : (nWhich == SID_GETGREEN) in AttrState() 872 nWhich = aIter.NextWhich (); in AttrState()
|
/aoo42x/main/sc/inc/ |
H A D | attrib.hxx | 170 inline ScRangeItem( const sal_uInt16 nWhich ); 171 inline ScRangeItem( const sal_uInt16 nWhich, 228 inline ScTableListItem( const sal_uInt16 nWhich ); 271 ScPageHFItem( sal_uInt16 nWhich ); 305 ScViewObjectModeItem( sal_uInt16 nWhich ); 306 ScViewObjectModeItem( sal_uInt16 nWhich, ScVObjMode eMode ); 328 ScDoubleItem( sal_uInt16 nWhich, double nVal=0 );
|
/aoo42x/main/sc/source/ui/docshell/ |
H A D | docsh4.cxx | 1763 sal_uInt16 nWhich = aIter.FirstWhich(); in GetStatePageStyle() local 1764 while ( nWhich ) in GetStatePageStyle() 1766 switch (nWhich) in GetStatePageStyle() 1787 rSet.DisableItem( nWhich ); in GetStatePageStyle() 1793 nWhich = aIter.NextWhich(); in GetStatePageStyle() 1800 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 1801 while ( nWhich ) in GetState() 1803 switch (nWhich) in GetState() 1807 rSet.DisableItem( nWhich ); in GetState() 1853 rSet.Put( SfxUInt16Item( nWhich, in GetState() [all …]
|
/aoo42x/main/sw/source/core/txtnode/ |
H A D | atrfld.cxx | 57 SwFmtFld::SwFmtFld( sal_uInt16 nWhich ) in SwFmtFld() argument 58 : SfxPoolItem( nWhich ) in SwFmtFld() 361 const sal_uInt16 nWhich = pFld->GetTyp()->Which(); in ExpandTxtFld() local 362 if ( RES_CHAPTERFLD != nWhich in ExpandTxtFld() 363 && RES_PAGENUMBERFLD != nWhich in ExpandTxtFld() 364 && RES_REFPAGEGETFLD != nWhich in ExpandTxtFld() 367 …&& ( RES_DOCSTATFLD != nWhich || DS_PAGE != static_cast<const SwDocStatField*>(pFld)->GetSubType()… in ExpandTxtFld() 368 && ( RES_GETEXPFLD != nWhich || ((SwGetExpField*)pFld)->IsInBodyTxt() ) ) in ExpandTxtFld()
|
/aoo42x/main/sw/source/core/text/ |
H A D | txttab.cxx | 430 const MSHORT nWhich = GetWhichPor(); in PreFormat() local 431 switch( nWhich ) in PreFormat() 437 if( POR_TABDECIMAL == nWhich ) in PreFormat() 513 const MSHORT nWhich = GetWhichPor(); in PostFormat() local 514 ASSERT( POR_TABLEFT != nWhich, "SwTabPortion::PostFormat: already formatted" ); in PostFormat() 518 if ( bTabCompat && POR_TABDECIMAL == nWhich ) in PostFormat() 535 if( POR_TABCENTER == nWhich ) in PostFormat() 562 if( POR_TABDECIMAL == nWhich ) in PostFormat()
|
H A D | atrstck.cxx | 174 const SfxPoolItem* GetItem( const SwTxtAttr& rAttr, sal_uInt16 nWhich ) in GetItem() argument 185 sal_Bool bRet = SFX_ITEM_SET == pSet->GetItemState( nWhich, bInParent, &pItem ); in GetItem() 190 return ( nWhich == rAttr.Which() ) ? &rAttr.GetAttr() : 0; in GetItem() 198 sal_Bool IsItemIncluded( const sal_uInt16 nWhich, const SwTxtAttr *pAttr ) in IsItemIncluded() argument 204 bRet = SFX_ITEM_SET == pItemSet->GetItemState( nWhich, sal_True ); in IsItemIncluded() 437 sal_uInt16 nWhich; in Init() local 441 nWhich = pItem->Which(); in Init() 442 if (isCHRATR(nWhich)) in Init() 444 pDefaultArray[ StackPos[ nWhich ] ] = pItem; in Init()
|
/aoo42x/main/svtools/source/edit/ |
H A D | textdoc.cxx | 130 TextCharAttrib* TextCharAttribList::FindAttrib( sal_uInt16 nWhich, sal_uInt16 nPos ) in FindAttrib() argument 142 if ( ( pAttr->Which() == nWhich ) && pAttr->IsIn(nPos) ) in FindAttrib() 148 TextCharAttrib* TextCharAttribList::FindNextAttrib( sal_uInt16 nWhich, sal_uInt16 nFromPos, sal_uIn… in FindNextAttrib() argument 150 DBG_ASSERT( nWhich, "FindNextAttrib: Which?" ); in FindNextAttrib() 157 ( pAttr->Which() == nWhich ) ) in FindNextAttrib() 163 sal_Bool TextCharAttribList::HasAttrib( sal_uInt16 nWhich ) const in HasAttrib() 168 if ( pAttr->Which() == nWhich ) in HasAttrib() 191 TextCharAttrib* TextCharAttribList::FindEmptyAttrib( sal_uInt16 nWhich, sal_uInt16 nPos ) in FindEmptyAttrib() argument 203 …if ( ( pAttr->GetStart() == nPos ) && ( pAttr->GetEnd() == nPos ) && ( pAttr->Which() == nWhich ) ) in FindEmptyAttrib()
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | writerhelper.cxx | 306 const SfxItemPool &rSrcPool, sal_uInt16 nWhich) in TransformWhichBetweenPools() argument 308 sal_uInt16 nSlotId = rSrcPool.GetSlotId(nWhich); in TransformWhichBetweenPools() 309 if (IsValidSlotWhich(nSlotId, nWhich)) in TransformWhichBetweenPools() 310 nWhich = rDestPool.GetWhich(nSlotId); in TransformWhichBetweenPools() 312 nWhich = 0; in TransformWhichBetweenPools() 313 return nWhich; in TransformWhichBetweenPools() 317 const SwDoc &rDoc, sal_uInt16 nWhich) in GetSetWhichFromSwDocWhich() argument 321 nWhich = TransformWhichBetweenPools(*rSet.GetPool(), in GetSetWhichFromSwDocWhich() 322 rDoc.GetAttrPool(), nWhich); in GetSetWhichFromSwDocWhich() 324 return nWhich; in GetSetWhichFromSwDocWhich()
|
/aoo42x/main/svx/inc/svx/ |
H A D | drawitem.hxx | 48 SvxColorTableItem( XColorListSharedPtr aTable, sal_uInt16 nWhich ); 81 SvxGradientListItem( XGradientListSharedPtr aList, sal_uInt16 nWhich ); 115 SvxHatchListItem( XHatchListSharedPtr aList, sal_uInt16 nWhich ); 149 SvxBitmapListItem( XBitmapListSharedPtr aBL, sal_uInt16 nWhich ); 183 SvxDashListItem( XDashListSharedPtr aList, sal_uInt16 nWhich ); 217 SvxLineEndListItem( XLineEndListSharedPtr aList, sal_uInt16 nWhich );
|
/aoo42x/main/sc/source/ui/app/ |
H A D | scmod.cxx | 582 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 583 while ( nWhich ) in GetState() 585 switch ( nWhich ) in GetState() 610 rSet.Put( SfxBoolItem( nWhich, bAuto ) ); in GetState() 623 LanguageType eLang = ( nWhich == ATTR_CJK_FONT_LANGUAGE ) ? eCjk : in GetState() 624 ( ( nWhich == ATTR_CTL_FONT_LANGUAGE ) ? eCtl : eLatin ); in GetState() 625 rSet.Put( SvxLanguageItem( eLang, nWhich ) ); in GetState() 631 nWhich = aIter.NextWhich(); in GetState() 642 for( sal_uInt16 nWhich = aIter.FirstWhich(); nWhich != 0; nWhich = aIter.NextWhich() ) in HideDisabledSlots() local 644 ScViewUtil::HideDisabledSlot( rSet, rBindings, nWhich ); in HideDisabledSlots() [all …]
|
/aoo42x/main/sfx2/source/view/ |
H A D | viewfrm2.cxx | 403 for ( sal_uInt16 nWhich = *pRanges++; nWhich <= *pRanges; ++nWhich ) in GetState_Impl() local 405 switch(nWhich) in GetState_Impl() 413 rSet.Put( SfxStringItem( nWhich, aFact ) ); in GetState_Impl() 419 rSet.DisableItem(nWhich); in GetState_Impl() 427 rSet.DisableItem(nWhich); in GetState_Impl()
|
/aoo42x/main/sw/source/ui/app/ |
H A D | docsh.cxx | 1018 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 1020 while (nWhich) in GetState() 1022 switch ( nWhich ) in GetState() 1074 rSet.DisableItem( nWhich ); in GetState() 1081 rSet.DisableItem( nWhich ); in GetState() 1089 if ( FN_PRINT_LAYOUT == nWhich ) in GetState() 1097 rSet.DisableItem( nWhich ); in GetState() 1102 rSet.DisableItem( nWhich ); in GetState() 1108 rSet.Put( SfxUInt16Item( nWhich, in GetState() 1136 rSet.Put( SfxBoolItem( nWhich, bRet ) ); in GetState() [all …]
|