| Summary: | 1. In the HTML content, we have table,tr,td tags.BIRT doesn�t support the attributes of the below mentioned tags. | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Sankar Veeraiyan <krishna.shankar.v> |
| Component: | BIRT | Assignee: | Gang Liu <hustlg> |
| Status: | VERIFIED FIXED | QA Contact: | Maggie Shen <lshen> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | bluesoldier, krishna.shankar.v, wenfeng.fwd, wyan |
| Version: | 2.2.1 | Keywords: | plan |
| Target Milestone: | 2.5.1 RC2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | Autoed | ||
|
Description
Sankar Veeraiyan
Correcting assignment since this is a BIRT bug, not a website/infra bug. -M. Only limited HTML are supported in BIRT, you can see the definition in ROM. 1. BIRT doesn't support border attribute, the user can define it as CSS style. 2. those tags are not supported by BIRT. 3. I don't get what your mean about the 3rd point, can you explain it more clearly? 4. It is a known issue, we will fix it in 2.3.1, see 236190 Hi, 3. we are using dynamic text in the design to add the data from the back-end. The data is in HTML format.If the data has more than one <p></p> tags, the gap between the paragraphs is more in PDF view than in HTML view. 5.Performance is very very slow.Please let us know the memory consumption.Is there any option to speed up the performance.I'm using BIRT 2.2.1 and weblogic 8.1 sp6. 6.Is there any option to use connection from the weblogic connection pool instead of BIRT connections?If possible please send the sample. 3. Currently, Birt does not support collapsing margins, so the output is not consistent with web browser which follows CSS margin collapse model. 5. BIRT uses Jtidy as the HTML parser. Jtidy will cache the whole content, so the memory consumption is determined by your HTML content scale. 6. BIRT supports JNDI data sources, you can find it through Data explorer->new Data Sources->JDBC Data Source. defer to RC2 due to resource limitation. defer to 2.5.1 for resource limitation. add plan key work for more CSS feature support in html text. Enhance html text support in PDF report.
1. Support css shorthand style in html text
2. Support ‘width’ and ‘height’ in style attribute
3. Support border, align, valign etc attributes.
Following is the list of supported tag/attribute:
tag Name Supported Attributes
"a" id, name, href, target
"address"
"b"
"big"
"center"
"code"
"col" width
"del"
"dd"
"div"
"dl"
"dt"
"em"
"embed" src, alt, height, width
"font" size, color, face
"h1" align
"h2" align
"h3" align
"h4" align
"h5" align
"h6" align
"hr" width
"i"
"img" src, alt, height, width, border
"ins"
"li"
"object" width, height, align, border
"ol"
"p" align
"pre"
"span" align
"strong"
"strike"
"small"
"sub"
"sup"
"table" width, border, bgcolor, cellpadding
"tbody"
"td" rowspan, colspan, align, valign, bgcolor
"tfoot"
"thead"
"tr" align, valign, bgcolor, height
"tt"
"u"
"ul"
All the supported HTML tags can use attribute "style" to specify HTML inline style information. The syntax of the style attribute value is CSS inline style syntax. The supported CSS properties are listed below:
Text and Fonts
* font-family
* font-size
* font-weight
* font-style
* line-height
* letter-spacing
* word-spacing
* text-align
* text-decoration
* text-indent
* text-transform
* vertical-align
Colors and Backgrounds
* background-color
* background-image
* background-repeat
The Box Model - dimensions, padding, margin and borders
* width, height
* padding-top, padding-right, padding-bottom, padding-left
* border-top, border-right, border-bottom, border-left
* border-top-style, border-right-style, border-bottom-style, border-left-style
* border-top-color, border-right-color, border-bottom-color, border-left-color
* border-top-width, border-right-width, border-bottom-width, border-left-width
* margin-top, margin-right, margin-bottom, margin-left
Positioning and Display
* display
* visibility
Supported css shorthand as following:
Shorthand Comments
"font" support font-style, font-weight, font-size, line-height, font-family in font shorthand, can not support system fonts such as caption, icon, menu etc
"background" support background-color and background-image in background shorthand
"border"
"border-left"
"border-right"
"border-top"
"border-bottom"
"padding"
"margin "
verified on build 2.5.1 v20090828-0630. Remaining issues are logged. |