[iText-questions] writing to a PDF document.

2007-03-19 Thread Ayusman Dikshit
Hi All, I am trying to write content to an PDF file, after reading it through the iText API. Even though I add a Chunk/Author information to the PDF file, I am unable to get those information on the PDF file. (The file size does not change.) Can any one tell me the reason why is it so? Please

Re: [iText-questions] writing to a PDF document.

2007-03-19 Thread Paulo Soares
Instead of inventing why don't you read the tutorial at http://itextdocs.lowagie.com/tutorial/? Paulo - Original Message - From: Ayusman Dikshit [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Monday, March 19, 2007 7:10 AM Subject: [iText-questions] writing to a PDF

[iText-questions] Add AcroFields with PdfStamper and find they again with PdfReader

2007-03-19 Thread Sascha Fuchs
Hello I try to add hidden AcroFields to existing pdf documents. // Create Acrofields with number of stamps PdfFormField stampfield = PdfFormField.createTextField(stamp.getWriter(), true, // multiline false, // password 0); // Maxlength of field - 0 = unlimited

Re: [iText-questions] Add AcroFields with PdfStamper and find theyagain with PdfReader

2007-03-19 Thread Paulo Soares
Add a TextField, it will work. Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Fuchs Sent: Monday, March 19, 2007 9:34 AM To: Post all your questions about iText here Subject: [iText-questions] Add

Re: [iText-questions] Embed FlowPlayer in PDF

2007-03-19 Thread Paulo Soares
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of YAP Sent: Monday, March 19, 2007 1:43 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Embed FlowPlayer in PDF Anyone has idea to pass in parameters to iText for

Re: [iText-questions] Color looks different after drawingparticular image types

2007-03-19 Thread Eliot M Cline
We had a similar issue with vector graphics and layers that utilize transparency. I solved our problem after a long time studying the pdf ref manual and looking at pdf docs created with Illustrator. I noticed PDF's created with Ilustrator have the page containing transparent objects set to be a

[iText-questions] displaying image is taking time

2007-03-19 Thread feb_smile
hi i m displaying around 250 images from a url by using image.getInstance(new url()). but the problem is that its takng too much time (more than half an hour). for this i hav done proxy settngs also. can anyone suggest me any other way to fetch those images in less time.its affectng my

Re: [iText-questions] Color looks different after drawingparticular image types

2007-03-19 Thread Leonard Rosenthol
That solution is EXCELLENT - and definitely what I recommend. Leonard On Mar 19, 2007, at 5:01 AM, Eliot M Cline wrote: We had a similar issue with vector graphics and layers that utilize transparency. I solved our problem after a long time studying the pdf ref manual and looking at pdf

Re: [iText-questions] image in a cell (RTF)

2007-03-19 Thread mékafi
Mark M. Hall M.M.Hall at cs.cardiff.ac.uk writes: The TraceRose2D class works also perfectly in another project where I realise a PDF document(not with iText). Does it work with the iText PDF output (PdfWriter)? If not, then repost your question without RTF in the subject, so that the core

[iText-questions] HTMLWorker

2007-03-19 Thread mdcapurro
Hi. I'm use the htmlworker for some html text inside a document i need convert to pdf. It work fine, but on one test with table and paragraph inside: p style=margin-left: 18pt; text-indent: -18pt; text-align: justify At the pdf, on P tag who is inside a table and have the JUSTIFY style, the

Re: [iText-questions] Color looks different after drawingparticular image types

2007-03-19 Thread Peter van Raamsdonk
Thanks Eliot, I was poking around with the writer in java. writer.setDefaultColorspace(PdfName.COLORSPACE, PdfName.DEFAULTRGB); or PdfName.ALTERNATE, PdfName.DEFAULTRGB But that didn't quite hack it I must admit that I don't grasp the variables, first one is from (acts as trigger)and the other

Re: [iText-questions] image in a cell (RTF)

2007-03-19 Thread Mark Hall
On Monday 19 March 2007 15:23, mékafi wrote: Making the document works width itext PDF, even though I can't resize the image (???) and I have to use img.setAbsolutePosition(-100, 0) to see a little part of the chart. Any idea on what's wrong ? I can't say why your image is being positioned

[iText-questions] HtmlWorker: Parse Special characters

2007-03-19 Thread kkdusi
How to parse HTML special characters like micro; divide; etc.. as defined in w3c.org -- View this message in context: http://www.nabble.com/HtmlWorker%3A-Parse-Special-characters-tf3428925.html#a9558102 Sent from the iText - General mailing list archive at Nabble.com.

[iText-questions] Applying font style

2007-03-19 Thread Peter van Raamsdonk
I create fonts from the actual font file and use them in the PdfGraphics2D to draw text, for the pdf side I use the location of the actual font to create them, register the names, place them in the FontMapper and pass it on to the writer. This all works fontastic. A font (family)typically

Re: [iText-questions] HtmlWorker: Parse Special characters

2007-03-19 Thread mister bean
Could you rephrase your question so that it has some relation to iText? Thanks, ---Mister Bean kkdusi wrote: How to parse HTML special characters like micro; divide; etc.. as defined in w3c.org -- View this message in context:

Re: [iText-questions] HtmlWorker: Parse Special characters

2007-03-19 Thread kkdusi
Could you rephrase your question so that it has some relation to iText? Thanks, ---Mister Bean I use HtmlWorker and/or HtmlParser to parse the text. the text can come with any Html special characters. Before I parse the text, say for nbsp; I replace it with #160;and frac14; with #188;. how to

[iText-questions] PdfPTable and spacing question

2007-03-19 Thread Michael Solwecki
Hello, my name is Michael Solwecki and I've got a question regarding the PdfPTable class and the spacing before/after fields. I am running iText 1.4.8. It appears that whenever I have a PdfPTable as the first element in a document, that the spacingBefore is ignored, and the table is pushed up

[iText-questions] Jtable2PDF: missing column names and pagination

2007-03-19 Thread Agarwal, Sunil [CIB-IT]
2 questions: Q1: My Jtable is fairly big, meaning spans multiple pages. But I can see only the first page in generated PDF. Q2: Can any one suggest a way to generate table header? For your referenceL: I am using following code Rectangle pageSize = new Rectangle(1100, 1400);

Re: [iText-questions] Signing PDF with Windows Certificates

2007-03-19 Thread Brian McKeever
itextsharp (and itext) is undergoing some major changes in the crypto area (see the CVS) and when the next release is out I'll prepare some examples on how to sign using certificates from the Windows certificate store supporting non exportable private keys like those coming from smartcards.

Re: [iText-questions] HtmlWorker: Parse Special characters

2007-03-19 Thread Paulo Soares
There's a long list of entities supported, see EntitiesToUnicode.java. Paulo - Original Message - From: kkdusi [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Monday, March 19, 2007 7:49 PM Subject: Re: [iText-questions] HtmlWorker: Parse Special characters Could

Re: [iText-questions] Add AcroFields with PdfStamper and findtheyagain with PdfReader - Thank you, it works

2007-03-19 Thread Sascha Fuchs
Hello Paolo Hello Bruno Thank you very much! It works! (And my boss doesn't breathe down my neck anymore...) Sascha Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Paulo Soares Gesendet: Montag, 19. März 2007 12:02 An: Post all

Re: [iText-questions] Signing PDF with Windows Certificates

2007-03-19 Thread Paulo Soares
- Original Message - From: Brian McKeever [EMAIL PROTECTED] To: Post all your questions about iText here itext-questions@lists.sourceforge.net Sent: Monday, March 19, 2007 9:30 PM Subject: Re: [iText-questions] Signing PDF with Windows Certificates itextsharp (and itext) is

Re: [iText-questions] Color looks different after drawingparticular image types

2007-03-19 Thread Eliot M Cline
Peter,Get yourself a copy of the pdf ref manual and read the sections on rendering and transparency. It is all explained in excruciating detail. Alternatively, just translate into java the code snippet I posted yesterday and incorporate it into your own, and everything should work fine. This

Re: [iText-questions] HtmlWorker: Parse Special characters

2007-03-19 Thread kkdusi
There's a long list of entities supported, see EntitiesToUnicode.java. I will look at this program too. but I fixd this some other way. before parsing the document, I linked the DTD which defined all the characters and it works . Paulo Soares wrote: There's a long list of entities