473,793 Members | 2,948 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

itext Pdf

30 New Member
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="backgrou nd-color: rgb(255, 204, 0);"><span style="font-size:
larger;">Hill</span></span></p> <p>&nbsp;</p> <p><em><span
style="backgrou nd-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 4110
pronerd
392 Recognized Expert Contributor
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 Recognized Expert Top Contributor
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
18055
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 wich iTextSharp.text.Image.getInstance(...) signature I am using : - using code 1 below, the conversion is fast enough but the resulting PDF file is too big (1 817ko sample Tiff file is converted in less than 30 seconds to a 2 764ko PDF file) -...
4
2946
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 apache. is fo still viable?
1
1527
by: gaya3 | last post by:
Hi all, Please any one say me.. how to download the iText? Thanks in advance... -Hamsa
0
1737
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 margins.
0
915
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
3085
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 asp-form reads the data of the datafields and write them into the database again. Now I want to implement an improved ASP.NET version with VB.NET and I found iText.net. - FDF seems to be completly outdated?
2
2227
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); tbl.setBorderColor(System.Drawing.Color.LightGray); tbl.setDefaultCellBorderColor(System.Drawing.Color.LightGray); tbl.setAlignment(Element.__Value.ALIGN_CENTER); tbl.setPadding(2); tbl.setWidth(( w - 495 ));
3
6691
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 .. 1>Table: table can be easily created with row span or col span but still has a problem with vertical alignment of cell content. 2>PdfPTable: table can be easily created by col span but having a bit complex with row span. But it offers well vertical...
2
2275
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 this field listed. Does anyone have any suggestions? title,author, subject, or keywords do not make sense to use because search engines will store this information and will be incorect. As a side, I don't want to store this path in the actual...
0
9518
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10159
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9033
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3719
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2917
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.