Re: [iText-questions] Appending to end of pdf file

2007-10-25 Thread Bruno Lowagie
ssinai wrote: > Hi, is it possible to open a pdf file that has been closed, and append data > to the end of it? This is an ambiguous question. Do you want to create a PDF in 2 passes (see chapter 2 of the book)? Do you want to change an existing PDF? Do you want to create an update PDF (with more

Re: [iText-questions] Help needed for html to pdf conversion

2007-10-25 Thread Paulo Soares
'org.xml.sax.InputSource' is Java. Paulo - Original Message - From: "esolzsubhadeep" <[EMAIL PROTECTED]> To: Sent: Friday, October 26, 2007 6:59 AM Subject: Re: [iText-questions] Help needed for html to pdf conversion > > Yes, I know, but after doing necessary amendments, still gettin

Re: [iText-questions] Merging fields in cover letter then merging report

2007-10-25 Thread Paulo Soares
Page numbers start at 1. Paulo - Original Message - From: "johne" <[EMAIL PROTECTED]> To: Sent: Thursday, October 25, 2007 11:12 PM Subject: [iText-questions] Merging fields in cover letter then merging report > > I have been learning iText and have been able to merge field into a cov

Re: [iText-questions] IText for other tools

2007-10-25 Thread Bruno Lowagie
Amna Khan wrote: > Dear Sir, > > I want to know that can we use Itext open source in C# ? iText is written in Java. I would use the C# port iTextSharp if I were you. > If yes then please send me the links which will help me doing so. http://itextsharp.sourceforge.net/ > Also if you can help m

Re: [iText-questions] Help needed for html to pdf conversion

2007-10-25 Thread esolzsubhadeep
Yes, I know, but after doing necessary amendments, still getting error. How come? Thanks. Paulo Soares wrote: > > You can't expect that Java code will work directly in .NET. > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of es

[iText-questions] IText for other tools

2007-10-25 Thread Amna Khan
Dear Sir, I want to know that can we use Itext open source in C# ? If yes then please send me the links which will help me doing so. Also if you can help me please guide me for other related open sources for pdf. thank you, Sincerely, AMNA ASIF ___

[iText-questions] Merging fields in cover letter then merging report

2007-10-25 Thread johne
I have been learning iText and have been able to merge field into a cover letter using the PdfStamper. In the end design, I would like to: -- Open one output stream. -- Merge cover fields into cover letter and output to the output stream. -- Add pages to the end of this output stream from a diffe

[iText-questions] Appending to end of pdf file

2007-10-25 Thread ssinai
Hi, is it possible to open a pdf file that has been closed, and append data to the end of it? Thanks. -- View this message in context: http://www.nabble.com/Appending-to-end-of-pdf-file-tf4694435.html#a13418675 Sent from the iText - General mailing list archive at Nabble.com. ---

Re: [iText-questions] ImgPostscript

2007-10-25 Thread johne
Never mind on this one. I was easily able to do: com.lowagie.text.Image.getInstance(img, null); and it all worked. Maybe that was not around in 1.3 when the other person created it. -- View this message in context: http://www.nabble.com/ImgPostscript-tf4685260.html#a13417

Re: [iText-questions] Rearrange bookmarks

2007-10-25 Thread Bruno Lowagie
Dominic Maricic wrote: > I'm using the Chapter feature to create bookmarks. The problem is that I also > generate a table of contents after I process everything else (so I know what > pages everything is at). If I create a bookmark for the TOC it shows last in > the > bookmark list. Is there a way

[iText-questions] Rearrange bookmarks

2007-10-25 Thread Dominic Maricic
I'm using the Chapter feature to create bookmarks. The problem is that I also generate a table of contents after I process everything else (so I know what pages everything is at). If I create a bookmark for the TOC it shows last in the bookmark list. Is there a way to move it to the top? Thanks,

Re: [iText-questions] newPage() Functionality

2007-10-25 Thread Dan Kaplan
I think you have to do something like document.isPageBlank(true); in order for that to work. Otherwise, itext ignores the command. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alleni Sent: Thursday, October 25, 2007 5:22 PM To: Post all your questions about

Re: [iText-questions] newPage() Functionality

2007-10-25 Thread Alleni
Sean, See section "How to create a new page in iText" from the following url http://itextdocs.lowagie.com/tutorial/general/faq/index.php If you invoke newPage and the current page is blank, no new page will be added. On 10/25/07, Sean Conlon <[EMAIL PROTECTED]> wrote: > > I am sure there is a g

Re: [iText-questions] Using default fonts in PDFA

2007-10-25 Thread andrei . nunes
Sorry, the problem was that my PFB files was "corrupted". Thanks, Andrei -- Paulo Soares wrote : It should be: bf = BaseFont.createFont("Courier.afm", "winansi", true); Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTE

Re: [iText-questions] Javascript on Layers

2007-10-25 Thread dreams
Can you elaborate your solution little more please. I have mentioned piece of my code for ur reference. I have to change the background color of the layer, when an event is triggered like if the option of a radio button selected is 'Yes'. I am able to hide it by changing the state through java scr

[iText-questions] Andrew S Moy/CHI/NTRS is out of the office.

2007-10-25 Thread Andrew S Moy
I will be out of the office starting October 25, 2007 and will not return until October 26, 2007. Hello, Please contact Carl Groebe (312) 557-5454 if you need any assistance during this time, thanks. - This SF.net email is

[iText-questions] newPage() Functionality

2007-10-25 Thread Sean Conlon
I am sure there is a good explanation for this, but it appears as though the new blank pages that I add to the document with "document.newPage()" are not added to the HelloWorld.pdf (see code snippet below). This is purely a test in order to understand when a page is actually created in the f

[iText-questions] Keep the permission settings after saving

2007-10-25 Thread Marco Galimberti
Hi All, I want to implement the following scenario: 1) I have a document with pdf form created using Adobe LiveCycle Designer 8.0 with the following permissions: -- |Printing | Allowed

Re: [iText-questions] Signing PDF-Document with external Certificate and Signature (Signature is INVALID)

2007-10-25 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Fionn Ziegler > Sent: Thursday, October 25, 2007 4:21 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Signing PDF-Document with > external Certificate and Signatur

Re: [iText-questions] ImgPostscript

2007-10-25 Thread johne
Thank you Paulo. Is there another technique within iText to replace what it used to do? I am not thinking my company here would feel comfortable having me break apart jar files to pull in old class files. I might have to do that though. -- View this message in context: http://www.nabble.co

Re: [iText-questions] Signing PDF-Document with external Certificate and Signature (Signature is INVALID)

2007-10-25 Thread Fionn Ziegler
Hi Paulo, thank you for you fast answers! Signing a document works fine now! I hav some questions to understand my code completely :thinking:: 1) ... tSignatureAppearance.setExternalDigest(new byte[512], new byte[20], "RSA"); tSignatureAppearance.preClose(); ... That is a buffer for the extern sig

Re: [iText-questions] Help needed for html to pdf conversion

2007-10-25 Thread Paulo Soares
You can't expect that Java code will work directly in .NET. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of esolzsubhadeep > Sent: Thursday, October 25, 2007 1:23 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questi

Re: [iText-questions] Using default fonts in PDFA

2007-10-25 Thread Paulo Soares
It should be: bf = BaseFont.createFont("Courier.afm", "winansi", true); Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, October 25, 2007 2:26 PM > To: itext-questions@lists.sourceforge.net > Subject: R

[iText-questions] How to print ??

2007-10-25 Thread Nalini
Hi, I am new to itext . My requirement is - based on user input i have to save the data in a pdf file or send it directly to the printer. The printer output should be in pdf format. I wrote a method that passes ByteArrayOutputStream to PdfWriter.getInstance() method , creates a document and r

Re: [iText-questions] Using default fonts in PDFA

2007-10-25 Thread andrei . nunes
Hi, I'm having the same problem to embed the 'base14' adobe fonts, to support PDF-X. I have the PFB and AFM files, the fonts are embedded but in result the chars seems triangles!!! bf = BaseFont.createFont("Courier.pfb", "winansi", true); f = new Font(bf, 12, 0, Color.BLACK); I have use anothe

Re: [iText-questions] Numbered lists and sublists

2007-10-25 Thread Bruno Lowagie (iText)
Simon wrote: > Hi > I'm trying to make numbered list and sublist that would look like this: > 1. 1st list item > 2. 2nd list item > 2.1. 1st sublist item > 2.2. 2nd sublist item > 3. 3rd list item > > The problem is that sublists are not numbered with . but > only with . > Is it possible to solve

Re: [iText-questions] Get ByteStream

2007-10-25 Thread Bruno Lowagie (iText)
Gunawan Candra wrote: > How can I get raw ByteStream for image in PDF ? So you have an existing PDF and you want to grab the bytes of an Image? OK, then you could find some inspiration in the iText toolbox: http://itexttoolbox.sourceforge.net/ There's a plug-in called ImageXRefViewer and if you

[iText-questions] Numbered lists and sublists

2007-10-25 Thread Simon
Hi I'm trying to make numbered list and sublist that would look like this: 1. 1st list item 2. 2nd list item 2.1. 1st sublist item 2.2. 2nd sublist item 3. 3rd list item The problem is that sublists are not numbered with . but only with . Is it possible to solve this somehow? Thank you Simon --

Re: [iText-questions] Help needed for html to pdf conversion

2007-10-25 Thread Bruno Lowagie (iText)
esolzsubhadeep wrote: > Thanks anyways. Can you help me with an error I'm getting presently in my VS > 2005 project? If this problem is solved, I'll have my work done. > > I wanted to create a pdf directly from a html page. While trying to do so > with a specific piece of code, > I got the followi

[iText-questions] Get ByteStream

2007-10-25 Thread Gunawan Candra
Dear Mr. Bruno, How can I get raw ByteStream for image in PDF ? How can I get the type of raw bytestream (JPEG/ TIFF/ PNG/) for image in PDF ? Can i-text convert / grab image from PDF file ? Can i-text resize image (I mean, resize the physically file) from PDF ? Thanks Regards, Candra Gun

Re: [iText-questions] Help needed for html to pdf conversion

2007-10-25 Thread esolzsubhadeep
Thanks anyways. Can you help me with an error I'm getting presently in my VS 2005 project? If this problem is solved, I'll have my work done. I wanted to create a pdf directly from a html page. While trying to do so with a specific piece of code, I got the following error: "The type 'org.xml.sax

Re: [iText-questions] Border Length Control required.

2007-10-25 Thread Bruno Lowagie (iText)
Bhattacharyya Niladri (KSFJ 311) wrote: > > hi > thanks for telling that..but using events how can i control cell > borders..is there any example available somewhere ? Yes, in chapter 10 of the book: http://itext.ugent.be/itext-in-action/ You'll also find some examples in the free online tut

Re: [iText-questions] Border Length Control required.

2007-10-25 Thread Bhattacharyya Niladri (KSFJ 311)
hi thanks for telling that..but using events how can i control cell borders..is there any example available somewhere ? Thanks Niladri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Thursday, October 25, 2007 12:37 PM To: Post a

Re: [iText-questions] Help needed for html to pdf conversion

2007-10-25 Thread Bruno Lowagie (iText)
esolzsubhadeep wrote: > does it work completely in ASP.NET/C# too? Oops, no, I don't think there's a Flying Saucer port for C#. I didn't realize that this was an iTextSharp question. br, Bruno - This SF.net email is sponsored

Re: [iText-questions] Help needed for html to pdf conversion

2007-10-25 Thread esolzsubhadeep
Thanks, don't know what to say for it =) does it work completely in ASP.NET/C# too? Thanks again. Bruno Lowagie (iText) wrote: > > esolzsubhadeep wrote: >> :working: >> Hi all. >> >> 1)Trying to create a pdf page from a html page, but the table shown on >> the >> pdf page was not in its s

Re: [iText-questions] Help needed for html to pdf conversion

2007-10-25 Thread Bruno Lowagie (iText)
esolzsubhadeep wrote: > :working: > Hi all. > > 1)Trying to create a pdf page from a html page, but the table shown on the > pdf page was not in its shape. 2)Could not be able to use some designs with > the stylesheet options, too.:-(( > > Pasting the piece of code for reference. Need urgent help

[iText-questions] Help needed for html to pdf conversion

2007-10-25 Thread esolzsubhadeep
:working: Hi all. 1)Trying to create a pdf page from a html page, but the table shown on the pdf page was not in its shape. 2)Could not be able to use some designs with the stylesheet options, too.:-(( Pasting the piece of code for reference. Need urgent help from you, please make it fast! pri

Re: [iText-questions] Border Length Control required.

2007-10-25 Thread Paulo Soares
You'll have to use a table or cell vent to customized the border that way. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Niladri > Sent: Thursday, October 25, 2007 11:12 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-q

[iText-questions] Border Length Control required.

2007-10-25 Thread Niladri
Hi I have a problem while working with iText, please advise me if possible. I want to control the length of the border for any particular PdfPCell. I want to colour Top one as Blue and the middle space as White in between two cells. If i do that like this : PdfPCell cell = new PdfPC

Re: [iText-questions] Create multipage statement in PDF

2007-10-25 Thread Bruno Lowagie (iText)
Lue Lek Huat wrote: > Hi, I am new to iText. I want to create a customer account statement in > PDF. The background of every page is an image which is a pre-printed > form. OK, the best way to make sure the background is added to every page is by defining the image as a member variable of a cust

[iText-questions] Create multipage statement in PDF

2007-10-25 Thread Lue Lek Huat
Hi, I am new to iText. I want to create a customer account statement in PDF. The background of every page is an image which is a pre-printed form. Records of the statement will be printed at the absolute position within the pre-printed form and the records could be several pages. From the examples,

Re: [iText-questions] image error 401

2007-10-25 Thread Bruno Lowagie (iText)
Alvaro Sanchez wrote: > We are passing all credentials from the user on the application. > Through a persister class we are passing this info, somehow the > HTMLWorker when parses the tags for the images doesn't validate with > the persister. > Any ideas how can I overcome this? Let's do a sma