Luke Quinane wrote:
> Hi,
>
> Attached is a simple patch that greatly improved our applications PDF
> generation speed when using large fonts (in particular Arial Unicode). I
> found that before the change our application was spending a large amount
> of time reading bytes from the font files.
Lopes, James wrote:
> I’m adding my PdfPTable with document.add(). I have added my footer text
> in my onEndPage() method using the ColumnText.showTextaligned() method.
OK, so if you choose the coordinates passed to showTextAligned wisely,
you can add the page number at the exact position.
So...
Renjan Bhasi wrote:
> But, if you know the password, how can we modify that pdf. I have a pdf
> document which is protected, but I know the password. Could you please
> explain how to do that?
That's explained in chapter 3 of the book. And as you probably know, the
first 3 chapters of the book
Hi,
Attached is a simple patch that greatly improved our applications PDF
generation speed when using large fonts (in particular Arial Unicode). I
found that before the change our application was spending a large amount of
time reading bytes from the font files.
Kind regards,
Luke Qu
But, if you know the password, how can we modify that pdf. I have a pdf
document which is protected, but I know the password. Could you please
explain how to do that?
On 2/10/09, Leonard Rosenthol wrote:
>
> You need to contact the original author of the PDF and ask them for the
> password.
>
>
I'm adding my PdfPTable with document.add(). I have added my footer text
in my onEndPage() method using the ColumnText.showTextaligned() method.
My problem is the table rows over runs the footer. I have tried creating
a column and adding the table to it but when I size the column the
footer moves
It seemed that when creating a PdfStamper, there is a PdfWriter created
inside of it.
Since I have a different PdfWriter that I created for the main PDF file, i
tried to redirect the output of the PdfWriter inside of the PdfStamper to
the main PdfWriter.
Is this not supposed to work?
writer.getDi
I understand that I need to close the PdfStamper before it would write
anything.
I also know that I should setCloseStream as false if I want to keep on
appending stuffs to the outputStream (I read this from searching in the
mailing list reply).
Here is the additional snippets that I didn't add:
P
What I'm trying to do is create a PDF file from several "template" pdf
files.
The first few pages of the PDF file are generated texts (cover page, table
of content, etc), and then after that, I would need to append and edit from
other existing template (basically adding certain text at certain pi
rorostar wrote:
> Hi,
>
> I have a question regarding PdfStamper.
>
> Here is the code snippets
>
>
> FileOutputStream outputStream = new
> FileOutputStream("C:\\Java\\HelloWorld.pdf");
> PdfWriter writer = PdfWriter.getInstance(document, outputStream);
> document.open();
> //add stuffs to doc
> -Original Message-
> From: rorostar [mailto:theas...@hotmail.com]
> Sent: Tuesday, February 10, 2009 4:57 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] PdfStamper appending to existing file
>
>
> Hi,
>
> I have a question regarding PdfStamper.
>
> Her
quam-usp wrote:
> Hello,
>
> I'm developing an app that allows users to modify the acrofields in an
> existing pdf. But now I need these fields to support CMYK and spot colors. I
> think the only solution is to flatten these fields, but I don't know how to
> change the colour.
>
> Can anybody hel
Javeed, Zeeshan wrote:
> Hi,
>
> I am quite new to iText. I have a problem regarding Filling the forms
> programmtically.
> The PDF file is password protected but on Acrobat Reader, I can fill in
> the values and save the document.
Wow, if you can save it locally, your PDF is Reader Enabled.
Yo
CMYK is fully supported for active fields - no need to flatten.
However, if you do wish to use Spots, then you have no choice but to flatten...
Leonard
-Original Message-
From: quam-usp [mailto:daniel.santi...@u-proms.net]
Sent: Tuesday, February 10, 2009 10:42 AM
To: itext-questions@li
It can't be done. Currently iText lacks the permission granularity
needed to control it.
Paulo
> -Original Message-
> From: Javeed, Zeeshan [mailto:zeeshan.jav...@qsc.de]
> Sent: Tuesday, February 10, 2009 4:33 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions]
Hello,
I'm developing an app that allows users to modify the acrofields in an
existing pdf. But now I need these fields to support CMYK and spot colors. I
think the only solution is to flatten these fields, but I don't know how to
change the colour.
Can anybody help me?
Thanks!
--
View this me
Hi,
I have a question regarding PdfStamper.
Here is the code snippets
FileOutputStream outputStream = new
FileOutputStream("C:\\Java\\HelloWorld.pdf");
PdfWriter writer = PdfWriter.getInstance(document, outputStream);
document.open();
//add stuffs to documents
//This is the file to copy
PdfR
You need to contact the original author of the PDF and ask them for the
password.
They put the password there to prevent unauthorized use of the document - such
as what you are trying to do. I am sure that if you tell them what you are
doing, and why, they will be glad to work with you...
Leo
Hi,
Let me tell you why i am doing this.
I want to append/prepend pages to the document. The final pdf need not be
the same doc (the source doc which is protected).
So what i want to do is:
Construct a new pdf file that adds(copies) a prepend.pdf, then copies the
source pdf and then another appen
Hi,
I am quite new to iText. I have a problem regarding Filling the forms
programmtically.
The PDF file is password protected but on Acrobat Reader, I can fill in the
values and save the document.
When I try to open the document in Stamper or try to get Form, i get error of ,
Owner Password.
Subhrajyoti Moitra wrote:
> Exception in thread "main" java.lang.IllegalArgumentException: PdfReader
> not opened with owner password
>
> I read in this link, this is possible: http://www.ensode.net/pdf_unlock.html
That link contains information about an action that is illegal.
You are not allow
Hi,
here's code for extracting hash from signature :
// core aspect of PDF signatures :
// signatures are made by a special / partial hash
MessageDigest messageDigest = MessageDigest.getInstance(
getDocumentHashAlgorithm() );
byte read_buf[] =
I was trying to ask what is the best strategy for optimized performance for big
XML files. As I have mentioned earlier I have put the business logic in
SaxHandler to create Book object. And in EventHelper class, I add styles, if
required.
Hence is this the best way or using DefaultHandler? It
miro wrote:
> Is it possible to read a pdf table from a pdf template
A table written to PDF is nothing more than lines and glyphs painted on
a canvas. All structure is lost. That means it's impossible to get some
kind of PdfPTable object from an existing PDF.
If you expect that, you are mistake
Lajara Daniel wrote:
> public void onEndPage(PdfWriter writer, Document document)
>HeaderFooter footer = new HeaderFooter(new Phrase("Pag."), true);
>
>footer.setAlignment(com.lowagie.text.Element.ALIGN_RIGHT);
>footer.setBorder(Rectangle.NO_BORDER);
>((Docume
-- Original message --
From: Renjan Bhasi
>
> Hi,
>
> I have a pdf document, which don't have any acro-form fields in it. My
> requirement is to fill some data dynamically into the pdf, against some
> fields like, name, age, address etc. To make it more clear, t
Lajara Daniel wrote:
> Hello.
>
> I have a problem creating a PDF.
> Without a footer, I can insert a PdfPTable with their margins and all works
> OK.
> But now I want to insert a Footer with page number.
Using page events I presume.
> I can do that but somewhere I got a space between PDFPTab
Is it possible to read a pdf table from a pdf template and add it to a new
pdf file and add more rows to that table ?Please help with this
--
View this message in context:
http://www.nabble.com/read-a-pdf-table-from-template-tp21933430p21933430.html
Sent from the iText - General mailing list
Cool The Breezer wrote:
> Till now, I am using SaxHandler to create Java Object called Book with all
> field in string like title,4
> section heading etc... and in documentEnd method, I am adding to document.
> Wherever, i need any special
> processing like adding kinda line to all section headi
Lajara Daniel wrote:
> Hello.
>
> I have a problem creating a PDF.
> Without a footer, I can insert a PdfPTable with their margins and all works
> OK.
> But now I want to insert a Footer with page number.
Using page events I presume.
> I can do that but somewhere I got a space between PDFPTabl
Hello.
I have a problem creating a PDF.
Without a footer, I can insert a PdfPTable with their margins and all works OK.
But now I want to insert a Footer with page number. I can do that but somewhere
I got a space between PDFPTable and the footer.
I have changed the setSpacingBefore() and setSp
Maybe I asked the question, out of the context, but yes it made lots of sense
to me. It looks clear to me on IText event handling model.
Till now, I am using SaxHandler to create Java Object called Book with all
field in string like title, section heading etc... and in documentEnd method, I
am
Bernd Rosstauscher wrote:
> So if something is in it that you might want to use I'm willing to
> donate it to your project or even merge it with RUPS.
>
> I was not able to test RUPS yet, but I will have a look at it soon.
Same here: I don't have the time to test pdfvole right now,
but please ke
Thanks a lot.
Could you give me an example of extracting hash from signature and replacing
the existing signature field with new one?
Thanx again
--
View this message in context:
http://www.nabble.com/signing-pdf-with-external-signature-tp21917425p21930842.html
Sent from the iText - General mai
developerashok wrote:
>
> Hi friends,
>
>I am reading Pdf Document from local system. Inserting few pages
> using Stamper. On those
>pages i need to add a Link Dynamically..! I have tried many
> ways.
A link is a special type of Annotation.
Have you tried addAnnotation?
Or:
Cool The Breezer wrote:
> How to call such methods from SAXmyHandler event handler?
Why are you still talking about SAXmyHandler?
The following examples convert XML to PDF:
http://1t3xt.info/examples/browse/?page=example&id=89
http://1t3xt.info/examples/browse/?page=example&id=114
http://1t3xt.inf
Hi !
Here is the way we solved that problem :
Do the signing the usual way ( using iText). Then extract the hash value and
create an external signature using the given hash. Replace the signature bytes
in PDF with your signature ... Done !
Not very elegant, but it does the job.
Greetings
Andre
37 matches
Mail list logo