/aoo42x/main/sw/source/ui/shells/ |
H A D | drwtxtsh.cxx | 189 while (nWhich) in StateDisableItems() 191 rSet.DisableItem( nWhich ); in StateDisableItems() 192 nWhich = aIter.NextWhich(); in StateDisableItems() 659 while( nWhich ) in StateUndo() 661 switch ( nWhich ) in StateUndo() 695 rSet.DisableItem( nWhich ); in StateUndo() 704 nWhich = aIter.NextWhich(); in StateUndo() 917 while ( nWhich ) in GetStatePropPanelAttr() 920 ? GetPool().GetSlotId(nWhich) in GetStatePropPanelAttr() 921 : nWhich; in GetStatePropPanelAttr() [all …]
|
H A D | beziersh.cxx | 251 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 253 while( nWhich ) in GetState() 255 switch( nWhich ) in GetState() 262 rSet.Put(SfxBoolItem(nWhich, nEditMode == nWhich)); in GetState() 302 rSet.DisableItem(nWhich); in GetState() 312 bEnable = nWhich == SID_BEZIER_EDGE; in GetState() 315 bEnable = nWhich == SID_BEZIER_SMOOTH; in GetState() 318 bEnable = nWhich == SID_BEZIER_SYMMTR; in GetState() 321 rSet.Put(SfxBoolItem(nWhich, bEnable)); in GetState() 350 nWhich = aIter.NextWhich(); in GetState()
|
H A D | textfld.cxx | 630 sal_uInt16 nWhich = aIter.FirstWhich(); in StateField() local 632 while (nWhich) in StateField() 634 switch (nWhich) in StateField() 685 rSet.DisableItem(nWhich); in StateField() 693 rSet.DisableItem(nWhich); in StateField() 722 rSet.DisableItem(nWhich); in StateField() 732 rSet.DisableItem(nWhich); in StateField() 740 if(nWhich == FN_POSTIT) in StateField() 747 rSet.DisableItem(nWhich); in StateField() 767 rSet.DisableItem(nWhich); in StateField() [all …]
|
H A D | listsh.cxx | 250 sal_uInt16 nWhich = aIter.FirstWhich(); in GetState() local 253 while ( nWhich ) in GetState() 255 switch( nWhich ) in GetState() 258 rSet.Put(SfxBoolItem(nWhich, GetShell().IsNoNum(sal_False))); in GetState() 263 rSet.DisableItem(nWhich); in GetState() 271 rSet.DisableItem(nWhich); in GetState() 276 rSet.DisableItem(nWhich); in GetState() 282 rSet.DisableItem(nWhich); in GetState() 286 nWhich = aIter.NextWhich(); in GetState()
|
/aoo42x/main/dbaccess/source/ui/querydesign/ |
H A D | QTableConnectionData.hxx | 77 ::rtl::OUString GetAliasName(EConnectionSide nWhich) const; 79 …sal_Int32 GetFieldIndex(EConnectionSide nWhich) const { return nWhich==JTCS_TO ? m_nDestEntryInde… in GetFieldIndex() 80 …void SetFieldIndex(EConnectionSide nWhich, sal_Int32 nVal) { if (nWhich==JTCS_TO) m_nDestEntryIn… in SetFieldIndex() argument 82 …ETableFieldType GetFieldType(EConnectionSide nWhich) const { return nWhich==JTCS_TO ? m_eDestType … in GetFieldType() 83 …void SetFieldType(EConnectionSide nWhich, ETableFieldType eType) { if (nWhich==JTCS_TO) m_eDestT… in SetFieldType() argument
|
/aoo42x/main/editeng/source/uno/ |
H A D | unofored.cxx | 104 sal_uInt16 nWhich = EE_PARA_START; in GetParaAttribs() local 105 while( nWhich <= EE_PARA_END ) in GetParaAttribs() 107 if( aSet.GetItemState( nWhich, sal_True ) != SFX_ITEM_ON ) in GetParaAttribs() 109 if( rEditEngine.HasParaAttrib( nPara, nWhich ) ) in GetParaAttribs() 110 aSet.Put( rEditEngine.GetParaAttrib( nPara, nWhich ) ); in GetParaAttribs() 112 nWhich++; in GetParaAttribs() 125 rEditEngine.RemoveAttribs( rSelection, bRemoveParaAttribs, nWhich ); in RemoveAttribs() 219 if( aAttrib.pAttr->Which() != nWhich ) in GetSvxEditEngineItemState() 309 return GetSvxEditEngineItemState( rEditEngine, rSel, nWhich ); in GetItemState() 312 sal_uInt16 SvxEditEngineForwarder::GetItemState( sal_uInt32 nPara, sal_uInt16 nWhich ) const in GetItemState() [all …]
|
/aoo42x/main/cui/source/tabpages/ |
H A D | labdlg.cxx | 266 sal_uInt16 nWhich; in Reset() local 270 nWhich = GetWhich( SDRATTR_CAPTIONANGLE ); in Reset() 274 nWhich = GetWhich( SDRATTR_CAPTIONESCABS ); in Reset() 275 eUnit = pPool->GetMetric( nWhich ); in Reset() 276 nEscAbs = ( ( const SdrCaptionEscAbsItem& ) rOutAttrs.Get( nWhich ) ).GetValue(); in Reset() 281 nWhich = GetWhich( SDRATTR_CAPTIONESCREL ); in Reset() 285 nWhich = GetWhich( SDRATTR_CAPTIONLINELEN ); in Reset() 286 eUnit = pPool->GetMetric( nWhich ); in Reset() 292 nWhich = GetWhich( SDRATTR_CAPTIONGAP ); in Reset() 293 eUnit = pPool->GetMetric( nWhich ); in Reset() [all …]
|
/aoo42x/main/svx/source/xoutdev/ |
H A D | xexch.cxx | 103 sal_uInt16 nWhich = aIter.FirstWhich(); in operator <<() local 110 while( nWhich ) in operator <<() 112 …if( SFX_ITEM_SET == rData.pXFillAttrSetItem->GetItemSet().GetItemState( nWhich, sal_False, &pItem … in operator <<() 117 rOStm << nWhich << nItemVersion2; in operator <<() 123 nWhich = aIter.NextWhich(); in operator <<() 149 sal_uInt16 nWhich, nItemVersion; in operator >>() local 160 rIStm >> nWhich >> nItemVersion; in operator >>() 162 if( nWhich ) in operator >>() 164 pNewItem = rData.pPool->GetDefaultItem( nWhich ).Create( rIStm, nItemVersion ); in operator >>()
|
/aoo42x/main/editeng/source/rtf/ |
H A D | svxrtf.cxx | 906 for( sal_uInt16 nWhich = aIter.GetCurWhich(); nWhich; nWhich = aIter.NextWhich() ) in _ClearStyleAttr() local 908 if( SFX_WHICH_MAX > nWhich && in _ClearStyleAttr() 910 rPool.GetDefaultItem( nWhich ) == *pItem ) in _ClearStyleAttr() 911 rSet.ClearItem( nWhich ); // loeschen in _ClearStyleAttr() 920 for( sal_uInt16 nWhich = aIter.GetCurWhich(); nWhich; nWhich = aIter.NextWhich() ) in _ClearStyleAttr() local 927 rSet.ClearItem( nWhich ); // loeschen in _ClearStyleAttr() 931 else if( SFX_WHICH_MAX > nWhich && in _ClearStyleAttr() 933 rPool.GetDefaultItem( nWhich ) == *pItem ) in _ClearStyleAttr() 934 rSet.ClearItem( nWhich ); // loeschen in _ClearStyleAttr() 1399 aMrgSet.ClearItem( nWhich ); in Compress() [all …]
|
/aoo42x/main/sw/source/ui/uiview/ |
H A D | viewtab.cxx | 667 Get( nWhich )); in ExecTabWin() 1082 sal_uInt16 nWhich = aIter.FirstWhich(); in StateTabWin() local 1085 while ( nWhich ) in StateTabWin() 1087 switch ( nWhich ) in StateTabWin() 1183 nWhich); in StateTabWin() 1240 nWhich); in StateTabWin() 1302 rSet.DisableItem(nWhich); in StateTabWin() 1326 aLR.SetWhich(nWhich); in StateTabWin() 1335 aUL.SetWhich(nWhich); in StateTabWin() 1341 rSet.InvalidateItem(nWhich); in StateTabWin() [all …]
|
H A D | pview.cxx | 1056 ASSERT(nWhich, leeres Set); in GetState() 1062 while(nWhich) in GetState() 1064 switch(nWhich) in GetState() 1068 rSet.DisableItem(nWhich); in GetState() 1085 rSet.DisableItem(nWhich); in GetState() 1171 rSet.DisableItem( nWhich ); in GetState() 1182 rSet.DisableItem( nWhich ); in GetState() 1201 nWhich = aIter.NextWhich(); in GetState() 1215 while (nWhich) in StateUndo() 1217 rSet.DisableItem(nWhich); in StateUndo() [all …]
|
/aoo42x/main/cui/source/dialogs/ |
H A D | postdlg.cxx | 102 sal_uInt16 nWhich = 0; in SvxPostItDialog() local 110 nWhich = rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_AUTHOR ); in SvxPostItDialog() 113 if ( rSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_AVAILABLE ) in SvxPostItDialog() 117 (const SvxPostItAuthorItem&)rSet.Get( nWhich ); in SvxPostItDialog() 123 nWhich = rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_DATE ); in SvxPostItDialog() 125 if ( rSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_AVAILABLE ) in SvxPostItDialog() 128 (const SvxPostItDateItem&)rSet.Get( nWhich ); in SvxPostItDialog() 137 nWhich = rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_TEXT ); in SvxPostItDialog() 139 if ( rSet.GetItemState( nWhich, sal_True ) >= SFX_ITEM_AVAILABLE ) in SvxPostItDialog() 142 (const SvxPostItTextItem&)rSet.Get( nWhich ); in SvxPostItDialog()
|
/aoo42x/main/sc/source/core/data/ |
H A D | global.cxx | 161 const sal_uInt16 nWhich ) in HasAttrChanged() argument 174 bInvalidate = (&rNewAttrs.Get( nWhich ) != &rOldAttrs.Get( nWhich )); in HasAttrChanged() 182 ? rOldAttrs.Get( nWhich ) in HasAttrChanged() 186 ? rNewAttrs.Get( nWhich ) in HasAttrChanged() 1000 switch ( nWhich ) in GetScriptedWhichID() 1004 nWhich = ATTR_CTL_FONT; in GetScriptedWhichID() 1023 switch ( nWhich ) in GetScriptedWhichID() 1027 nWhich = ATTR_CJK_FONT; in GetScriptedWhichID() 1046 switch ( nWhich ) in GetScriptedWhichID() 1050 nWhich = ATTR_FONT; in GetScriptedWhichID() [all …]
|
/aoo42x/main/svl/inc/svl/ |
H A D | itemset.hxx | 137 virtual const SfxPoolItem& Get( sal_uInt16 nWhich, sal_Bool bSrchInParent = sal_True ) const; 138 const SfxPoolItem* GetItem( sal_uInt16 nWhich, sal_Bool bSrchInParent = sal_True, 145 SfxItemState GetItemState( sal_uInt16 nWhich, 149 virtual void DisableItem(sal_uInt16 nWhich); 150 virtual void InvalidateItem( sal_uInt16 nWhich ); 151 virtual sal_uInt16 ClearItem( sal_uInt16 nWhich = 0); 153 void InvalidateAllItems(); HACK(via nWhich = 0) 158 virtual const SfxPoolItem* Put( const SfxPoolItem&, sal_uInt16 nWhich ); 221 virtual const SfxPoolItem* Put( const SfxPoolItem&, sal_uInt16 nWhich );
|
H A D | poolitem.hxx | 183 sal_uInt16 nWhich; member in SfxPoolItem 202 SfxPoolItem( sal_uInt16 nWhich = 0 ); 211 nWhich = nId; } in SetWhich() 214 return nWhich; } in Which() 359 SfxVoidItem( sal_uInt16 nWhich ); 360 SfxVoidItem( sal_uInt16 nWhich, SvStream & ); 374 void SetWhich(sal_uInt16 nWh) { nWhich = nWh; } in SetWhich() 387 SfxSetItem( sal_uInt16 nWhich, SfxItemSet *pSet ); 388 SfxSetItem( sal_uInt16 nWhich, const SfxItemSet &rSet ); 422 SfxInvalidItem( sal_uInt16 nWhich, const SfxPoolItem &rDefault );
|
/aoo42x/main/sw/source/core/attr/ |
H A D | hints.cxx | 178 const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich ) in GetDfltAttr() argument 180 return aAttrTab[ nWhich - POOLATTR_BEGIN ]; in GetDfltAttr() 183 const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich ) in GetDfltAttr() argument 185 ASSERT_ID( nWhich < POOLATTR_END && nWhich >= POOLATTR_BEGIN, in GetDfltAttr() 188 SfxPoolItem *pHt = aAttrTab[ nWhich - POOLATTR_BEGIN ]; in GetDfltAttr() 241 sal_uInt16 GetWhichOfScript( sal_uInt16 nWhich, sal_uInt16 nScript ) in GetWhichOfScript() argument 255 switch( nWhich ) in GetWhichOfScript() 306 nRet = nWhich; in GetWhichOfScript()
|
/aoo42x/main/sc/source/ui/view/ |
H A D | tabvwshh.cxx | 182 sal_uInt16 nWhich = aIter.FirstWhich(); in GetObjectState() local 183 while ( nWhich ) in GetObjectState() 185 switch (nWhich) in GetObjectState() 195 rSet.Put( SfxStringItem( nWhich, aName ) ); in GetObjectState() 213 if ( nWhich == SID_OBJECT_LEFT ) in GetObjectState() 215 else if ( nWhich == SID_OBJECT_TOP ) in GetObjectState() 217 else if ( nWhich == SID_OBJECT_WIDTH ) in GetObjectState() 224 rSet.Put( SfxInt32Item( nWhich, nVal ) ); in GetObjectState() 230 nWhich = aIter.NextWhich(); in GetObjectState()
|
/aoo42x/main/sw/source/core/doc/ |
H A D | docfmt.cxx | 117 sal_uInt16 nWhich; member 130 nWhich(nWhch), in ParaRstFmt() 144 nWhich(0), in ParaRstFmt() 1257 sal_uInt16 nWhich; in SetDefault() local 1263 nWhich = pItem->Which(); in SetDefault() 1268 if (isCHRATR(nWhich) || isTXTATR(nWhich)) in SetDefault() 1282 else if (isGRFATR(nWhich)) in SetDefault() 1286 else if (isFRMATR(nWhich) || isDrawingLayerAttribute(nWhich) ) //UUUU in SetDefault() 1302 nSlotId != nWhich && in SetDefault() 1775 pPara->nWhich++; in lcl_SetTxtFmtColl() [all …]
|
/aoo42x/main/sc/source/ui/unoobj/ |
H A D | styleuno.cxx | 1363 sal_uInt16 nWhich = pResultEntry->nWID; in getPropertyState() local 1366 nWhich = ATTR_BORDER; in getPropertyState() 1368 if ( IsScItemWid( nWhich ) ) in getPropertyState() 1433 sal_uInt16 nWhich = pResultEntry->nWID; in getPropertyDefault() local 1435 if ( IsScItemWid( nWhich ) ) in getPropertyDefault() 1442 if ( aEmptySet.GetPool()->GetSlotId(nWhich) == nWhich && in getPropertyDefault() 1484 else if ( IsScUnoWid( nWhich ) ) in getPropertyDefault() 1488 switch ( nWhich ) in getPropertyDefault() 2020 if ( IsScItemWid( nWhich ) ) in getPropertyValue() 2089 if ( pItemSet->GetPool()->GetSlotId(nWhich) == nWhich && in getPropertyValue() [all …]
|
/aoo42x/main/svx/source/unodraw/ |
H A D | unopool.cxx | 178 const sal_uInt16 nWhich = pPool->GetWhich( (sal_uInt16)pEntry->mnHandle ); in putAny() local 179 switch( nWhich ) in putAny() 202 ::std::auto_ptr<SfxPoolItem> pNewItem( pPool->GetDefaultItem( nWhich ).Clone() ); in putAny() 204 if( !pPool || (pPool->GetMetric(nWhich) == SFX_MAPUNIT_100TH_MM) ) in putAny() 259 const sal_uInt16 nWhich = pPool->GetWhich( ((sal_uInt16)(*ppEntries)->mnHandle) ); in _getPropertyStates() local 261 switch( nWhich ) in _getPropertyStates() 282 const SfxPoolItem& r1 = pPool->GetDefaultItem( nWhich ); in _getPropertyStates() 318 const sal_uInt16 nWhich = pPool->GetWhich( (sal_uInt16)pEntry->mnHandle ); in _setPropertyToDefault() local 323 pPool->ResetPoolDefaultItem( nWhich ); in _setPropertyToDefault() 336 const sal_uInt16 nWhich = pPool->GetWhich( (sal_uInt16)pEntry->mnHandle ); in _getPropertyDefault() local [all …]
|
/aoo42x/main/sw/source/ui/app/ |
H A D | docst.cxx | 93 sal_uInt16 nWhich = aIter.FirstWhich(); in StateStyleSheet() local 99 while (nWhich) in StateStyleSheet() 101 rSet.DisableItem(nWhich); in StateStyleSheet() 102 nWhich = aIter.NextWhich(); in StateStyleSheet() 114 while (nWhich) in StateStyleSheet() 119 switch (nWhich) in StateStyleSheet() 189 rSet.DisableItem( nWhich ); in StateStyleSheet() 205 rSet.DisableItem( nWhich ); in StateStyleSheet() 240 rSet.DisableItem( nWhich ); in StateStyleSheet() 250 rSet.DisableItem( nWhich ); in StateStyleSheet() [all …]
|
/aoo42x/main/sw/inc/ |
H A D | expfld.hxx | 126 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 127 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 204 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 205 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 269 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 270 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 371 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 372 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ); 456 virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) const; 457 virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich );
|
/aoo42x/main/sw/source/ui/inc/ |
H A D | cfgitems.hxx | 74 SwDocDisplayItem( sal_uInt16 nWhich = FN_PARAM_DOCDISP ); 78 sal_uInt16 nWhich ); 114 SwElemItem( sal_uInt16 nWhich = FN_PARAM_ELEM ); 116 SwElemItem(const SwViewOption& rVOpt, sal_uInt16 nWhich); 138 SwAddPrinterItem( sal_uInt16 nWhich = FN_PARAM_ADDPRINTER ); 139 SwAddPrinterItem( sal_uInt16 nWhich, const SwPrintData& rPrtData ); 185 SwShadowCursorItem( sal_uInt16 nWhich = FN_PARAM_SHADOWCURSOR ); 187 SwShadowCursorItem( const SwViewOption& rVOpt, sal_uInt16 nWhich );
|
/aoo42x/main/svx/inc/svx/sdr/properties/ |
H A D | properties.hxx | 73 …virtual sal_Bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const =… 77 virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) = 0; 81 virtual void PostItemChange(const sal_uInt16 nWhich) = 0; 129 virtual void ClearObjectItem(const sal_uInt16 nWhich = 0) = 0; 137 virtual void ClearMergedItem(const sal_uInt16 nWhich = 0); 142 virtual void ClearObjectItemDirect(const sal_uInt16 nWhich = 0) = 0; 174 const SfxPoolItem& GetItem(const sal_uInt16 nWhich) const;
|
/aoo42x/main/svx/source/sdr/properties/ |
H A D | groupproperties.cxx | 97 sal_uInt16 nWhich(aIter.FirstWhich()); in GetMergedItemSet() local 99 while(nWhich) in GetMergedItemSet() 101 if(SFX_ITEM_DONTCARE == rSet.GetItemState(nWhich, sal_False)) in GetMergedItemSet() 103 mpItemSet->InvalidateItem(nWhich); in GetMergedItemSet() 107 mpItemSet->MergeValue(rSet.Get(nWhich), sal_True); in GetMergedItemSet() 110 nWhich = aIter.NextWhich(); in GetMergedItemSet() 172 void GroupProperties::ClearMergedItem(const sal_uInt16 nWhich) in ClearMergedItem() argument 179 pSub->GetObj(a)->GetProperties().ClearMergedItem(nWhich); in ClearMergedItem()
|