Does BIRT fully support HTML tags (e.g. <style>)? [message #547799] |
Mon, 19 July 2010 12:04  |
Eclipse User |
|
|
|
Hi,
does BIRT 2.6 fully support HTML tags? It seems that it completely ignores the <style> tag.
For example, let's say we have a blank report with only a text field that takes HTML input. The produced pdf report does not take the declared styles into consideration...
Any idea why?
Here is an example of the HTML in the text field:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><style>
.header {
border-collapse: collapse;
border: solid black;
border-width: 1px 1px 0px 0px;
font-size: 12pt;
vertical-align:top;
padding: 2px 5px 2px 5px;
}
H1 {
font-size: 20pt;
}
H1.head {
color:#666666;
margin:0px;
padding:0px;
font-size:16pt
}
H2 {
font-size:
16pt;
}
H2.head {
margin:0px;
padding:0px;
font-size: 20pt;
}
body {
font-family: Lucida Grande, Tahoma, Arial, Verdana, sans-serif;
}
table.header {
border-width: 0px 0px 1px 1px;
}
</style>
<meta name="generator"
content="HTML Tidy for Java (vers. 2009-10-01), see jtidy.sourceforge.net" />
<title></title>
</head>
<body>
<table cellspacing="0" style="width: 800px;margin-bottom:5px" class="header"><tr><td style="vertical-align: center;" colspan="2" class="header"><table cellpadding="0" cellspacing="0" style="width:100%"><tr><td style="text-align:left"><h1 class="head">Documents</h1></td><td style="text-align:right"><img src="/Application/Images/Logos/klp.gif"></td></tr></table ></td></tr><tr><td align="left" colspan="2" class="header"><h2 class="head">003 Test</h2></td></tr><tr><td style="width:50%" class="header">Version 3,
Revision 5</td><td style="width:50%" class="header"></td></tr><tr><td style="width:50%" class="header">Edited: John (2010-07-19)</td><td style="width:50%" class="header"></td></tr></table>
<p> </p>
<p> </p>
<p>Whatever text here...</p>
<p>Just a test</p>
</body>
</html>
Katerina
|
|
|
|
Powered by
FUDForum. Page generated in 0.03009 seconds