473,399 Members | 3,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

background image in jasper reports as html

1
While generating report as html in jasper,background image appears in <span> instead of <body> background tag.The requirement is to get the text 'COPY' as across the page..can anyone share me the idea...
Expand|Select|Wrap|Line Numbers
  1. <background>
  2.         <band height="782">
  3.             <staticText>
  4.                 <reportElement style="backgroundStyle" mode="Transparent" x="0" y="0" width="555" height="782"/>
  5.                 <textElement rotation="Left"/>
  6.                 <text><![CDATA[
  7. SAMPLE
  8. ]]></text>
  9.             </staticText>
  10.         </band>
  11.     </background>
Generated html source:
<span style="position:absolute;left:20px;top:30px;width: 555px;height:782px;text-align: center; vertical-align: middle;"><span style="font-family: Helvetica; color: #C0C0C0; font-size: 90px; font-weight: bold;"><br/>SAMPLE<br/></span></span>
Oct 27 '11 #1
0 1821

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Mike | last post by:
I want to change the background image of the html page within code based on the users selection. I'm trying to use this in the page onload even response.write("<body background=' & dataitem>") ...
5
by: Michael | last post by:
Is there a way to specify a background-image for a html table cell in a theme's css file. I know a lot of things I can't do... can't figure out one that I can do: 1) ~/ Images/logo.gif...
3
by: Lord0 | last post by:
Hi there, First of all I apologise for being a PHP noob. Is there a PHP equivalent of Java's Jasper Reports? http://jasperforge.org/sf/projects/jasperreports Basically Jasper is a bunch...
1
by: gsuns82 | last post by:
Hi all, I am new to Jasper reports concept,pls let me the following things. 1.Get me an url where i can download a sample application for jasper reporting. 2. I cant able to get samples from"...
2
by: bjverni | last post by:
Hi, I am calling a stored procedure in my Jasper Reports, but it is giving me an error. Would it possible to execute stored procedures in the field wizard when you create the Jasper Report...
2
by: thephatp | last post by:
I'm having a problem with IE rendering correctly. I'm experimenting with using all div's in my pages now, and I'm not very familiar with the quirks of IE. I have created a sample page, and I'm...
20
by: mahmoodn | last post by:
There is a problem with background image in my HTML file. I have written an HTML file and in that I add a background image. When I open it in firefox, it shows the background image but it does not...
4
karthickkuchanur
by: karthickkuchanur | last post by:
I am using JasperReports 2.0.5. I am trying to use the background tag to generate a watermark image for my reports. JRXML source is below and also attached.The problem is that I do not get HTML...
1
by: ravideep | last post by:
I want to stretch the background image of <td> according to the width of td. The width of td can vary becouse of the content inside the td tag. so the background image should be stretched accordingly.
0
by: prileep | last post by:
Hi, I am trying to invoke JASPER Reports designed using iReport 3.7.0. JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, param, conn); I am getting following error, root...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.