I am using spring's AbstractPdfView for my pdf views. I want a document in
landscape A4. here is the code is used. No matter whatever size i give it
only outputs one size. Please help me.
protected void buildPdfDocument(Map model, Document document, PdfWriter
pdfWriter,
Tummala-t, Kumar wrote:
> Hi,
>
> We are using iText 1.02(b) for our application.
>
> Now we need to upgrade our app from jdk 1.4.2_13 to jdk 1.5.0_09.
> Please let us know if we need to use any latest version of the iText
> (or) we can continue without any issues with iText 1.02(b) which we
>
Hi,
We are using iText 1.02(b) for our application.
Now we need to upgrade our app from jdk 1.4.2_13 to jdk 1.5.0_09.
Please let us know if we need to use any latest version of the iText (or) we
can continue without any issues with iText 1.02(b) which we would prefer to
reduce any risks from ou
While I think it's great that JHOVE exists, the web site CLEARLY INDICATES that
it is NOT a complete PDF/A validation tool - it has a number of known
limitations and can NOT be used as a serious validator at this time.
I would recommend that you invest in one of the many commercial solutions for
Hello list,
a short introduction:
we are developing a small application to generate PDF/A files containing
scanned images of scanned books. Since we a library, we have a strong
focus on long term preservation. To be sure about the validity of the
files we create we use the JHOVE [1] tool develop
www.windwardreports.com has it - but it's commercial.
David Thielen
303-499-2544 x1185
720-352-0676 (cell)
From: Paul Swift [mailto:paulswift1...@hotmail.com]
Sent: Thursday, April 16, 2009 2:07 PM
To: iText mailinglist
Subject: [SPAM] [iText-questions] iText# in conjunction with Window
Hi , I am using itext to generate PDF's of images and all it's work OK , but
when I try to make the same to generate RTF's of images do not work , this is
the part of code :
Document RTF = new Document(sizePagi
On Thu, 16 Apr 2009 20:32:35 +0200, 1T3XT info wrote:
> Michael Schierl wrote:
>> The same exception is thrown if I include the PdfContentByte of that page
>> and copy it over to the new document.
>
> What do you mean by this? A PdfImportedPage or just a content stream?
// after document.newPage
On Thu, 16 Apr 2009 19:54:46 +0200, 1T3XT info wrote:
> Michael Schierl wrote:
>> Thanks for your quick fix.
>
> In SVN, I added a toString() for the imported link objects.
>
>> Unfortunately it still does not work for the original PDF (which is a bit
>> too large to attach it here). I managed t
Does anyone have any experience of using iText# in conjunction with a Windows
print driver?
I have a new requirement where producing PDF files via a print driver is the
ideal solution. As a long time user and advocate of iText#, I was hoping to
include iText code already developed as part o
Michael Schierl wrote:
> And, it still crashes, if you use jPDF Tweak and let it rescale the PDF
> (scaling both the content and the hyperlinks) to, say, A3 format.
Let me rephrase my question: has this ever worked?
Because at first sight, I can't see how it would work.
--
This answer is provided
Michael Schierl wrote:
> The same exception is thrown if I include the PdfContentByte of that page
> and copy it over to the new document.
What do you mean by this? A PdfImportedPage or just a content stream?
> I removed that part from the example
> to make it clear that the hyperlinks are the cu
On Thu, 16 Apr 2009 19:56:34 +0200, 1T3XT info wrote:
> Xavier Le Vourch wrote:
>> I've just added two new tests cases in SVN based on the two pdf files
>> you sent to the list. The first one is now fixed by Bruno's change but
>> the one from this thread still fails with a NPE.
>
> And it SHOULD
Xavier Le Vourch wrote:
> I've just added two new tests cases in SVN based on the two pdf files
> you sent to the list. The first one is now fixed by Bruno's change but
> the one from this thread still fails with a NPE.
And it SHOULD fail! Maybe not with a NullPointerException,
but the example doe
Michael Schierl wrote:
Thanks for your quick fix.
In SVN, I added a toString() for the imported link objects.
Unfortunately it still does not work for the original PDF (which is a bit
too large to attach it here). I managed to build a smaller PDF that shows
the same behaviour, this time when
Ok to be exact, they don't substitute pages, they are not so radical.
They just scale the original content and put the image bellow. More
correct behaviour impossible. It looks like this is too much enough
for adobe not to recognize all the info on the original digital
signature. Even for its last
On Thu, 16 Apr 2009 18:21:34 +0200, 1T3XT info wrote:
> Michael Schierl wrote:
>> To reproduce, just run the following code on the attached PDF.
>>
>> String filename = "D:\\temp\\buggy.pdf";
>> PdfReader rdr = new PdfReader(new
>> RandomAccessFileOrArray(filename), new byt
Ok Michael. For you to know, I saw it happened still in v9 It's
not on my project, but another one. They are more radical than me,
it's not just an image added, is a page replaced with a scaled image
of the original page, and an image added bellow. Then they end up
still on same issue even with
Michael Schierl wrote:
> Hello again,
>
> now I managed to condense the "bad" PDF I wrote about in the
> postscriptum of my last email to one small page that still shows the
> behaviour.
I've just added two new tests cases in SVN based on the two pdf files
you sent to the list. The first one is n
Michael Schierl gmx.de> writes:
>
> Sorry if my statement was ambiguous. Although initially implemented by me,
> the code of getLinks has been committed to iText svn by Paulo in revision
> 2880 (in August 2007).
>
> Commit:
> http://itext.svn.sf.net/viewvc/itext?view=rev&revision=2880
>
> Vers
Michael Schierl wrote:
> To reproduce, just run the following code on the attached PDF.
>
> String filename = "D:\\temp\\buggy.pdf";
> PdfReader rdr = new PdfReader(new
> RandomAccessFileOrArray(filename), new byte[0]);
> // this one works: PdfReader rdr = new PdfRe
Hello again,
now I managed to condense the "bad" PDF I wrote about in the
postscriptum of my last email to one small page that still shows the
behaviour.
This time, the code to reproduce is a bit longer:
PdfReader currentReader = new PdfReader("D:/temp/bug.pdf");
Document documen
Adam Leszinski wrote:
> From my understanding and research on the web I have found that
> Coldfusion 8 ships with an iText library to support many of the tags
> Coldfusion 8 provides for PDF generation, however this library is not
> the full iText library and therefore there is the potential th
Hello,
I'm having trouble with displaying objects in my PDFs the correct size.
For example, let's say I try and output a single table cell with a width
of 720 points. When I measure the cell with my ruler on screen at 100%
it should be 10 inches wide but is actually about 11.15 inches wide. My
I am using an electronic id of another guy so I would prefer not to
sent the generated docs since it would have someonelse private info, i
would have to generate the docs with dummy ids. But the point is
perfect simple. Normally signed documents (with timestamp, reason and
location) with itext, aft
I am looking to utilize or have the ability to utilize the full iText library
with Adobe Coldfusion 8.
>From my understanding and research on the web I have found that Coldfusion 8
>ships with an iText library to support many of the tags Coldfusion 8 provides
>for PDF generation, however this
Barnali B wrote:
> Can you please advice me in creating a PDF file for my application?
> I am trying to add a page in an existing pdf. Say for example I am
> trying to create the *'Table of Content'* for my already created pdf
> which have some list of information. I want to place the *'Table of
mitroiasi wrote:
>
> Hi,
>
> I have a problem inserting an image in a pdf. I tried the code locally and
> it works.
> In the web application I don't know how to create the image from the:
> context.getResourceAsStream("/pdf/images/cross.gif");
That's not an iText problem! This is something every
Hi !
Indeed, if I remove usage rights, editing works fine. I could compromise on not
being able to save a filled copy. But without usage rights, the submit button
no longer works. Obviously, it needs to work.
As a wild guess, I tried "new PdfStamper(reader, new FileOutputStream(RESULT),
'\0',
Anu Padki wrote:
> I want to find out if there is any other way of achieving it, so that my
> users can make changes to the stylesheet which I can use to generate the
> html2pdf seamlessly.
Use Flying Saucer for html2pdf. Flying Saucer used iText to produce the
PDF, but adds HTML + CSS parsing
Martin Leboeuf wrote:
> Then, using Acrobat, I open the file and "enable usage rights",
> so that end users can save filled versions of the pdf form.
> Finally, I modify the file using the code above.
After that, you CAN'T change objects in the document without breaking
Reader Enabling, unless y
That makes two of us!
-Original Message-
From: m...@wir-sind-cool.org [mailto:m...@wir-sind-cool.org]
Sent: Thursday, April 16, 2009 9:45 AM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Signature gets corrupted when editing after sign
Rui,
hhmmm, being a bi
Hi !
First, here is the code snippet modifying the pdf document :
File f = File.createTempFile("TheModifiedFormFile", ".pdf");
PdfReader reader = new PdfReader("/path/to/OriginalFormFile.pdf");
PdfDictionary root = reader.getCatalog();
PdfDictionary acroform =
Martin Leboeuf wrote:
> Hi again !
>
> Thanks for the help. I did manage to modify my form. The problem now is that
> when I open the resulting file with Acrobat Reader, I get the following
> message:
>
> "This document contained certain rights to enable special features in Adobe
> Reader. The
Thanks, I never came across that website.
Jason
-Original Message-
From: 1T3XT info [mailto:i...@1t3xt.info]
Sent: Thursday, April 16, 2009 1:57 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] PdfCopy
Jason Berk wrote:
> Is there a way to use PdfCopy to co
Rui,
hhmmm, being a bit curious I really would like to know on what kinds of
manipulations of signed materials Adobe softened its checks. Would it be
possible for you to provide a sample document, maybe even sample code?
Regards, Michael.
-Original Message-
From: rui fernandes [ma
Ok Michael,
About the PDFStamper append mode, of course I do that. That's why it
works when I add the image to a different/new page at the end of the
document.
But the happy truth is that I just checked with the new version of
adobe reader 9, the same document and it works fine even when I add
th
Unless you have a copy of Adobe Acrobat Professional or LiveCycle Reader
Extensions Server, you can't.
How did you end up modifying the document? Sounds like you didn't use a
PdfStamper...
Leonard
-Original Message-
From: Martin Leboeuf [mailto:martin.lebo...@mail.mcgill.ca]
Sent: Th
Hi again !
Thanks for the help. I did manage to modify my form. The problem now is that
when I open the resulting file with Acrobat Reader, I get the following message:
"This document contained certain rights to enable special features in Adobe
Reader. The document has been changed since it was
Suren Avunjian wrote:
> Hello,
>
> We are planning on using iText in our application and would like a copy
> of the license agreement for our records.
If you are talking about buying a license,
please go to http://itextsoftware.com/
br,
Bruno
On Thu, 16 Apr 2009 00:38:04 + (UTC), Mark Storer wrote:
>> Yes, I know, that getLinks method has initially been implemented by me
>> (so shame on me) but it seems the PDFReader got that much more
>> complexity since then that I cannot really understand what is going on
>> here, especially sin
Rui,
> The strange thing is that no binary corruption occurs
> on signature if image is added to a new page, but it
> occurs if i add it to the same first and only page.
> This doesn't seems very justifiable I guess.
actually there is (at least semantically) quite a big difference between
chan
sorry for the mess i made with my emails, but i was get confused
seeing i was not receiving the emails others write me back,
to see on the web that other's answers were not on my thread
and my answers didn't show up
i guess is not only my fault
Hi Michael,
Check the mail before on some comments on a similar old post. I will
put some code in here when I can and if no one finds the solution to
my problem.
The strange thing is that no binary corruption occurs on signature if
image is added to a new page, but it occurs if i add it to the sam
So, It's me again, I was passing through old related topics on the
mailing list and saw a very similar problem. (Look bellow.) My problem
with Paulo Soares answer is that it's not exactly right.
Since just as I said, if I add the image to a new page the signature
info just says the document has be
So, It's me again, I was passing through old related topics on the
mailing list and saw a very similar problem. (Look bellow.) My problem
with Paulo Soares answer is that it's not exactly right.
Since just as I said, if I add the image to a new page the signature
info just says the document has be
Hi Michael,
To give you more details. Check bellow on some comments on a similar
old post. I will put some code in here when I can and if know one
finds the solution to my problem. The strange thing is that no binary
corruption occurs on signature if image is added to a new page, but it
occurs if
Hi,
after signing a document only a very few changes to it are allowed.
Additionally you must make sure you change the document in append mode.
If you work in append mode and think your changes are allowed, please do throw
in some code and a sample pdf.
Regards, Michael.
So, It's me again, I was passing through old related topics on the mailing
list and saw a very similar problem. (Look bellow.) My problem with Paulo
Soares answer is that it's not exactly right.
Since just as I said, if I add the image to a new page the signature info
just says the document has bee
hello itext-gurus,
I am very new to i-text. I am trying to achieve the following, and I believe it
is not possible with itext as of now. Please advise.
I have a velocity template which I convert to pdf (essentially html to pdf)
I want the html to link to a css or include it in the header and m
Hello,
We are planning on using iText in our application and would like a copy of
the license agreement for our records.
--
Best Regards,
Suren Avunjian
VP of Sales & Development
Direct +1 (818) 395-4659
Fax +1 (928) 395-4659
LigoLab Incorporated
Healthcare Solutions
ATTENTION:
The info
Hi,
I have a problem inserting an image in a pdf. I tried the code locally and
it works.
In the web application I don't know how to create the image from the:
context.getResourceAsStream("/pdf/images/cross.gif");
I found a code, but I don't want to use a new framework (jar) only for this
reason
Hi,
Can you please advice me in creating a PDF file for my application?
I am trying to add a page in an existing pdf. Say for example I am trying
to create the 'Table of Content' for my already created pdf which have
some list of information. I want to place the 'Table of Content' in the
second
Hi,
When I add an image to an already signed document, the final document gets
the old signature info corrupted. If I add the image to a new page on the
same document the problem doesn't happen. Both image adding and signing are
made with itext.
Does anyone knows this problem already or should I
Before revision3721, after calling the static method PdfObject
PdfReader.getObject(PdfObject obj) for an instance of PdfIndirectReference,
PdfReader.lastXrefPartial used to be properly set to the object index after
returning (a side effect of ref.getReader().getPdfObject(idx)).
PdfRea
55 matches
Mail list logo