Lines Matching refs:pItem
213 const SfxPoolItem* pItem; in ItemSetToPageDesc() local
215 sal_False, &pItem ) ) in ItemSetToPageDesc()
217 const SfxItemSet& rHeaderSet = ((SvxSetItem*)pItem)->GetItemSet(); in ItemSetToPageDesc()
251 sal_False, &pItem ) ) in ItemSetToPageDesc()
253 const SfxItemSet& rFooterSet = ((SvxSetItem*)pItem)->GetItemSet(); in ItemSetToPageDesc()
287 sal_False, &pItem ) ) in ItemSetToPageDesc()
288 rPageDesc.SetFtnInfo( ((SwPageFtnInfoItem*)pItem)->GetPageFtnInfo() ); in ItemSetToPageDesc()
298 SID_SWREGISTER_MODE, sal_False, &pItem)) in ItemSetToPageDesc()
300 sal_Bool bSet = ((const SfxBoolItem*)pItem)->GetValue(); in ItemSetToPageDesc()
304 SID_SWREGISTER_COLLECTION, sal_False, &pItem)) in ItemSetToPageDesc()
306 const String& rColl = ((const SfxStringItem*)pItem)->GetValue(); in ItemSetToPageDesc()
523 const SfxPoolItem* pItem; in SfxToSwPageDescAttr() local
528 if(SFX_ITEM_SET == rSet.GetItemState(SID_ATTR_PARA_PAGENUM, sal_False, &pItem)) in SfxToSwPageDescAttr()
530 aPgDesc.SetNumOffset(((SfxUInt16Item*)pItem)->GetValue()); in SfxToSwPageDescAttr()
533 if( SFX_ITEM_SET == rSet.GetItemState( SID_ATTR_PARA_MODEL, sal_False, &pItem )) in SfxToSwPageDescAttr()
535 const String& rDescName = ((SvxPageModelItem*)pItem)->GetValue(); in SfxToSwPageDescAttr()
552 if(SFX_ITEM_SET == aCoreSet.GetItemState( RES_PAGEDESC, sal_True, &pItem ) ) in SfxToSwPageDescAttr()
554 if( ((SwFmtPageDesc*)pItem)->GetPageDesc() ) in SfxToSwPageDescAttr()
556 aPgDesc.RegisterToPageDesc( *((SwFmtPageDesc*)pItem)->GetPageDesc() ); in SfxToSwPageDescAttr()
570 const SfxPoolItem* pItem = 0; in SwToSfxPageDescAttr() local
574 switch( rCoreSet.GetItemState( RES_PAGEDESC, sal_True, &pItem ) ) in SwToSfxPageDescAttr()
578 if( ((SwFmtPageDesc*)pItem)->GetPageDesc() ) in SwToSfxPageDescAttr()
580 aName = ((SwFmtPageDesc*)pItem)->GetPageDesc()->GetName(); in SwToSfxPageDescAttr()
581 nPageNum = ((SwFmtPageDesc*)pItem)->GetNumOffset(); in SwToSfxPageDescAttr()