protected FastMap<String> readDeclaredProperties(WidgetCreatorContext context){
  FastMap<String> declaredProperties=new FastMap<String>();
  String backColor=context.readWidgetProperty("backColor");
  if (backColor != null && backColor.length() > 0) {
    declaredProperties.put("backColor",backColor);
  }
  String fontName=context.readWidgetProperty("fontName");
  if (fontName != null && fontName.length() > 0) {
    declaredProperties.put("fontName",fontName);
  }
  String fontSize=context.readWidgetProperty("fontSize");
  if (fontSize != null && fontSize.length() > 0) {
    declaredProperties.put("fontSize",fontSize);
  }
  String foreColor=context.readWidgetProperty("foreColor");
  if (foreColor != null && foreColor.length() > 0) {
    declaredProperties.put("foreColor",foreColor);
  }
  String justification=context.readWidgetProperty("justification");
  if (justification != null && justification.length() > 0) {
    declaredProperties.put("justification",justification);
  }
  String bold=context.readWidgetProperty("bold");
  if (bold != null && bold.length() > 0) {
    declaredProperties.put("bold",bold);
  }
  String italic=context.readWidgetProperty("italic");
  if (italic != null && italic.length() > 0) {
    declaredProperties.put("italic",italic);
  }
  String subscript=context.readWidgetProperty("subscript");
  if (subscript != null && subscript.length() > 0) {
    declaredProperties.put("subscript",subscript);
  }
  String superscript=context.readWidgetProperty("superscript");
  if (superscript != null && superscript.length() > 0) {
    declaredProperties.put("superscript",superscript);
  }
  String underline=context.readWidgetProperty("underline");
  if (underline != null && underline.length() > 0) {
    declaredProperties.put("underline",underline);
  }
  String strikethrough=context.readWidgetProperty("strikethrough");
  if (strikethrough != null && strikethrough.length() > 0) {
    declaredProperties.put("strikethrough",strikethrough);
  }
  return declaredProperties;
}

protected FastMap < String > readDeclaredProperties ( WidgetCreatorContext context ) { FastMap < String > declaredProperties = new FastMap < String > ( ) ; String backColor = context . readWidgetProperty ( "backColor" ) ; if ( backColor != null && backColor . length ( ) > 0 ) { declaredProperties . put ( "backColor" , backColor ) ; } String fontName = context . readWidgetProperty ( "fontName" ) ; if ( fontName != null && fontName . length ( ) > 0 ) { declaredProperties . put ( "fontName" , fontName ) ; } String fontSize = context . readWidgetProperty ( "fontSize" ) ; if ( fontSize != null && fontSize . length ( ) > 0 ) { declaredProperties . put ( "fontSize" , fontSize ) ; } String foreColor = context . readWidgetProperty ( "foreColor" ) ; if ( foreColor != null && foreColor . length ( ) > 0 ) { declaredProperties . put ( "foreColor" , foreColor ) ; } String justification = context . readWidgetProperty ( "justification" ) ; if ( justification != null && justification . length ( ) > 0 ) { declaredProperties . put ( "justification" , justification ) ; } String bold = context . readWidgetProperty ( "bold" ) ; if ( bold != null && bold . length ( ) > 0 ) { declaredProperties . put ( "bold" , bold ) ; } String italic = context . readWidgetProperty ( "italic" ) ; if ( italic != null && italic . length ( ) > 0 ) { declaredProperties . put ( "italic" , italic ) ; } String subscript = context . readWidgetProperty ( "subscript" ) ; if ( subscript != null && subscript . length ( ) > 0 ) { declaredProperties . put ( "subscript" , subscript ) ; } String superscript = context . readWidgetProperty ( "superscript" ) ; if ( superscript != null && superscript . length ( ) > 0 ) { declaredProperties . put ( "superscript" , superscript ) ; } String underline = context . readWidgetProperty ( "underline" ) ; if ( underline != null && underline . length ( ) > 0 ) { declaredProperties . put ( "underline" , underline ) ; } String strikethrough = context . readWidgetProperty ( "strikethrough" ) ; if ( strikethrough != null && strikethrough . length ( ) > 0 ) { declaredProperties . put ( "strikethrough" , strikethrough ) ; } return declaredProperties ; }
reads all declared properties in the component span tag . these properties will be used to initialise the basic formatter . it will be done by method initbasicformatteroptions
