One word: Tutorial.
Xml to PDF is simple and well documented.
If you have specific questions once you get started, please ask again.
-Bill Ensley
www.bearprinting.com
I would be very interested if someone found a way to convert XML to
PDF
Michael D Marcavage
Re
Date: Fri, 02 Mar 20
On Sat, 2007-03-03 at 09:16 +0530, Krishna Prasad V wrote:
> We are getting the images from one of our application on the fly
> (which we cannot get the path also, but it will be displayed on the
> screen).
>
> While converting the same document (images/chart/graph's) to PDF only
> the "on the fly
On Sat, 2007-03-03 at 09:11 +0530, Krishna Prasad V wrote:
> We have a custom made font and we want to use it in all our PDF's
> which we are generating through iText.
>
> We are not able to find the suitable package to define and use our
> custom font.
I assume you're talking about standard True
Dear Paulo, Bruno,
We are getting the images from one of our application on the fly (which we
cannot get the path also, but it will be displayed on the screen).
While converting the same document (images/chart/graph's) to PDF only the
"on the fly" contents are not converted.
Please help.
Than
Dear Paulo, Bruno,
We have a custom made font and we want to use it in all our PDF's which we
are generating through iText.
We are not able to find the suitable package to define and use our custom
font.
Please help.
Thanks,
Regards,
Krishna Prasad V
-
I would be very interested if someone found a way to convert XML to
PDF
Michael D Marcavage
Re
Date: Fri, 02 Mar 2007 19:11:15 +0100
From: Patrick Schweizer <[EMAIL PROTECTED]>
Subject: [iText-questions] xml to pdf acroforms SAXiTextHandler
question
To: itext-questions@li
Hi -
My understanding is that XFA support in iText is currently fairly
limited - for example, it's not possible to add new XFA form fields to a
document.
Is this correct? Are there any current plans to extend XFA support in
the near term? If not, is this due to resource availability or
I'll get back to you later on this.
Paulo
- Original Message -
From: "robert engels" <[EMAIL PROTECTED]>
To: "itext iText here"
Sent: Friday, March 02, 2007 6:26 PM
Subject: Re: [iText-questions] bouncy castle (Paulo Soares)
> Paulo,
>
> Maybe there is a better way.
>
> I have 2 mot
On Wednesday 10 January 2007 10:53, Sebastien Arbogast wrote:
> getDocument().add(new Paragraph("Hello World!", new
> RtfParagraphStyle("TEST", "Arial", 20, RtfFont.STYLE_ITALIC,
> Color.BLACK))); When I run it, here is the exception I get:
>
> Is it a known bug? Is there a workaround? Because I re
On Friday 19 January 2007 10:51, Sebastien Arbogast wrote:
> 1.[Tab]This is a very long text and when the end of the line comes
> the text is wrapped.
>
> But I would prefer to have the wrapped line aligned with the first one,
> like that:
> 1.[Tab]This is a very long text and when the end of the l
Before a table or row is rendered (written) on the page, Is there a way to
know its height?
If not, is it possible to delete the row or table (or blotch it out) after
being written to the document?
Thanks,
Kanchana.
-
Take
On Sunday 21 January 2007 17:10, Eric W wrote:
> I have a problem when creating rtf file.
> When selecting blue color font in a phrase, next phrases are blue too
> What's wrong in my code ?
This bug has been fixed in the CVS. Font settings are now properly reset at
the beginning of phrases and
On Wednesday 21 February 2007 08:05, GAMBELLI Raffaele wrote:
> My colleague who uses TxTextControl (do you know? if not, you can see
> http://www.textcontrol.com/) says that he isn't able to change
> programmatically page's numbering (special) field for all the rtf documents
> that I created using
On Tuesday 20 February 2007 15:44, GAMBELLI Raffaele wrote:
> Please, try open the rtf in attachment (generated with itext, same code as
> tutorial for page numbering) and look at page's numbering of the first page
> (see the document in a way that you can see the full page inside your
> screen).
I
Ok lets forget that.
Sorry i have not tough of this before.
I will generate the Page completelly in HTML, and ill pass it through
PD4ML after instead. That will do the trick.
Thanks for the help anyhow!
Jeff
On 3/2/07, Larouche Jean-François <[EMAIL PROTECTED]> wrote:
> Best would be if i could
Hi,
sorry for the long delay in answering, I've been offline.
On Friday 23 February 2007 19:30, Garcia, Daniel NMN wrote:
> How can I merge this existing rtf file without changing the
> footer/header of my destination document?
This is a tricky situation. When you merge the complete document, the
Paulo,
Maybe there is a better way.
I have 2 motivating factors:
1. Limit the deployment size. The bouncy castle jars are as large as
the iText jar. Maybe a 'thin" BC can be distributed with iText that
only contains the ASN functions? Or just implement the ASN1 functions
in iText?
2. Limi
On Monday 26 February 2007 09:56, GAMBELLI Raffaele wrote:
> Ok, at this point I confirm my first post about the difference between Cell
> and com.lowagie.text.rtf.table.RtfCell
>
> Plese scuse me for the confusion but also the API reference is a little
> confused...
The difference between RtfCell
Hello,
I have a question concerning the xml to pdf transformation.
I need to generate a pdf out of an xml.
I searched to web to find a good solution for that and came across iText. This
is what I found out so far:
- iText supports a xml to pdf transformation via the SAXiTextHandler
- SAXiTextH
You would also have to implement the create() method properly to do
the create on the underlying graphics, and create a new wrapper
graphics.
On Mar 2, 2007, at 12:01 PM, robert engels wrote:
> Maybe just create a wrapper PdfGraphics that contains a reference
> to the underlying PdfGraphics
Best would be if i could do something like:
reader.consolidateNamedDestinations();
PdfDictionary dict = reader.getPageN(1)
document.add(dict.getContentAsRawElement());
.
I know the getContentAsRawElement doesn't exists but
im not a pdf master, you are. Im asking myself if its possible
Maybe just create a wrapper PdfGraphics that contains a reference to
the underlying PdfGraphics and then delegate all methods to it.
Intercept the drawString calls, detect the urls, and then add the
annotations to the pdf.
-
Unfortunately iText needs more than algorithms and RSA public/private
key implementation, most of those already present in jdk 1.4. There's
also PKCS#7 assembly and disassembly and other asn1 operations that the
jce doesn't give you. Even if jdk 1.5 could provide all that, iText
won't leave jdk 1.4
What is the point in wasting my time fixing the code, if there is no
reasonable chance of getting it committed?
Paulo is obviously competent enough to understand the problem, and
the proposed solution.
I have a feeling that there is more too this than meets the eye, as
there is no technical
You can start by reading the tutorial (or buying the book). See
http://itextdocs.lowagie.com/tutorial/general/copystamp/index.html#pdfwriter.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Larouche Jean-François
> Sent: Friday, March 02
So its not possible to use something like this?
There must be a way, i probably dont use it correctly.
ByteArrayOutputStream pdfOutputStream = new ByteArrayOutputStream();
Document document = new Document();
PdfWriter writer = PdfWriter.getInstance(document, pdfOutputStream);
document.open()
doc
On Fri, 2007-03-02 at 11:21 -0600, robert engels wrote:
> I think you misunderstand the JCE system or what I am stating -
> although I did not use the term provider correctly in the strictest
> sense.
Might I suggest that code speaks louder than words and is more often
understood correctly. As
Hi Friends,
Appreciate all for helping in my previous problem.
This time i need to add header and footer to my PDF output. This is my
attached...
The problem is the header and footer only on the last page. What do i do to
get it all the pages. I purchased the bookiText in action, it says we sh
paul,
I think you misunderstand the JCE system or what I am stating -
although I did not use the term provider correctly in the strictest
sense.
The SUN provider in 1.5 includes significantly more cryptography
algorithms than the 1.4 and prior releases - most importantly it
includes an RS
You only have a table with several cells, they will break as needed. to
do wjat you want put each of your blocks in a table and put each of this
tables in a cell in an outer table. Make the outer table
setSplitLate(true).
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EM
If I understand you correctly, you want to have PdfGraphics2D honor
hyperlinks within the finished document.
While this is certainly possible to hack PdfGraphics2D to accomplish it, it
breaks the concept of the Graphics object as
You would need to explicitely be using a PdfGraphics2D object instea
Hi all,
i have to print the result of a report in a pdf file. each row from the
database is put in a PdfPtable, and this is my code, but it occurs a page
break during the print that breaks some of the tables :(
at start i have an image:
PdfWriter.getInstance(document, response.getOutp
Importing pages doesn't preserve links. You may be asking too much of the PDF
format.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Larouche Jean-François
> Sent: Friday, March 02, 2007 4:49 PM
> To: Post all your questions about iText
Ack i just tough about it, i cannot do that, there might by hyperlinks
inside the PD4ML generated pdf. If i clip an image i will loose all this
information.
I really need to just get that content and insert in a cell as is.
On 3/2/07, Larouche Jean-François <[EMAIL PROTECTED]> wrote:
I dont kn
I dont know if this will work, because if i clip an image, the content wont
readjust itself in the Cell if its smaller.
I will try to find the example you talking about and try it.
Thanks!
On 3/2/07, Paulo Soares <[EMAIL PROTECTED]> wrote:
There are lots of examples about importing PDF pages
There are lots of examples about importing PDF pages and treating them as
images.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Larouche Jean-François
> Sent: Friday, March 02, 2007 4:36 PM
> To: Post all your questions about iText her
Well i want to add the "content" of all pages in another PDF inside a
PdfPCell.
That cell is inside a dynamically generated Document with iText.
Would that be possible?
Im still digging through mailing archive without luck.
On 3/2/07, Bruno Lowagie <[EMAIL PROTECTED]> wrote:
Larouche Jean-Fra
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of robert engels
> Sent: Friday, March 02, 2007 4:12 PM
> To: itext iText here
> Subject: Re: [iText-questions] bouncy castle requirement?
>
> My point was, if you use the standard Java interfaces,
Larouche Jean-François wrote:
> But its only working if i close all the PDFs, re-read them, and merge on
> a page basis.
Are you saying you tried using bytes from a document
that wasn't closed? The close method creates the
Cross-Reference table and the trailer of the document.
Those are essential
robert engels wrote:
> I am willing to work on a patch to allow have iText use the standard
> java JCE interfaces if there was reasonable certainty of it being
> accepted.
Sounds interesting.
Paulo has the final word on everything that concerns signatures.
Let's hear what he thinks about it.
b
My point was, if you use the standard Java interfaces, a user that is
running Java 1.3 or 1.4 can install the bouncy castle "provider" jars
and it will work.
A user that is running 1.5 does not need the bouncy castle jars since
the provider is already there.
With the current code, all users
Sorry for the previous reply. I was able to find a solution after delving
more deeply into the classes. I was able to emulate the rowspan too.
Thanks for your help.
Kanchana.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexis
Pigeon
Sent: Wednesday,
Hi
Searched the archives, and couldn't find a similar question, so...
I have a java app which currently exports graphics2d objects rendered
using the excellent JUNG visualisaiton library as EPS files (amongst
other formats), using a slightly-hacked version of the FreeHEP vector
graphics too
Hi All,
Its been some time that i try to merge a PDF created in memory from iText
and
an utility called PD4ML.
Everything is in memory, and the good example on website is working.
But its only working if i close all the PDFs, re-read them, and merge on a
page basis.
The only problem, the user wa
Thanks I'll check that out...
>From: Bruno Lowagie <[EMAIL PROTECTED]>
>Reply-To: Post all your questions about iText here
>
>To: Post all your questions about iText here
>
>Subject: Re: [iText-questions] Getting coordinates of an existing field...
>Date: Fri, 02 Mar 2007 10:34:00 +0100
>
>Rick
[EMAIL PROTECTED] wrote:
> I’m tying to add to a pdf a part of an other pdf.
>
> I found getImportedPage who import a whole page but how can I import
> just a part of a page?
You can 'clip' a PdfImportedPage, but something tells
me that's not what you want. You'll have to clarify.
Either your qu
Eric Summkeller wrote:
> - How could I found the Paragraph with the special character combination?
That may prove to be very difficult if not impossible.
Why didn't you add a(n invisible) annotation instead?
Annotations contain coordinates.
> - How could I change this Paragraph through the new Pa
I'm testing with different files and it's slower, sometimes 10,
sometimes 2 times, but always slower.
I've observed that merged file on my drive is growing with 1mb/s with
1.3.6, and 100-200kb/s with 1.4.8.
How is it possible?
Thanks,
Mariusz
Paulo Soares wrote:
> 10 times slower is certainly
If you run the test code:
FileOutputStream file = new FileOutputStream("output.txt");
FileChannel channel = file.getChannel();
channel.close();
PrintWriter writer = new PrintWriter(file);
writer.println("testing, testing, testing");
writer.close();
Do you have anything writen to output.txt?
Paul
10 times slower is certainly something else.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Mariusz Pala
> Sent: Friday, March 02, 2007 11:59 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] PDF merging much sl
This may be fixed in the current CVS.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Mariusz Pala
> Sent: Friday, March 02, 2007 12:09 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Problem with ToC in
OK, thanks.
please let me know if the status of this "bug" will change.
I've tested this stuff with iText 1.4.8 and it works fine. The problem
seems to exist only in v2.0
.
Regards,
Mariusz
Bruno Lowagie (iText) wrote:
> Mariusz Pala wrote:
>
>> Ok, I'm enclosing an example that allows to rep
I'm trying to upgrade my iText library.
Currently I'm using itext 1.3.6 and file merging (using PdfCopy) is quite
fast.
But when I upgrade to v1.4.8 merging, it is very very slow.. Like ten times
slower than in 1.3.6.
I'm testing on files with sizes: 5.5kb, 30mb, 14mb.
Do you know where could
Hello,
I want to create a table of contents in pdf. Therefore I saved all the added
Chapters and Sections in a list. At the position where the table of contents
should later appear I added a Pharagraph with a special character combination.
After the Pdf Document was closed I want to read the Pd
Amit Kumar Agarwal wrote:
> Hi,
>
> I want to display a PDF file in jip.
jip?
> It is possible using iText. If yes,
> please provide me some sample code.
Please Google for an example.
This question has been answered over and over again.
Summarized: it's possible, but it's a bad idea.
Use Servl
Hi,
I want to display a PDF file in jip. It is possible using iText. If yes,
please provide me some sample code.
Thanks in Advance,
Amit
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay p
robert engels wrote:
> Curious. Why is there a direct dependency on the bouncy castle jars?
Because we are planning to use more BC functionality in the future.
> Can't iText use the standard Java encryption packages (which will
> locate the needed provider)?
I believe you implicitly gave the a
Rick DeFazio wrote:
> Does anyone know if it is possible to determine the coordinates of an
> existing signature filed in a PDF? If so any code examples?
Hey Rick,
for some reason I'm not receiving any of your mails in my inbox.
This happens with several people. I'm starting to suspect my
hosting
Versoft wrote:
> How can i specify the relative location to my web application root
You can ask the Servlet for its context path.
br,
Bruno
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay
rajat bhatnagar wrote:
> I am trying 2 do the following since the last 4 days but did not have
> success as of now
The reason for this is that you're trying to do something
that is impossible. Sorry.
br,
Bruno
-
Take Surveys
60 matches
Mail list logo