diff --git a/jasperreports/build.xml b/jasperreports/build.xml
index 90ddc5ffa4..bb6ec6f5f4 100644
--- a/jasperreports/build.xml
+++ b/jasperreports/build.xml
@@ -280,10 +280,6 @@
-
-
-
-
diff --git a/jasperreports/demo/samples/functions/build.xml b/jasperreports/demo/samples/functions/build.xml
index 2e458d95c1..e205951e80 100644
--- a/jasperreports/demo/samples/functions/build.xml
+++ b/jasperreports/demo/samples/functions/build.xml
@@ -38,10 +38,6 @@
-
-
-
-
diff --git a/jasperreports/demo/samples/functions/reports/FunctionsReport.jrxml b/jasperreports/demo/samples/functions/reports/FunctionsReport.jrxml
index 21246e91de..099b8f4c64 100644
--- a/jasperreports/demo/samples/functions/reports/FunctionsReport.jrxml
+++ b/jasperreports/demo/samples/functions/reports/FunctionsReport.jrxml
@@ -25,7 +25,7 @@
-
+
diff --git a/jasperreports/docs/config.reference.xsl b/jasperreports/docs/config.reference.xsl
index 92fb186706..3def8e76df 100644
--- a/jasperreports/docs/config.reference.xsl
+++ b/jasperreports/docs/config.reference.xsl
@@ -14,84 +14,8 @@
JasperReports - Configuration Reference
+
diff --git a/jasperreports/docs/parts.schema.reference.xsl b/jasperreports/docs/parts.schema.reference.xsl
index e731aabe45..284f56ac40 100644
--- a/jasperreports/docs/parts.schema.reference.xsl
+++ b/jasperreports/docs/parts.schema.reference.xsl
@@ -15,66 +15,8 @@
JasperReports - Report Parts Schema Reference
+
diff --git a/jasperreports/docs/resources/stylesheet.css b/jasperreports/docs/resources/stylesheet.css
new file mode 100644
index 0000000000..90b078091f
--- /dev/null
+++ b/jasperreports/docs/resources/stylesheet.css
@@ -0,0 +1,155 @@
+.title {
+ font-family: Arial, Verdana, Helvetica, sans-serif;
+ font-size: 28px;
+ font-weight: normal;
+}
+
+.toc {
+ font-family: Courier New, Courier, serif;
+ font-size: 12px;
+ font-weight: normal;
+}
+
+.name {
+ font-family: Courier New, Courier, serif;
+ font-size: 16px;
+ font-weight: bold;
+}
+
+.category {
+ font-family: Arial, Verdana, Helvetica, sans-serif;
+ font-size: 16px;
+ font-weight: bold;
+ font-style: italic;
+}
+
+.label {
+ font-family: Arial, Verdana, Helvetica, sans-serif;
+ font-size: 12px;
+ font-weight: bold;
+ font-style: italic;
+ padding-right:8px;
+}
+
+.description {
+ font-family: Arial, Verdana, Helvetica, sans-serif;
+ font-size: 12px;
+ font-weight: normal;
+}
+
+.value {
+ font-family: Courier New, Courier, serif;
+ font-size: 12px;
+ font-weight: normal;
+}
+
+.element {
+ font-family: Courier New, Courier, serif;
+ font-size: 12px;
+ font-weight: normal;
+}
+
+.attribute {
+ font-family: Courier New, Courier, serif;
+ font-size: 12px;
+ font-weight: bold;
+ text-decoration: none;
+ color: #000000;
+}
+
+.complete {
+ font-family: Courier New, Courier, serif;
+ font-size: 12px;
+ font-weight: normal;
+ color: #000000;
+}
+
+.incomplete {
+ font-family: Courier New, Courier, serif;
+ font-size: 12px;
+ font-weight: normal;
+ color: #999999;
+}
+
+.copy {
+ font-decoration: none;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 8pt;
+ font-style: normal;
+ color: #000000;
+}
+
+.note {
+ font-family: Arial, Verdana, Helvetica, sans-serif;
+ font-size: 12px;
+ font-style: italic;
+ color: #990000;
+}
+
+.text {
+ font-size: 12px;
+}
+
+.indent {
+ margin-left: 20px;
+}
+
+.bold {
+ font-weight: bold;
+}
+
+.code {
+ font-family: Courier New, Courier, serif;
+ font-size: 13px;
+}
+
+.subtitle {
+ font-family: inherit;
+ font-size: inherit;
+ font-style: inherit;
+ font-weight: bold;
+ text-decoration: none;
+ color: inherit;
+}
+
+table.doctable {
+ border-collapse: collapse;
+ font-family: Arial, Verdana, Helvetica, sans-serif;
+ font-size: 12px;
+ font-weight: normal;
+ margin: 10px 0;
+ text-align: left;
+}
+
+table.doctable th, table.doctable td {
+ border-bottom: 1px solid gray;
+ padding: 5px 10px;
+}
+
+table.doctable tr.full_border th, table.doctable tr.full_border td {
+ border: 1px solid gray;
+}
+
+table.doctable.alternate_bg tr:nth-child(even), tr.grey_bg {
+ background-color: #f2f2f2;
+}
+
+.green {
+ color: green;
+}
+
+.red {
+ color: red;
+}
+
+.large {
+ font-size: 20px;
+}
+
+.maxWidth170 {
+ max-width: 170px;
+}
+
+.minWidth300 {
+ min-width: 300px;
+}
diff --git a/jasperreports/docs/sample.reference.xsl b/jasperreports/docs/sample.reference.xsl
index 75a13dbde3..f58c33c028 100644
--- a/jasperreports/docs/sample.reference.xsl
+++ b/jasperreports/docs/sample.reference.xsl
@@ -14,78 +14,8 @@
JasperReports - Sample Reference
+
diff --git a/jasperreports/docs/sample.xsl b/jasperreports/docs/sample.xsl
index 590be2845a..0c08eb2693 100644
--- a/jasperreports/docs/sample.xsl
+++ b/jasperreports/docs/sample.xsl
@@ -14,121 +14,8 @@
JasperReports -
+
diff --git a/jasperreports/docs/schema.reference.xsl b/jasperreports/docs/schema.reference.xsl
index 5dda89e5af..fe597e7fc7 100644
--- a/jasperreports/docs/schema.reference.xsl
+++ b/jasperreports/docs/schema.reference.xsl
@@ -14,86 +14,8 @@
JasperReports - Schema Reference
+