Lines Matching refs:rAttr
307 sal_Int32 lcl_ConvertAttrToCfg(const AuthorCharAttr& rAttr) in lcl_ConvertAttrToCfg() argument
310 switch(rAttr.nItemId) in lcl_ConvertAttrToCfg()
314 case SID_ATTR_CHAR_UNDERLINE: nRet = UNDERLINE_SINGLE == rAttr.nAttr ? 3 : 4; break; in lcl_ConvertAttrToCfg()
318 switch(rAttr.nAttr) in lcl_ConvertAttrToCfg()
361 void lcl_ConvertCfgToAttr(sal_Int32 nVal, AuthorCharAttr& rAttr, sal_Bool bDelete = sal_False) in lcl_ConvertCfgToAttr() argument
363 rAttr.nItemId = rAttr.nAttr = 0; in lcl_ConvertCfgToAttr()
366 case 1: rAttr.nItemId = SID_ATTR_CHAR_WEIGHT; rAttr.nAttr = WEIGHT_BOLD ; break; in lcl_ConvertCfgToAttr()
367 case 2: rAttr.nItemId = SID_ATTR_CHAR_POSTURE; rAttr.nAttr = ITALIC_NORMAL ; break; in lcl_ConvertCfgToAttr()
370 rAttr.nItemId = SID_ATTR_CHAR_STRIKEOUT; in lcl_ConvertCfgToAttr()
371 rAttr.nAttr = STRIKEOUT_SINGLE; in lcl_ConvertCfgToAttr()
375 rAttr.nItemId = SID_ATTR_CHAR_UNDERLINE; in lcl_ConvertCfgToAttr()
376 rAttr.nAttr = UNDERLINE_SINGLE; in lcl_ConvertCfgToAttr()
379 case 4: rAttr.nItemId = SID_ATTR_CHAR_UNDERLINE;rAttr.nAttr = UNDERLINE_DOUBLE ; break; in lcl_ConvertCfgToAttr()
380 case 5: rAttr.nItemId = SID_ATTR_CHAR_CASEMAP; rAttr.nAttr = SVX_CASEMAP_VERSALIEN ; break; in lcl_ConvertCfgToAttr()
381 case 6: rAttr.nItemId = SID_ATTR_CHAR_CASEMAP; rAttr.nAttr = SVX_CASEMAP_GEMEINE ; break; in lcl_ConvertCfgToAttr()
382 case 7: rAttr.nItemId = SID_ATTR_CHAR_CASEMAP; rAttr.nAttr = SVX_CASEMAP_KAPITAELCHEN ; break; in lcl_ConvertCfgToAttr()
383 case 8: rAttr.nItemId = SID_ATTR_CHAR_CASEMAP; rAttr.nAttr = SVX_CASEMAP_TITEL ; break; in lcl_ConvertCfgToAttr()
384 case 9: rAttr.nItemId = SID_ATTR_BRUSH; break; in lcl_ConvertCfgToAttr()