Lines Matching refs:nToken
215 void SvxRTFParser::ReadAttr( int nToken, SfxItemSet* pSet ) in ReadAttr() argument
231 switch( nToken ) in ReadAttr()
281 switch( nToken ) in ReadAttr()
289 UnknownAttrToken( nToken, pSet ); in ReadAttr()
600 else if( RTF_CAPS == nToken ) in ReadAttr()
614 if( -1 == nTokenValue || RTF_SUB == nToken ) in ReadAttr()
629 nProp = (nToken == RTF_SUB) ? DFLT_ESC_PROP : 100; in ReadAttr()
690 if( RTF_F == nToken ) in ReadAttr()
961 if( -1 == nTokenValue || RTF_SUPER == nToken ) in ReadAttr()
976 nProp = (nToken == RTF_SUPER) ? DFLT_ESC_PROP : 100; in ReadAttr()
1140 ReadBackgroundAttr( nToken, *pSet ); in ReadAttr()
1153 else if( (nToken = GetNextToken() ) & RTF_SWGDEFS ) in ReadAttr()
1156 switch( nToken ) in ReadAttr()
1161 UnknownAttrToken( nToken, pSet ); in ReadAttr()
1245 if( (nToken & ~(0xff | RTF_SWGDEFS)) == RTF_TABSTOPDEF ) in ReadAttr()
1247 nToken = SkipToken( -2 ); in ReadAttr()
1248 ReadTabAttr( nToken, *pSet ); in ReadAttr()
1260 if (nToken == BRACELEFT && !bFirstToken) in ReadAttr()
1262 nToken = GetNextToken(); in ReadAttr()
1263 DBG_ASSERT( nToken == BRACERIGHT, in ReadAttr()
1267 else if( (nToken & ~(0xff| RTF_SWGDEFS)) == RTF_BRDRDEF) in ReadAttr()
1269 nToken = SkipToken( -2 ); in ReadAttr()
1270 ReadBorderAttr( nToken, *pSet ); in ReadAttr()
1304 if( (nToken & ~0xff ) == RTF_TABSTOPDEF ) in ReadAttr()
1305 ReadTabAttr( nToken, *pSet ); in ReadAttr()
1306 else if( (nToken & ~0xff ) == RTF_BRDRDEF ) in ReadAttr()
1307 ReadBorderAttr( nToken, *pSet ); in ReadAttr()
1308 else if( (nToken & ~0xff ) == RTF_SHADINGDEF ) in ReadAttr()
1309 ReadBackgroundAttr( nToken, *pSet ); in ReadAttr()
1321 nToken = GetNextToken(); in ReadAttr()
1353 void SvxRTFParser::ReadTabAttr( int nToken, SfxItemSet& rSet ) in ReadTabAttr() argument
1361 switch( nToken ) in ReadTabAttr()
1399 else if( RTF_TLSWG != ( nToken = GetNextToken() )) in ReadTabAttr()
1422 nToken = GetNextToken(); in ReadTabAttr()
1461 void SvxRTFParser::ReadBorderAttr( int nToken, SfxItemSet& rSet, in ReadBorderAttr() argument
1474 switch( nToken ) in ReadBorderAttr()
1481 nBorderTyp = nToken; in ReadBorderAttr()
1642 nToken = GetNextToken(); in ReadBorderAttr()
1644 switch( nToken ) in ReadBorderAttr()
1654 nBorderTyp = nToken; in ReadBorderAttr()
1693 nToken = GetNextToken(); in ReadBorderAttr()
1700 if( BRACERIGHT == nToken ) in ReadBorderAttr()
1723 bWeiter = (nToken & ~(0xff| RTF_SWGDEFS)) == RTF_BRDRDEF; in ReadBorderAttr()
1726 nToken = GetNextToken(); in ReadBorderAttr()
1739 void SvxRTFParser::ReadBackgroundAttr( int nToken, SfxItemSet& rSet, in ReadBackgroundAttr() argument
1747 sal_uInt16 nWh = ( nToken & ~0xff ) == RTF_CHRFMT in ReadBackgroundAttr()
1752 switch( nToken ) in ReadBackgroundAttr()
1818 bWeiter = (nToken & ~(0xff | RTF_TABLEDEF) ) == RTF_SHADINGDEF; in ReadBackgroundAttr()
1820 bWeiter = (nToken & ~0xff) == RTF_SHADINGDEF; in ReadBackgroundAttr()
1823 nToken = GetNextToken(); in ReadBackgroundAttr()
1974 void SvxRTFParser::SetDefault( int nToken, int nValue ) in SetDefault() argument
1982 switch( nToken ) in SetDefault()