/trunk/main/svl/source/items/ |
H A D | itemprop.cxx | 344 sal_uInt16 nWhich = rEntry.nWID; in getPropertyState() local 347 SfxItemState eState = rSet.GetItemState( nWhich, sal_False ); in getPropertyState() 367 sal_uInt16 nWhich = pEntry->nWID; in getPropertyState() local 371 SfxItemState eState = rSet.GetItemState( nWhich, sal_False, &pItem ); in getPropertyState() 372 if(!pItem && nWhich != rSet.GetPool()->GetSlotId(nWhich)) in getPropertyState() 373 pItem = &rSet.GetPool()->GetDefaultItem(nWhich); in getPropertyState()
|
/trunk/main/sw/source/core/draw/ |
H A D | dcontact.cxx | 1552 sal_uInt16 nWhich = _rItem.Which(); in lcl_getAnchorFmt() local 1554 if ( RES_ATTRSET_CHG == nWhich ) in lcl_getAnchorFmt() 1559 else if ( RES_ANCHOR == nWhich ) in lcl_getAnchorFmt() 1582 sal_uInt16 nWhich = pNew ? pNew->Which() : 0; in Modify() local 1638 if ( RES_SURROUND == nWhich || in Modify() 1639 RES_OPAQUE == nWhich || in Modify() 1641 ( RES_ATTRSET_CHG == nWhich && in Modify() 1653 else if ( RES_UL_SPACE == nWhich || RES_LR_SPACE == nWhich || in Modify() 1654 RES_HORI_ORIENT == nWhich || RES_VERT_ORIENT == nWhich || in Modify() 1657 ( RES_ATTRSET_CHG == nWhich && in Modify() [all …]
|
/trunk/main/sw/source/core/undo/ |
H A D | rolbck.cxx | 121 sal_uInt16 nWhich = m_pAttr->Which(); in GetDescription() local 122 switch (nWhich) in GetDescription() 224 sal_uInt16 nWhich = pTxtHt->Which(); in SwHistorySetTxt() local 225 if ( RES_TXTATR_CHARFMT == nWhich ) in SwHistorySetTxt() 415 SwHistoryResetTxt::SwHistoryResetTxt( sal_uInt16 nWhich, in SwHistoryResetTxt() argument 419 , m_nAttr( nWhich ) in SwHistoryResetTxt() 831 const sal_uInt16 nWhich = aIter.GetCurItem()->Which(); in SwHistoryResetAttrSet() local 834 switch (nWhich) in SwHistoryResetAttrSet() 854 if (isCHRATR(nWhich)) in SwHistoryResetAttrSet() 1048 const sal_uInt16 nWhich(pNewValue->Which()); in Add() local [all …]
|
H A D | undobj1.cxx | 652 void SwUndoSetFlyFmt::PutAttr( sal_uInt16 nWhich, const SfxPoolItem* pItem ) in PutAttr() argument 654 if( pItem && pItem != GetDfltAttr( nWhich ) ) in PutAttr() 657 if( RES_ANCHOR == nWhich ) in PutAttr() 698 pItemSet->InvalidateItem( nWhich ); in PutAttr() 705 sal_uInt16 nWhich = pOld->Which(); in Modify() local 707 if( nWhich < POOLATTR_END ) in Modify() 708 PutAttr( nWhich, pOld ); in Modify() 709 else if( RES_ATTRSET_CHG == nWhich ) in Modify()
|
/trunk/main/sd/source/ui/dlg/ |
H A D | tpoption.cxx | 289 sal_uInt16 nWhich = GetWhich( SID_ATTR_METRIC ); in SdTpOptionsMisc() local 290 if ( rInAttrs.GetItemState( nWhich ) >= SFX_ITEM_AVAILABLE ) in SdTpOptionsMisc() 292 const SfxUInt16Item& rItem = (SfxUInt16Item&)rInAttrs.Get( nWhich ); in SdTpOptionsMisc() 520 sal_uInt16 nWhich = GetWhich( SID_ATTR_METRIC ); in Reset() local 523 if ( rAttrs.GetItemState( nWhich ) >= SFX_ITEM_AVAILABLE ) in Reset() 525 const SfxUInt16Item& rItem = (SfxUInt16Item&)rAttrs.Get( nWhich ); in Reset() 539 nWhich = GetWhich( SID_ATTR_DEFTABSTOP ); in Reset() 540 if( rAttrs.GetItemState( nWhich ) >= SFX_ITEM_AVAILABLE ) in Reset() 542 SfxMapUnit eUnit = rAttrs.GetPool()->GetMetric( nWhich ); in Reset() 543 const SfxUInt16Item& rItem = (SfxUInt16Item&)rAttrs.Get( nWhich ); in Reset()
|
/trunk/main/sfx2/source/dialog/ |
H A D | itemconnect.cxx | 63 sal_uInt16 nWhich = GetWhichId( rItemSet, nSlot ); in GetUniqueItem() local 64 …return (rItemSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_DEFAULT) ? rItemSet.GetItem( nWhich,… in GetUniqueItem() 74 sal_uInt16 nWhich = GetWhichId( rDestSet, nSlot ); in RemoveDefaultItem() local 75 if( rOldSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_DEFAULT ) in RemoveDefaultItem() 76 rDestSet.ClearItem( nWhich ); in RemoveDefaultItem()
|
/trunk/main/editeng/source/editeng/ |
H A D | editdoc.hxx | 173 const SfxPoolItem* FindAttrib( sal_uInt16 nWhich ); 195 const SfxPoolItem& GetItem( sal_uInt16 nWhich ); 196 sal_Bool HasItem( sal_uInt16 nWhich ); 218 EditCharAttrib* FindAttrib( sal_uInt16 nWhich, sal_uInt16 nPos ); 219 EditCharAttrib* FindNextAttrib( sal_uInt16 nWhich, sal_uInt16 nFromPos ) const; 220 EditCharAttrib* FindEmptyAttrib( sal_uInt16 nWhich, sal_uInt16 nPos ); 236 sal_Bool HasAttrib( sal_uInt16 nWhich ) const; 758 …l RemoveAttribs( ContentNode* pNode, sal_uInt16 nStart, sal_uInt16 nEnd, sal_uInt16 nWhich = 0 ); 759 …, sal_uInt16 nEnd, EditCharAttrib*& rpStarting, EditCharAttrib*& rpEnding, sal_uInt16 nWhich = 0 );
|
/trunk/main/sw/source/core/attr/ |
H A D | swatrset.cxx | 183 sal_uInt16 nWhich = aIter.FirstWhich(); in Clone() local 184 while ( nWhich ) in Clone() 187 if ( SFX_ITEM_SET == GetItemState( nWhich, sal_False, &pItem ) ) in Clone() 189 nWhich = aIter.NextWhich(); in Clone() 224 sal_uInt16 SwAttrSet::ClearItem_BC( sal_uInt16 nWhich, in ClearItem_BC() argument 229 sal_uInt16 nRet = SfxItemSet::ClearItem( nWhich ); in ClearItem_BC()
|
/trunk/main/svx/source/table/ |
H A D | tablecontroller.cxx | 400 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 401 while (nWhich) in GetState() 403 switch (nWhich) in GetState() 411 rSet.DisableItem(nWhich); in GetState() 482 nWhich = aIter.NextWhich(); in GetState() 882 … for ( sal_uInt16 nWhich = SDRATTR_START; nWhich <= SDRATTR_TABLE_LAST; nWhich++ ) in SetTableStyle() local 884 …if( (rStyleAttribs.GetItemState( nWhich ) == SFX_ITEM_ON) && (aSet.GetItemState( nWhich ) == SFX_I… in SetTableStyle() 2015 sal_uInt16 nWhich(aIter.FirstWhich()); in MergeAttrFromSelectedCells() local 2016 while(nWhich) in MergeAttrFromSelectedCells() 2021 rAttr.InvalidateItem(nWhich); in MergeAttrFromSelectedCells() [all …]
|
/trunk/main/sfx2/inc/ |
H A D | msgnodei.hxx | 104 SfxMsgReceiverListItem( sal_uInt16 nWhich ); 105 SfxMsgReceiverListItem( sal_uInt16 nWhich, SvStream& rStream ); 157 SfxMsgAttachFileListItem( sal_uInt16 nWhich ); 158 SfxMsgAttachFileListItem( sal_uInt16 nWhich, SvStream& rStream ); 195 SfxMsgPriorityItem( sal_uInt16 nWhich, SfxMsgPriority = MSG_PRIORITY_NORMAL);
|
/trunk/main/sd/source/ui/inc/ |
H A D | optsitem.hxx | 187 SdOptionsLayoutItem( sal_uInt16 nWhich); 188 SdOptionsLayoutItem( sal_uInt16 nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL ); 227 SdOptionsContentsItem( sal_uInt16 nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL ); 390 SdOptionsMiscItem( sal_uInt16 nWhich); 391 SdOptionsMiscItem( sal_uInt16 nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL ); 465 SdOptionsSnapItem( sal_uInt16 nWhich); 466 SdOptionsSnapItem( sal_uInt16 nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL ); 557 SdOptionsGridItem( sal_uInt16 nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL ); 656 SdOptionsPrintItem( sal_uInt16 nWhich); 657 SdOptionsPrintItem( sal_uInt16 nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL );
|
/trunk/main/editeng/source/uno/ |
H A D | unoforou.cxx | 189 …rder::RemoveAttribs( const ESelection& rSelection, sal_Bool bRemoveParaAttribs, sal_uInt16 nWhich ) in RemoveAttribs() argument 191 rOutliner.RemoveAttribs( rSelection, bRemoveParaAttribs, nWhich ); in RemoveAttribs() 252 …16 GetSvxEditEngineItemState( EditEngine& rEditEngine, const ESelection& rSel, sal_uInt16 nWhich ); 254 sal_uInt16 SvxOutlinerForwarder::GetItemState( const ESelection& rSel, sal_uInt16 nWhich ) const in GetItemState() 256 return GetSvxEditEngineItemState( (EditEngine&)rOutliner.GetEditEngine(), rSel, nWhich ); in GetItemState() 259 sal_uInt16 SvxOutlinerForwarder::GetItemState( sal_uInt32 nPara, sal_uInt16 nWhich ) const in GetItemState() 262 return rSet.GetItemState( nWhich ); in GetItemState()
|
/trunk/main/sw/source/core/fields/ |
H A D | flddropdown.cxx | 199 sal_Bool SwDropDownField::QueryValue(::uno::Any &rVal, sal_uInt16 nWhich) const in QueryValue() 201 nWhich &= ~CONVERT_TWIPS; in QueryValue() 202 switch( nWhich ) in QueryValue() 228 sal_uInt16 nWhich) in PutValue() argument 230 switch( nWhich ) in PutValue()
|
/trunk/main/sfx2/source/appl/ |
H A D | appserv.cxx | 565 for(sal_uInt16 nWhich = *pRanges++; nWhich <= *pRanges; ++nWhich) in MiscState_Impl() local 567 switch(nWhich) in MiscState_Impl() 571 rSet.Put(SfxVisibilityItem(nWhich, sal_False)); in MiscState_Impl() 577 rSet.DisableItem(nWhich); in MiscState_Impl() 579 rSet.Put(SfxStringItem(nWhich, String(SfxResId(STR_QUITAPP)))); in MiscState_Impl() 585 rSet.DisableItem(nWhich); in MiscState_Impl() 615 rSet.DisableItem(nWhich); in MiscState_Impl() 634 rSet.DisableItem( nWhich ); in MiscState_Impl()
|
/trunk/main/svl/inc/svl/ |
H A D | aeitem.hxx | 44 SfxAllEnumItem( sal_uInt16 nWhich); 45 SfxAllEnumItem( sal_uInt16 nWhich, sal_uInt16 nVal ); 46 SfxAllEnumItem( sal_uInt16 nWhich, sal_uInt16 nVal, const XubString &rText ); 47 SfxAllEnumItem( sal_uInt16 nWhich, SvStream &rStream );
|
H A D | dateitem.hxx | 45 SfxDateTimeItem( sal_uInt16 nWhich ); 46 SfxDateTimeItem( sal_uInt16 nWhich, 84 SfxColumnDateTimeItem( sal_uInt16 nWhich ); 85 SfxColumnDateTimeItem( sal_uInt16 nWhich,
|
/trunk/main/svx/inc/svx/ |
H A D | xit.hxx | 57 NameOrIndex(sal_uInt16 nWhich, sal_Int32 nIndex); 58 NameOrIndex(sal_uInt16 nWhich, 60 NameOrIndex(sal_uInt16 nWhich, SvStream& rIn); 80 …static String CheckNamedItem( const NameOrIndex* pCheckItem, const sal_uInt16 nWhich, const SfxIte…
|
/trunk/main/sw/inc/ |
H A D | fmtfld.hxx | 43 SwFmtFld( sal_uInt16 nWhich ); // for default-Attibute 119 sal_Int16 nWhich; member in SwFmtFldHint 125 , nWhich(n) in SwFmtFldHint() 131 sal_Int16 Which() const { return nWhich; } in Which()
|
/trunk/main/dbaccess/source/ui/inc/ |
H A D | ConnectionLineData.hxx | 79 void SetFieldName(EConnectionSide nWhich, const ::rtl::OUString& strFieldName) in SetFieldName() argument 81 if (nWhich==JTCS_FROM) in SetFieldName() 93 …::rtl::OUString GetFieldName(EConnectionSide nWhich) const { return (nWhich == JTCS_FROM) ? m_aSou… in GetFieldName()
|
/trunk/main/svx/source/sdr/properties/ |
H A D | itemsettools.cxx | 117 sal_uInt16 nWhich(aIter.FirstWhich()); in ScaleItemSet() local 120 while(nWhich) in ScaleItemSet() 122 if(SFX_ITEM_SET == rSet.GetItemState(nWhich, sal_False, &pItem)) in ScaleItemSet() 131 nWhich = aIter.NextWhich(); in ScaleItemSet()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewsrch.cxx | 433 sal_uInt16 nWhich = SID_SEARCH_SEARCHSET; in ExecSearch() local 437 nWhich = SID_SEARCH_REPLACESET; in ExecSearch() 450 rReq.SetReturnValue( SvxSetItem( nWhich, aSet ) ); in ExecSearch() 768 sal_uInt16 nWhich = aIter.FirstWhich(); in StateSearch() local 770 while(nWhich) in StateSearch() 772 switch(nWhich) in StateSearch() 842 nWhich = aIter.NextWhich(); in StateSearch()
|
H A D | view2.cxx | 1204 ASSERT( nWhich, "leeres Set"); in StateStatusLine() 1230 while( nWhich ) in StateStatusLine() 1232 switch( nWhich ) in StateStatusLine() 1561 rSet.DisableItem( nWhich ); in StateStatusLine() 1568 nWhich = aIter.NextWhich(); in StateStatusLine() 1584 switch( nWhich ) in ExecuteStatusLine() 1802 nWhich = FN_STAT_SELMODE; in ExecuteStatusLine() 1807 nWhich = FN_STAT_SELMODE; in ExecuteStatusLine() 1812 nWhich = FN_STAT_SELMODE; in ExecuteStatusLine() 1830 rBnd.Invalidate(nWhich); in ExecuteStatusLine() [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | MediaObjectBar.cxx | 97 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 99 while( nWhich ) in GetState() 101 if( SID_AVMEDIA_TOOLBOX == nWhich ) in GetState() 126 nWhich = aIter.NextWhich(); in GetState()
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | mediash.cxx | 75 sal_uInt16 nWhich = aIter.FirstWhich(); in GetMediaState() local 77 while( nWhich ) in GetMediaState() 79 if( SID_AVMEDIA_TOOLBOX == nWhich ) in GetMediaState() 104 nWhich = aIter.NextWhich(); in GetMediaState()
|
/trunk/main/cui/source/tabpages/ |
H A D | paragrph.cxx | 236 sal_uInt16 nWhich; in FillItemSet() local 244 nWhich = GetWhich( SID_ATTR_PARA_LINESPACE ); in FillItemSet() 245 SfxMapUnit eUnit = pPool->GetMetric( nWhich ); in FillItemSet() 274 eState = GetItemSet().GetItemState( nWhich ); in FillItemSet() 287 nWhich = GetWhich( SID_ATTR_ULSPACE ); in FillItemSet() 288 SfxMapUnit eUnit = pPool->GetMetric( nWhich ); in FillItemSet() 290 SvxULSpaceItem aMargin( nWhich ); in FillItemSet() 317 eState = GetItemSet().GetItemState( nWhich ); in FillItemSet() 333 nWhich = GetWhich( SID_ATTR_LRSPACE ); in FillItemSet() 335 SvxLRSpaceItem aMargin( nWhich ); in FillItemSet() [all …]
|