Lines Matching refs:nEsc
416 short nEsc; in ActivatePage() local
421 nEsc = rItem.GetEsc(); in ActivatePage()
424 if( nEsc == DFLT_ESC_AUTO_SUPER ) in ActivatePage()
425 nEsc = DFLT_ESC_SUPER; in ActivatePage()
426 else if( nEsc == DFLT_ESC_AUTO_SUB ) in ActivatePage()
427 nEsc = DFLT_ESC_SUB; in ActivatePage()
431 nEsc = 0; in ActivatePage()
435 SetPrevFontEscapement( nProp, nEscProp, nEsc ); in ActivatePage()
513 void setPrevFontEscapement(SvxFont& _rFont,sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc ) in setPrevFontEscapement() argument
517 _rFont.SetEscapement( nEsc ); in setPrevFontEscapement()
524 void SvxCharBasePage::SetPrevFontEscapement( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc ) in SetPrevFontEscapement() argument
526 setPrevFontEscapement(GetPreviewFont(),nProp,nEscProp,nEsc); in SetPrevFontEscapement()
527 setPrevFontEscapement(GetPreviewCJKFont(),nProp,nEscProp,nEsc); in SetPrevFontEscapement()
528 setPrevFontEscapement(GetPreviewCTLFont(),nProp,nEscProp,nEsc); in SetPrevFontEscapement()
3063 void SvxCharPositionPage::UpdatePreview_Impl( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc ) in UpdatePreview_Impl() argument
3065 SetPrevFontEscapement( nProp, nEscProp, nEsc ); in UpdatePreview_Impl()
3070 void SvxCharPositionPage::SetEscapement_Impl( sal_uInt16 nEsc ) in SetEscapement_Impl() argument
3072 SvxEscapementItem aEscItm( (SvxEscapement)nEsc, SID_ATTR_CHAR_ESCAPEMENT ); in SetEscapement_Impl()
3074 if ( SVX_ESCAPEMENT_SUPERSCRIPT == nEsc ) in SetEscapement_Impl()
3079 else if ( SVX_ESCAPEMENT_SUBSCRIPT == nEsc ) in SetEscapement_Impl()
3090 if ( SVX_ESCAPEMENT_OFF == nEsc ) in SetEscapement_Impl()
3120 sal_uInt16 nEsc = SVX_ESCAPEMENT_OFF; // also when pBtn == NULL in IMPL_LINK() local
3123 nEsc = SVX_ESCAPEMENT_SUPERSCRIPT; in IMPL_LINK()
3125 nEsc = SVX_ESCAPEMENT_SUBSCRIPT; in IMPL_LINK()
3127 SetEscapement_Impl( nEsc ); in IMPL_LINK()
3149 short nEsc = (short)m_aHighLowEdit.GetValue(); in IMPL_LINK() local
3150 nEsc *= m_aLowPosBtn.IsChecked() ? -1 : 1; in IMPL_LINK()
3151 UpdatePreview_Impl( 100, nEscProp, nEsc ); in IMPL_LINK()
3345 short nEsc = 0; in Reset() local
3362 nEsc = rItem.GetEsc(); in Reset()
3365 if ( nEsc != 0 ) in Reset()
3375 if ( nEsc > 0 ) in Reset()
3379 if ( nEsc == DFLT_ESC_AUTO_SUPER ) in Reset()
3381 nEsc = DFLT_ESC_SUPER; in Reset()
3389 if ( nEsc == DFLT_ESC_AUTO_SUB ) in Reset()
3391 nEsc = DFLT_ESC_SUB; in Reset()
3406 m_aHighLowEdit.SetValue( m_aHighLowEdit.Normalize( nFac * nEsc ) ); in Reset()
3425 SetPrevFontEscapement( nProp, nEscProp, nEsc ); in Reset()
3592 short nEsc; in FillItemSet() local
3598 nEsc = bHigh ? DFLT_ESC_AUTO_SUPER : DFLT_ESC_AUTO_SUB; in FillItemSet()
3601 nEsc = (short)m_aHighLowEdit.Denormalize( m_aHighLowEdit.GetValue() ); in FillItemSet()
3602 nEsc *= bHigh ? 1 : -1; in FillItemSet()
3608 nEsc = 0; in FillItemSet()
3615 if ( rItem.GetEsc() == nEsc && rItem.GetProp() == nEscProp ) in FillItemSet()
3626 rSet.Put( SvxEscapementItem( nEsc, nEscProp, nWhich ) ); in FillItemSet()