private StyleSheet createStyleSheet(StyleSheet css){
  css.addRule("body {font-family: Open Sans; font-size: 10px;}");
  css.addRule("p {font-size:10px; font-family: Open Sans; margin-top: 0px; padding-top: 0px;}");
  css.addRule("ul li {padding-bottom:1ex; font-family: Open Sans; font-size:10px; list-style-type: circle;}");
  css.addRule("h2 {font-size:14px; font-family: Open Sans; margin-bottom: 0px; margin-top: 0px;}");
  css.addRule("h4 {color: #000000; font-size:10px; font-family: Open Sans; font-weight: bold; margin-bottom: 5px;}");
  css.addRule("h5 {color: #3399FF; font-size:11px; font-family: Open Sans;}");
  css.addRule("h5 img {margin-right:8px; font-family: Open Sans;}");
  css.addRule(".parametersHeading {color: #000000; font-size:10px; font-family: Open Sans; font-weight: bold; margin-bottom: 0px;}");
  css.addRule(".parametersTable {cellspacing: 0px; border: 0;}");
  css.addRule(".typeIcon {height: 10px; width: 10px;}");
  css.addRule("td {vertical-align: top; font-family: Open Sans;}");
  css.addRule(".lilIcon {padding: 2px 4px 2px 0px;}");
  css.addRule("td {font-size: 10px; font-family: Open Sans;}");
  css.addRule(".packageName {color: #777777; font-size:10px; font-family: Open Sans; font-weight: normal;}");
  css.addRule(".parameterDetails {color: #777777; font-size:9px; font-family: Open Sans;}");
  css.addRule(".parameterDetailsCell{margin-bottom: 4px; padding-bottom: 4px;}");
  css.addRule(".tutorialProcessLink {margin-top: 6px; margin-bottom: 5px;}");
  css.addRule("hr {border: 0;height: 1px;}");
  css.addRule("a {color:" + SwingTools.getColorHexValue(Colors.LINKBUTTON_LOCAL) + "}");
  css.addRule("table {align:left;}");
  css.addRule(".tags {font-size: 9px; color: #777777;}");
  return css;
}

private StyleSheet createStyleSheet ( StyleSheet css ) { css . addRule ( "body {font-family: Open Sans; font-size: 10px;}" ) ; css . addRule ( "p {font-size:10px; font-family: Open Sans; margin-top: 0px; padding-top: 0px;}" ) ; css . addRule ( "ul li {padding-bottom:1ex; font-family: Open Sans; font-size:10px; list-style-type: circle;}" ) ; css . addRule ( "h2 {font-size:14px; font-family: Open Sans; margin-bottom: 0px; margin-top: 0px;}" ) ; css . addRule ( "h4 {color: #000000; font-size:10px; font-family: Open Sans; font-weight: bold; margin-bottom: 5px;}" ) ; css . addRule ( "h5 {color: #3399FF; font-size:11px; font-family: Open Sans;}" ) ; css . addRule ( "h5 img {margin-right:8px; font-family: Open Sans;}" ) ; css . addRule ( ".parametersHeading {color: #000000; font-size:10px; font-family: Open Sans; font-weight: bold; margin-bottom: 0px;}" ) ; css . addRule ( ".parametersTable {cellspacing: 0px; border: 0;}" ) ; css . addRule ( ".typeIcon {height: 10px; width: 10px;}" ) ; css . addRule ( "td {vertical-align: top; font-family: Open Sans;}" ) ; css . addRule ( ".lilIcon {padding: 2px 4px 2px 0px;}" ) ; css . addRule ( "td {font-size: 10px; font-family: Open Sans;}" ) ; css . addRule ( ".packageName {color: #777777; font-size:10px; font-family: Open Sans; font-weight: normal;}" ) ; css . addRule ( ".parameterDetails {color: #777777; font-size:9px; font-family: Open Sans;}" ) ; css . addRule ( ".parameterDetailsCell{margin-bottom: 4px; padding-bottom: 4px;}" ) ; css . addRule ( ".tutorialProcessLink {margin-top: 6px; margin-bottom: 5px;}" ) ; css . addRule ( "hr {border: 0;height: 1px;}" ) ; css . addRule ( "a {color:" + SwingTools . getColorHexValue ( Colors . LINKBUTTON_LOCAL ) + "}" ) ; css . addRule ( "table {align:left;}" ) ; css . addRule ( ".tags {font-size: 9px; color: #777777;}" ) ; return css ; }
this method creates and returns a stylesheet that makes the documentation look as it ' s supposed to look .
