Version 5.0.6.0 solves the problem. I've checked several files that used to
have problems with and now all of them are rendered properly
Thank you Paulo
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/PdfTextExtractor-doesn-t-return-any-text-tp3312023p3313877.html
S
Greetings to the list,
I'm a new user to iText and I'm trying to place a PNG picture on my
document. I can get the image to show up where I want, but the transparency
of the image turns grey, so instead of being an image of a yield sign on a
white (or sometimes light blue) background, it'
Hi,
please try what Paulo said first:
> From: psoa...@glintt.com
> To: itext-questions@lists.sourceforge.net
> Date: Fri, 18 Feb 2011 18:18:56 +
> Subject: Re: [iText-questions] ITextSharp, FDF problem.
>
> You must call pdfStamper.Close() even if you set CloseStream to false.
> There are a
You can either do it as a clipping path _OR_ you can do it as a mask (soft or
hard) using a raster image.
-Original Message-
From: amonk [mailto:krzysztof.wy...@gmail.com]
Sent: Friday, February 18, 2011 12:02 PM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] mo
>
This problem only existed in iTextSharp (it's fixed now). If the problem
persists in C# or Java please post the code you are using to test.
Paulo
Paulo Soares glintt.com> writes:
>
> It's a bug in the toUnicode parsing. I will be fixed next week.
>
> Paulo
>
> _
If you have a path definition for one of those (with lines and curves
and so forth), then the process is basically the same.
OTOH, if you want varying levels of alpha, you need to use a
Transparency Group as a soft mask onto a PdfTemplate.
Chapter 10.1.4 of iText in Action 2nd edition covers it t
Op 18/02/2011 21:01, amonk schreef:
> hmm,
> I know this way, but what if ...
> my clipping path look like this?
> http://itext-general.2136553.n4.nabble.com/file/n3313452/clip.jpg
>
> I'm sure that this path can be corretly interpreted to iText drawing
> (moveTo,LineTo,curveBezier.etc.) and apply
Op 18/02/2011 19:37, Jon Rowlan schreef:
I have tried a number of times to remove myself from this list to no
avail.
Can a sysop please oblige.
Many thanks and all the best iText people, thanks for your help.
Either you've succeeded in unsubscribing,
or you've registered using a different
hmm,
I know this way, but what if ...
my clipping path look like this?
http://itext-general.2136553.n4.nabble.com/file/n3313452/clip.jpg
I'm sure that this path can be corretly interpreted to iText drawing
(moveTo,LineTo,curveBezier.etc.) and apply clipping path.
--
View this message in contex
I have tried a number of times to remove myself from this list to no
avail.
Can a sysop please oblige.
Many thanks and all the best iText people, thanks for your help.
jON
--
The ultimate all-in-one performan
To add a little more detail in the "modify iText" department, you'd need
to change com.itext.text.pdf.PdfReader.java, lines 768-777.
Specifically, you'd need to wrap them in a loop that could try all your
passwords and only throw if none of them worked.
--Mark Storer
Senior Software Engineer
wkhtmltopdf is quite good I'm told. It even evaluates JavaScript within
the HTML before rendering to PDF:
http://code.google.com/p/wkhtmltopdf/
No, that's not even remotely iText related. On the other hand, it looks
like our HTML->PDF conversion will receive quite a bit of
attention/effort be
You don't. You have to try each one, catch the exception, then try the
next. iText wasn't written with attempting multiple passwords on the
same PdfReader in mind. Yes, this means a lot of redundant IO and
computation. Can't be avoided at this time. If you'd like to alter
PdfReader's source so
You must call pdfStamper.Close() even if you set CloseStream to false. There
are a lot of streams floating around, I advise you to read
HttpContext.Current.Request.InputStream to a byte[] and see what you got and do
a pdfFlat.ToArray() to check for the flattened pdf integrity before further
pro
Use moveTo and lineTo to draw the star. Clip. Draw your picture.
Unless you use the "even-odd winding rule" clipping, you should be able
to just pick out the 5 corners of the star, close the path, and clip:
PdfContentByte cb = ...
cb.saveState();
cb.moveTo(100, 100); // top
cb.lineTo(125, 50);
Hi,
I posted to the itextsharp mailing list and got a response that it had been
closed, and to use the itext mailing list. Maybe someone can help me with
this?
We currently have a site which will have a pdf which will post the FDF to a
url. The idea is, once the FDF posts to the url, we h
Op 18/02/2011 17:00, Wyatt Biker schreef:
> Maybe I can rephrase the question.
This was already answered a couple of days ago, wasn't it?
You can create a PdfTextArray:
http://api.itextpdf.com/com/itextpdf/text/pdf/PdfTextArray.html
and then add it with showText():
http://api.itextpdf.com/com/itex
Maybe I can rephrase the question. What I would like to be able to do is
give the ability to the user to change the displayed spacing between
individual characters in the way that canvas.setCharacterSpacing(-10); does.
I figured if this method can do it, there must be some way to make another
meth
I think my main problem is I just realized I am using iText 2.1. Let me
upgrade to the latest and try again with the PdfCopy and PdfStamper code.
On Feb 18, 2011, at 2:42 AM, 1T3XT BVBA wrote:
> Op 18/02/2011 3:17, Wesley Baker schreef:
>> I could not use PdfStamper to place anchors (was that
The font is Times Roman.
PdfContentByte canvas = stamper.getOverContent(1);
canvas.beginText();
...
* *How do I do this something like * setKerning('B',
'C',defaultKernValue+10)* before I show the text below. Do I need to do
something to this instead? *getKer
Ok, so the convention they use is 2 units from the left of the bounding box.
That's good enough for me.
On Fri, Feb 18, 2011 at 2:30 AM, 1T3XT BVBA wrote:
> Op 18/02/2011 3:27, Wyatt Biker schreef:
> > For now I noticed that Acrobat always uses 2 units as the margin
> > (aligned left of course)
Hi,
When i extract content from a PDF using the getTextFromPage method of
the PdfTextExtractor , the content that is extracted does not have the same
order as the content in the PDF. Is there any way, (such as setting some
methods to true,perhaps?) that the reading order can be maintained wh
It's a bug in the toUnicode parsing. I will be fixed next week.
Paulo
From: Pakhu [mailto:fp...@hotelmanagement.es]
Sent: Friday, February 18, 2011 3:58 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] PdfTextExtractor doesn't return any tex
Thanks 1T3XT for your kind response.
Please find the attached file containing the function. Hope the code would
be readable now.
http://itext-general.2136553.n4.nabble.com/file/n3312475/csharpCode.cs
csharpCode.cs
I am extracting the XFA of a dynamic PDF form created in LiveCycle.
Adding 3 mo
Op 18/02/2011 11:11, sv_srinivaas schreef:
> Hi, I'm using iText 5.0.3 to encrypt an existing PDF (of size 10mb) using the
> PDFStamper.setEncryption() method but it takes more than 100mb of of memory.
> Basically I want the document permission to be set to PRINT only.
>
> Normally I use the Random
Op 18/02/2011 10:39, AhmadQarshi schreef:
> Hi, I am populating Drop Down and List Box controls (where they have
> an item with value 'CODE') in a Dynamic XFA form.
The layout of your code doesn't allow us to easily read and understand it.
Seems like you want to:
1. extract the XFA XML,
2. update
Hi Mark,
The problem with the above approach is that there is a possibility of
loss of data. For a PDF, not all pages would necessarily contain a footer.
So if a bBox is defined for one page it would necessarily not hold good for
all the pages, since the header , footer specifications for di
Hi, I'm using iText 5.0.3 to encrypt an existing PDF (of size 10mb) using the
PDFStamper.setEncryption() method but it takes more than 100mb of of memory.
Basically I want the document permission to be set to PRINT only.
Normally I use the RandomAccessFileOrArray for the PdfReader and PDFStamper
Thank you !!! I was looking with the words "merge" and "join" and I
did not found it ! I'm a iText beginner and that's my first try.
Thank you both for your answers ;)
Al 18/02/2011 09:44, En/na 1T3XT BVBA ha escrit:
Op 17/02/2011 19:33, xi...@gmx
Op 17/02/2011 20:39, zia7770 schreef:
> I have got the above output as in Fig.1 following the steps bellow. The
> output says that "The validity of the document certification is UNKNOWN. The
> author could not be verified."
You need to add the root certificate of the CA to the Trusted Identities:
h
Hi Yannis,
I have changed but it's not working. I think, Itext is not good enough to
convert html to PDF.I need to convert client uploaded HTML file into PDF, So
in that situation I can't parse the HTML file. If you know any other HTML
to PDF Conversion free dll. Please suggest.
Thanks,
Op 17/02/2011 19:33, xi...@gmx.com schreef:
Hello,
I merged 3 PDFs using iTextSharp lib, one with bookmarks and two
without bookmarks. The result is a pdf without any bookmark. Is that
normal?
Can I merge PDF's without lossing bookmarks?
Yes, that's explained in the book, more specifically
Op 18/02/2011 3:17, Wesley Baker schreef:
> I could not use PdfStamper to place anchors (was that correct?).
You can add all kinds of annotations using PdfStamper, including Link
annotations ( = anchors).
If you want to add an Anchor object, you can do so using the ColumnText
object.
For more ex
Hmm..I had thought about this too and this would definetly work if i were
working with a single PDF for which i could probably define the bounding
box..but the point is that i would be dealing with a slew of PDFs , which
would be downloaded and read by my application at runtime. So i am not sure
i
34 matches
Mail list logo