Lines Matching refs:pPoolItem
506 const SfxPoolItem* pPoolItem; in ApplyItemSet() local
516 if( pArgs->GetItemState(SID_ATTR_PAGE, sal_True, &pPoolItem) == SFX_ITEM_SET ) in ApplyItemSet()
518 mpDoc->SetPageNumType(((const SvxPageItem*) pPoolItem)->GetNumType()); in ApplyItemSet()
520 eOrientation = (((const SvxPageItem*) pPoolItem)->IsLandscape() == ORIENTATION_LANDSCAPE) ? in ApplyItemSet()
529 if( pArgs->GetItemState(SID_ATTR_PAGE_SIZE, sal_True, &pPoolItem) == SFX_ITEM_SET ) in ApplyItemSet()
531 aNewSize = ((const SvxSizeItem*) pPoolItem)->GetSize(); in ApplyItemSet()
538 sal_True, &pPoolItem) == SFX_ITEM_SET ) in ApplyItemSet()
540 nLeft = ((const SvxLRSpaceItem*) pPoolItem)->GetLeft(); in ApplyItemSet()
541 nRight = ((const SvxLRSpaceItem*) pPoolItem)->GetRight(); in ApplyItemSet()
549 sal_True, &pPoolItem) == SFX_ITEM_SET ) in ApplyItemSet()
551 nUpper = ((const SvxULSpaceItem*) pPoolItem)->GetUpper(); in ApplyItemSet()
552 nLower = ((const SvxULSpaceItem*) pPoolItem)->GetLower(); in ApplyItemSet()
558 …if( pArgs->GetItemState(mpDoc->GetPool().GetWhich(SID_ATTR_PAGE_EXT1), sal_True, &pPoolItem) == SF… in ApplyItemSet()
560 bScaleAll = ((const SfxBoolItem*) pPoolItem)->GetValue(); in ApplyItemSet()
563 …if( pArgs->GetItemState(mpDoc->GetPool().GetWhich(SID_ATTR_PAGE_EXT2), sal_True, &pPoolItem) == SF… in ApplyItemSet()
565 bFullSize = ((const SfxBoolItem*) pPoolItem)->GetValue(); in ApplyItemSet()
572 …if( pArgs->GetItemState(mpDoc->GetPool().GetWhich(SID_ATTR_PAGE_PAPERBIN), sal_True, &pPoolItem) =… in ApplyItemSet()
574 nPaperBin = ((const SvxPaperBinItem*) pPoolItem)->GetValue(); in ApplyItemSet()