When adding CC025_HTML_TEXT for notes on a Crystal Report, you may notice that not all of your formatting is respected, especially if you use tables or more complex HTML. This is because Crystal Reports on supports a small subset of HTML tags. All other tags will be ignored.
Fully supported tags:
- html
- body
- span
- font
- center
- b
- i
- s
- strike
- u
- br
Tags function, but with modified behavior:
- div - inserts a paragraph break
- p - inserts a paragraph break
- h1 - inserts a paragraph break, makes font bold and twice default size
- h2 - inserts a paragraph break, makes font bold and 1.5 times default size
- h3 - inserts a paragraph break, makes font bold and 9/8 default size
- h4 - inserts a paragraph break, makes font bold
- h5 - - inserts a paragraph break, makes font bold and 5/6 default size
- h6 - inserts a paragraph break, makes font bold and 5/8 default size
- big - increases font size by 2 points
- small - decreases font size by 2 points, but only if 8 point or larger
Attributes Supported:
- align
- face
- size
- color
- style
- font-family
- font-size
- font-style
- font-weight
See the Displaying Notes on a Crystal Report article for more information.
Comments
0 comments
Please sign in to leave a comment.