/trunk/main/editeng/source/editeng/ |
H A D | editattr.cxx | 83 …DBG_ASSERT( ( rAttr.Which() >= EE_ITEMS_START ) && ( rAttr.Which() <= EE_ITEMS_END ), "EditCharAtt… in EditCharAttrib() 84 …DBG_ASSERT( ( rAttr.Which() < EE_FEATURE_START ) || ( rAttr.Which() > EE_FEATURE_END ) || ( nE == … in EditCharAttrib() 98 …DBG_ASSERT( rAttr.Which() == EE_CHAR_FONTINFO || rAttr.Which() == EE_CHAR_FONTINFO_CJK || rAttr.Wh… in EditCharAttribFont() 117 …DBG_ASSERT( rAttr.Which() == EE_CHAR_ITALIC || rAttr.Which() == EE_CHAR_ITALIC_CJK || rAttr.Which(… in EditCharAttribItalic() 131 …DBG_ASSERT( rAttr.Which() == EE_CHAR_WEIGHT || rAttr.Which() == EE_CHAR_WEIGHT_CJK || rAttr.Which(… in EditCharAttribWeight() 177 …DBG_ASSERT( rAttr.Which() == EE_CHAR_FONTHEIGHT || rAttr.Which() == EE_CHAR_FONTHEIGHT_CJK || rAtt… in EditCharAttribFontHeight() 220 DBG_ASSERT( rAttr.Which() == EE_CHAR_COLOR, "Kein Colorattribut!" ); in EditCharAttribColor() 234 …DBG_ASSERT( ( rAttr.Which() == EE_CHAR_LANGUAGE ) || ( rAttr.Which() == EE_CHAR_LANGUAGE_CJK ) || … in EditCharAttribLanguage() 248 DBG_ASSERT( rAttr.Which() == EE_CHAR_SHADOW, "Kein Shadowattribut!" ); in EditCharAttribShadow() 393 DBG_ASSERT( rAttr.Which() == EE_CHAR_KERNING, "Kein Kerning!" ); in EditCharAttribKerning() [all …]
|
H A D | editdoc.cxx | 268 switch( rNew.Which() ) in MakeCharAttrib() 801 sal_uInt16 nW = pAttrib->GetItem()->Which(); in ExpandAttribs() 1030 if ( ( pTmpAttrib->Which() == pAttrib->Which() ) && in AppendAttribs() 1199 while ( pItem && ( pItem->Which() != nWhich ) ) in FindAttrib() 1424 switch ( pNextFeature->GetItem()->Which() ) in GetParaAsString() 1454 if ( pAttr->Which() == EE_FEATURE_FIELD ) in GetTextLen() 1702 sal_uInt16 nAttrWhich = pAttr->Which(); in RemoveAttribs() 1885 sal_uInt16 nWhich = pItem->Which(); in FindAttribs() 1943 sal_uInt16 nWhich = pItem->Which(); in FindAttribs() 2045 …( !pAttr->IsFeature() && ( p->GetStart() == pAttr->GetEnd() ) && ( p->Which() == pAttr->Which() ) ) in OptimizeRanges() [all …]
|
/trunk/main/sw/source/core/txtnode/ |
H A D | thints.cxx | 243 switch (pNew->Which()) in MakeTxtAttrNesting() 970 switch (rAttr.Which()) in MakeRedlineTxtAttr() 1005 if ( isCHRATR(rAttr.Which()) ) in MakeTxtAttr() 1034 switch( rNew.Which() ) in MakeTxtAttr() 1139 switch( pAttr->Which() ) in DestroyAttr() 1293 switch( pAttr->Which() ) in InsertHint() 1512 switch( pAttr->Which() ) in InsertHint() 1685 pAttr->Which()); in DeleteAttribute() 2743 if ( *p1->End() < *p2->GetStart() || p1->Which() != p2->Which() || !(*p1 == *p2) ) in MergePortions() 3220 switch( pDel->Which() ) in ClearSwpHintsArr() [all …]
|
H A D | atrfld.cxx | 73 if ( GetField()->GetTyp()->Which() == RES_INPUTFLD ) in SwFmtFld() 101 if ( GetField()->GetTyp()->Which() == RES_INPUTFLD ) in SwFmtFld() 119 if (pType && pType->Which() == RES_DBFLD) in ~SwFmtFld() 129 switch( pType->Which() ) in ~SwFmtFld() 166 if ( GetField()->GetTyp()->Which() == RES_INPUTFLD ) in SetField() 226 && pNew->Which() == RES_OBJECTDYING ) in Modify() 236 switch (pNew->Which()) in Modify() 267 switch (GetField()->GetTyp()->Which()) in Modify() 280 if ( RES_USERFLD == GetField()->GetTyp()->Which() ) in Modify() 297 if( RES_AUTOFMT_DOCNODE != rInfo.Which() || in GetInfo() [all …]
|
H A D | ndhints.cxx | 63 (((aDbstream << '\t').WriteNumber( i )<< " [").WriteNumber( pHt->Which() ) in _SV_IMPL_SORTAR_ALG() 104 const sal_uInt16 nWhich1 = rHt1.Which(); in lcl_IsLessStart() 105 const sal_uInt16 nWhich2 = rHt2.Which(); in lcl_IsLessStart() 140 const sal_uInt16 nWhich1 = rHt1.Which(); in lcl_IsLessEnd() 141 const sal_uInt16 nWhich2 = rHt2.Which(); in lcl_IsLessEnd() 357 sal_uInt16 nWhich = pHt->Which(); in Check() 362 nWhich = pHtEnd->Which(); in Check() 371 … ( RES_TXTATR_CHARFMT != pHtLast->Which() && RES_TXTATR_AUTOFMT != pHtLast->Which() ) || in Check() 372 … ( RES_TXTATR_CHARFMT != pHtThis->Which() && RES_TXTATR_AUTOFMT != pHtThis->Which() ) || in Check() 379 && ( (pHtThis->Which() != RES_TXTATR_AUTOFMT) in Check() [all …]
|
H A D | txtatr2.cxx | 68 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0; in ModifyNotification() 86 if ( RES_AUTOFMT_DOCNODE != rInfo.Which() || !m_pTxtNode || in GetInfo() 190 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0; in Modify() 209 if ( RES_AUTOFMT_DOCNODE != rInfo.Which() || !m_pTxtNode || in GetInfo() 243 sal_uInt16 nWhich = pOld ? pOld->Which() : pNew ? pNew->Which() : 0; in Modify() 261 if( RES_AUTOFMT_DOCNODE != rInfo.Which() || !m_pTxtNode || in GetInfo()
|
/trunk/main/sw/source/core/text/ |
H A D | atrstck.cxx | 150 if ( RES_TXTATR_AUTOFMT == rAttr.Which() ) in GetItemSet() 176 if ( RES_TXTATR_INETFMT == rAttr.Which() || in GetItem() 177 RES_TXTATR_CHARFMT == rAttr.Which() || in GetItem() 178 RES_TXTATR_AUTOFMT == rAttr.Which() ) in GetItem() 226 RES_TXTATR_INETFMT != rAttr.Which() || in lcl_ChgHyperLinkColor() 227 RES_CHRATR_COLOR != rItem.Which() ) in lcl_ChgHyperLinkColor() 441 nWhich = pItem->Which(); in Init() 477 RES_TXTATR_AUTOFMT == rAttr.Which() ) in PushAndChg() 561 RES_TXTATR_AUTOFMT == rAttr.Which() ) in PopAndChg() 588 ActivateTop( rFnt, rAttr.Which() ); in PopAndChg() [all …]
|
/trunk/main/sw/inc/ |
H A D | txatbase.hxx | 108 inline sal_uInt16 Which() const { return GetAttr().Which(); } in Which() function in SwTxtAttr 174 ASSERT( m_pAttr && m_pAttr->Which() == RES_TXTATR_CHARFMT, in GetCharFmt() 181 ASSERT( m_pAttr && m_pAttr->Which() == RES_TXTATR_AUTOFMT, in GetAutoFmt() 189 && ( m_pAttr->Which() == RES_TXTATR_FIELD in GetFmtFld() 190 || m_pAttr->Which() == RES_TXTATR_ANNOTATION in GetFmtFld() 204 ASSERT( m_pAttr && m_pAttr->Which() == RES_TXTATR_FLYCNT, in GetFlyCnt() 211 ASSERT( m_pAttr && m_pAttr->Which() == RES_TXTATR_TOXMARK, in GetTOXMark() 218 ASSERT( m_pAttr && m_pAttr->Which() == RES_TXTATR_REFMARK, in GetRefMark() 225 ASSERT( m_pAttr && m_pAttr->Which() == RES_TXTATR_INETFMT, in GetINetFmt() 232 ASSERT( m_pAttr && m_pAttr->Which() == RES_TXTATR_CJK_RUBY, in GetRuby() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdattr.cxx | 383 sal_uInt16 nWhich=rItem.Which(); in GetPresentation() 698 sal_uInt16 nId=Which(); in IsPoolable() 741 return new SdrScaleItem(Which(),rIn); in Create() 788 sal_uInt16 nId=Which(); in IsPoolable() 828 sal_uInt16 nId=Which(); in IsPoolable() 871 sal_uInt16 nId=Which(); in IsPoolable() 968 sal_uInt16 nId=Which(); in IsPoolable() 1029 sal_uInt16 nId=Which(); in IsPoolable() 1508 sal_uInt16 nId=Which(); in IsPoolable() 1618 sal_uInt16 nId=Which(); in IsPoolable() [all …]
|
/trunk/main/sw/source/core/attr/ |
H A D | format.cxx | 289 sal_uInt16 nWhich = pOldValue ? pOldValue->Which() : in Modify() 290 pNewValue ? pNewValue->Which() : 0 ; in Modify() 413 ASSERT( Which()==pDerFrom->Which() in SetDerivedFrom() 414 || ( Which()==RES_CONDTXTFMTCOLL && pDerFrom->Which()==RES_TXTFMTCOLL) in SetDerivedFrom() 415 || ( Which()==RES_TXTFMTCOLL && pDerFrom->Which()==RES_CONDTXTFMTCOLL) in SetDerivedFrom() 416 || ( Which()==RES_FLYFRMFMT && pDerFrom->Which()==RES_FRMFMT ), in SetDerivedFrom() 496 const sal_uInt16 nWhich = rAttr.Which(); in SetFmtAttr() 544 const sal_uInt16 nFmtWhich = Which(); in SetFmtAttr() 551 if ( nFmtWhich == RES_TXTFMTCOLL && rAttr.Which() == RES_PARATR_NUMRULE ) in SetFmtAttr() 649 const sal_uInt16 nFmtWhich = Which(); in SetFmtAttr() [all …]
|
/trunk/main/sw/source/core/undo/ |
H A D | rolbck.cxx | 82 switch ( m_pAttr->Which() ) in SwHistorySetFmt() 121 sal_uInt16 nWhich = m_pAttr->Which(); in GetDescription() 192 , m_nWhich( pFmtHt->Which() ) in SwHistoryResetFmt() 224 sal_uInt16 nWhich = pTxtHt->Which(); in SwHistorySetTxt() 246 if ( RES_TXTATR_CHARFMT == m_pAttr->Which() ) in SetInDoc() 736 switch ( pItem->Which() ) in SwHistorySetAttrSet() 1084 sal_uInt16 nAttrWhich = pHint->Which(); in Add() 1155 const sal_uInt16 nWh = rFmt.Which(); in Add() 1344 switch( pHt->Which() ) in CopyAttr() 1410 if ( pNew->Which() < POOLATTR_END ) in Modify() [all …]
|
H A D | unattr.cxx | 75 if ( pOld->Which() == RES_OBJECTDYING ) in Modify() 81 if( POOLATTR_END >= pOld->Which() ) in Modify() 130 , m_nFmtWhich( rChgFmt.Which() ) in SwUndoFmtAttr() 142 , m_nFmtWhich( rChgFmt.Which() ) in SwUndoFmtAttr() 414 if ( RES_ANCHOR == rItem.Which() ) in PutAttr() 425 if ( RES_DRAWFRMFMT == m_pFmt->Which() ) in SaveFlyAnchor() 511 if( RES_DRAWFRMFMT == pFrmFmt->Which() ) in RestoreFlyAnchor() 574 if ( RES_DRAWFRMFMT == pFrmFmt->Which() ) in RestoreFlyAnchor() 608 if( RES_DRAWFRMFMT != pFrmFmt->Which() ) in RestoreFlyAnchor() 796 , m_AttrSet( rRange.GetDoc()->GetAttrPool(), rAttr.Which(), rAttr.Which() ) in SwUndoAttr() [all …]
|
H A D | undobj1.cxx | 74 if ( RES_DRAWFRMFMT == pFrmFmt->Which() ) in InsFly() 108 if( RES_DRAWFRMFMT != pFrmFmt->Which() ) in InsFly() 173 if ( RES_DRAWFRMFMT != pFrmFmt->Which() ) in DelFly() 183 else if ( RES_DRAWFRMFMT == pFrmFmt->Which() ) in DelFly() 239 : SwUndoFlyBase( pFormat, RES_DRAWFRMFMT == pFormat->Which() ? in SwUndoInsLayFmt() 394 if (RES_DRAWFRMFMT != pFrmFmt->Which()) in lcl_GetSwUndoId() 599 ASSERT( pHnt && pHnt->Which() == RES_TXTATR_FLYCNT, in UndoImpl() 705 sal_uInt16 nWhich = pOld->Which(); in Modify() 715 PutAttr( pItem->Which(), pItem ); in Modify()
|
/trunk/main/svl/source/items/ |
H A D | itemset.cxx | 88 pItem->Which() == 0 || pItem->Which() == nWh, in DBG_NAME() 91 !SfxItemPool::IsWhich(pItem->Which()) || in DBG_NAME() 309 else if ( !(*ppSrc)->Which() ) in SfxItemSet() 338 if( !(*ppFnd)->Which() ) in ~SfxItemSet() 404 if ( pItemToClear->Which() ) in ClearItem() 587 if ( rItem.Which() && ( IsInvalidItem(*ppFnd) || !(*ppFnd)->Which() ) ) in Put() 595 if( !rItem.Which() ) in Put() 619 if( !rItem.Which() ) in Put() 1143 : pItem->Which(); in Intersect() 1215 : pItem->Which(); in Differentiate() [all …]
|
H A D | itempool.cxx | 296 SFX_ASSERT( (*( ppStaticDefaults + n ))->Which() == n + nStart, in SetDefaults() 693 if ( IsInRange(rItem.Which()) ) in SetPoolDefaultItem() 696 ppPoolDefaults + GetIndex_Impl(rItem.Which()); in SetPoolDefaultItem() 749 nWhich = rItem.Which(); in Put() 765 SFX_ASSERT( USHRT_MAX != nIndex || rItem.Which() != nWhich || in Put() 878 SFX_ASSERT( !IsPoolDefaultItem(&rItem), rItem.Which(), in Remove() 882 const sal_uInt16 nWhich = rItem.Which(); in Remove() 899 !IsDefaultItem(&rItem), rItem.Which(), in Remove() 918 SFX_ASSERT( *ppItemArr, rItem.Which(), "removing Item not in Pool" ); in Remove() 927 SFX_ASSERT( 0, rItem.Which(), "removing Item without ref" ); in Remove() [all …]
|
H A D | poolio.cxx | 224 sal_uInt16 nSlotId = GetSlotId( (*ppDefItem)->Which(), sal_False ); in Store() 226 rStream << (*ppDefItem)->Which(); in Store() 261 sal_uInt16 nWh = pItem->Which(); in Store() 293 sal_uInt16 nSlotId = GetSlotId( pDefaultItem->Which(), sal_False ); in Store() 295 rStream << pDefaultItem->Which(); in Store() 1202 if ( !IsInRange(pItem->Which()) ) in GetSurrogate() 1222 SFX_ASSERT( 0, pItem->Which(), "Item not in the pool"); in GetSurrogate() 1583 if ( IsSlot( rItem.Which() ) ) in StoreItem() 1586 while ( !pPool->IsInStoringRange(rItem.Which()) ) in StoreItem() 1593 sal_uInt16 nSlotId = pPool->GetSlotId( rItem.Which(), sal_True ); in StoreItem() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | docfld.cxx | 94 nFldWhich = rFldTyp.Which(); in SV_IMPL_OP_PTRARR_SORT() 240 sal_uInt16 nWhich = pTmp->Which(); in RemoveFldType() 318 if( nResId == pFldType->Which() && in GetFldType() 344 switch( (*pFldTypes)[i]->Which() ) in UpdateFlds() 1215 switch( pFld->GetTyp()->Which() ) in FldsToExpand() 1774 switch( pFld->GetTyp()->Which() ) in GetAllUsedDB() 1951 switch( pFld->GetTyp()->Which() ) in ChangeDBFields() 2625 switch( rType.Which() ) in InsertFldType() 2658 switch( rType.Which() ) in RemoveFldType() 2722 if (pDstFld->GetTyp()->Which() == in UpdateFld() [all …]
|
/trunk/main/editeng/source/items/ |
H A D | textitem.cxx | 1736 return new SvxShadowedItem( nState, Which() ); in Create() 1797 return new SvxAutoKernItem( nState, Which() ); in Create() 1920 return new SvxContourItem( bValue, Which() ); in Create() 1981 return new SvxPropSizeItem( nSize, Which() ); in Create() 2100 return new SvxColorItem( rStrm, Which() ); in Create() 2242 return new SvxKerningItem( nValue, Which() ); in Create() 2829 return new SvxNoHyphenItem( bValue, Which() ); in Create() 2931 return new SvxBlinkItem( nState, Which() ); in Create() 3116 : SfxPoolItem( rAttr.Which() ), in SvxTwoLinesItem() 3403 if ( Which() == EE_CHAR_FONTWIDTH ) in Create() [all …]
|
H A D | paraitem.cxx | 572 return new SvxWidowsItem( nLines, Which() ); in Create() 644 return new SvxOrphansItem( nLines, Which() ); in Create() 959 SfxPoolItem( rTSI.Which() ), in SvxTabStopItem() 1455 return new SvxScriptSpaceItem( GetValue(), Which() ); in Clone() 1462 return new SvxScriptSpaceItem( bFlag, Which() ); in Create() 1563 return new SvxForbiddenRuleItem( GetValue(), Which() ); in Clone() 1572 return new SvxForbiddenRuleItem( nValue, Which() ); in Create() 1625 return new SvxParaVertAlignItem( GetValue(), Which() ); in Clone() 1632 return new SvxParaVertAlignItem( nVal, Which() ); in Create() 1711 return new SvxParaGridItem( GetValue(), Which() ); in Clone() [all …]
|
/trunk/main/sw/source/core/edit/ |
H A D | edfld.cxx | 77 if(rFldType.Which() == nResId) in GetFldTypeCount() 116 if(pFldType->Which() == nResId) in GetFldType() 153 if( (*pFldTypes)[i]->Which() == nResId && in RemoveFldType() 176 if( pFldType->Which() == nResId ) in RemoveFldType() 252 if( RES_INPUTFLD == rFld.Which() ) in lcl_FindInputFld() 265 else if( RES_SETEXPFLD == rFld.Which() in lcl_FindInputFld() 293 sal_uInt16 nFldWhich = rFld.GetTyp()->Which(); in UpdateFlds() 355 if( pCurFld->GetTyp()->Which() != in UpdateFlds() 356 rFld.GetTyp()->Which() ) in UpdateFlds() 494 sal_uInt16 nWhich = rFldType.Which(); in IsAnyDatabaseFieldInDoc()
|
/trunk/main/sw/source/core/fields/ |
H A D | fldbas.cxx | 207 sal_uInt16 SwField::Which() const in Which() function in SwField 210 return pType->Which(); in Which() 222 switch( pType->Which() ) in GetTypeId() 258 nRet = aTypeTab[ pType->Which() ]; in GetTypeId() 271 if (RES_DATETIMEFLD == GetTyp()->Which()) in GetFieldName() 362 ASSERT( pNewType && pNewType->Which() == pType->Which(), in ChgTyp() 374 switch( pType->Which() ) in HasClickHdl() 405 switch( pType->Which() ) in IsFixed() 485 : SwFieldType(rTyp.Which()), in SwValueFieldType() 672 !(Which() == RES_USERFLD && (GetSubType()&nsSwExtendedSubType::SUB_CMD) ) ) in SetLanguage()
|
/trunk/main/sc/source/core/data/ |
H A D | attrib.cxx | 154 DBG_ASSERT( Which() != rItem.Which() || Type() == rItem.Type(), "which ==, type !=" ); in operator ==() 155 return (Which() == rItem.Which()) in operator ==() 377 DBG_ASSERT( Which() != rItem.Which() || Type() == rItem.Type(), "which ==, type !=" ); in operator ==() 378 return (Which() == rItem.Which()) in operator ==() 502 : SfxPoolItem ( rCpy.Which() ), in ScTableListItem() 920 ScPageHFItem* pItem = new ScPageHFItem( Which() ); in Create() 1061 switch( Which() ) in GetPresentation() 1136 return new ScViewObjectModeItem( Which() ); in Create() 1146 return new ScViewObjectModeItem( Which(), (ScVObjMode)nVal); in Create() 1199 ScDoubleItem* pItem = new ScDoubleItem( Which(), nTmp ); in Create()
|
/trunk/main/cui/source/dialogs/ |
H A D | SpellAttrib.cxx | 77 return Which() == rAttr.Which() && in operator ==() 121 return Which() == rAttr.Which() && in operator ==() 165 return Which() == rAttr.Which() && in operator ==()
|
/trunk/main/svx/source/items/ |
H A D | chrtitem.cxx | 87 return new SvxChartStyleItem(rIn, Which()); in Create() 120 return new SvxChartDataDescrItem(rIn, Which()); in Create() 153 return new SvxChartTextOrderItem(rIn, Which()); in Create() 247 return new SvxChartTextOrientItem(rIn, Which()); in Create() 324 return new SvxDoubleItem(_fVal, Which()); in Create() 404 return new SvxChartKindErrorItem(rIn, Which()); in Create() 446 return new SvxChartIndicateItem(rIn, Which()); in Create() 488 return new SvxChartRegressItem(rIn, Which()); in Create()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlatr.cxx | 367 pFmt->Which() == RES_CONDTXTFMTCOLL; in SV_IMPL_OP_PTRARR_SORT() 574 ASSERT( RES_CONDTXTFMTCOLL==rFmt.Which() || RES_TXTFMTCOLL==rFmt.Which(), in OutHTML_SwFmt() 1390 switch( rItem.Which() ) in GetHTMLItemState() 1553 if( pItem->Which() == nWhich && in ExistsOnTagItem() 1590 sal_uInt16 nTstWhich = pItem->Which() ; in ExistsOffTagItem() 1696 sal_uInt16 nWhich = rItem.Which(); in SplitItem() 1719 if( pItem->Which() == nWhich && in SplitItem() 1851 || rItem.Which()==RES_CHRATR_BACKGROUND in InsertNoScript() 1852 || rItem.Which()==RES_CHRATR_OVERLINE); in InsertNoScript() 1939 switch( rItem.Which() ) in Insert() [all …]
|