To build with jdk 1.3 you'll also need to uncomment a line and comment
another line in PdfGraphics2D.
Paulo
- Original Message -
From: "bruno" <[EMAIL PROTECTED]>
To: "Christopher Randall" <[EMAIL PROTECTED]>;
Sent: Wednesday, March 29, 2006 8:06 AM
Subject: Re: [iText-questions] Co
Dilan wrote:
stamper.close();
The above method closes the outputstream!
You can't add anything to the outputstream after stamper.close();
If you manage to do this somehow, the resulting PDF will be corrupt.
I was wondering, how can I add extra pages to
this
Chris Dole wrote:
Hello,
I have a test case where I have six graphics that are nearly the height of the
page and sparse text. I like the fact that iText tries to move the graphics
around vertically to fit things better. A former employer that did something
similar in their product used to ha
Swetha Sivaram wrote:
I'm basically trying to print some questions and the corresponding
answers for each question. The question and each of the answer options
might have pictures associated with them. I'd like to first print the
question text followed by the picture for the question (if prese
Christopher Randall wrote:
I just downloaded the iText 1.4 SRC zip file, and was planning on
building the jar file from source since the execution environment
we're running in uses JDK 1.3.
I expected to be able to run "ant jar" and have the resulting JAR file
immediately available. Apparently,
Karumanchi, Koti wrote:
Hi,
I just downloaded and trying to create the first PDF using the example
HelloWorld. I am trying to use Eclipse as my editor. I imported
iText-1.4.jar into Eclipse.
“import com.lowagie.text.pdf.PdfWriter;” is giving me error saying
that the object can not be resol
Segev, Eli wrote:
I am copying one PDF file to another and then use the new PDF as input
for some other software - ImageMagick. This software issues these
warnings:
Warning: File has an invalid xref entry: 2. Rebuilding xref
table.
This file had errors that were repaired or i
Paulo Soares wrote:
Chunk original =
Chunk copy = new Chunk(original);
StringBuffer buf = copy.append("");
buf.setLength(0);
buf.append("My new text.");
Wouldn't it be better to add a clear method to class Chunk?
br,
Bruno
---
This SF
I just downloaded the iText 1.4 SRC zip file, and was planning on
building the jar file from source since the execution environment
we're running in uses JDK 1.3.
I expected to be able to run "ant jar" and have the resulting JAR file
immediately available. Apparently, there is an undocumented
requ
bruno wrote:>Why don't you add the image to the ColumnText?>Or why don't you use irregular colums like in the>tutorial example?>(I don't know what's the best solution in your case.>It depends on how you want to position the text>with respect to the image.)
I'm basically trying to print some questio
Hello,
I have a test case where I have six graphics that are nearly the height of the
page and sparse text. I like the fact that iText tries to move the graphics
around vertically to fit things better. A former employer that did something
similar in their product used to have fits with graphic
Hello,
I got this following method;
InputStream input = null;
try {
input = new BufferedInputStream(new
FileInputStream("/template- authority.pdf"));
} catch (IOException e) {
logger.error("Error opening file region",
Hi,
I just downloaded and trying to create the first PDF using
the example HelloWorld. I am trying to use Eclipse as my editor. I imported
iText-1.4.jar into Eclipse.
“import com.lowagie.text.pdf.PdfWriter;” is
giving me error saying that the object can not be resolved. Do I need
Sorry, pressed the wrong button...
-Original Message-
From: Alan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 28 March 2006 7:19 AM
To: 'Leonard Rosenthol'
Subject: RE: [iText-questions] File Attachments - without linked Annotation
That's what I figured... But how do I get the dictionaries?
The CVS has already a fix that may be in conflict with your fix. Please
check it out.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Adauto Martins
> Sent: Tuesday, March 28, 2006 12:19 AM
> To: itext-questions@lists.sourceforge.net
> Su
Oh, the simplicity... :)
That's brilliant.
Many thanks Paulo.
Daniel
Paulo Soares wrote:
Chunk original =
Chunk copy = new Chunk(original);
StringBuffer buf = copy.append("");
buf.setLength(0);
buf.append("My new text.");
---
This
Hi, guys,
I'm using iText in .NET C#.
I found if the first table is small on page 1, I can
add another tabe immediatly following the first table
on page 1.
But, if the first table is large and has a few more
rows on page 2, then, I can not add a new table
immediatly after the first table on page
Chunk original =
Chunk copy = new Chunk(original);
StringBuffer buf = copy.append("");
buf.setLength(0);
buf.append("My new text.");
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Daniel Farinha
> Sent: Tuesday, March 28, 2006 3:37 PM
> To
Is there an easy way to copy (text/font related) attributes from a Chunk
to another?
I tried the Chunk copy constructor, but that obviously copies the
textual content as well as the attributes, and I didn't find a way to
clear the text from the resulting Chunk.
For the time being I'm doing a m
Swetha Sivaram wrote:
However, I do not seem to be able to make the above ColumnText code
and document.add(img) to interact with each other, causing the image
to be drawn over the Arabic text or the text to be written over the image.
Why don't you add the image to the ColumnText?
Or why don't
Kishore Penneru wrote:
Hi all,
Using PdfContentByte object in page event, I have written rectangle
which fulfilled my the page border requirement. I did not find any
solutions to write a line under Document header (in first page of
multiple pages) which seperates document header to the rest
Hi all, Using PdfContentByte object in page event, I have written rectangle which fulfilled my the page border requirement. I did not find any solutions to write a line under Document header (in first page of multiple pages) which seperates document header to the rest of the paragraphs and touc
Hello all
I have the following issue regarding display of Arabic text along with images in a pdf document:
I need to display Arabic text and also some images(which I get from a database) along with the text on a pdf document. This data is however not static and keeps changing.
I add the image
Hevn wrote:
What happens now is that it opens the new window but it is blank and
then it opens the Adobe Reader.
Indeed, I see that quite often when I download documents
from the net (even with FireFox). It's not very elegant, but
I can live with it.
I will try to study the links you've given
Yes, the Adobe Reader opens itself. What I'm trying to do is when a user presses a button in a JSP file, it will call another JSP file (which is a controller thing) then that JSP will call the servlet and then open the PDF file in a new browser. What happens now is that it opens the new window but
Hevn wrote:
Okay. I have successfully opened a new window and load the PDF servlet
in there using Javascript. It works very well on Firefox but IE opens
a new window, then opens Adobe Reader and open the file there. I want
the window to open the PDF and not Adobe Reader. What should I do?
Tha
Okay. I have successfully opened a new window and load the PDF servlet in there using _javascript_. It works very well on Firefox but IE opens a new window, then opens Adobe Reader and open the file there. I want the window to open the PDF and not Adobe Reader. What should I do? Thanks.
On 3/28/06,
Niklas Pettersson wrote:
<>
The margins on the first page is just as I initiated them when the
document object was created. The margins does change on page 2 to
those intended for page 1. On page 3 everything looks like it should.
That's because changing the margins only goes into effect
o
That's a situation where you must leave Document.add() and do your own
layout with ColumnText.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Niklas Pettersson
> Sent: Tuesday, March 28, 2006 11:29 AM
> To: itext-questions@lists.sourceforge.net
Giorgio Arcangeli wrote:
Hi Bruno,I've a question.
Please post questions to the mailing list.
Please don't expect from me that I can
answer every question about iText individually.
I've a blank PDF with logos. I would like use this PDF as stationery.
That is I want write on this PDF and when
Hi list!
I would like to use a different header on the first
page versus the following pages. Both headers are tables implemented using
PdpPTable. The header for page 1 is larger than the one used for page 2 and
forward. The content of the page should follow directly beneath the header
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of bruno
> Sent: Tuesday, March 28, 2006 8:15 AM
> To: 'itext-questions@lists.sourceforge.net'
> Subject: Re: [iText-questions] News from the Maven front
>
> OK, I was just experimenting with iText
PdfPTable.setFooterRows()
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Niklas Pettersson
> Sent: Tuesday, March 28, 2006 10:08 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Attach footer to table
>
> Hi list!
>
Hi list!
I like to ‘render out’ a continious PdfPTable
that spans several pages. When a page break occurs I would like to attach a “footer”
(just a line actually) to the table. Is there a way to achieve this?? Should I
use directContent somehow? There is a way to repeat the table header
Daniel Farinha wrote:
Of course, all this relies on your ability to write good tests. I too
have seen tests that didn't test anything (but appeared to do so) -
and that's worst than no testing, because it leads to wrong
assumptions and wastes time.
That's what I meant with my remark ;-)
I ha
Allow me... (warning, non iText/PDF related rambling) ;)
It's not about adding unit tests to your code. It's about adding code to
your unit tests.
Well written unit tests tell you (the developer) what exactly you need
to implement to make the test run (i.e. acts as a low-level spec). When
the
Hevn wrote:
I have a PdfPTable and I have set the widths for each column like this:
float[] widths2 = {0.14f, 0.17f, 0.14f, 0.31f, 0.08f, 0.09f, 0.07f};
Now I want the texts inside the cells to not be wrapped so I have this
line:
cell.setNoWrap(true);
What happens is the data overflows to th
Niklas Pettersson wrote:
Hi list!
Is there a way to detect when iText fires a new page event?
Add a page event to your writer object.
See http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/
br,
Bruno
---
This SF.Net emai
Hi list!
Is there a way to detect when iText fires a new page
event?
//
Niklas Pettersson
39 matches
Mail list logo