Hey Dudes,
I just completed with inserting images in the header and footer of the PDF
Documents, the images are shown on every pages without extra pages and
without garbage strings on the header and footer Hope this helps You all.
I have attached the codes needed check them out or you can und
Understand. Is there any chance it will be implemented in the future? I see that, although slowly, AES encrypted PDF are starting to spread. Regards,Michele Balistreribrik. Lead programmer. Il giorno 01/nov/06, alle ore 01:08, Paulo Soares ha scritto:There's no support for AES encryption for no par
Thanks a lot Paulo.This worked fine for the pre-existing image file. I was trying to get image data from pdf and replacing the others with this image, but failed to do so. My code is as follows...PdfDictionary pg = reader.getPageN(i + 1);PdfDictionary res = (PdfDictionary)PdfReader.getPdfObject(
Page size and margins are only set after a newPage() that really creates a
new page.
Paulo
- Original Message -
From: "svager" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 31, 2006 8:23 PM
Subject: [iText-questions] Page's Margins are not working
>
> There is something fummy going
Without writer.setViewerPreferences(PdfWriter.PageModeUseOutlines) you
shouldn't have the bookmark pane.
Paulo
- Original Message -
From: "Patrick O. Thurman" <[EMAIL PROTECTED]>
To: "'Post all your questions about iText here'"
Sent: Tuesday, October 31, 2006 7:53 PM
Subject: [iText-q
There's no support for AES encryption for no particular reason other than
it's the first time a request for it is done.
Paulo
- Original Message -
From: "Michele Balistreri" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 31, 2006 10:20 PM
Subject: [iText-questions] Encryption schemes s
That's all explained in
http://itextdocs.lowagie.com/tutorial/objects/tables/index.html.
Paulo
- Original Message -
From: "Andrea Lombardoni" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 31, 2006 10:36 PM
Subject: Re: [iText-questions] PdfWriter - unwanted page break after table
>
Paulo Soares consiste.pt> writes:
>
> Table is not supported anymore, use PdfPTable.
Thank you very much for the prompt answer.
Still, it brings out two more questions:
1) In the case of a document that has multiple writers (PDF/HTML/RTF) attached,
what is the correct way, if any, of defining
Hi, i'm the author of PDFKey Pro. I would like to know if iText currently can open and read files encrypted with the latest PDF encryption scheme, defined 1.6, which encrypts using AES. In particular, i only need to decrypt those files, is that currently possible, or is anybody working on it?Thank
Never mind it's working now but i was sure it having problem a moment ago.
Its probably a bug in IE 7.
From: "Henry Doan" <[EMAIL PROTECTED]>
Reply-To: Post all your questions about iText here
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] IE 7 problem..
Date: Tue, 3
I don't know if anyone else experience this problem too, but i was testing
this tutorial
[http://itext.cvs.sourceforge.net/*checkout*/itext/www/tutorial/general/webapp/HelloWorld.jsp]
on IE 7 and i get nothing but weird symbols. The tutorial works fine with
Firefox.
Any idea?
__
There is something fummy going on with margins. I set them up for each page
but they won't take effect. Any ideas why ?
Here is my code.
import java.io.FileOutputStream;
import java.io.IOException;
import com.lowagie.text.*;
import com.lowagie.text.Document;
import com.lowagie.text.DocumentExc
I have a java class that reads a text file and then creates a PDF file
>From the text version. I do NOT want to use book marks, but when the
Adobe reader opens my PDF it also opens the book marks window. How do I get
rid of the book marks window? I know in the Adobe reader you can just close
the
Option 1: Regarding the way EOLs are handled in the different OSs. If the
Linux version is trying to be like Windows (\r\n), then a Java app could
interpret that as two EOLs instead of one, leading to the extra line. The line
feeds don't make it into the actual PDF (iText strips them out of th
As I stated in the other post, I do NOT think the problem is the fault of
iText. I think it is an Oracle DB problem, but to understand what is going
on I was asking what causes
public RandomAccessFileOrArray(String filename, Boolean forceRead) throws
IOException
To throw the IOException? I k
Hi Everyone,
While converting from XML to PDF, is there a way I can collapse all empty rows? I am using the DTD described here http://itext.sourceforge.net/itext.dtd
Thanks,
Zenith
-
Using Tomcat but need to do more? Need
- Original Message -
From: "Ruslan KULUBAEV" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 31, 2006 5:15 PM
Subject: Re: [iText-questions] Question on tablelayout.
> one more question is I would like to create a new Table class inheriting
> from PdfPTable where I want to pass the valu
- Original Message -
From: "Patrick O. Thurman" <[EMAIL PROTECTED]>
To: "'Post all your questions about iText here'"
Sent: Tuesday, October 31, 2006 4:55 PM
Subject: Re: [iText-questions] java.io.IOException when tring to read
PDFtemplate file
> Maybe I was not clear. I need to know
I'm not sure what you're asking. TableLayout provides you information on
the header rows but you cannot change cell content or attributes.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Ruslan KULUBAEV
> Sent: Tuesday, October 31, 2006 4
Here is the example for rowspan to work as rowspan. You need to use nested
tables in following way.(Please see the attachment)
Paulo,
I think the site does not have the exact example of rowspan. I will
appreciate if you can put the attached example on the site and in the
tutorial.
http://www.na
one more question is I would like to create a new Table class inheriting
from PdfPTable where I want to pass the values of properties to constructor
it saves me line codes. however when I have
code like
class MyTable: PdfPTable
{
void MyTable(float width, bool ascender )
{
this.wid
Maybe I was not clear. I need to know why I am getting the IOException.
The template PDF file exists and is in the right place and the OS security
is correct.
pat
> You may produce your PdfReader from a byte array and output the result
> to a ByteArrayOutputStream.
Paulo
> -Original Me
Good Morning all,
I have a java class that reads a PDF template file and fills in the input
fields:
import com.lowagie.text.pdf.AcroFields;
import com.lowagie.text.pdf.PdfReader;
import com.lowagie.text.pdf.PdfStamper;
import java.io.FileOutputStream;
import java.sql.*;
import java.text.
Hi,
I had constructed a table. Have overriden the TableLayout method. My table
looks nice it has dotted border. And has two columns. My problem is I want
make my table header columns spanned.
But I can not get any reference to the cell of my first row inside
TableLayout. I guess all table are s
I am using itext-1.4.6.jar and I am experiencing the following problem.
When using the PdfWriter, after a table is split between two pages, an unwanted
page break occurs. The content resumes on the new page.
Am I doing something wrong or is this a bug?
This was reported also here:
http://thread
Hi All,
I am facing a issue when a pre-formatted text which is saved in database is
added as a cell in the pdf using iTextSharp.
For Ex : If the text is saved as text or text
I want the same to be converted to plain text before it is added to the cell,
as it is done in case of HTML.
I am also
Table is not supported anymore, use PdfPTable.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Andrea Lombardoni
> Sent: Tuesday, October 31, 2006 4:35 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] PdfWriter -
You may produce your PdfReader from a byte array and output the result
to a ByteArrayOutputStream.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Patrick O. Thurman
> Sent: Tuesday, October 31, 2006 4:20 PM
> To: itext-questions@lists.sou
The PDF was created with Designer and doesn't have any signature field
in the XFA. Either you add the field in the PDF with Designer and fill
it later on or you add the field in XfaForm and create the appearance in
the page. The latter method is not really trivial but Designer doesn't
help a bit he
Use HTMLWorker.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of guru prasad
> Sent: Tuesday, October 31, 2006 2:21 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] PDF generation problem
>
> Hi All,
>
> I am f
Mark Wergen wrote:
> Sorry, i don't find any method getTextPositions() in the class
> AcroFields. Can you tell where i find it?
I think Paulo meant to write getFieldPositions(String name)
It returns an array with 5 elements: the page number and the coordinates
of a rectangle.
See the third commen
Hallo Paulo,
am Dienstag, 31. Oktober 2006, 12:19:51, schrieb Paulo Soares:
> You'll have to get the field position and place the text yourself. See
> AcroFields.getTextPositions().
>
Sorry, i don't find any method getTextPositions() in the class
AcroFields.
Can you tell where i find it?
Thanks
Copy and rename c:\windows\fonts\eudc.tte to eudc.ttf
and use this file as a regular TTF file.
Paulo
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ?
??Sent: Tuesday, October 31, 2006 4:19 AMTo:
itext-questions@lists.sourceforge.netSubject
You'll have to get the field position and place the text yourself. See
AcroFields.getTextPositions().
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Mark Wergen
> Sent: Tuesday, October 31, 2006 9:24 AM
> To: itext-questions@lists.sourcef
Here's the code to replace images in PDFs. It will replace
the first image in the first page.
PdfReader pdf = new PdfReader("in.pdf");
PdfStamper stp = new PdfStamper(pdf, new
FileOutputStream("c:\\out.pdf"));
PdfWriter writer = stp.getWriter();
Image img = Image.getInstance("image.png");
PdfDict
Hallo Paulo,
am Montag, 30. Oktober 2006, 17:03:03, schrieb Paulo Soares:
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On
>> Behalf Of Mark Wergen
>> Sent: Monday, October 30, 2006 9:53 AM
>> To: itext-questions@lists.sourceforge.net
>> Subject:
Hallo itext-questions@lists.sourceforge.net,
i want to fill in textboxes in a form and flattening the form after
processing. This is no problem so long.
But if the text is too long for the textbox, i want to show ellipsis
at the end of the text.
This indicates the user, that the text is truncated
Hi,
On 31/10/06, aqeel saifi <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> As far as I have digged, we can not directly modify the images in pdf file
> with iText. Although we can get the image data from the XObject. right?
> Actually I intend to create a new pdf from an existing one with some of the
>
38 matches
Mail list logo