Re: [iText-questions] Copy an existing pdf file and add new layer whit itext API for java

2008-04-24 Thread 1T3XT info
[EMAIL PROTECTED] wrote: > Hello, > > I need to modify a pdf file that contains layers inside, > I use the PdfStamper for import this pdf, but i don't add > a new layer in the new pdf document generated. Adding new layers to a document that already has layers isn't supported yet, but I've had a r

Re: [iText-questions] newPage() doesn't work

2008-04-24 Thread 1T3XT info
Ken Gentry wrote: I don't get the page break. I do, see attachments. I am going nuts with this so any help would be greatly appreciated. People saying "something doesn't work" without any proof for their allegations drive us crazy. Please adapt the attached example so that we can reproduce

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-24 Thread GeroChaman
Paulo Soares wrote: > > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of 1T3XT info >> Sent: Wednesday, April 23, 2008 7:36 AM >> To: Post all your questions about iText here >> Subject: Re: [iText-questions] create a BaseFont object w

[iText-questions] Copy an existing pdf file and add new layer whit itext API for java

2008-04-24 Thread jaco858
Hello, I need to modify a pdf file that contains layers inside, I use the PdfStamper for import this pdf, but i don`t add a new layer in the new pdf document generated. This is the java code: public class pdfStamper { public static void main(String[] args) { try

Re: [iText-questions] RTF and iTextSharp

2008-04-24 Thread Amy_D
Sorry, i have been trying all sorts of code for this problem and i just manually typed out that code in the mail... here is the one i have been trying to use: RtfWriter2 writer2 = RtfWriter2.GetInstance(lobjDocument, new FileStream("sample.rtf", FileMode.Create)); //I have tried using FileOutputS

Re: [iText-questions] create iText template

2008-04-24 Thread 1T3XT info
krishnan.1000 wrote: > Hi, > > I want to create a pdf template file with appropriate place holders for > values that i can plugin later. Is there a way I can do that? Please help me > here. http://www.lowagie.com/itextwiki/doku.php/filmfestival:accreditation -- This answer is provided by 1T3XT

[iText-questions] newPage() doesn't work

2008-04-24 Thread Ken Gentry
Hi All, I am using iText 2.1.0. In my app I am creating a relatively simple PDF with a large table on the first few pages followed by some text showing the query that created the table data. I need to insert a page break between the table and text. Due to the way our system generates reports I a

[iText-questions] create iText template

2008-04-24 Thread krishnan.1000
Hi, I want to create a pdf template file with appropriate place holders for values that i can plugin later. Is there a way I can do that? Please help me here. -- View this message in context: http://www.nabble.com/create-iText-template-tp16853571p16853571.html Sent from the iText - General mail

Re: [iText-questions] need help on TextField font

2008-04-24 Thread 1T3XT info
johniText wrote: Hello, I am using the convenience class, TextField, to create PdfFormField. First I create the text field, then I set the text and the font, color, etc. I made a small standalone sample and I can't reproduce the following behavior: But When I open the PDF file using Adobe rea

Re: [iText-questions] want to detect field alignment when filling in a form

2008-04-24 Thread 1T3XT info
ralphcook wrote: > I have code that fills in fields in a PDF form, it works fine. I can fill > each field, I can align each field as either left or center, THAT works > fine. OK. > I have trouble determining, from the information in the form, when a field > is designated as aligned for center or

[iText-questions] want to detect field alignment when filling in a form

2008-04-24 Thread ralphcook
I have code that fills in fields in a PDF form, it works fine. I can fill each field, I can align each field as either left or center, THAT works fine. I have trouble determining, from the information in the form, when a field is designated as aligned for center or left (I don't have any need to

Re: [iText-questions] Build PDF from Scratch with Rich Text

2008-04-24 Thread wasegraves
Matthew, You're way out of line here. Many of us on this discussion list care deeply about Bruno and his family. Please focus on being a little more thnakful for the support you *are* able to get from Bruno. He has a lot on his plate, and doesn't need distractions such as yours. Sincerely, Bi

Re: [iText-questions] Build PDF from Scratch with Rich Text

2008-04-24 Thread Bruno Lowagie
Matthew Abercrombie wrote: > I, however, also lost my patience and apologize for my > comments. I sincerely hope things get better for Bruno and his family. I got up just to see if there was any reaction. iText is special in the sense that it's not driven by a company, but by people who are invo

Re: [iText-questions] Build PDF from Scratch with Rich Text

2008-04-24 Thread Matthew Abercrombie
I don't know Bruno personally, but his response was that of an a**hole and a dick and that was the impression that I got from him. I do understand his lack of patience given his situation, but as a promoter of a product, he should have set his personal matters aside and been a professional. I, h

Re: [iText-questions] Build PDF from Scratch with Rich Text

2008-04-24 Thread Dave Gilbert
Matthew Abercrombie wrote: > So to hell with the niceties. If I wanted to hear an a**hole, I'd > fart. Your son having cancer is no excuse for being a dick. However, I > have found a much easier solution that does not involve iText at all. > In fact, there are many PDF APIs out there that are mu

Re: [iText-questions] Build PDF from Scratch with Rich Text

2008-04-24 Thread Bruno Lowagie
Matthew Abercrombie wrote: > P.S. Quit trying to gain sympathy from the rest of the mailing list > members by bringing up your personal problems. Nobody really cares. We are a community; we care. You obviously don't. So be it. As I just wrote in my blog, using setLiteral() is like throwing some

Re: [iText-questions] Build PDF from Scratch with Rich Text

2008-04-24 Thread Matthew Abercrombie
If you'd paid a little more attention to what I wrote, you would have realized that I was not trying to "copy content from one PDF to another". I was trying to insert LITERAL content directly into a brand new PDF document. But I guess using the setLiteral() method to actually set literal content

Re: [iText-questions] Trouble Embedding dynamic PDF within a

2008-04-24 Thread 1T3XT info
Paul Bundick wrote: > Is there a way to dynamically create the pdf, stream it to the clients > browser, and open it within a specified area of a JSP? I've never done any tests in that area. -- This answer is provided by 1T3XT BVBA -

Re: [iText-questions] Build PDF from Scratch with Rich Text

2008-04-24 Thread Bruno Lowagie
Matthew Abercrombie wrote: > So to hell with the niceties. If I wanted to hear an a**hole, I'd fart. > Your son having cancer is no excuse for being a dick. However, I have > found a much easier solution that does not involve iText at all. In > fact, there are many PDF APIs out there that are mu

Re: [iText-questions] How to set page size such as A3, A5, A6 etc for pdf by using iText

2008-04-24 Thread George Bilalis
Hi Paulo, You are correct of course! Then a language problem may be better in programming - where it can only hurt one's project, than while trying "... to comunicate with ATC and that has caused many headaches and some accidents." :) Thanks George > Date: Thu, 24 Apr 2008 14:56:53 +0100> Fr

[iText-questions] need help on TextField font

2008-04-24 Thread johniText
Hello, I am using the convenience class, TextField, to create PdfFormField. First I create the text field, then I set the text and the font, color, etc. But When I open the PDF file using Adobe reader, the font of the text is NOT what I set in my java code. The weired thing is, if I click the

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-24 Thread GeroChaman
>As far as I know FON files aren't supported in iText. well i did some how solve it implementing and customizing a free font (true type of course) that more or less seems to be printed better than the others, the problem as i said, is that PDf has vectorial data, that the printer seems to be rea

Re: [iText-questions] Build PDF from Scratch with Rich Text

2008-04-24 Thread Matthew Abercrombie
1T3XT info, You know what, I tried to be professional and courteous in regards to our email exchanges. I am new to iText, and I am new to the concept of a mailing list. All I wanted to do is determine a method of outputting rich text to a PDF document. I've got a very limited amount of tim

Re: [iText-questions] adobe reader error 109

2008-04-24 Thread Cesare Cantieri
Problem solved! thank you so much! --cesare Paulo Soares wrote: > There's one close() too many, just call doc.close(). > > Paulo > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Cesare Cantieri >> Sent: Thursday, April 24, 2008 1:48 PM

Re: [iText-questions] Table content gap when using header

2008-04-24 Thread Alexis Pigeon
Hi Séverine, On 24/04/2008, Séverine Colin <[EMAIL PROTECTED]> wrote: > Hello, > > I generate a document with a table divided in two parts because of page > break. My problem is the content of the table on the second page is > shifted compared with the table borders. I know the problem comes fr

Re: [iText-questions] Trouble Embedding dynamic PDF within a

2008-04-24 Thread Paul Bundick
Thanks for the response. In your 'talk_to_html' example it appears that your pdf file is has already been written to a location on disk and it is simply opened by the tag. I am trying to dynamically generate a pdf on the fly (based on information I have stored in a database) and stream it to the

[iText-questions] Table content gap when using header

2008-04-24 Thread Séverine Colin
Hello, I generate a document with a table divided in two parts because of page break. My problem is the content of the table on the second page is shifted compared with the table borders. I know the problem comes from the header of the document that is added after the document opening. When I

[iText-questions] Font problem with number of AutoChapter using FontSelector

2008-04-24 Thread Séverine Colin
Hello, I want to add some special caracters in a chapter title, so I use a FontSelector to process the title. My problem is the font of the chapter number is not the same as the title. I think it is a bug of IText library, isn't it ? Here is my code : public static void main(final String[] a

Re: [iText-questions] rename FormFields

2008-04-24 Thread Dieter Landolt
Thanks for answering. I analyzed the way you told me. But this way I lose many information in the fields. Other ar not 1-1 transportable from the inside of the structure. A other problem I found, I will not have access to references witch are PRIndirectReference objects. I did not see a way to g

Re: [iText-questions] adobe reader error 109

2008-04-24 Thread Paulo Soares
There's one close() too many, just call doc.close(). Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Cesare Cantieri > Sent: Thursday, April 24, 2008 1:48 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions]

Re: [iText-questions] How to set page size such as A3, A5, A6 etc for pdf by using iText

2008-04-24 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of George Bilalis > Sent: Thursday, April 24, 2008 12:34 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] How to set page size such as > A3, A5, A6 etc for pdf by u

Re: [iText-questions] How can i insert a file in my RTF document using ITEXT

2008-04-24 Thread Howard Shank
Hi Vijay, You would have to write the RTF in direct content using the appropriate keywords and handle it all yourself. There is no built in external object handling at this time as far as I know. Howard Shank - Original Message From: Vijay Nistala <[EMAIL PROTECTED]> To: itext-questi

Re: [iText-questions] adobe reader error 109

2008-04-24 Thread Cesare Cantieri
Hello, I'm sorry, I come again with a question of a few days ago, about which I did not get a final answer probably because I was not able to provide you all the information correctly. I use attached code to manipulate an existing pdf (the code actually doesn't change anything, just copies the

Re: [iText-questions] How to set page size such as A3, A5, A6 etc for pdf by using iText

2008-04-24 Thread George Bilalis
Dear all, A general question in perspective: What are one's chances in programming (or anything else) if one can't communicate in the language the documentation is written in? (Before mastering Java and iText one should master English as a second language) Just wondering... since the answer

[iText-questions] Extract image from PDF using iText?

2008-04-24 Thread Andrzej XXX
Hello, I would like to ask you if it's possible to extract photo/image from pdf using iText and save it as file .jpg .png? I try to do something like this : PdfReader reader = new PdfReader( location ) ; PdfImportedPage page = writer.getImportedPage( reader, 1 ) ; image = Image.getInstance( page )

[iText-questions] How can i insert a file in my RTF document using ITEXT

2008-04-24 Thread Vijay Nistala
Hi, I want to insert(attach) a xls file to my RTF document. Is it possible using iText. If yes then please guide me. Thanks & Regards, Vijay Disclaim

Re: [iText-questions] Memory usage vs. performance

2008-04-24 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Karol Bryd > Sent: Wednesday, April 23, 2008 10:41 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] Memory usage vs. performance > > Hello > > I have two questions to

Re: [iText-questions] How to set page size such as A3, A5, A6 etc for pdf by using iText

2008-04-24 Thread 1T3XT info
*SIGH* Yet another inconsiderate newbie who mailed me personally instead of replying to the mailing list. Please note that recidivism will force me to send an invoice for every question sent to my private mail address instead of to the mailing list. 1T3XT info wrote: [EMAIL PROTECTED] wrote: *I