Additional formatting for Coins ERP+ configurable documents is based on the FOP (Formatting Objects Processor) standard. The full standard provides for a wide range of formatting options, many of which are not relevant to Coins ERP+ configurable documents. You can read more about it at: http://xml.apache.org/fop/.
The following table shows some of the formatting instructions you are more likely to need.
color | color=<color> background-color=<color> | <color> can be a color name, like blue, or a red/green/blue code, like #55AC9B. See About colors in HTML and FOP. | color=cyan color=#00FFFF background-color=gold background-color=#FFD700 |
Borders | border=<style> <color> <measure> border-left-color=<color> border-left-style=<style> border-left-width=<measure> (Similarly -right-, -top-, -bottom-) | <style> the border style; only solid works <measure> is usually in points; for example; 1.5pt | border=solid green 1.5pt border-bottom-style=solid,border-bottom-color=red |
Typeface | font-size=<measure> font-family=<family-name> font-variant=<variant> | <family-name> depends on the fonts installed on your system. By default, Helvetica, Times Roman, Courier, Dingbats and Symbol fonts are available. But it is possible to add any other licensed true-type font required <variant> can be normal or small-caps | font-family=Times Roman font-family=Helvetica, font-size=24pt font-variant=small-caps |
Bold, italic, underline | font-weight=<weight> | <weight> can be normal or bold | font-weight=bold |
font-style=<style>
| <style> can be normal or italic
| font-style=normal |
|
| text-decoration=<decoration> | <decoration> can be none, underline, overline or line-through | text-decoration=overline |
Padding (gap between border and text) | padding-left=<measure> (Similarly -right-, -top-, -bottom-) | <measure> - see above | padding-left=2pt,padding-top=1pt |
