I think I've traced the (presumed) bug to this method in PdfDocument:
https://itext.svn.sourceforge.net/svnroot/itext/trunk/itext/src/main/jav
a/com/itextpdf/text/pdf/PdfDocument.java
boolean fitsPage(final PdfPTable table, final float margin) {
if (!table.isLockedWidth()) {
float total
I have find the solution. This particular PDF has the begining of coordinates in
top-left corner, and not in bottom-left corner as most of pdfs do. (It is
basically mirrored around the x-axis).
Thanks for reading anyway.
---
I'll change the code to DERIA5String.getInstance(..., false);
Paulo
On Mon, Apr 16, 2012 at 11:33 AM, David Hook wrote:
>
> It is, although in this case it's more that a previous bug has been fixed.
> The getInstance method should never have accepted the tagged object. Using
> the getInstance()
Thank you.
Paulo
On Mon, Apr 16, 2012 at 11:29 AM, David Hook wrote:
>
> getContent call in
>
> envelopedData = recipientInfo.getContent(certificateKey,
> certificateKeyProvider);
>
> Should be:
>
> getContent(new
> JceKeyTransEnvelopedRecipient(certificateKey).setProvider(certificateKeyProvider
Hi,
PDFs generated by a number of different scanners are processed by iText-5.0.5,
and watermark is applied over scanned image. It works like charm, but just one
new scanner produces his pdfs in such a format, that makes the stamp somehow
invisible (or misplaced). (Files produced by this scanner m
It is, although in this case it's more that a previous bug has been fixed.
The getInstance method should never have accepted the tagged object. Using
the getInstance() method with two parameters will work in both 1.47 and
earlier versions of BC though.
Regards,
David
--
View this message in con
getContent call in
envelopedData = recipientInfo.getContent(certificateKey,
certificateKeyProvider);
Should be:
getContent(new
JceKeyTransEnvelopedRecipient(certificateKey).setProvider(certificateKeyProvider));
I'd also suggest allowing people to specify a content provider, the original
BC app
Is it possible to determine whether a given image will fit in the current page?
If so, how?
Is it possible to determine whether a given chunk will fit in the current page?
If so, how?
Cheers and thanks,
Stephen
--
=
St