Lines Matching refs:rParent
148 SvXMLNumFormatContext& rParent; member in SvXMLNumFmtElementContext
178 SvXMLNumFmtElementContext& rParent; member in SvXMLNumFmtEmbeddedTextContext
201 SvXMLNumFormatContext& rParent; member in SvXMLNumFmtMapContext
224 SvXMLNumFormatContext& rParent; member in SvXMLNumFmtPropContext
638 rParent( rParentContext ) in SvXMLNumFmtMapContext()
675 rParent.AddCondition( sCondition, sName ); in EndElement()
689 rParent( rParentContext ), in SvXMLNumFmtPropContext()
723 rParent.AddColor( aColor ); in EndElement()
737 rParent( rParentContext ), in SvXMLNumFmtEmbeddedTextContext()
776 rParent.AddEmbeddedElement( nTextPosition, aContent.makeStringAndClear() ); in EndElement()
781 sal_Bool lcl_ValidChar( sal_Unicode cChar, const SvXMLNumFormatContext& rParent ) in lcl_ValidChar() argument
783 sal_uInt16 nFormatType = rParent.GetType(); in lcl_ValidChar()
791 (cChar == (cTS = rParent.GetLocaleData().getNumThousandSep().GetChar(0)) || in lcl_ValidChar()
827 void lcl_EnquoteIfNecessary( rtl::OUStringBuffer& rContent, const SvXMLNumFormatContext& rParent ) in lcl_EnquoteIfNecessary() argument
833 lcl_ValidChar( rContent.charAt(0), rParent ) ) || in lcl_EnquoteIfNecessary()
835 lcl_ValidChar( rContent.charAt(0), rParent ) && in lcl_EnquoteIfNecessary()
842 else if ( rParent.GetType() == XML_TOK_STYLES_PERCENTAGE_STYLE && nLength > 1 ) in lcl_EnquoteIfNecessary()
853 if ( nPos + 2 == nLength && lcl_ValidChar( rContent.charAt(nPos + 1), rParent ) ) in lcl_EnquoteIfNecessary()
866 if ( nPos == 1 && lcl_ValidChar( rContent.charAt(0), rParent ) ) in lcl_EnquoteIfNecessary()
941 rParent( rParentContext ), in SvXMLNumFmtElementContext()
961 const SvXMLTokenMap& rTokenMap = rParent.GetData()->GetStyleElemAttrTokenMap(); in SvXMLNumFmtElementContext()
1082 if ( rParent.HasLongDoW() && in EndElement()
1083 rParent.GetLocaleData().getLongDateDayOfWeekSep() == in EndElement()
1089 if ( rParent.ReplaceNfKeyword( NF_KEY_NNN, NF_KEY_NNNN ) ) in EndElement()
1095 rParent.SetHasLongDoW( sal_False ); // only once in EndElement()
1099 lcl_EnquoteIfNecessary( aContent, rParent ); in EndElement()
1100 rParent.AddToCode( aContent.makeStringAndClear() ); in EndElement()
1105 rParent.AddNumber( aNumInfo ); in EndElement()
1109 rParent.AddCurrency( aContent.makeStringAndClear(), nElementLang ); in EndElement()
1113 rParent.AddToCode( OUString::valueOf((sal_Unicode)'@') ); in EndElement()
1120 rParent.UpdateCalendar( sCalendar ); in EndElement()
1123 if ( rParent.IsFromSystem() ) in EndElement()
1124 bEffLong = SvXMLNumFmtDefaults::IsSystemLongDay( rParent.GetInternational(), bLong ); in EndElement()
1126 rParent.AddNfKeyword( in EndElement()
1131 rParent.UpdateCalendar( sCalendar ); in EndElement()
1134 if ( rParent.IsFromSystem() ) in EndElement()
1136 bEffLong = SvXMLNumFmtDefaults::IsSystemLongMonth( rParent.GetInternational(), bLong ); in EndElement()
1137 bTextual = SvXMLNumFmtDefaults::IsSystemTextualMonth( rParent.GetInternational(), bLong ); in EndElement()
1140 rParent.AddNfKeyword( in EndElement()
1147 rParent.UpdateCalendar( sCalendar ); in EndElement()
1150 if ( rParent.IsFromSystem() ) in EndElement()
1151 bEffLong = SvXMLNumFmtDefaults::IsSystemLongYear( rParent.GetInternational(), bLong ); in EndElement()
1154 if ( rParent.HasEra() ) in EndElement()
1155 rParent.AddNfKeyword( in EndElement()
1159 rParent.AddNfKeyword( in EndElement()
1164 rParent.UpdateCalendar( sCalendar ); in EndElement()
1167 if ( rParent.IsFromSystem() ) in EndElement()
1168 bEffLong = SvXMLNumFmtDefaults::IsSystemLongEra( rParent.GetInternational(), bLong ); in EndElement()
1170 rParent.AddNfKeyword( in EndElement()
1176 rParent.UpdateCalendar( sCalendar ); in EndElement()
1179 if ( rParent.IsFromSystem() ) in EndElement()
1180 bEffLong = SvXMLNumFmtDefaults::IsSystemLongDayOfWeek( rParent.GetInternational(), bLong ); in EndElement()
1182 rParent.AddNfKeyword( in EndElement()
1187 rParent.UpdateCalendar( sCalendar ); in EndElement()
1188 rParent.AddNfKeyword( NF_KEY_WW ); in EndElement()
1191 rParent.UpdateCalendar( sCalendar ); in EndElement()
1192 rParent.AddNfKeyword( in EndElement()
1197 rParent.AddNfKeyword( in EndElement()
1203 rParent.AddNfKeyword( NF_KEY_AMPM ); in EndElement()
1206 rParent.AddNfKeyword( in EndElement()
1211 rParent.AddNfKeyword( in EndElement()
1217 const String& rSep = rParent.GetLocaleData().getNumDecimalSep(); in EndElement()
1220 rParent.AddToCode( OUString::valueOf( rSep.GetChar(j) ) ); in EndElement()
1223 rParent.AddToCode( OUString::valueOf((sal_Unicode)'0') ); in EndElement()
1233 rParent.AddNumber( aNumInfo ); // number without decimals in EndElement()
1234 rParent.AddToCode( OUString::valueOf((sal_Unicode)' ') ); in EndElement()
1241 rParent.AddToCode( OUString::valueOf((sal_Unicode)'?') ); in EndElement()
1242 rParent.AddToCode( OUString::valueOf((sal_Unicode)'/') ); in EndElement()
1244 rParent.AddToCode( OUString::valueOf((sal_Unicode)'?') ); in EndElement()
1250 rParent.AddNumber( aNumInfo ); // simple number in EndElement()
1252 rParent.AddToCode( OUString::createFromAscii( "E+" ) ); in EndElement()
1254 rParent.AddToCode( OUString::valueOf((sal_Unicode)'0') ); in EndElement()