Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Does BIRT fully support HTML tags (e.g. <style>)?
Does BIRT fully support HTML tags (e.g. <style>)? [message #547799] Mon, 19 July 2010 16:04 Go to next message
Katerina  is currently offline Katerina Friend
Messages: 4
Registered: January 2010
Junior Member

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"
<html xmlns="">
.header {
border-collapse: collapse;
border: solid black;
border-width: 1px 1px 0px 0px;
font-size: 12pt;
padding: 2px 5px 2px 5px;
H1 {
font-size: 20pt;
H1.head {
H2 {
H2.head {
font-size: 20pt;
body {
font-family: Lucida Grande, Tahoma, Arial, Verdana, sans-serif;
table.header {
border-width: 0px 0px 1px 1px;
<meta name="generator"
content="HTML Tidy for Java (vers. 2009-10-01), see" />
<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&nbsp;3,
Revision&nbsp;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>Whatever text here...</p>
<p>Just a test</p>

Re: Does BIRT fully support HTML tags (e.g. <style>)? [message #547822 is a reply to message #547799] Mon, 19 July 2010 17:06 Go to previous message
Richard A. Polunsky is currently offline Richard A. PolunskyFriend
Messages: 210
Registered: July 2009
Location: Houston TX
Senior Member

You'll need to search the forum/newsgroup for references, but this has recently been raised by others. The PDF emitter does not parse dynamically generated HTML the way you have it. Someone may have entered that as a request.
Previous Topic:cube: build indicators
Next Topic:http 401 error (xml data source) with viewer deployed in tomcat
Goto Forum:

Current Time: Tue May 22 14:13:35 GMT 2018

Powered by FUDForum. Page generated in 0.01481 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top