Re: [iText-questions] Re :Re: Conversion : Word points to iText floating points.

2008-02-01 Thread 1T3XT info
NILADRI BHATTACHARYYA wrote: Hi Thanks a lot for the information but how can i convert the MS Word thickness ( .5 pt ) to PDF 'user units' ? You should ask yourself: is the definition of a point in Word different from the internationally accepted definition: 72 points = 1 inch If so, you

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

2008-02-01 Thread 1T3XT info
RM1X wrote: the image is still clickable ; it is highlighted in the document if it is clicked. How do I prevent that layer from being interactive? Let me see if I get this right. You have added a plain image to a plain PDF (no forms, not an icon of a button, no interactivity). Now when you

Re: [iText-questions] Conversion : Word points to iText floating points.

2008-02-01 Thread 1T3XT info
NILADRI BHATTACHARYYA wrote: Hi, Is there any conversion available for MS Word points to iText points. For example, i need to configure table borders in iText , where the border thickness is given as 0.5 pt. How to convert this 0.5pt to iText floating point size? 'iText points' are

Re: [iText-questions] Some symbol are not visible

2008-02-01 Thread 1T3XT info
neiroman wrote: the glyph description of the character with unicode 224d. The way you create your font, it is not embedded. You are using one of the 14 standard Type 1 fonts that only has a limited set of characters/glyphs. So, I just need to use non embedded fonts like arial ? A font 'like

Re: [iText-questions] Some symbol are not visible

2008-02-01 Thread 1T3XT info
neiroman wrote: Hello, Some symbols (like 0x224D) are not displayed in pdf generated by iText Code: Phrase phrase = new Phrase(new String (qwert + \u224d), new Font(Font.SYMBOL)); document.add(phrase); How can I fix this problem ? By creating the Phrase using a font that

Re: [iText-questions] Extract page from pdf

2008-02-01 Thread 1T3XT info
Sérgio Oliveira wrote: Hello, I think I know the answer for this question, but just to have sure: Can itext extract a specific page from a large pdf file without reading it all at once (load into memory)? Yes. Is there any server side utility capable of doing that? Yes. Now that

Re: [iText-questions] Check if a file is PDF file and if the PDF file is encrypted?

2008-02-01 Thread 1T3XT info
Zhi Ren wrote: With iText, how can I check (1) if a file is a PDF file or not? If you can create a PdfReader instance with the file, it's a PDF file. Check isRebuilt() to find out if the file needed fixing because of bad PDF syntax. (2) if a PDF file is encrypted or not? If you can create

Re: [iText-questions] Convert txt file to pdf

2008-02-02 Thread 1T3XT info
Alexandre wrote: Hi everyone, I'm new to iText and I'd like to know if there's any way to convert a txt file (that I already have) to pdf using iText. Yes, but... what is a txt file? No doubt, you are going to answer: it's a string of characters stored on disk. That's correct but not

Re: [iText-questions] problem with newer acrobat-reader-versions

2008-02-02 Thread 1T3XT info
Carlos de Luna Saenz wrote: going a little out of topic... is there any intention to support some day searches inside the PDF? if so.. there's a way we can help? The first step you should take is: read the PDF Reference. After having read AND understood the PDF Reference, decide if your

Re: [iText-questions] problem with newer acrobat-reader-versions

2008-02-02 Thread 1T3XT info
hanspeter schlapbach wrote: shortly we recognized a strange behavior: client with acrobat/reader 7 or 8 get a (visible and hard-printed) square-symbol at the end of each line in a multiline-text-field. this does not happen with clients using acrobat/reader 6 or lower. Where can we find a

Re: [iText-questions] check, if a chunk is the first element on a page

2008-02-02 Thread 1T3XT info
Friedhelm wrote: I want to ensure that a specific chunk starts on a new page. I have done this with Chunk.NewPage. Sometime, depending on the content, the chunk is already the first element on the page so inserting a Chunk.NewPage creates empty pages. I have set the option to ommit empty

Re: [iText-questions] problem with newer acrobat-reader-versions

2008-02-02 Thread 1T3XT info
1T3XT info wrote: hanspeter schlapbach wrote: see attachment I didn't notice that this wasn't sent to the mailing-list. This was probably done by mistake. I forward my answer to the list. That's a very detailed description of the problem. I see that you already discovered that this problem

Re: [iText-questions] Installing and running iText in Oracle Database

2008-02-03 Thread 1T3XT info
bisoa wrote: What do you mean by; 1) install on Oracle database? 2) combine existing PDFs? Do you store PDF documents on Oracle database? I assume that Nicholas means that he wants to install iText in Oracle to automate the creation of PDF using for instance stored procedures written in

Re: [iText-questions] iText Acrofields and Javascript

2008-02-05 Thread 1T3XT info
Joe Gerew wrote: I have been trying to extract the javascript text from an acrofield field item. I have tried using both PdfName.ANNOT, ANNOTS, JAVASCRIPT, and JS to no avail. The javascript was placed into the acrofield using the actions tab on Adobe Acrobat. Can this be done? I

Re: [iText-questions] How can I substitute actual DB values for xml content at runtime?

2008-02-05 Thread 1T3XT info
mtomlins wrote: In 'endElement', right before 'handleEndingTags' I want to call a method to replace content (see method process, marked with an *). currentChunck.content is read only. How can I do this? That's merely some programming work. When you create your handler, you could add a member

Re: [iText-questions] How to read Ascii letter into pdf using i-Text

2008-02-05 Thread 1T3XT info
harsha_reddy wrote: I basically have to read a data file which contains a signature in ASCII format and I have to display this signature as a image in my PDF using iText It's hard to imagine what 'a signature in ASCII format' looks like. Are you talking about ASCII art?

Re: [iText-questions] absolute positining of text

2008-02-05 Thread 1T3XT info
[EMAIL PROTECTED] wrote: I get a string from a class separated by '|'. Now I have to iterate over this string using the StringTokenizer. So far so good. If I try to positioning the token on a specific position, iText places all tokens on the same line. I tried newlineShowText, Paragraph,

Re: [iText-questions] [PDF Forms] Placeholder Value N in Empty Fields

2008-02-05 Thread 1T3XT info
Sean Mills wrote: Hello, I'm trying to take data from a FileMaker database and populate a PDF form, and everything is working well, except when I try to set fields that have empty values. An N placeholder character is inserted, and I don't know what that means. I'm not sure what

Re: [iText-questions] How can I add a pdf table to a generated letter using XML?

2008-02-05 Thread 1T3XT info
bisoa wrote: Use Table and Cell! I'd use PdfPTable and PdfPCell. Table and Cell are old classes. There's an example in Chapter 6. -- This answer is provided by 1T3XT BVBA - This SF.net email is sponsored by: Microsoft Defy

Re: [iText-questions] can i read a bitmap image file and reproduce the same image in pdf using iText

2008-02-05 Thread 1T3XT info
harsha_reddy wrote: Hi, first of all sorry for confusing you, I'm sorry, but your most recent mail isn't very clear either. The customer signs using an optical pen(Digital signature),so it is captured using C (like C++)technology and converted into a bitmap file, so i being interested in

[iText-questions] RTF question Re: 4 questions about 2.0.8

2008-02-07 Thread 1T3XT info
Henry Lu schreef: I am sorry. This for MS Word format 1. iText doesn't create documents in the MS Word format, iText creates RTF. 2. Add RTF to the Subject line if you want an answer. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] iText 2.0.8 on Homepage

2008-02-07 Thread 1T3XT info
Oliver Schweer schreef: Hi, On http://www.lowagie.com/iText/ : NEWS Januar 25, 2007, release of iText 2.0.8 That should be 2008. I assume it will be corrected soon now that you've noticed it ;-) -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] Copy a section into another PDF?

2008-02-07 Thread 1T3XT info
dburke schreef: Sorry, Let me simplify it. Using iText, is it possible to copy a section of a PDF document and paste it into a particular spot of another PDF document? Yes, provided that: 1. you know the page number and the coordinates. 2. the new contents 'fits' into the available space.

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

2008-02-07 Thread 1T3XT info
bisoa schreef: I think this will never works unless you re-write the package per se! I'm sorry, I missed the question because of lack of time. I think 96% of what is possible in PDF is also possible with iText because you are able to create PDF at its lowest level (all you need is a sound

Re: [iText-questions] Copy a section into another PDF?

2008-02-07 Thread 1T3XT info
dburke schreef: The requirement that I have is to generate a PDF from data entered into a web form. Here is my dilema. The web form has a rich text editor which produced html. This data is part of the form that needs to go into the PDF. JClass is currently used to create the PDF to display

Re: [iText-questions] 4 questions about 2.0.8

2008-02-07 Thread 1T3XT info
Henry Lu schreef: 1. remove blank line before table What table: com.lowagie.text.Table or com.lowagie.text.pdf.PdfPTable. 2. specify start page number What do you mean? Page numbers added with page events? Or with HeaderFooter? (no longer supported!) Or do you mean the number returned by

Re: [iText-questions] Javascript from Acroform Fields

2008-02-07 Thread 1T3XT info
Joe Gerew schreef: I need to be able to extract the javascript code from an acrofield item. Please don't double post questions that were already answered: http://www.nabble.com/Re%3A-iText-Acrofields-and-Javascript-p15286298.html If the answer wasn't clear, please explain which part of the

Re: [iText-questions] newbie: fill-in and generate pdf from template?

2008-02-07 Thread 1T3XT info
bisoa schreef: ahnf wrote: Hi, Thanks, are there any simple tutorials for some basic code for how to do this? I.e. get an image into some placeholder in the pdf? Basically the following pages will explain the things; Hmm... why are you referring to those pages, after it was explicitly

Re: [iText-questions] iText in action's new edition

2008-02-07 Thread 1T3XT info
Quintana Maldonado, Rafael schreef: Is there any date for that new edition in the near future? About a month ago, it was announced that the book would be reprinted. This means there is no new book or new edition scheduled for the next year. Bruno has plans to write a second book, but it won't

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

2008-02-07 Thread 1T3XT info
[EMAIL PROTECTED] schreef: Hi, I am new to itext and using itext to generate a PDF document. The content in the PDF are not static but dynamic in nature and I don't know before hand as how long the PDF file is going to be generated. I need to add a 'Table of contents' page to this

Re: [iText-questions] run time problem

2008-02-08 Thread 1T3XT info
Sarah1 schreef: java.lang.Exception: org.apache.jasper.JasperException: com/lowagie/text/Document. Jasper translates JSP pages into Servlet. Have a look at the Servlet code that is generated (if Jasper succeeds in building it); that may shed a light on the problem. -- This answer is provided

Re: [iText-questions] text alignment in ColumnText

2008-02-08 Thread 1T3XT info
Mathias P.W Nilsson schreef: No I want to center content in the bottom and center. Thats it. I want an bound and add text within that bound in at the bottom and center OK, then it's back to Paulo's answer. PdfPCell has a method setVerticalAlignment:

Re: [iText-questions] SAXParseException

2008-02-08 Thread 1T3XT info
raffovi schreef: Can someone help me? You already gave away the answer: Open quote is expected for attribute http-equiv associated with an element type meta. Answering questions is easy when people also post the solution ;-)

Re: [iText-questions] Col Span with Table

2008-02-08 Thread 1T3XT info
Jeff Norton schreef: I have two tables the first table is the primary table called datatable and has 5 columns The second table I want to nest in the first table and it is called sampleRefTable and has three columns Nesting tables with Table isn't the way to go. Use PdfPTable. -- This answer

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

2008-02-08 Thread 1T3XT info
Chris schreef: I simply don't know where to look for the cause of the problem, our itext api code does not consider any tool tip manipulation and I am not an expert in designing the form with adobe creator or whatsoever. Are you using PdfCopy? PdfCopyFields? Some more info would be

Re: [iText-questions] SAXParseException

2008-02-08 Thread 1T3XT info
raffovi schreef: Thanks a lot ;-) it's easy to edit the HTML file but the real problem is to make iText able to read HTML file gererated from PPT iText doesn't read HTML; iText reads a limited subset of XHTML. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] text alignment in ColumnText

2008-02-08 Thread 1T3XT info
Mathias P.W Nilsson schreef: I want all the text inside this columntext to be written from bottom to top. Do you mean you want to work with a negative leading? - This SF.net email is sponsored by: Microsoft Defy all

Re: [iText-questions] Columns - adjusting width

2008-02-08 Thread 1T3XT info
pmartin schreef: I have a one page document with two columns of text - I need the first column to be 30% the width of the page and the second column to be 70% the width of the page - I am getting a 50/50 split - How can I change the width? Are you using PdfPTable or ColumnText? With

Re: [iText-questions] itext ujac question

2008-02-09 Thread 1T3XT info
itextuser schreef: I am using iText with UJAC combination. In my xml file, I have this code and whenever I have a '' or '' in the 'description' field, PDF file is not generated. How can I specify the itext/ujac parser to avoid those characters ('', '') in the cell value.

Re: [iText-questions] not embedding arial unicode...possible?

2008-02-12 Thread 1T3XT info
Alejandro (Alex) Soini wrote: Thank you kindly for your response. However, I would like to know why this means I could only use the ISO-Latin-1 character set. Please read the PDF Reference (p445): The Identity-H and Identity-V CMaps can be used to refer to glyphs directly by their CIDs when

Re: [iText-questions] HTMLWorker Stylesheets. Supported tag styles?

2008-02-12 Thread 1T3XT info
RM1X wrote: I see that I can specify a *||*StyleSheet*||*, but http://itext.ugent.be/library/api/com/lowagie/text/html/simpleparser/StyleSheet.html is horribly sparse; which tag/key/value combinations are supported by the loadTagStyle(str,str,str) function? That part is currently

Re: [iText-questions] getting null values for getAppearanceStates()

2008-02-12 Thread 1T3XT info
ayeen wrote: what i was doing is : form1.setField(Rail, On); On is not defined in your form. The checkbox Rail has two possible states: Off and Yes. In other words: you designed the form so that you should do: form1.setField(Rail, Yes); Don't ask me why, that's how YOU defined the checkbox.

Re: [iText-questions] probleempje met merging van pdf's

2008-02-12 Thread 1T3XT info
Vogelpoel M (ICTRO) wrote: Soms treedt er de volgende fout op na het mergen en tijdens het ophalen van het gemergde pdf: The root object is missing or invalid The main language on this list is English. Please post your questions in English. As for your question. I guess you are using PdfCopy,

Re: [iText-questions] getting null values for getAppearanceStates()

2008-02-12 Thread 1T3XT info
ayeen wrote: i was wondering how you found out about the Yes Off values (yeah, i didnt make the pdf, someone else designs it and i just know how to view the pdf field names) i didn't know that export value in the options tab is the one that defines the values for a check box You

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

2008-02-13 Thread 1T3XT info
trishulpani wrote: Hi, I have a requirement of adding an image to a pdf document based on the presence /location of a word. Is this do-able using iText? If the word is added to the text as an annotation/text field widget, it's possible to retrieve the coordinates and add the image.

Re: [iText-questions] embedded fonts in IText

2008-02-13 Thread 1T3XT info
Mike Kelly wrote: Hi - I don't seem to see mention of font embedding in the list of features. Can this be done - and conveniently? Which list of features? Hopefully not in one of the rogue copies of the obsolete tutorial. Chapters 8 and 9 of the book iText in Action gives the complete

Re: [iText-questions] finding the position of xobject in an existing pdf

2008-02-14 Thread 1T3XT info
chris glace wrote: I'm trying to find the position of an xobject in an existing pdf file. I'm wondering if there is a way to use stream.get(PdfName. . . to return the location of the object. The code I'm using is as follows. I don't understand your code. If you say you're looking for the

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

2008-02-14 Thread 1T3XT info
pmartin wrote: java.lang.SecurityException: class com.lowagie.text.pdf.MultiColumnT ext's signer information does not match signer information of other classes in the same package The last few jars that were released where signed with Bruno's private CAcert key. You are getting this

Re: [iText-questions] Barcode font size

2008-02-14 Thread 1T3XT info
Ruskin Dantra wrote: So if I want the barcode to be of font 34pt is there an example which tells me what the value of the bar height and ink spreading will be? how do you figure those two variables out? I knew that barcodes had dimension. I didn't know that barcodes also had font sizes. OK,

Re: [iText-questions] Height of the paragraph.

2008-02-15 Thread 1T3XT info
nmwp wrote: How to get the height of the paragraph? The height of a paragraph is defined by the leading. Search for methods getLeading and setLeading. Is there a way to remove all document content (before closing it) so that writer's method getVerticalPosition would return the initial value

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

2008-02-15 Thread 1T3XT info
chris123321 wrote: The problem persists I don't have the time to create a PDF with Tool Tips, then copy/paste your code into something I can run on my machine and reproduce your problem. But if you can provide a small sample (a zip file with 2 one page Pdfs and a one-class standalone Java app),

Re: [iText-questions] finding the position of xobject in an existing pdf

2008-02-15 Thread 1T3XT info
chris glace wrote: Right, is there not a way to obtain the transformation matrix for the image? I think you didn't understand the answers you've already received. There is no such this as 'the' transformation matrix for the image. Have you read Fabrizio's answer? (Which was by the way very

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

2008-02-15 Thread 1T3XT info
chris123321 wrote: I never heard of XFA or AcroForms before As a matter of fact, that's probably not the official terminology, but it's an easy way to refer to PDF forms defined in PDF style syntax introduced in PDF 1.2, as opposed to forms defined using the XML Forms Architecture introduced in

Re: [iText-questions] finding the position of xobject in an existing pdf

2008-02-15 Thread 1T3XT info
chris glace wrote: Looks like thats exactly what I have to do. . . well at least I know its not as easy as I had planned. Wow! You are one very brave man. Please keep us posted on your progress. First things first: download the PDF Reference (it's available for free). Chapter 4 is a good

Re: [iText-questions] Barcode font size

2008-02-15 Thread 1T3XT info
Ruskin Dantra wrote: Funny...you provide both sides of the argument but a solution to neither... When you ask half a meter of beer, some pubs give you a glass of half a meter high, others give you a row of glasses that is half a meter wide. If you ask me a barcode with a font size of 24, I have

Re: [iText-questions] Right to Left language problem

2008-02-17 Thread 1T3XT info
First a remark, I'm not sure how your mail was written, but it was very hard to read in my mail client. The first line had a normal font, but starting with the code sample, the font was so small that it almost became illegible. firefox_zyw wrote: how can I put multiple texts which have different

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

2008-02-17 Thread 1T3XT info
loonyCoder wrote: iText is an excellent api but the problem is it has no provision to display the pdf. That's why IDR solutions offers examples that combine their JPedal PDF Viewer with iText. SUN's PDF Renderer was only released a few months ago, I don't know of any products that combine their

Re: [iText-questions] LCD-forms and iText

2008-02-18 Thread 1T3XT info
[EMAIL PROTECTED] wrote: Bruno Lowagie says that it is possible to fill fields in LifeCycleDesigner-forms programmatically using iText. If you think that's what he said, you didn't understand what he meant. He always says that iText has LIMITED SUPPORT for XFA forms; he has NEVER said that ALL

Re: [iText-questions] \n in phrase doesn't generate a line break iText 1.4.5

2008-02-18 Thread 1T3XT info
Tim Juntunen wrote: I tried to substitute the iText 2.0.8 library in place of 1.4.5, but my code hung and I haven't debugged it further to find the reason. It works in iText 2.0.8 (see attachment). I haven't tested it with iText 1.4.5. The new history files tell me that version dates from

Re: [iText-questions] Rounded border for block

2008-02-18 Thread 1T3XT info
Mathias P.W Nilsson wrote: Hi! I'm trying to place blocks in a pdf with content in it. So far i create each block with ColumnText and set the simpleColumn. I create a PdfTable and add a cell to the table. ( So that I can make it align bottom, right and so forth ) My problem is that I

Re: [iText-questions] Info

2008-02-18 Thread 1T3XT info
Wilfried Ombelets wrote: Geachte, Please note that you've posted a question to a mailing-list where very few people understand Dutch. Ik heb een vraagje ivm iText: is het mogelijk om rechtstreeks HTML te schrijven naar pdf met uw product? Yes and no. iText knows a limited set of XHTML

Re: [iText-questions] Rounded border for block

2008-02-18 Thread 1T3XT info
Mathias P.W Nilsson wrote: Thanks! I think I got it to work now. Only problem is to have the block transparent background. Please explain what you mean by 'transparent'. Do you mean transparency as described in chapter 11 of iText in Action (alpha, blending, knock-out,...). Or do you mean

Re: [iText-questions] page nmbrs

2008-02-19 Thread 1T3XT info
Cristian Ferrero wrote: Hello !! is there a way to know how much pages contains a pdf file ? (i want to concatenate it with pdf copy , but i need to know how much pages has) Search for PdfReader.getNumberOfPages(); -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] migration itext problem: missing or replaced class.

2008-02-19 Thread 1T3XT info
Ghita Marian Pop wrote: So my question is: Which is the replaced or functionality for old class? Use PdfContentByte -- This answer is provided by 1T3XT BVBA - This SF.net email is sponsored by: Microsoft Defy all

Re: [iText-questions] API Change for text.Image between 1.4.5 and 2.0.8??

2008-02-19 Thread 1T3XT info
Tim Juntunen wrote: I am taking a bigImage, scaling it and adding it to my pdf document. I have a section of code that works fine in 1.4.5, but fails in 2.0.8 the error thrown is illegal argument exception I may have missed an API change, but I don't see it in the javadocs... Here is a

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

2008-02-19 Thread 1T3XT info
loonyCoder wrote: I am open to any technology or language or I can even develop an application from scratch. 1T3XT BVBA is a company that has this on its TODO list. Basically, it would be an application like RUPS that uses PDF Renderer as Viewer and iText for the PDF manipulation. 1T3XT is

Re: [iText-questions] how to change the tile in the tilte bar.

2008-02-19 Thread 1T3XT info
ram sankar wrote: The problem i am facing is, when the pdf is opening the path is comming in the title bar. Title bar of Adobe Reader: this is easy. Title bar of the browser: the Reader plug-in doesn't have control over the browser, so this is difficult and you'll have to look for a workaround.

Re: [iText-questions] The iText functionality

2008-02-19 Thread 1T3XT info
Qinhong Pan wrote: I need to develope an application to manupilate PDF file in the following ways, 1. Split the PDF file into multiple small PDF files that only contains one chapter. OK, do you know where each chapter starts/ends? Do chapters always start on a new page? PDF is not a

Re: [iText-questions] Unicode Text in PDF

2008-02-19 Thread 1T3XT info
Bogdan M. Maryniuk wrote: On Feb 19, 2008 10:27 PM, Bruno Lowagie [EMAIL PROTECTED] wrote: http://itext.ugent.be/itext-in-action/examples/chapter09/results/peace.pdf BTW: I've tried to load MSMincho font (msmincho.ttc) like this: Font font = new Font(BaseFont.createFont(fPath,

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread 1T3XT info
Stephan Michels wrote: The Acrobat Reader seems to mix or change colors, which are used in a page if I use a image with an alpha channel. I tracked down the problem to the method Image.getInstance(java.awt.Image, java.awt.Color, boolean). The problem occurs if the method sets the

Re: [iText-questions] migration itext problem: missing or replaced class.

2008-02-20 Thread 1T3XT info
Ghita Marian Pop wrote: So my question is: Which is the replaced or functionality for old class? Please don't post the same question twice if it has already been answered: http://www.nabble.com/Re%3A-migration-itext-problem%3A-missing-or-replaced-class.-p15570041.html If the answer didn't help

Re: [iText-questions] OutOfMemory Exception loading font from JAR

2008-02-20 Thread 1T3XT info
Gigel wrote: Is this a bug in iText or am I using it wrong? Before thinking of a bug in iText, you'd need to establish if the problem is caused by the fact that you're not throwing enough memory at the application. It's not because a compressed file is 10 MB, that it's sufficient to provide 10

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread 1T3XT info
Stephan Michels wrote: And how can I set the default transparency blending space with itext? This is explained in chapter 12 of iText in Action. Some pseudocode (so that you can Google for the keywords): PdfGState gs = new PdfGState(); gs.setBlendMode(choose state); cb.setState(gs); With cb a

Re: [iText-questions] Javascript from Acroform Fields

2008-02-20 Thread 1T3XT info
Joe Gerew wrote: Can this be done? AS I HAVE SAID BEFORE: http://www.nabble.com/Re%3A-Javascript-from-Acroform-Fields-p15484333.html THIS QUESTION HAS ALREADY BEEN ANSWERED: http://www.nabble.com/Re%3A-iText-Acrofields-and-Javascript-p15286298.html SEE ALSO:

Re: [iText-questions] [RE:] Re: [RE:] Re: LCD-forms and iText

2008-02-21 Thread 1T3XT info
[EMAIL PROTECTED] wrote: Dear ladies and gentlemen, You've sent this mail to me personally instead of to the mailing list. I am still waiting for an answer. Did you forget me? (My question was: How can I fill in a XFA-form programmatically using iText? The form is a static XFA-form with an

Re: [iText-questions] message at silent print since last acrobat aeader update

2008-02-21 Thread 1T3XT info
Simon Staiger wrote: Hello, Since the latest update of Acrobat Reader I get a message while trying to print a pdf – file silent. I use iText in a Sevlet to add JavaScript to a existing PDF. This always worked fine. Letting the printer spew out a document without user interaction always

Re: [iText-questions] acroform and embedded fonts

2008-03-03 Thread 1T3XT info
Erik R wrote: Hi Paulo, Understood. But if I have access to all fonts used, how can I make sure they are embedded? I have tried setting the DefaultEmbedding of FontFactoryImp to true. Where does iText find the font source? You have to pass the path to the font (in this case to

Re: [iText-questions] How to disable text wrapping in a PdfPCell?

2008-03-03 Thread 1T3XT info
Gregan, Miroslav wrote: Hi all, I changed the font from DejavuSansFont to Tahoma, and the cell's content is no more wrapped. How is it possible that changing the font modifies the cell's wrapping behaviour (by mean for my particular case of course)? Different fonts have different font

Re: [iText-questions] itext intendation query

2008-03-03 Thread 1T3XT info
charles chandran wrote: Hallo, This is charles querying about iText API . May i know how to set the line indentation and borders in pdf using itext. There are plenty of setIndentation methods in iText. What are you using? Paragraph? ColumnText? PdfPTable? Chapter/Section? --

Re: [iText-questions] How to read field types (password, numeric, date/time) created in designer?

2008-03-03 Thread 1T3XT info
philip wrote: Hi There, Is there any way to read the new field types available in designer? I still consider this to be a good read on the subject: http://www.nabble.com/Re%3A-Tool-Tips-before-and-after-resultWriter.addPage%28page%29-p15501391.html -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] How can i put variable image names in OnStartPage

2008-03-03 Thread 1T3XT info
Esdras Antonio Mellanes Reyes wrote: Y have the following code p = new System.Web.UI.Page(); iTextSharp.text.Image imgheadIzq = iTextSharp.text.Image.GetInstance(p.Server.MapPath(~) + \\Img\\EscudoNacional.png); iTextSharp.text.Image imgheadDer =

Re: [iText-questions] How to disable text wrapping in a PdfPCell?

2008-03-03 Thread 1T3XT info
Gregan, Miroslav wrote: Because it really looks strange to see enough space for writing the end of the text and having it finished on the next line. (although noWrap is set). I'm sorry: I can't picture the problem. Words are too abstract for me to describe what you mean. A picture could easily

Re: [iText-questions] fields et saisie utilisateur

2008-03-03 Thread 1T3XT info
BACQ Jean-sébastien wrote: Salut, Comment prendre la main sur une ancienne saisie de l'utilisateur dans des champs AcroForms ?? J'utilise une boite de dialogue Adobe pour valoriser certains champs de mon formulaire mais la saisie d'une précédente session remplace la valorisation par

Re: [iText-questions] HELP NEEDED - Running Itext.

2008-03-03 Thread 1T3XT info
Sébastien Batard wrote: Hi, Can I use Itext with : OS : Redhat AS4 Realease 6 (64 bits) ? JRE : Jrockit (BEA) 1.5 ? There's an English proverb saying: The proof of the pudding is in the eating. (Although the first time this proverb was used in literature was

Re: [iText-questions] concat

2008-03-03 Thread 1T3XT info
Cristian Ferrero wrote: Bruno, thanks for your advice, it worked. But in pdf viewer if you put for example 2 pages with pagelabels 1 ,and you send to print pages 1 to 1 , why send me only 1 page instead 2 ? if i send 1 page to 3 (document has 4 pages with page labels 1,1,2,2) , sends me

Re: [iText-questions] Change margins for existing PDF document

2008-03-03 Thread 1T3XT info
Raj S wrote: So, the problem is i need to adjust the form fields, such that data into the form fields (for ex: Leonard comes next 'Name:' and Texas comes next to 'City:' , etc) comes correctly on the printed paper. Hope u understand the problem. I understand the question, but you

Re: [iText-questions] Change margins for existing PDF document

2008-03-03 Thread 1T3XT info
[EMAIL PROTECTED] wrote: Hi, Sorry, if i may be sending this mail again. What makes you think the negative answer will be different if you post the question twice? In my application, the requirement is: I need to take an existing document, OK. add some more content and change the

Re: [iText-questions] How Can I remove a PdfPageEvent ?

2008-03-03 Thread 1T3XT info
Elias Chaves de Mello wrote: Hello, If I have 2 or more PdfPageEvent, How I remove only one of them ? You can't. You have to remove all of them with setPageEvent(null); then you add the events you wanted to keep. MyPageEvents event = new MyPageEvents (); MyPageEvents event1 = new

Re: [iText-questions] I would like to dynamically produce a PDF file using iText

2008-03-03 Thread 1T3XT info
Matthews Estrice wrote: Dear ... I would like to find out how can I code the following code in iText to produce a PDF file? That's JSP? iText doesn't interpret JSP. -- This answer is provided by 1T3XT BVBA - This

Re: [iText-questions] How to disable text wrapping in a PdfPCell?

2008-03-03 Thread 1T3XT info
Gregan, Miroslav wrote: Here a picture to picture it :) OK, I saved your question for last because I intended to make a small sample to reproduce the problem. However all I found was: mainTable = new PdfPTable(headers.length); Font fontBold = getFontBold();

Re: [iText-questions] HTMLWorker cannot read 120px for width

2008-03-03 Thread 1T3XT info
Ernest Micklei wrote: The implementation does detect the percentage suffix (%) but not px After adding the statement below in class HTMLWorker, all worked fine. if (txt.endsWith(px)){ return c; } I don't think your patch is correct. The c that is passed is the

Re: [iText-questions] Using Goolge Chart Api or Eastwood in iText

2008-03-06 Thread 1T3XT info
jmcmahon wrote: For example: Image img = Image.getInstance(testUrl); I'm not sure if that's the best way to do it. As it is implemented now getInstance hits the server more than once. Maybe it's better to read the image bytes in a byte[] first and create an instance of an

Re: [iText-questions] iText: Which version?

2008-03-06 Thread 1T3XT info
Lake Pancake wrote: If there's difference between the 1.x and 2.x API, which does the Manning book describe? The 2.x API dates from after the Manning book. Except for the EPS example, all book examples work with iText 2.x. You should upgrade to 2.0.8. The 1.5.x releases are made for Actuate

Re: [iText-questions] Watermark issue

2008-03-06 Thread 1T3XT info
Hugo Sombreireiro wrote: That is, if the watermark was to be TEST, the squared area where TEST would be framed is opaque and the content bellow the watermark can only be seen inside the body of each letter of the TEST word, like a mask. That doesn't happen in any of the following pages,

Re: [iText-questions] Problem in Nested Tables

2008-03-06 Thread 1T3XT info
laxmikanth oruganti wrote: Its very urgent for me please any one can help me. Even the sample i downloaded from the *Sourceforge.Net* tutorial also not working i am getting exception in nested table tutorials. The official tutorial can be found here: http://itextdocs.lowagie.com/tutorial/

Re: [iText-questions] XFA-Forms with a PDF couterpart inside

2008-03-06 Thread 1T3XT info
ramya toshnwal wrote: hey , my question was...is there any way to convert our pdf files data into excel sheets or text formats. I fail to see the link with XFA. Please clarify. Also you say My question WAS... but I found no track of your original question in the archives. Can you point us in

Re: [iText-questions] Question on Chapter 12, exporting Swing Components to PDF

2008-03-06 Thread 1T3XT info
Kiran Kodimela wrote: Please advise, what could be the reason for empty PDF generation. I wasn't able to follow the complete track of this thread, but have you checked the PDF with RUPS. Maybe the content was added to the PDF but not at the right coordinates (or maybe the content was clipped and

Re: [iText-questions] acroform and embedded fonts

2008-03-06 Thread 1T3XT info
Erik R wrote: Hi, Isn't that just when drawing text? Is it the same for form fields? I don't understand the question. Form fields also use fonts. Have a look at the example HelloWorldUnicode on this page: http://itext.ugent.be/itext-in-action/chapter.php?chapter=20 -- This answer is provided

Re: [iText-questions] HTMLWORKER parsed underlines too low

2008-03-06 Thread 1T3XT info
Enrique Rojas wrote: I have been looking high and low for a solution for this problem. The underlines that are parsed from HTML via HTML worker is too low. It looked like the line is drawn at the bottom limit of the font. I tried extracting the underlined content and replacing it with chunks

Re: [iText-questions] hyphenation file

2008-03-06 Thread 1T3XT info
Gregan, Miroslav wrote: Hi all On the tutorial page: http://itextdocs.lowagie.com/tutorial/objects/chunk/index.php There is a link to download the hyphenation rules through: http://itextdocs.lowagie.com/downloads/itext-hyph-xml.jar But no file can be downloaded from that link. I

  1   2   3   4   5   6   7   8   9   10   >