Home
last modified time | relevance | path

Searched refs:nEsc (Results 1 – 25 of 28) sorted by relevance

12

/trunk/main/editeng/inc/editeng/
H A Descpitem.hxx53 short nEsc; member in SvxEscapementItem
61 SvxEscapementItem( const short nEsc, const sal_uInt8 nProp,
81 nEsc = 0, nProp = 100; in SetEscapement()
84 nEsc = DFLT_ESC_SUPER, nProp = DFLT_ESC_PROP; in SetEscapement()
86 nEsc = DFLT_ESC_SUB, nProp = DFLT_ESC_PROP; in SetEscapement()
90 inline short &GetEsc() { return nEsc; } in GetEsc()
91 inline short GetEsc() const { return nEsc; } in GetEsc()
98 nEsc = rEsc.GetEsc(); in operator =()
H A Dsvxfont.hxx40 short nEsc; // Grad der Hoch-/Tiefstellung member in SvxFont
50 inline short GetEscapement() const { return nEsc; } in GetEscapement()
51 inline void SetEscapement( const short nNewEsc ) { nEsc = nNewEsc; } in SetEscapement()
73 inline sal_Bool IsEsc() const { return 0 != nEsc; } in IsEsc()
/trunk/main/cui/source/tabpages/
H A Dchardlg.cxx416 short nEsc; in ActivatePage() local
421 nEsc = rItem.GetEsc(); in ActivatePage()
425 nEsc = DFLT_ESC_SUPER; in ActivatePage()
427 nEsc = DFLT_ESC_SUB; in ActivatePage()
431 nEsc = 0; in ActivatePage()
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()
3592 short nEsc; in FillItemSet() local
[all …]
/trunk/main/editeng/source/items/
H A Dsvxfont.cxx58 nKern = nEsc = 0; in SvxFont()
67 nKern = nEsc = 0; in SvxFont()
81 nEsc = rFont.GetEscapement(); in SvxFont()
518 if ( nEsc ) in DrawText()
553 if ( nEsc ) in QuickDrawText()
556 nDiff *= nEsc; in QuickDrawText()
605 if ( nEsc ) in DrawPrev()
608 if( DFLT_ESC_AUTO_SUPER == nEsc ) in DrawPrev()
610 else if( DFLT_ESC_AUTO_SUB == nEsc ) in DrawPrev()
613 nTmpEsc = nEsc; in DrawPrev()
[all …]
H A Dtextitem.cxx2424 nEsc ( 0 ), in SvxEscapementItem()
2437 if( nEsc ) in SvxEscapementItem()
2458 return( nEsc == ((SvxEscapementItem&)rAttr).nEsc && in operator ==()
2523 if ( nEsc != 0 ) in GetPresentation()
2525 if( DFLT_ESC_AUTO_SUPER == nEsc || DFLT_ESC_AUTO_SUB == nEsc ) in GetPresentation()
2549 if ( nEsc < 0 ) in GetEnumValue()
2551 else if ( nEsc > 0 ) in GetEnumValue()
2597 nEsc = nVal; in PutValue()
2616 if(nEsc < 0) in PutValue()
2623 --nEsc; in PutValue()
[all …]
/trunk/main/editeng/source/editeng/
H A Deditattr.cxx270 short nEsc = ((const SvxEscapementItem*)GetItem())->GetEsc(); in SetFont() local
271 if ( nEsc == DFLT_ESC_AUTO_SUPER ) in SetFont()
272 nEsc = 100 - nProp; in SetFont()
273 else if ( nEsc == DFLT_ESC_AUTO_SUB ) in SetFont()
274 nEsc = sal::static_int_cast< short >( -( 100 - nProp ) ); in SetFont()
275 rFont.SetEscapement( nEsc ); in SetFont()
H A Deertfpar.cxx343 long nEsc = ((SvxEscapementItem*)pItem)->GetEsc(); in SetAttrInDoc() local
345 if( ( DFLT_ESC_AUTO_SUPER != nEsc ) && ( DFLT_ESC_AUTO_SUB != nEsc ) ) in SetAttrInDoc()
347 nEsc *= 10; //HalPoints => Twips wurde in RTFITEM.CXX unterschlagen! in SetAttrInDoc()
350 nEsc = nEsc * 100 / aFont.GetSize().Height(); in SetAttrInDoc()
352 …SvxEscapementItem aEscItem( (short) nEsc, ((SvxEscapementItem*)pItem)->GetProp(), EE_CHAR_ESCAPEME… in SetAttrInDoc()
H A Deditdoc.cxx1300 short nEsc = rEsc.GetEsc(); in CreateFont() local
1301 if ( nEsc == DFLT_ESC_AUTO_SUPER ) in CreateFont()
1302 nEsc = 100 - nProp; in CreateFont()
1303 else if ( nEsc == DFLT_ESC_AUTO_SUB ) in CreateFont()
1304 nEsc = sal::static_int_cast< short >( -( 100 - nProp ) ); in CreateFont()
1305 rFont.SetEscapement( nEsc ); in CreateFont()
H A Dimpedit4.cxx1005 short nEsc = ((const SvxEscapementItem&)rItem).GetEsc(); in WriteItemAsRTF() local
1006 if ( nEsc == DFLT_ESC_AUTO_SUPER ) in WriteItemAsRTF()
1008 nEsc = 100 - nProp; in WriteItemAsRTF()
1011 else if ( nEsc == DFLT_ESC_AUTO_SUB ) in WriteItemAsRTF()
1013 nEsc = sal::static_int_cast< short >( -( 100 - nProp ) ); in WriteItemAsRTF()
1017 if ( nEsc ) in WriteItemAsRTF()
1019 long nUpDown = nFontHeight * Abs( nEsc ) / 100; in WriteItemAsRTF()
1021 if ( nEsc < 0 ) in WriteItemAsRTF()
1023 else if ( nEsc > 0 ) in WriteItemAsRTF()
/trunk/main/svx/source/svdraw/
H A Dsvdotextdecomposition.cxx213 sal_Int16 nEsc(rInfo.mrFont.GetEscapement()); in impCreateTextPortionPrimitive() local
215 if(DFLT_ESC_AUTO_SUPER == nEsc) in impCreateTextPortionPrimitive()
217 nEsc = 33; in impCreateTextPortionPrimitive()
219 else if(DFLT_ESC_AUTO_SUB == nEsc) in impCreateTextPortionPrimitive()
221 nEsc = -20; in impCreateTextPortionPrimitive()
224 if(nEsc > 100) in impCreateTextPortionPrimitive()
226 nEsc = 100; in impCreateTextPortionPrimitive()
228 else if(nEsc < -100) in impCreateTextPortionPrimitive()
230 nEsc = -100; in impCreateTextPortionPrimitive()
233 const double fEscapement(nEsc / -100.0); in impCreateTextPortionPrimitive()
H A Dsvdglev.cxx102 sal_uInt16 nEsc=rGP.GetEscDir(); in ImpGetEscDir() local
103 sal_Bool bOn=(nEsc & *(sal_uInt16*)pnThisEsc)!=0; in ImpGetEscDir()
120 sal_uInt16 nEsc=rGP.GetEscDir(); in ImpSetEscDir() local
121 if (*(sal_Bool*)pbOn) nEsc|=*(sal_uInt16*)pnThisEsc; in ImpSetEscDir()
122 else nEsc&=~*(sal_uInt16*)pnThisEsc; in ImpSetEscDir()
123 rGP.SetEscDir(nEsc); in ImpSetEscDir()
H A Dsvdglue.cxx157 long SdrGluePoint::EscDirToAngle(sal_uInt16 nEsc) const in EscDirToAngle()
159 switch (nEsc) { in EscDirToAngle()
/trunk/main/editeng/source/rtf/
H A Drtfitem.cxx613 const sal_uInt16 nEsc = PLAINID->nEscapement; in ReadAttr() local
618 const SvxEscapementItem& rOld = GetEscapement( *pSet, nEsc, sal_False ); in ReadAttr()
631 pSet->Put( SvxEscapementItem( nEs, nProp, nEsc )); in ReadAttr()
638 const sal_uInt16 nEsc = PLAINID->nEscapement; in ReadAttr() local
639 pSet->Put( SvxEscapementItem( nEsc )); in ReadAttr()
960 const sal_uInt16 nEsc = PLAINID->nEscapement; in ReadAttr() local
965 const SvxEscapementItem& rOld = GetEscapement( *pSet, nEsc, sal_False ); in ReadAttr()
978 pSet->Put( SvxEscapementItem( nEs, nProp, nEsc )); in ReadAttr()
1169 short nEsc = 0; in ReadAttr() local
1172 nEsc = DFLT_ESC_AUTO_SUPER; in ReadAttr()
[all …]
/trunk/main/cui/source/inc/
H A Dchardlg.hxx69 void SetPrevFontEscapement( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
313 void UpdatePreview_Impl( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
314 void SetEscapement_Impl( sal_uInt16 nEsc );
/trunk/main/sw/source/ui/shells/
H A Dtxtattr.cxx636 short nEsc = 0; in GetAttrState() local
641 nEsc = ((SvxEscapementItem* )pItem)->GetEsc(); in GetAttrState()
662 bFlag = 0 < nEsc; in GetAttrState()
665 bFlag = 0 > nEsc; in GetAttrState()
H A Ddrwtxtex.cxx631 int eAdjust, nLSpace, nEsc; in GetState() local
740 case FN_SET_SUPER_SCRIPT: nEsc = SVX_ESCAPEMENT_SUPERSCRIPT; in GetState()
742 case FN_SET_SUB_SCRIPT: nEsc = SVX_ESCAPEMENT_SUBSCRIPT; in GetState()
749 if( nEsc == ((const SvxEscapementItem*) in GetState()
H A Dannotsh.cxx717 sal_uInt16 nEsc = 0; in GetState() local
720 nEsc = SVX_ESCAPEMENT_SUPERSCRIPT; in GetState()
722 nEsc = SVX_ESCAPEMENT_SUBSCRIPT; in GetState()
727 if( nEsc == ((const SvxEscapementItem*)pEscItem)->GetEnumValue() ) in GetState()
/trunk/main/svtools/source/filter/wmf/
H A Dwinwmf.cxx855 sal_uInt32 nCheck, nEsc; in ReadRecordParams() local
857 >> nEsc; in ReadRecordParams()
863 sal_uInt32 nTmp = SWAPLONG( nEsc ); in ReadRecordParams()
866 sal_uInt32 nCheckSum = rtl_crc32( 0, &nEsc, 4 ); in ReadRecordParams()
883 switch( nEsc ) in ReadRecordParams()
H A Dwmfwr.cxx543 void WMFWriter::WMFRecord_Escape( sal_uInt32 nEsc, sal_uInt32 nLen, const sal_Int8* pData ) in WMFRecord_Escape() argument
546 sal_uInt32 nTmp = SWAPLONG( nEsc ); in WMFRecord_Escape()
549 sal_uInt32 nCheckSum = rtl_crc32( 0, &nEsc, 4 ); in WMFRecord_Escape()
560 << (sal_uInt32)nEsc; // escape number in WMFRecord_Escape()
H A Dwmfwr.hxx162 void WMFRecord_Escape( sal_uInt32 nEsc, sal_uInt32 nLen, const sal_Int8* pData );
/trunk/main/svx/source/sidebar/text/
H A DTextPropertyPanel.cxx1056 short nEsc = pItem->GetEsc(); in NotifyItemUpdate() local
1057 if(nEsc == 0) in NotifyItemUpdate()
1063 else if(nEsc > 0) in NotifyItemUpdate()
/trunk/main/sw/source/filter/ww8/
H A Dww8atr.cxx1392 short nEsc = rEscapement.GetEsc(), nProp = rEscapement.GetProp(); in CharEscapement() local
1393 if ( !nEsc ) in CharEscapement()
1396 nEsc = 0; in CharEscapement()
1401 if ( DFLT_ESC_SUB == nEsc || DFLT_ESC_AUTO_SUB == nEsc ) in CharEscapement()
1403 else if ( DFLT_ESC_SUPER == nEsc || DFLT_ESC_AUTO_SUPER == nEsc ) in CharEscapement()
1426 m_rWW8Export.InsUInt16( (short)(( nHeight * nEsc + 500 ) / 1000 )); in CharEscapement()
H A Drtfattributeoutput.cxx2080 short nEsc = rEsc.GetEsc(); in CharEscapement() local
2082 if( DFLT_ESC_AUTO_SUPER == nEsc ) in CharEscapement()
2084 nEsc = 100 - rEsc.GetProp(); in CharEscapement()
2087 else if( DFLT_ESC_AUTO_SUB == nEsc ) in CharEscapement()
2089 nEsc = - 100 + rEsc.GetProp(); in CharEscapement()
2108 m_aStyles.append( (sal_Int32) ( (long( nEsc ) * nH) + 500L ) / 1000L ); in CharEscapement()
/trunk/main/sw/source/filter/rtf/
H A Dswparrtf.cxx3818 long nEsc = ((SvxEscapementItem*)pItem)->GetEsc(); in SetSwgValues() local
3821 if( DFLT_ESC_AUTO_SUPER != nEsc && DFLT_ESC_AUTO_SUB != nEsc ) in SetSwgValues()
3824 nEsc *= 1000L; in SetSwgValues()
3825 if(rFH.GetHeight()) nEsc /= long(rFH.GetHeight()); // #i77256# in SetSwgValues()
3827 SvxEscapementItem aEsc( (short) nEsc, in SetSwgValues()
/trunk/main/svx/inc/svx/
H A Dsvdglue.hxx104 long EscDirToAngle(sal_uInt16 nEsc) const;

Completed in 280 milliseconds

12