Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
HTML inside a data column in PDF report
Migrateduser
Hi,
Good day to everyone.
I am trying to generate a pdf report with html tags inside one of the column.
This data is retrieved from a resultset from the handler (java).
The style does not show up when I view the report as pdf.
Here is a sample of the data inside the column.
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<style type="text/css">
#style_1 {font-family: Arial; font-size: 12; font-weight: bold; }
#style_2 {font-family: Arial; font-size: 12; }
#style_3 {font-family: Arial; font-size: 12; color:rgb(255,0,128); }
#style_4 {font-family: Arial; font-size: 12; font-weight: bold; font-style: italic; text-decoration: underline; color:rgb(255,0,128); }
#style_5 {font-family: Arial; font-size: 12; font-weight: bold; font-style: italic; color:rgb(255,0,128); }
#style_6 {font-family: Arial; font-size: 12; font-weight: bold; }
</style>
</head>
<body>
<div style="text-align: left;">
<span id="style_1">- Some text</span>
<span id="style_2"><br/>- Some text<br/></span>
<span id="style_3">Herkunft: Keule<br/></span>
<span id="style_4">aaaa</span>
<span id="style_5"><br/></span>
<span id="style_6">aaaaa: aaaaa<br/><br/><br/><br/></span>
</div>
</body>
</html>
This is displayed in the pdf report with the tags removed but the styles were not applied.
Is it possible for the style to be applied in the pdf report? Does anyone know how to do this?
Thank you very much.
Find more posts tagged with
Comments
There are no comments yet