473,406 Members | 2,345 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,406 software developers and data experts.

itext Pdf

Hi

I am genrating the pdf using itext .
i need to display the fck editor content in the pdf . this is stored as blob in the database ,
we need to display same content in the pdf wth same format .

for example there is data like this
<p>&nbsp;</p> <p><span style="font-size: larger;">HI</span></p> <p>&nbsp;</p>
<p><span style="background-color: rgb(255, 204, 0);"><span style="font-size:
larger;">Hill</span></span></p> <p>&nbsp;</p> <p><em><span
style="background-color: rgb(255, 204, 0);"><span style="font-size:
larger;">Hello </span></span></em></p>


if the font of text is increased same thing should be applied in the pdf also .

before content was displaying as <p> Hi </p> I used HTML WOrker (Itext class) THEN the content is displaying corectly now the style is not getting applied .


is there any way to display the fck editor content in the pdf with same style . Please help me on this . thanks
Sep 25 '08 #1
2 4088
pronerd
392 Expert 256MB
Since your question is really about the iText API, rather than the Java language, it would be better to post it in a forum that covers that.
Sep 26 '08 #2
Dököll
2,364 Expert 2GB
This also looks like a job for a just tutorial, just started using iText myself, this site's a gem:http://itextdocs.lowagie.com/tutorial/
Nov 18 '08 #3

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

Similar topics

0
by: Nicolas Guilhot | last post by:
Hi all ! I have a multi-page Tiff image file that I want to convert to PDF. To do so I am using iText library. The conversion is working, but the code execution is very different according to...
4
by: Elhanan | last post by:
hi.. i'm looking into ways for generating pdf's from xml, at first i thought fo / fop looks nice enough i mean it's standard, it's free and sperates concers, but i'm worried about fop from...
1
by: gaya3 | last post by:
Hi all, Please any one say me.. how to download the iText? Thanks in advance... -Hamsa
0
by: vijaykumarsharma | last post by:
hi to all I want to put left right margins for a pdf file page. I am using doc.setMargin(10,10,10,10) is not working. her doc means an object of Document. please send how to put the...
0
by: pkombli | last post by:
hi to every one . . i m using itext to create pdf files but m not getting how to connect database to create pdf using itext. .so plz help me
2
by: Toni Pohl | last post by:
Hi, some years ago I´ve implemented an classic ASP form which fills in data from a database into a PD-form. I used the free FDF Toolkit which worked very well. After submitting the PDF the...
2
m6s
by: m6s | last post by:
Good morning. I have a major issue with iText. Major but most of all ridiculous. After the cration of a table like that tbl = new Table(7, dataTbl.Rows.Count);...
3
dmjpro
by: dmjpro | last post by:
I think iText commonly used to create or manipulate PDF document in Java. So finally i decided to throw a question over here. For two days i am struggling. I encountered two types of table .....
2
by: keydrive | last post by:
I have a requirment to store a path in a field during PDF generation. The field I've decided on is the application field, mainly because the others don't make sense. The api doesn't seem to have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.