Lines Matching refs:pItem
77 const SfxPoolItem* pItem ) in StateChanged() argument
84 PTR_CAST(XFormTextStyleItem, pItem); in StateChanged()
85 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextStyleItem erwartet"); in StateChanged()
92 PTR_CAST(XFormTextAdjustItem, pItem); in StateChanged()
93 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextAdjustItem erwartet"); in StateChanged()
100 PTR_CAST(XFormTextDistanceItem, pItem); in StateChanged()
101 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextDistanceItem erwartet"); in StateChanged()
108 PTR_CAST(XFormTextStartItem, pItem); in StateChanged()
109 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextStartItem erwartet"); in StateChanged()
116 PTR_CAST(XFormTextMirrorItem, pItem); in StateChanged()
117 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextMirrorItem erwartet"); in StateChanged()
124 PTR_CAST(XFormTextHideFormItem, pItem); in StateChanged()
125 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextHideFormItem erwartet"); in StateChanged()
132 PTR_CAST(XFormTextOutlineItem, pItem); in StateChanged()
133 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextOutlineItem erwartet"); in StateChanged()
140 PTR_CAST(XFormTextShadowItem, pItem); in StateChanged()
141 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowItem erwartet"); in StateChanged()
148 PTR_CAST(XFormTextShadowColorItem, pItem); in StateChanged()
149 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowColorItem erwartet"); in StateChanged()
156 PTR_CAST(XFormTextShadowXValItem, pItem); in StateChanged()
157 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowXValItem erwartet"); in StateChanged()
164 PTR_CAST(XFormTextShadowYValItem, pItem); in StateChanged()
165 DBG_ASSERT(pStateItem || pItem == 0, "XFormTextShadowYValItem erwartet"); in StateChanged()
374 void SvxFontWorkDialog::SetStyle_Impl(const XFormTextStyleItem* pItem) in SetStyle_Impl() argument
376 if ( pItem ) in SetStyle_Impl()
380 switch ( pItem->GetValue() ) in SetStyle_Impl()
391 if ( pItem->GetValue() == XFT_NONE ) in SetStyle_Impl()
418 void SvxFontWorkDialog::SetAdjust_Impl(const XFormTextAdjustItem* pItem) in SetAdjust_Impl() argument
420 if ( pItem ) in SetAdjust_Impl()
427 if ( pItem->GetValue() == XFT_LEFT || pItem->GetValue() == XFT_RIGHT ) in SetAdjust_Impl()
429 if ( pItem->GetValue() == XFT_LEFT ) nId = TBI_ADJUST_LEFT; in SetAdjust_Impl()
435 if ( pItem->GetValue() == XFT_CENTER ) nId = TBI_ADJUST_CENTER; in SetAdjust_Impl()
460 void SvxFontWorkDialog::SetDistance_Impl(const XFormTextDistanceItem* pItem) in SetDistance_Impl() argument
463 if ( pItem && !aMtrFldDistance.HasChildPathFocus() ) in SetDistance_Impl()
465 SetMetricValue( aMtrFldDistance, pItem->GetValue(), SFX_MAPUNIT_100TH_MM ); in SetDistance_Impl()
475 void SvxFontWorkDialog::SetStart_Impl(const XFormTextStartItem* pItem) in SetStart_Impl() argument
478 if ( pItem && !aMtrFldTextStart.HasChildPathFocus() ) in SetStart_Impl()
480 SetMetricValue( aMtrFldTextStart, pItem->GetValue(), SFX_MAPUNIT_100TH_MM ); in SetStart_Impl()
490 void SvxFontWorkDialog::SetMirror_Impl(const XFormTextMirrorItem* pItem) in SetMirror_Impl() argument
492 if ( pItem ) in SetMirror_Impl()
493 aTbxAdjust.CheckItem(TBI_ADJUST_MIRROR, pItem->GetValue()); in SetMirror_Impl()
502 void SvxFontWorkDialog::SetShowForm_Impl(const XFormTextHideFormItem* pItem) in SetShowForm_Impl() argument
504 if ( pItem ) in SetShowForm_Impl()
505 aTbxShadow.CheckItem(TBI_SHOWFORM, !pItem->GetValue()); in SetShowForm_Impl()
514 void SvxFontWorkDialog::SetOutline_Impl(const XFormTextOutlineItem* pItem) in SetOutline_Impl() argument
516 if ( pItem ) in SetOutline_Impl()
517 aTbxShadow.CheckItem(TBI_OUTLINE, pItem->GetValue()); in SetOutline_Impl()
526 void SvxFontWorkDialog::SetShadow_Impl(const XFormTextShadowItem* pItem, in SetShadow_Impl() argument
529 if ( pItem ) in SetShadow_Impl()
535 if ( pItem->GetValue() == XFTSHADOW_NONE ) in SetShadow_Impl()
552 if ( pItem->GetValue() == XFTSHADOW_NORMAL ) in SetShadow_Impl()
644 void SvxFontWorkDialog::SetShadowColor_Impl(const XFormTextShadowColorItem* pItem) in SetShadowColor_Impl() argument
646 if ( pItem ) in SetShadowColor_Impl()
647 aShadowColorLB.SelectEntry(pItem->GetColorValue()); in SetShadowColor_Impl()
656 void SvxFontWorkDialog::SetShadowXVal_Impl(const XFormTextShadowXValItem* pItem) in SetShadowXVal_Impl() argument
659 if ( pItem && !aMtrFldShadowX.HasChildPathFocus() ) in SetShadowXVal_Impl()
676 aMtrFldShadowX.SetValue(pItem->GetValue()); in SetShadowXVal_Impl()
680 SetMetricValue( aMtrFldShadowX, pItem->GetValue(), SFX_MAPUNIT_100TH_MM ); in SetShadowXVal_Impl()
691 void SvxFontWorkDialog::SetShadowYVal_Impl(const XFormTextShadowYValItem* pItem) in SetShadowYVal_Impl() argument
694 if ( pItem && !aMtrFldShadowY.HasChildPathFocus() ) in SetShadowYVal_Impl()
702 aMtrFldShadowY.SetValue(pItem->GetValue()); in SetShadowYVal_Impl()
706 SetMetricValue( aMtrFldShadowY, pItem->GetValue(), SFX_MAPUNIT_100TH_MM ); in SetShadowYVal_Impl()