Thanks for your time. I have it working fairly well. One problem I
haven't solved is how to fully remove PdfPTable rows after simulating a
go() to deal with widows. I use go(true) to add a table toward the
bottom of the page, discover that it will cross a page boundary, so add
a new page and call g
Put the image before the beginText().
Paulo
From: anjaliv9 [EMAIL PROTECTED]
Sent: Friday, November 07, 2008 7:32 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Pdf error on adding image on every page
I am writing a table to the
In the advanced tab of the document properties is it it possible to set the
language under the 'Reading options'?
I found that you can set the 'Binding' option above it by doing
PdfWriter.setViewerPreferences(PdfWriter.DirectionR2L)
Thanks
--
View this message in context:
http://www.nabble.co
I am writing a table to the document and on every page I need to add an image
and a title.
Here is code snippet.
cb = stamper.getOverContent(i);
Rectangle rect =
reader.getPageSizeWithRotation(i);
cb.beginText();
It may not be needed to loop through all the fields. This situation can only
occur if the sigflags are set and there's an orphan signature field with a
rectangle [0 0 0 0].
Paulo
From: Michael Klink [EMAIL PROTECTED]
Sent: Friday, November 07, 2008 3:08
I was aware of the ColumnText object, but not the PdfPTable object.
I'll check it out in the Javadoc and will use the method that you
recommended.
Thanks so much!
Scott
On Thu, Nov 6, 2008 at 11:59 PM, 1T3XT info <[EMAIL PROTECTED]> wrote:
> Redefined Horizons wrote:
>> Let me first say that the
Hi,
I have downloaded the iText RTF & Core jars from your website. Have gone
through the documentation.
I haven't found any examples that parse an existing RTF file.
Searched on google, but had no luck.
My current requirement:
User uploads a template.rtf file sent to the server.
OK, i should read examples and itext bible better, before post questions :-D
> Image logo = Image.getInstance("/path/to/my/gif");
> Cell cell = new Cell("");
> cell.setBorderWidth(0);
> cell.addElement(logo);
> table.addCell(cell);
> ...
>
> Is there a way to resize the image?
> Or i need to use a
Hi,
I am using iText (version 1.4.5) to generate PDF files and sometimes I
get one that is missing some text. I CAN'T REPRODUCE THE ERROR, so I have no
idea of where is it coming from. I'm not using various Threads. It rarely
happens, but it can cause real problem when it does. Any hints?
Tha
Thanks!
> Cell has a method addElement(Element element) and a constructor
> Cell(Element element). Class Image implements the Element interface.
> I hope this answers your question.
of course, thankks.
So i have:
Image logo = Image.getInstance("/path/to/my/gif");
Cell cell = new Cell("");
c
Barcode 128 allows several ways to encode the characters and iText tries to
find the smallest one. It works, doesn't it?
Paulo
From: Navin Kumar [EMAIL PROTECTED]
Sent: Friday, November 07, 2008 2:51 PM
To: itext-questions@lists.sourceforge.net
Cc: Rangarajan Vait
Richard Grantham wrote:
> Thanks for the prompt reply. Turns out that the lack of StructTree does
> let us down. I have no idea how I'd manipulate that. Any pointers would
> be gratefully received.
We'd have to dig into the PDF Reference to see what's possible.
I think it's not that easy (unless
Hello,
I happened to come across signatures just like the one Andreas Kühne posted in
September. As I need to be able to handle these signatures fairly soon (at
least it looks like a greater hassle to persuade my users not to use the
secunet application that creates these signatures), I created
Thanks for the prompt reply. Turns out that the lack of StructTree does
let us down. I have no idea how I'd manipulate that. Any pointers would
be gratefully received.
-Original Message-
From: 1T3XT info [mailto:[EMAIL PROTECTED]
Sent: 07 November 2008 12:38
To: Post all your questions a
Ekstrom, Max wrote:
> Is there some additional step I must
> take to "sync" the XFA with the form's appearance to the enduser?
1) Can you send me your original PDF (the one with THIS_IS_OLD)?
2) Is there also an AcroForm in your PDF?
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/
Thanks for the quick help. And sorry for missing this simple thing in both the
online docs and the book.
-Original Message-
From: 1T3XT info [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2008 1:31 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Image
Byomokesh Sahoo wrote:
> Hi,
>
> Plz anyone has give some sample code. I am new in Java. So i am
> struggling to get this method.
I have already explained:
1. You are running an application by executing a class that has
a main method: public static void main(String[] args) { ... }
Whatever Stri
Mirco Piccin wrote:
> Hi all.
> I see that is possible to add an image to PdfPCell using
>
> ...
> Image image = Image.getInstance("image.gif");
>
> ...
> table.addCell(image);
> ...
>
> This method semms to be not supported by Cell (com.lowagie.text.Cell).
> Is there any tips to do
Richard Grantham wrote:
> 1) If you are importing a page that has been tagged are the tags
> maintained?
The marked content operators are preserved in the content stream.
(Assuming that's what you mean by your question.)
> 2) There appears to be some document-level PDF flag that deems the PDF
> t
[EMAIL PROTECTED] wrote:
> Hi
>
> I'm using a PdfPatternPainter to add a repeated image. When using this code
>
> cb.setPatternFill(imgPattern);
> cb.setLineWidth(0.0f);
> cb.rectangle(...);
> cb.fillStroke();
>
> the pattern looks correct. However, it is surrounded by a visible border.
> Sinc
Could you please insert some javadoc for that class? It's very importat
regarding memory usage and should be clear that
RandomAccessFileOrArray(InputStream is) behaves differently from public
RandomAccessFileOrArray(String filename).
Thanks
Andrea
-
Hi
I'm using a PdfPatternPainter to add a repeated image. When using this code
cb.setPatternFill(imgPattern);
cb.setLineWidth(0.0f);
cb.rectangle(...);
cb.fillStroke();
the pattern looks correct. However, it is surrounded by a visible border.
Since I already added setLineWidth(0.0f) I was wond
Thanks
That was exactly what I was looking for.
1T3XT info wrote:
>
> Leviter wrote:
>> Hi,
>>
>> I looked around in the archive, but could not find an answer to my
>> question...
>>
>> My question is: How can I put a line below a paragraph?
>
> Have a look at the separator examples:
Hi list,
We generate tagged PDFs which we then split into sections using iText -
specifically PdfCopy. The process renders the PDF "untagged". I have two
questions. Apologies if they appear obvious but I'm a little ignorant as
to the way tagged PDFs work.
1) If you are importing a page that has b
Hi all.
I see that is possible to add an image to PdfPCell using
...
Image image = Image.getInstance("image.gif");
...
table.addCell(image);
...
This method semms to be not supported by Cell (com.lowagie.text.Cell).
Is there any tips to do the job?
Or i need to use the setAbsol
Leviter wrote:
> Hi,
>
> I looked around in the archive, but could not find an answer to my
> question...
>
> My question is: How can I put a line below a paragraph?
Have a look at the separator examples:
http://1t3xt.info/examples/browse/?page=toc&id=367
Especially the LineSeparator examples.
-
Hi,
I looked around in the archive, but could not find an answer to my
question...
My question is: How can I put a line below a paragraph?
I tried using the Rectangle, but with no result. Does anyone have an example
on how to add a single line below a paragraph?
Thanks in advance,
-- Marcel
--
27 matches
Mail list logo