Re: [iText-questions] Problem with the Background of a Chunk object!

2008-03-13 Thread Bruno Lowagie
Eric Summkeller wrote: But I have still one question. How can I get the information how much the offset has to be? I mean how can I get the coordinates where the underline starts. iText already does this for you: float fontSize = chunk.font().size(); float ascender =

[iText-questions] [personal message] some bad news

2008-02-22 Thread Bruno Lowagie
Dear subscribers of the mailing list, most of you know me because I've been answering many questions on this list in the past. You probably also recognize my family name from the com.lowagie packages. I'm posting this personal message to inform you that I won't be able to answer many questions

Re: [iText-questions] [personal message] some bad news

2008-02-22 Thread Bruno Lowagie
AJ Weber wrote: I will say a prayer for your son and your family. Thank you all for your kinds words. All we can do right now is hope that the treatment will be successful. Bill Ensley wrote: Go eat some chocolate ice cream. It won't cure anything, but it makes you feel better. Thanks

Re: [iText-questions] [personal message] some bad news

2008-02-22 Thread Bruno Lowagie
Bill Ensley wrote: Bruno, Are you financially stable for this treatment? I think this message wasn't meant to go to the mailing list. In any case, my message wasn't meant to raise money. We have checked with our hospital insurance and I'm 99% sure we're covered for the larger part of the

Re: [iText-questions] Section page numbers not correct in Table Of Contents

2008-02-22 Thread Bruno Lowagie
Mark Flagg wrote: Hi, I have a document with a lot of sections in each chapter. When I generate the TOC the chapter page numbers are correct but the section page numbers are not correct. For example below is the TOC I want: (snip) I am using pdfWriter.PageNumber to retrieve the page

Re: [iText-questions] concat

2008-02-22 Thread Bruno Lowagie
Cristian Ferrero wrote: Hi i explain with example : i have 3 pdf files , each one with 3 pages, last with 4 , i need this pdf files in one (i can use concat_pdf) but in new pdf file , the 3 pages imported from pdf 1 must have pagelabel 1, the next 3 pages pagelabel 2, and the 4 pages

Re: [iText-questions] Color in PDF

2008-02-22 Thread Bruno Lowagie
murthy gandikota wrote: Sorry, here I go again. I have a product list that is in Word format presented as a table. The table columns are: brand name, unit price and description. There are about 200 brand names. The product list is printed using a PDF file printer because it has to be

Re: [iText-questions] Sometimes numbers are appearing in Nested Lits, even if lettered and numbered set as false.!

2008-02-21 Thread Bruno Lowagie
XivaX wrote: it is reproducable sometimes.. Plz help me to solve this issue Please send us a small standalone example that reproduces the problem. If it's not reproducible we are in the dark and we can't help you. br, Bruno

Re: [iText-questions] RTF Merge

2008-02-20 Thread Bruno Lowagie
Mark Hall wrote: Hi, wait for the next release where the RTF import functionality has been massively improved (or compile yourself from the SVN source). The current release only supports very simple documents. I am currently updating the acknowledgments page:

Re: [iText-questions] Code sample

2008-02-19 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hi all, Is there any way to show XML sample code in the style how IE displays XML document? I have no idea what you are talking about. You'll have to explain what you mean. br, Bruno - This

Re: [iText-questions] Java API to View and manipulate PDF

2008-02-19 Thread Bruno Lowagie
loonyCoder wrote: If somebody knows its possible with this API, please let me know... If JPedal is already too pricey for you, any other solution will be too pricey too. Do you understand the icons that are displayed for every method in Adobe's JS Reference Manual? It means that some methods

Re: [iText-questions] How to set Tabs in PDF ?

2008-02-19 Thread Bruno Lowagie
Sylvain Beyaert wrote: RtfTab is just Prefect ..But it works for Rtf file.. and i would need the functionality for a PDF file is there a trick , or another class I missed for PDF ? The concept 'tab' doesn't exist in PDF. br, Bruno

Re: [iText-questions] What version of PDF does the latest iText library fully support?

2008-02-19 Thread Bruno Lowagie
abstaffs wrote: By fully support I mean that it implements all features of that PDF version. That's an unanswerable question. It fully supports ANY PDF version in the sense that you can use iText to build a PDF file at a very low PDF level (using the methods to compose PDF syntax). It

Re: [iText-questions] iText and Web accesibility.

2008-02-19 Thread Bruno Lowagie
Javier Del Amo wrote: Good morning. The reason for my query is that I need to generate PDFs that comply with the standards of Web Accesibility. For example, by adding an image to a pdf file, this carries an alternative text (such as an tag alt in html). I investigated so far I have and I

Re: [iText-questions] Unicode Text in PDF

2008-02-19 Thread Bruno Lowagie
Manoj wrote: Hi, I am trying to place unicode text on the PDF (created using iText). But i am not able to see the text in the same layout. I am seeing only (Question marks). See: http://itext.ugent.be/itext-in-action/examples/chapter09/results/peace.pdf It's generated with iText

Re: [iText-questions] Code sample

2008-02-19 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Sorry I didn't make it clear. Your question is still not very clear. I'm writing some technical documents for my client, and in this document I need to show some XML code samples. My question is if it's possible to render XML code in the style how brower display

Re: [iText-questions] MultiColumnText getting this error on our Unix server

2008-02-19 Thread Bruno Lowagie
pmartin wrote: java.lang.NoSuchMethodError: com.lowagie.text.pdf.ColumnText.addElement (Lcom/lowagie/text/Element;) This implies that the MultColumnText is not there It probably IS there, but the same error is thrown if: - the JVM used on the server is older than the JVM used to compile

Re: [iText-questions] Barcode font size

2008-02-16 Thread Bruno Lowagie
1T3XT info wrote: Ruskin Dantra wrote: Funny...you provide both sides of the argument but a solution to neither... Please explain. I don't see how anyone could provide a solution when there is no problem. Please show me an URL that explains what you mean when you use the concept font size in

Re: [iText-questions] why pdf fields of 1st page move to 2nd page

2008-02-16 Thread Bruno Lowagie
Sarah1 wrote: Hi Bruno, Now I'm confused by adding radio buttons on different page. I fail to see the problem. What is there to be confused about? I want name1(text), preferred1(radio) on 1st page, name2 and preferred2(radio) on 2nd page. See

Re: [iText-questions] Three recommendations to make your s/w enterprise-worthy

2008-02-15 Thread Bruno Lowagie
seem to think that iText is comparable to Eclipse. 2. you seem to think that I (Bruno Lowagie) and I alone am iText. 3. you seem to think I have the money/time to achieve the things you suggest. 4. you suggest that all other iText users have the same problems you are having. OK, I'm

Re: [iText-questions] Three recommendations to make your s/wenterprise-worthy

2008-02-15 Thread Bruno Lowagie
Quintana Maldonado, Rafael wrote: Bruno, I'm pretty sure that you are that kind of people that constantly improve your work on the basis of self motivation. So, just put these recommendations on your desk and give them a chance later, when you consider it is suitable. Yes, that's true. For

Re: [iText-questions] Barcode font size

2008-02-14 Thread Bruno Lowagie
Ruskin Dantra wrote: Hi All, I am trying to display a barcode but with different font sizes. I have set the font on the barcode object to null as I don't want any text to appear although the actual size of the barcode should be changing as I am setting the font size on the pdfcontentbyte.

Re: [iText-questions] re quirement to add image in a pdf doc based on location of word(s)

2008-02-14 Thread Bruno Lowagie
trishulpani wrote: Hi, Thanks for the reply. There's another set of api's by PDFBox. can that help? PDFBox will allow you to convert some (not all) PDF files to a txt file. I don't think it gives you the coordinates of specific words (I don't know, you should ask somebody at PDFBox). If

Re: [iText-questions] How to read fields in a static PDF form created in designer 7?

2008-02-14 Thread Bruno Lowagie
philip wrote: Looking at the debug window I noticed that now the field names for the new PDF have a strange pattern like (notice the þÿ after each period and the spaces bettween characters): þÿ F [ 0 ].þÿ P 1 [ 0 ].þÿ c a n a d i a n _ p r o v i n c e s [ 0 ] instead of

Re: [iText-questions] why pdf fields of 1st page move to 2nd page

2008-02-14 Thread Bruno Lowagie
Sarah1 wrote: Hi Bruno, Thanks. I did find your example before, but my code is different from yours. Please look at the following code. I want to create name1 field on page1, name2 field on page2, but I found 2 name1 fields on both pages, and on 2nd page name1 and name2 fields are overlapped .

Re: [iText-questions] Tool Tips before and after resultWriter.addPage(page)

2008-02-14 Thread Bruno Lowagie
chris123321 wrote: -- i use PdfCopy Why? Switch from PdfCopy to PdfCopyFields and let us know if the problem persists. br, Bruno - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Bruno Lowagie
Edward W. Rouse wrote: I have been searching the mailing list archives and using Google for hours and haven't found the answer, so I am asking here. Have you read the PDF Reference? There's no such thing as page numbers in the page(s) dictionary. There's the page tree from which you can

Re: [iText-questions] ScaleAndTile3, was Re: unsigned jar

2008-02-01 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: As you know, I have developed a program, ScaleAndTile3, which only uses the iText library, and therefore is not subject to the iText license. That is correct. If the compiled classes that comprise ScaleAndTile3 were added to an unsigned iText jar for easier

Re: [iText-questions] generate pdf by using pdfwriter and pdfcopy

2008-02-01 Thread Bruno Lowagie
jergi wrote: Could you tell me more about making pages clickable? That can be done in so many different ways that any answer to this list would be incomplete. Please narrow your question down to something that can be answered in a few lines. By the way: I'll probably be off the list for (at

Re: [iText-questions] generate pdf by using pdfwriter and pdfcopy

2008-01-31 Thread Bruno Lowagie
jergi wrote: Hi, I want to generate a new Pdf-file. First I want to insert some paragraphs (I do this by using PdfWriter) and after that I want to copy same other Pdfs to the new Pdf (using PdfCopy). At least I want to link the inserted paragraphs to the inserted pdfs. But my problem is,

Re: [iText-questions] Hyperlinked Text : Snippet Appreciated!

2008-01-31 Thread Bruno Lowagie
Howard Shank wrote: Correction. I'm using 2.1.0 Snapshot. Sorry if I caused any confusion I'm not confused. Bottom line: it works for us, so there is no problem. I've said it before and I'll say it again (*): it's as easy for us to say it works (and /it does!/), as it is for the OP to say it

Re: [iText-questions] Hyperlinked Text : Snippet Appreciated!

2008-01-31 Thread Bruno Lowagie
Howard Shank wrote: I'm busy trying to buy a new house. Talk about stress! ;-) br, Bruno - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.

Re: [iText-questions] Hyperlinked Text : Snippet Appreciated!

2008-01-31 Thread Bruno Lowagie
Howard Shank wrote: Hey Bruno, What's up with that? I said it worked too! Yes, I know. That's why I said I'm not confused, and I referred to the OP (the Original Poster), not to you ;-) Next week is the first week since last Summer that I'll have some vacation ;-) br, Bruno

Re: [iText-questions] generate pdf by using pdfwriter and pdfcopy

2008-01-31 Thread Bruno Lowagie
jergi wrote: Eh? Meaning: I don't think there's anyone on this list who understands this question. What you are asking doesn't make sense and your code makes even less sense. I thought I'd return the favor and answer with a Simpsons quote (probably the best answer you'll get given the

Re: [iText-questions] unsigned jar

2008-01-31 Thread Bruno Lowagie
Kuehn, Christoph wrote: Can you please also an unsigned jar file? That's a good idea for the next release. I'll put it on my TODO list. br, Bruno - This SF.net email is sponsored by: Microsoft Defy all challenges.

Re: [iText-questions] generate pdf by using pdfwriter and pdfcopy

2008-01-31 Thread Bruno Lowagie
Hello again, when I say a question doesn't make sense, it doesn't help posting it again literally. Let me explain what I don't understand: jergi wrote: Hi, I want to generate a new Pdf-file. OK. First I want to insert some paragraphs (I do this by using PdfWriter) Not exactly, you do

Re: [iText-questions] unsigned jar

2008-01-31 Thread Bruno Lowagie
strict than the MPL and/or LGPL: it gives you more freedom. In other words: there is no problem with ScaleAndTile, even if you would jar it together with iText class files. You can always mail me if you have further questions. best regards, Bruno Lowagie

Re: [iText-questions] table.getTotalHeight() not working in RegisterForm1.java

2008-01-31 Thread Bruno Lowagie
Sarah1 wrote: So I play the example RegisterForm1.java, try to calculate the height of the PdfPTable, but I always got tableheight = 0.0, why? This is my code. Please help me. Turn to page 184 in the book. Read the following Frequently Asked Question: Why is the returned height 0 when I use

Re: [iText-questions] generate pdf by using pdfwriter and pdfcopy

2008-01-31 Thread Bruno Lowagie
Yesterday, I posted this answer to the wrong address: Bruno Lowagie wrote: Kathi wrote: Second try: I have many different Pdfs, lets say chapters from a book. I want to put them together into one Pdf. Furthermore I want to create a table of contents. OK, so for instance if you have 3

Re: [iText-questions] Create a transparent cut-out area

2008-01-31 Thread Bruno Lowagie
Steven Bishop wrote: I'm struggling with how to create a very simple PDF that has 2 layers with the top layer having a simple transparent 'cut-out' area. This morning I woke up with a possible answer to your question. (Even in my sleep I have iText questions on my mind.) I think the best way

Re: [iText-questions] HeaderFooter via PdfStamper.Writer

2008-01-31 Thread Bruno Lowagie
Botros, Sheriff wrote: I am trying to write a header to a document that I am stamping form-field values to, but nothing is appearing. OK. That's easy. See http://itextdocs.lowagie.com/tutorial/general/copystamp/index.php#pdfstamper // here is where I attempt to write the header, but to

Re: [iText-questions] Template layers, graphics in the back please!

2008-01-31 Thread Bruno Lowagie
RM1X wrote: public void onStartPage(PdfWriter writer, Document document){ // why are you using onStartPage? PdfContentByte cb = writer.getDirectContent(); // why aren't you using getDirectContentUnder(); cb.beginLayer(not_printed);

Re: [iText-questions] iText web page

2008-01-31 Thread Bruno Lowagie
Bob Braun wrote: If you really care about printing, I would suggest both formats: html and pdf! Write pdf version of page and add a link for it so that people can choose format for printing as well as viewing. The point I was trying to make, is that people have the choice: 1. they can view the

Re: [iText-questions] Hyperlinked Text : Snippet Appreciated!

2008-01-30 Thread Bruno Lowagie
RM1X wrote: Hi ITexters, Is there an example snippet anywhere that describes the creation of hyperlinked text chunks? I'd like to give some words/sentences in my document, hyperlink attributes such that when they are clicked, the user is ushered to a given page. I didn't have the

Re: [iText-questions] Multiple images in same line

2008-01-30 Thread Bruno Lowagie
Mathieu Mallet wrote: Heya, I'm trying to display multiple images on a single line in iText in order to replicate the behavior of a web renderer. I tried to do this by wrapping the images in Chunk object, which are themselves placed in the same Paragraph object. However, when there are a

Re: [iText-questions] Page numbers in tables in footers in PDFs

2008-01-30 Thread Bruno Lowagie
dafernan wrote: I'm quite new to iText and found the same issue. I've tried to use the approach of wrapping the PdfTemplate inside an Image, but it doesn't work for me. It's as easy for me to say 'it works for me', as it is for you to say 'it doesn't work'. So please be more specific, saying

Re: [iText-questions] Create a transparent cut-out area

2008-01-30 Thread Bruno Lowagie
Steven Bishop wrote: In summary what I am trying to do is paint a transparent area on the top layer - to create a cut-out - so that what is painted on the lower layer is revealed and shows through this area. The word layer is used in different contexts. When you talk about a layer, I think

Re: [iText-questions] Possible to add a new image to an existing PDF?

2008-01-30 Thread Bruno Lowagie
fredda wrote: Hey, tried searching the documentation for an answer for my question without any luck. Is it even possible? Hmm, do you have an internet connection? If so I suggest you have a look at the following pages:

Re: [iText-questions] Working with XML

2008-01-30 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Does anybody have an idea how to do that? Thanks for putting these examples online. If nobody answers by the weekend, let me know, and then I might reconsider doing helping you (for a fee) as we discussed a while ago. br, Bruno

Re: [iText-questions] add/set quickinfo of a formfield

2008-01-30 Thread Bruno Lowagie
Tobias Meier wrote: Hi, i looked into the source code and the method 'setUserName' did the trick (sets the PdfName.TU flag). sfield.setUserName(Some Text for the Mouse-Over Information); But why isn't the method called 'setQuickInfo(String s)' ? Oops, I answered a question you already

Re: [iText-questions] add/set quickinfo of a formfield

2008-01-30 Thread Bruno Lowagie
Tobias Meier wrote: Hi iTexters, i know how to get the quickinfo from a form field PdfDictionary d = (PdfDictionary) item.merged.get(0); PdfString quickInfo = d.getAsString(PdfName.TU); but how does i set/add it? PdfFormField sfield = PdfFormField.createSignature(writer); I looked

Re: [iText-questions] iText web page

2008-01-30 Thread Bruno Lowagie
Derek Hohls wrote: Hi Is it possible you can add a print-friendly CSS file to enable printing of your web page? No, that's not possible. First of all: there is no such thing as 'my web page'. There are plenty of web pages and I don't know which one you are referring to. Some of them give

Re: [iText-questions] iText newbie having page truncation issues

2008-01-30 Thread Bruno Lowagie
Paul Cooper wrote: I’m creating a simple page, using Chunks and adjusting leading to get positioning on a LETTER-sized page. I can position text to about the 8” mark on a portrait-oriented page, but after that the text moves to the next page. This is a really simple page, with about 6 lines

Re: [iText-questions] set length of textfield

2008-01-30 Thread Bruno Lowagie
Sarah1 wrote: Hi, I want to create a certain length textfield in a cell of a table. I don't know how to define the length of the textfield. I know I need draw a rectangle, but i don't know how to. You have come to this mailing list after posting questions on the Author Online forum at

Re: [iText-questions] Possible to add a new image to an existing PDF?

2008-01-30 Thread Bruno Lowagie
fredda wrote: My apologize for being stupid. My apologies for being obnoxious, but I've received an overdose of questions that could easily be answered if people actually did an effort to read the tutorial or the book. On top of that, I've been accused by different people for promoting my book.

Re: [iText-questions] itext - eclipse

2008-01-30 Thread Bruno Lowagie
Mark Hackett wrote: Hello, Just some quick feedback. This is indeed useful feedback. Thanks! I am new to java/eclipse and ran through your step by step instructions at www.lowagie.com http://www.lowagie.com. All went well, nice and clear, right until it was compiling. I wrote this

Re: [iText-questions] JCheckBox and JRadioButton not renderedcorrectly on Mac

2008-01-30 Thread Bruno Lowagie
Gabriel Erzse wrote: Surprisingly enough, in the code you can find a check like this if (g instanceof SunGraphics2D). I received an automated SVN message informing me that Paulo updated the PdfGraphics2D class using the following message: On Mac OS, with Aqua LF, the fonts do not scale

Re: [iText-questions] Page numbers in tables in footers in PDFs

2008-01-30 Thread Bruno Lowagie
Daniel Fernández wrote: But nothing is shown in the cell, so I don't know if I'm doing something wrong. Show us the PDF. The text is probably there, but not in a place that is visible. br, Bruno - This SF.net email is

Re: [iText-questions] iText newbie having page truncation issues

2008-01-30 Thread Bruno Lowagie
Paul Cooper wrote: I'm trying to position text to print on a pre-printed certificate. O, I've got plenty of projects like that. Originally I used ColumnText or showTextAligned to position text on absolute positions, but the next year, the lay-out of the pre-printed template changed, and I had

Re: [iText-questions] Buy the book!, was Re: Possible to add a new image to an existing PDF?

2008-01-30 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Bruno, People who make such remarks are irrelevant whiners. Please don't let their insensitivity shape your character and behaviour. Thank you! That said, it is indeed true that anyone should be able to learn how to use iText with the free resources that are

Re: [iText-questions] Help with EndPage

2008-01-28 Thread Bruno Lowagie
TommySawyer wrote: I have a handle on a notes document and want to collect some data off of it for my header and footer. I can use data off it for the body of the pdf no problem but once I hit the EndPage class I can not access the document. I had a glance at your code, and I don't really

Re: [iText-questions] Help with EndPage

2008-01-28 Thread Bruno Lowagie
TommySawyer wrote: the lotus notes document I am referring to is.. docCon Same difference. How can I pass the userInput (better yet the entire docCon) and make it available in the EndPage class? Have you done an attempt to read my answer? It doesn't matter if it's tempDoc or docCon, the

Re: [iText-questions] Help with EndPage

2008-01-28 Thread Bruno Lowagie
TommySawyer wrote: I am completely new to Java. I must have overlooked that. Sorry, working with getters/setters is very common in Java. I see you pass the variable in the constructor now. That's also a possibility. I write my header and footer tables... the only content that goes in between

Re: [iText-questions] Addendum?

2008-01-28 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Is there an on-line update available for _IText in Action_ or a place that lists all of the current functionality? I understand that there has been a number of changes an additional features that are not covered in this book. Some of the new functionality is

Re: [iText-questions] Multiple images in same line

2008-01-28 Thread Bruno Lowagie
Mathieu Mallet wrote: Here is the proper (incorrectly rendered) file. I vaguely remember writing some code that adjusted the leading of the Paragraph that has Image Chunks so that images are not cut of (so that's the direction towards the solution), but I have to go to work in a few minutes,

Re: [iText-questions] Is it possible to paint and copy PDF document contents?

2008-01-26 Thread Bruno Lowagie
Jonadan wrote: Hi, I am wondering whether it is possble to generate PDF documents that we can paint and copy contents of documents. Especially text contents! I don't understand the question. I can interpret it in two different ways: 1) you want to generate a new PDF document using

Re: [iText-questions] How do I do bookmarks in MultiColumnText()

2008-01-26 Thread Bruno Lowagie
Rob Tanner wrote: Bruno, That did the trick. Thanks for the feedback! All I did in addition is add a setter so that I could provide the parent PdfOutline object. Yep, I forgot to mention that. br, Bruno - This

Re: [iText-questions] check mark not showing in checkbox when printing pdf form

2008-01-26 Thread Bruno Lowagie
Sarah1 wrote: I can print the whole page, but the check mark for the checkboxes can't be display on the paper. Do you know why? Possibility 1: The check mark is visible on the screen, but not printed. Reason: the print flag is not set Possibility 2: The check mark is not visible at all. Please

Re: [iText-questions] Is it possible to paint and copy PDF document contents?

2008-01-26 Thread Bruno Lowagie
Jonadan wrote: I am referring this case! Viewers can paint parts of texts of PDF documents With 'paint', you mean that you visually see what part of the text you selected. by clicking and dragging mouse and copy them using copy functions. Ok, this is perfectly possible with the HelloWorld

Re: [iText-questions] How to import XML data into XFA form

2008-01-26 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Also, does opening a form using PdfReader remove the password? Because my form has usage rights applied, and if the password is remove, the rights will be void. PDF documents with usage rights applied will have the usage rights removed whenever the PDF is

Re: [iText-questions] Alignment in Paragraphs inside a Cell

2008-01-26 Thread Bruno Lowagie
Jonadan wrote: One more question! I spend time with alignment of Paragraphs inside Table Cells. Cells have; - setHorizontalAlignment() and - setVerticallAlignment() Paragraphs have; - setAlignment() It looks like Cell alignment is used, even if I specify paragraph alignment.

Re: [iText-questions] Annotating irregular shapes

2008-01-26 Thread Bruno Lowagie
Leonard Rosenthol wrote: PDF supports this via the QuadPoints value in an Annot dictionary - but I don't believe that iText supports that feature at this time. See

Re: [iText-questions] HTMLtoPDF fonts handling for i18n/l10n

2008-01-25 Thread Bruno Lowagie
Haruhide Yasukawa wrote: Hi, I have a question about HTMLtoPDF fonts handling for i18n/l10n? Do you support fonts handling correctly? You posted this question on the iText mailing list. Please enlighten us: what is HTMLtoPDF? Is it an iText sample you found? Is it a product using iText? I see

Re: [iText-questions] cutom footers

2008-01-25 Thread Bruno Lowagie
(Cell.NO_BORDER); Paragraph p = new Paragraph(title, font1); p.setAlignment(Element.ALIGN_LEFT); cell1.addElement(p); foot.addCell(cell1); If you want to know more about text mode versus composite mode, please read chapters 6 and 7 of iText in Action. best regards, Bruno Lowagie

Re: [iText-questions] fill PDF Form on the fly

2008-01-25 Thread Bruno Lowagie
Sarah1 wrote: After doing some research, I use the following in my struts, but I got blank page on browser. Anybody know why? Please save the 'blank' PDF and open it in a plain text editor. What do you see? Are there a large amount of question marks in the content streams? If so, the BINARY

Re: [iText-questions] Question on iText license

2008-01-25 Thread Bruno Lowagie
Marek Bęgowski wrote: Hi, I would like to develop a web application where the user can generate and download PDF files. OK Can I use iText in such an application even if I get money for the downloaded files. Yes you can. For instance: the Belgian Railway company NMBS used iText to

[iText-questions] iText 2.0.8 has been released

2008-01-25 Thread Bruno Lowagie
Hello all, I have just released iText 2.0.8. Please check the history file to find out what's new: http://www.lowagie.com/iText/history.html#V200 This release comes with a new tool called RUPS. For the moment, you can only find the source code in SVN on SourceForge; the necessary jars can be

Re: [iText-questions] iText 2.0.8 has been released

2008-01-25 Thread Bruno Lowagie
Iliadis Yannis wrote: I just downloaded RUPS. Wow it's exactly what I needed. With the previous tools.jar I couldn't open correctly PDF templates created by Acrobat Designer. Good work!!! Thanks, but... it doesn't do any updating yet. It's just a first version. Also it's very memory

Re: [iText-questions] another PdfPCell constructor

2008-01-25 Thread Bruno Lowagie
Bruno Waes wrote: this is just an idea that would be quite usefull i think now PdfPCell has a nice constructor PdfPCell(PdfPCell cell) that constructs a deep copy of another PdfPCell, which comes in handy for passing the table.getDefaultCell (); when you create a PdfPTable inside a cell

Re: [iText-questions] Re moving PdfStructureTreeRoot from Tagged PDF

2008-01-25 Thread Bruno Lowagie
dayvidpow wrote: How can i get to the /StructParents key, page dictionary, the /MarkInfo, the /StructTreeRoot keys and the catalog. In other words how can I get the markers from the the content stream? OK, first download this file:

Re: [iText-questions] Re :Re: Re :Re: Multiple PDFs generation from single jsp.

2008-01-25 Thread Bruno Lowagie
NILADRI BHATTACHARYYA wrote: Hi Thanks a lot for your suggestion. I am still having some problem in generating PDFs in different explorer windows from Servlet, now I am generating from a servlet but I am unable to do the generation in a for loop with different data. Its saying that the

Re: [iText-questions] All

2008-01-25 Thread Bruno Lowagie
Veena Subramaniyam, Lakshmi Narayanan wrote: I took the source code and compiled with 1.3 JDK. Ran as standalone application in the AIX machine. It worked fine. Once put in in the WAS server classpath I am getting the following exceptions. If I comment this line next it throws is

Re: [iText-questions] cutom footers

2008-01-24 Thread Bruno Lowagie
Jonadan wrote: Hi, I am trying to make PDF document page footers something like this; ABC Corp Page: 1 At the left, the company name will appear. At the right end page numbers will appear. Do you know how I can achieve this? Use page events as described

Re: [iText-questions] retrieving radio button value

2008-01-24 Thread Bruno Lowagie
swapna reddy wrote: Hi I have created an interactive PDF Form with different controls radiobutton,checkbox,textbox I am able to retrieve data from the all control other than radiobutton using the below code. Any help regarding the same would be higly appreciated. I have

Re: [iText-questions] Watermark under Flattened Form

2008-01-24 Thread Bruno Lowagie
John J. Hodorowicz wrote: Hey all, I am having difficulty creating a watermark to display correctly on my pdfs. I have a fillable form template that I populate with data. I then flatten this form and apply the watermark. The watermark shows up but the form fields block out the watermark.

Re: [iText-questions] Problem with inner tables!

2008-01-24 Thread Bruno Lowagie
Eric Summkeller wrote: I would like to set a left indent of an inner table. Have you tried changing with the padding? br, Bruno - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

Re: [iText-questions] Problem with inner tables!

2008-01-24 Thread Bruno Lowagie
Eric Summkeller wrote: Do you have another idea how I could add a PdfPTable inside a PdfPCell? I've never tried doing that, so you are as much an expert as I am with respect to this specific question. Sorry... br, Bruno -

Re: [iText-questions] How do I do bookmarks in MultiColumnText()

2008-01-24 Thread Bruno Lowagie
Rob Tanner wrote: Hi, I've managed to figure out how to create bookmarks directly in the document using PdfOutline(0 and PdfDestination(), OK, so you now know how to use the basic mechanism (using coordinates and so on). but a lot of what I am doing directory information first added to

Re: [iText-questions] Re moving PdfStructureTreeRoot from Tagged PDF

2008-01-24 Thread Bruno Lowagie
dayvidpow wrote: How can i get to the /StructParents key, page dictionary, the /MarkInfo, the /StructTreeRoot keys and the catalog. In other words how can I get the markers from the the content stream? This is uncharted water for me. So could you please be a bit more specific as to

Re: [iText-questions] Thank you

2008-01-24 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: I've just started using iText. It was suggested to me by word of mouth. I've only been using it for a couple of weeks, and it has already solved a number of issues I've had in dealing with Acrobat manipulation. The applications that I'm asked to design tend to

Re: [iText-questions] Multiple PDFs generation from single jsp.

2008-01-23 Thread Bruno Lowagie
NILADRI BHATTACHARYYA wrote: Hi I have to generate multiple pdfs opened in multiple windows from one jsp page , depending upon the selection of check boxes. Can I do that from my Struts Action class ? From jsp , if i use window.open it opens the last pdf in that window. Please help if

Re: [iText-questions] Re moving PdfStructureTreeRoot from Tagged PDF

2008-01-23 Thread Bruno Lowagie
Paulo Soares wrote: You'll have to remove the /StructParents key from the page dictionary and the /MarkInfo and the /StructTreeRoot keys from the catalog. The markers in the content stream don't need to be removed. OK, I stand corrected. Now that I think of it: those markers in the content

Re: [iText-questions] Re :Re: Multiple PDFs generation from single jsp.

2008-01-23 Thread Bruno Lowagie
NILADRI BHATTACHARYYA wrote: it will be very helpful for me to start working on this kind of problem. Yes, it will. Some pointers: You talk about window.open. As far as I know that's JavaScript, not JSP; so if you investigate any further: please don't confuse people by talking about JSP when

Re: [iText-questions] JCheckBox and JRadioButton not renderedcorrectly on Mac

2008-01-23 Thread Bruno Lowagie
Gabriel Erzse wrote: Does the insertDirectory method perform some persistent changes in the system? If you remain in the same JVM: yes. Is there any way to undo them? Kill the JVM. br, Bruno smime.p7s Description: S/MIME Cryptographic Signature

Re: [iText-questions] getOutputStream() has already been called

2008-01-23 Thread Bruno Lowagie
BACQ Jean-sébastien wrote: Bonjour, Encore une petite question qui probablement été résolu...mais comment arreter les insultes du getOutputStream() has already been called dans ma console ??? Ces insultes sont mérités pour l'insolence d'utiliser du JSP pour générer des fichiers binairs.

Re: [iText-questions] Difference between Table and PdfPTable

2008-01-22 Thread Bruno Lowagie
morsi wrote: Dim Mywatermark As New Watermark(Image.GetInstance(Config.RepertoireApplication RessourcesEtats\demo.png), 10, 10) _Doc.Add(Mywatermark) Watermark has been removed from iText for quite a while now. You must be using an old version of iTextSharp. I didn't find on documentation

Re: [iText-questions] Changing default values for PdfPTables andPdfPCells

2008-01-22 Thread Bruno Lowagie
Rob Tanner wrote: Hi, In the current document I'm working on, I use a lot of tables for positioning purposes and having to set border and padding values to 0 for every one that I instantiate. How can I (can I even?) change the default values so that I only have to set them when I don't

Re: [iText-questions] Difference between Table and PdfPTable

2008-01-22 Thread Bruno Lowagie
morsi wrote: thank you bruno, i'm sorry but i really have a problem ! Don't use onStartPage, use onEndPage. Get rid of the opacity stuff, if you read the book, you'll understand that the example is about more than just adding a watermark under existing content; it's about adding a transparent

Re: [iText-questions] Typo in exception message (com.lowagie.text.Section#add)

2008-01-22 Thread Bruno Lowagie
Alexis Pigeon wrote: Hi Bruno or anyone else who has commit credentials over the source code! OK, done in SVN. It was already corrected on one place, but not on the other. br, Bruno smime.p7s Description: S/MIME Cryptographic Signature

Re: [iText-questions] Problem: Stamper and Annotatio n for embeding a SWF doen´t work right

2008-01-22 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Does anybody have an idea why this happens? As Paulo would say: the swf is not showing up in my crystal ball either. Meaning: you think you have explained your problem, but actually you haven't given anyone any material to work with. This is NOT an invitation to send

<    2   3   4   5   6   7   8   9   10   11   >