Lines Matching refs:pItem
200 const SfxPoolItem* pItem = 0; in lcl_setTableAttributes() local
203 pItem = 0; in lcl_setTableAttributes()
204 sal_Bool bBackground = SFX_ITEM_SET == rSet.GetItemState( RES_BACKGROUND, sal_False, &pItem ); in lcl_setTableAttributes()
211 if(pItem) in lcl_setTableAttributes()
212 rSh.SetBoxBackground( *(const SvxBrushItem*)pItem ); in lcl_setTableAttributes()
229 if( SFX_ITEM_SET == rSet.GetItemState( FN_PARAM_TABLE_HEADLINE, sal_False, &pItem) ) in lcl_setTableAttributes()
230 rSh.SetRowsToRepeat( ((SfxUInt16Item*)pItem)->GetValue() ); in lcl_setTableAttributes()
236 pItem=0; in lcl_setTableAttributes()
237 rSet.GetItemState(rSet.GetPool()->GetWhich(RES_SHADOW), sal_False, &pItem); in lcl_setTableAttributes()
238 if(pItem) in lcl_setTableAttributes()
239 pFrmFmt->SetFmtAttr( *pItem ); in lcl_setTableAttributes()
242 pItem=0; in lcl_setTableAttributes()
243 rSet.GetItemState(rSet.GetPool()->GetWhich(RES_BREAK), sal_False, &pItem); in lcl_setTableAttributes()
244 if(pItem) in lcl_setTableAttributes()
245 pFrmFmt->SetFmtAttr( *pItem ); in lcl_setTableAttributes()
248 pItem=0; in lcl_setTableAttributes()
249 rSet.GetItemState(rSet.GetPool()->GetWhich(RES_PAGEDESC), sal_False, &pItem); in lcl_setTableAttributes()
250 if(pItem) in lcl_setTableAttributes()
251 pFrmFmt->SetFmtAttr( *pItem ); in lcl_setTableAttributes()
254 pItem=0; in lcl_setTableAttributes()
255 rSet.GetItemState(rSet.GetPool()->GetWhich(RES_LAYOUT_SPLIT), sal_False, &pItem); in lcl_setTableAttributes()
256 if(pItem) in lcl_setTableAttributes()
257 pFrmFmt->SetFmtAttr( *pItem ); in lcl_setTableAttributes()
260 pItem=0; in lcl_setTableAttributes()
261 rSet.GetItemState(rSet.GetPool()->GetWhich(RES_KEEP), sal_False, &pItem); in lcl_setTableAttributes()
262 if(pItem) in lcl_setTableAttributes()
263 pFrmFmt->SetFmtAttr( *pItem ); in lcl_setTableAttributes()
266 pItem=0; in lcl_setTableAttributes()
267 rSet.GetItemState(rSet.GetPool()->GetWhich(RES_FRAMEDIR), sal_False, &pItem); in lcl_setTableAttributes()
268 if(pItem) in lcl_setTableAttributes()
269 pFrmFmt->SetFmtAttr( *pItem ); in lcl_setTableAttributes()
272 if( SFX_ITEM_SET == rSet.GetItemState( FN_TABLE_BOX_TEXTDIRECTION, sal_False, &pItem) ) in lcl_setTableAttributes()
275 aDirection.SetValue(static_cast< const SvxFrameDirectionItem* >(pItem)->GetValue()); in lcl_setTableAttributes()
279 if( SFX_ITEM_SET == rSet.GetItemState( FN_TABLE_SET_VERT_ALIGN, sal_False, &pItem)) in lcl_setTableAttributes()
280 rSh.SetBoxAlign(((SfxUInt16Item*)(pItem))->GetValue()); in lcl_setTableAttributes()
282 if( SFX_ITEM_SET == rSet.GetItemState( RES_ROW_SPLIT, sal_False, &pItem) ) in lcl_setTableAttributes()
283 rSh.SetRowSplit(*static_cast<const SwFmtRowSplit*>(pItem)); in lcl_setTableAttributes()
287 if( SFX_ITEM_SET == rSet.GetItemState( RES_BOXATR_FORMAT, sal_False, &pItem )) in lcl_setTableAttributes()
290 aBoxSet.Put( SwTblBoxNumFormat( ((SfxUInt32Item*)pItem)->GetValue() )); in lcl_setTableAttributes()
458 const SfxPoolItem* pItem; in lcl_AppendSetItems() local
459 if( SFX_ITEM_SET == rStyleAttrSet.GetItemState( nWhich, sal_False, &pItem ) ) in lcl_AppendSetItems()
461 rItemVector.push_back( SfxPoolItemSharedPtr( pItem->Clone() ) ); in lcl_AppendSetItems()
474 const SfxPoolItem* pItem; in lcl_RemoveEqualItems() local
475 if( SFX_ITEM_SET == rTemplateItemSet.GetItemState( (*aIter)->Which(), sal_True, &pItem ) && in lcl_RemoveEqualItems()
476 *pItem == *(*aIter) ) in lcl_RemoveEqualItems()