hi
i am using jpeg images and trying to make them transparent , but i am able to
success
when i convert the same image to GIF i am able make it transparent ,
But i want make jpeg images transparent
Connect with friends all over the world. Get Yahoo! India Messenger at
htt
>- you did your changes in an old source file.
Yes. I've patched the version I use (I'll update soon).
>the temp file is deleted on close. It makes impossible to reopen.
Yes again. It's just a temp file : I use iText in a web
application, so deleteOnExit was not an option.
However, if you call
Hi,
Using iText code, I am submitting a PDF using createSubmitForm() for a
push button like
PdfAction action1 = PdfAction.createSubmitForm(submitpath, null,
PdfAction.SUBMIT_XFDF);
action1.next(PdfAction.javaScript("app.alert('Acro Form
Submitted.');\r", pdfWriter));
s
Hello,
We are using iText-2.0.8.jar for merging input streams (pdf format) into
a single PDF file. Same program works in local m/c, system testing, UAT
and other environments but not working in DEV and Prod machines.
Here is the configuration:
Local : Windows, jdk 1.4.2
DEV: Z/Linux, jdk
Hi all,
I have a PDF form that has several combo boxes (list boxes). Could you
please show me how to get the items selected by the user in those combo
boxes? I have searched in iText API and found getListOptionExport(name)
and getAppearanceStates(name) of AcroFields but these 2 methods just
ret
hello!
i am still facing the previously mentioned problem. as i received
no suggestions, i try to show you my problem more precisely:
below you can see my quite straightforward code, and the console
output. i have added some println lines to the original itext code,
to help following the events b
Hi I used iTextSharp to do something similar I think.
I needed to add a table of contents page and wanted bookmarks as well.
I needed for the output a document (docReport) and pdfwriter (wrtReport).
For the input pdf I need the pdfreader (rdrReport). I'll assume you
can create those.
First I crea
I am new to iText and am trying to solve a problem I am encountering. I have
worked through the examples in the iText in Action book and haven't been
able to get this to work.
Here is the problem:
I am merging 3 pdf's together into one using PdfCopy and I need to build
bookmarks for the final pd
Hi Bruno,
Great! it works now.
Thanks
Best Regards
Rams
Bruno Lowagie (iText) wrote:
>
> rams.samy wrote:
>> Bruno, See attached sample file with 2 fields.
>
> OK,
>
> actually there were more fields, but I dropped the second page.
> See http://www.1t3xt.info/examples/browse/?page=example&id
SN_NUMBER will work if the form is XFA, a best effort is made to match
the name. If the form is AcroForm the name must be exact.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Bruno Lowagie
> Sent: Thursday, June 19, 2008 5:26 PM
> To: P
rams.samy wrote:
> Bruno, See attached sample file with 2 fields.
OK,
actually there were more fields, but I dropped the second page.
See http://www.1t3xt.info/examples/browse/?page=example&id=391
The advise I gave you this morning works (I was able to test
it thanks to your example).
Then why
Some remarks:
- you did your changes in an old source file.
- the temp file is deleted on close. It makes impossible to reopen.
The javadoc needs a warning about the memory but I'll leave the rest to
the user.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTE
Hi Paulo.
I solved the problem.
I've looked through the iText sources and I've found the problem.
The PDF file I've to parse, is extracted from an Oracle BLOB, so the
RandomAccessFileOrArray received an InputStream
as input.
Looking through the RandomAccessFileOrArray class, I've discovered that
rams.samy wrote:
> Bruno, See attached sample file with 2 fields.
Oops sorry, I overlooked the link at the end of your mail.
I was able to open your PDF file. Thanks, I'll have a look
at it.
br,
Bruno
-
Check out the new Sour
Ulrich Eck wrote:
> in the Catalog the fields are stored in an Hash which hides the real
> structure of the pdf - right ?
I wouldn't put it that way.
The catalog dictionary has an entry /AcroForm and the value of
that entry is (a reference to) the form dictionary.
This form dictionary has an en
rams.samy wrote:
> Bruno, See attached sample file with 2 fields.
I fear the attachment didn't succeed getting through to the
mailing list. This is one of the exceptions where you can
send it to my personal address.
best regards,
Bruno
-
Documento sem títuloHi all,
The acrobat reader return this Error "Document has been altered or corrupted"
but the signer's identity is valid ...
Any suggestions ??? Tks ...
this is my code ...
privateKey = (PrivateKey) keyStore.getKey(alias, new
String("123456").toCharArray());
chain = key
Bruno, See attached sample file with 2 fields.
Bruno Lowagie (iText) wrote:
>
> rams.samy wrote:
>>
>> Bruno, you interpretation on question was right(Do you know why? :-) )
>>
>> After removing the XFA I did a flattening true followed by field
>> flattening,
>> the whole file got flattened,
Hi all,
i'm wondering if there is a way to find out, if a PDF AcroForm
specifies FormFields with duplicate name/key.
In Acrobat Professional they are displayed with #
notation .. and it sometimes happens that our
designer accidently copies formfields. so i'ld like to check if there
are dupl
Bruno,
I will try the first part.
I also took a quick look at the scrambler project but as you know we
implement all things on a iSeries platform that has a IBM virtual machine
with some restrictions (i.e. awt and swing - the graphic cannot be used).
Beppe.
1T3XT info wrote:
>
> bep
beppecosta wrote:
> Hi Bruno,
>
> how can I get this new code ?
The certificate encryption stuff is already in the current
iText distribution; see the API docs:
http://www.1t3xt.info/api/com/lowagie/text/pdf/interfaces/PdfEncryptionSettings.html#setEncryption(java.security.cert.Certificate[],%20i
Hi Bruno,
how can I get this new code ?
Beppe.
1T3XT info wrote:
>
> [EMAIL PROTECTED] wrote:
>> I'm writing to you in detail in hopes that Bruno will see my response,
>> saving himself a little time to spend with his son.
>
> Thanks, my wife and I just changed shifts at the hospital.
> For
If I decrypt an unsigned pdf, the new copy is perfect.
However if I decrypt a signed pdf (signed with Itext), the new decrypted
copy still shows the signer but says that the signature is invalid.
This is not a big deal because the stored version in encrypted and unsigned.
Only when must be email
The problem is that you have a lot of objects and even though iText only
stores the xref it is still a few million elements to store. It could be
possible to have this in file instead of memory but that's not how
things work now.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [ma
Thanks Paulo.
That solution do not works. I already tried (I found that on the mailing
list archive), but
I always get OutOfMemory (My JVM has 512M of memory).
>Big PDFs will always require more memory, no miracles here.
I'm not very expert about internal PDF structure. My question is: do iText
Paulo Soares wrote:
> Big PDFs will always require more memory, no miracles here.
And maybe Adobe Reader has access to more memory on your machine,
than the amount of memory you allow your JVM to use.
> PdfReader(RandomAccessFileOrArray,byte[])
Even for small files, there's already a significant
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Massimiliano Ziccardi
> Sent: Thursday, June 19, 2008 11:51 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Problem parsing huge PDF files
>
> Hi all.
>
> I have a bu
Hi all.
I have a bug problem. I need to parse very big files (>800 MB) with lots of
pages (> 400.000 pages).
When I open it with Adobe Acrobat Reader, I've no problem: the file is
opened in less than 1 second, and
the reader is able to show me the page count in a while.
If I try to instantiate a
paolo ghiringhelli wrote:
> I'm executing the Java Class in Oracle JDeveloper environment; the class is
> in progress and it isn't yet released.
Aha, it has been a long time since I worked with JDeveloper,
but that could indeed be the reason why the resource isn't
released.
> Do you think that I
Yes, I agree.
I thought your original question was about how to automate the process, e.g., if I generate and encrypted PDF in my process, and code later on in the process needs to decrypt the existing PDF, the code doing the modifying has to have the owner password available to it.
Cheer
answers solutions wrote:
> hi bruno .
>
> can u let me know where can i get more reference about the parameters
> of this method.
I'm sorry, but as far as I'm concerned all your "credits"
have expired and I will be of no further assistance to you.
I wish you the best of luck finding somebody e
See TextFields example, starting on page 484 in the book. You're looking for TextField.MULTILINE.
br,
Bill Segraves
-- Original message from Fhomasp <[EMAIL PROTECTED]>: -- ...
> I do have an additional question, if you don't mind. > > I placed a rather large textfi
Hi Bill,
Of course the user that wants to send the un-encrypted document has the
rights to the original encrypted (including pwd).
I've just tried the sample code and it works percfecty.
Thank you (Thanks to Bruno and Paulo too! )
Beppe.
wasegraves wrote:
>
> You're very welcome, Beppe.
Fhomasp wrote:
> I placed a rather large textfield which is there to hold extra notes from
> the client. When the text reaches the border of the field I need it to
> start a new line in the field.
That's what happens if you use a multiline field as you
described yourself: textField.setOptions(T
hi bruno .
can u let me know where can i get more reference about the parameters of
this method.
here i am attcahing the image which i want to make transparent .
i have created this image in paint and saved as JPG
when i pass the parameter as Image.setTransparency(new int[]( 0xF0
, 0xFF
answers solutions wrote:
> Hi
>
> wht are the parameters i should pass to the method
> Image.setTransparency(new int[]( , ))
>
> . inorder to make a image with backgroung to be transparent .
>
> i am placing this image against a image which has a white background .
It depend
So sorry!!!
I havent included the BouncyCastle jars.
I came from itextsharp, there, we only need to import the itext dll.
thanks for the reply.
PS:
For those who may have the same problem, simply go to:
Technical Requirements in : http://www.1t3xt.com/products/itext.php
Heres the link to downloa
Bruno Lowagie (iText) wrote:
>
>
>> How are you executing the Java class?
>> For instance, when I use Eclipse, an I execute an example
>> with an error, sometimes a dialog is opened saying something
>> like "An error has occured". In that case, the resources that
>> are used (for instance the P
Thanks for the reply, that does indeed work. I did however specify the
fontsize in the baseFont instance so I assumed that would be good enough.
I do have an additional question, if you don't mind.
I placed a rather large textfield which is there to hold extra notes from
the client. When the t
You're very welcome, Beppe.
Please keep in mind that if you want to do anything in the way of modifications to a password protected PDF, you must have the owner password.
Best regards,
Bill Segraves
-- Original message from beppecosta <[EMAIL PROTECTED]>: -- > > Hi
[EMAIL PROTECTED] wrote:
> I'm writing to you in detail in hopes that Bruno will see my response,
> saving himself a little time to spend with his son.
Thanks, my wife and I just changed shifts at the hospital.
Fortunately we're in one of the larger rooms with internet
access. For an update, see:
Hi Bill,
thanks for the answer. I will look at page 95.
Beppe.
wasegraves wrote:
>
> Beppe,
>
> Yes. See HelloWorldEncryptDecrypt example on page 95 in the book.
>
> BTW, you are asking a Yes/No question to thousands of people, the answer
> to which can be foiund on page 95 in the book. Th
Hi
wht are the parameters i should pass to the method
Image.setTransparency(new int[]( , ))
. inorder to make a image with backgroung to be transparent .
i am placing this image against a image which has a white background .
Thanks in advance .
---
Beppe,
Yes. See HelloWorldEncryptDecrypt example on page 95 in the book.
BTW, you are asking a Yes/No question to thousands of people, the answer to which can be foiund on page 95 in the book. The question is even in the index as "decrypting a PDF". I can imagine, worst case, that hundred
Hello,
our user creates encrypted pdf and keep them on a shared folder. (This is
done with iText).
When the user wants to send a document, he would like to send a
non-encrypted version. At present he opens it with Acrobat, removes the
pass, saves a copy and sends it.
Is is possible to automate
Paulo Soares wrote:
> My ego is big but not that big.
I fear that mine is bigger ;-)
My mother always says "les traces d'un fou, se trouvent partout"
whenever she reads something about me. (That's a variation on
the line: "Hi lowagie, ur name is all over internet.")
> The P stands for PDF, it's a
rams.samy wrote:
>
> Bruno, you interpretation on question was right(Do you know why? :-) )
>
> After removing the XFA I did a flattening true followed by field flattening,
> the whole file got flattened, the extra thing which I did not include in my
> previous post is the field value was also no
- Original Message -
From: "Bruno Lowagie" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Thursday, June 19, 2008 9:00 AM
Subject: Re: [iText-questions] PDF Structure
> Alexis Pigeon wrote:
>> By the way, something that always made me wonder since the very fi
Bruno, you interpretation on question was right(Do you know why? :-) )
After removing the XFA I did a flattening true followed by field flattening,
the whole file got flattened, the extra thing which I did not include in my
previous post is the field value was also not set, so I wanted to edit m
On 19/06/2008, Bruno Lowagie <[EMAIL PROTECTED]> wrote:
> Alexis Pigeon wrote:
> > By the way, something that always made me wonder since the very first
> > day I used iText : where does the 2nd 'P' in PdfPTable (or PdfPCell,
> > etc...) come from?
>
>
> Well, I had created the external class Ta
Alexis Pigeon wrote:
> By the way, something that always made me wonder since the very first
> day I used iText : where does the 2nd 'P' in PdfPTable (or PdfPCell,
> etc...) come from?
Well, I had created the external class Table and the internal
class PdfTable (just like you have Document and Pdf
Just to properly explain my situation:
The images do look nice when printed. I print them using a
transform=scale(0,24) to get the nice dpi when printed.
I am guessing that what happens is that the PDFTranscoder does not annotate
the size based on what is shown in the pdf, but rather to the element
On 19/06/2008, Bruno Lowagie <[EMAIL PROTECTED]> wrote:
> Mark Storer wrote:
> > Thanks for the pointers. I hadn't even found that... come to think of it,
> I was
> > talking to my mom last night and she mentioned that Google now has a
> source-code
> > search. Worth looking into...
> >
>
rams.samy wrote:
> field value is not set and the whole pdf is getting flattened, do not why?
As you saw from my previous answer, I changed
> do not why?
into
> do you know why?
and I answered:
"No, I only know that partial form flattening isn't
supported for XFA forms, so I hoped that removing
field value is not set and the whole pdf is getting flattened, do not why?
rams.samy wrote:
>
> Thanks, Bruno
>
> The below code is running without error in Run time, but the field value
> is not set and the whole pdf is getting flattened, do not why?
>
rams.samy wrote:
> The below code is running without error in Run time, but the whole pdf is
> getting flattened, do you know why?
No, I only know that partial form flattening isn't
supported for XFA forms, so I hoped that removing
the XFA would help (but I wasn't sure because I've
never tested it
the field value is also not set and the whole pdf is getting flattened, do
not why?
rams.samy wrote:
>
> Thanks, Bruno
>
> The below code is running without error in Run time, but the field value
> is not set and the whole pdf is getting flattened, do not why?
>
Mark Storer wrote:
> Thanks for the pointers. I hadn't even found that... come to think of it, I
> was
> talking to my mom last night and she mentioned that Google now has a
> source-code
> search. Worth looking into...
>
> Cool stuff: http://www.google.com/codesearch?hl=en
That's cool.
Whil
Lars Eirik Rønning wrote:
> I have images which are generated to a pdf from batik. When i open my
> pdf in acrobat and click on all different image elements, the indicated
> size of the element is far greater than the actual pixel data.
This can happen.
Out of curiosity: don't these images look
PdfDictionary acro = (PdfDictionary)
PdfReader.getPdfObject(reader.getCatalog().get(PdfName.ACROFORM));
acro.remove(new PdfName("XFA"));
The below code is running without error in Run time, but the whole pdf is
getting flattened, do not why?
PdfS
It was a pleasure...
Regards
Federico
On Thu, Jun 19, 2008 at 09:04, Bruno Lowagie <[EMAIL PROTECTED]> wrote:
> Federico Alba wrote:
> > Ok...I built the dll again...and now it's workingIt's
> > perfect...thanks, every bookmark does what it should do...
>
> Thanks for the feedback!
> The chan
Federico Alba wrote:
> Ok...I built the dll again...and now it's workingIt's
> perfect...thanks, every bookmark does what it should do...
Thanks for the feedback!
The changes will be in the next release (scheduled for
the second week of July).
best regards,
Bruno
Ok...I built the dll again...and now it's workingIt's perfect...thanks,
every bookmark does what it should do
On Wed, Jun 18, 2008 at 18:00, Paulo Soares <[EMAIL PROTECTED]> wrote:
> It's a bug, pages start at 1 not at 0. It's fixed.
>
> Paulo
>
> > -Original Message-
> > From: [E
63 matches
Mail list logo