Re: [iText-questions] PDF in thai language on Linux

2009-06-15 Thread Bruno Lowagie
pedro75 wrote: But my question is how to produce this pdf file without know the platform. In linux of course font's directory is different, fonts are different etc. Ship the font with your application (if the license of the font allows it). You can load it as a resource from a jar. br, Bruno

Re: [iText-questions] more then one tabel in one document

2009-06-15 Thread Bruno Lowagie
Vlietstra, Fred wrote: All, I want to add more then one table with combo boxes etc. The first table is correct add to the document. In the second table no list values are shown. What am I doing wrong ?? What are you doing? Because now your question sounds like (in Dutch): Hoe lang is

Re: [iText-questions] more then one tabel in one document

2009-06-15 Thread Bruno Lowagie
Vlietstra, Fred wrote: Bruno, If you don't know the answer to my question please don't reply. By the way is solved the problem. Issue closed. Maybe the fact that my reply forced you to think about the problem (and how to formulate it), was an important step towards solving the issue. One of

Re: [iText-questions] Rows with different colors

2009-06-12 Thread Bruno Lowagie
Gopi Shankar wrote: Hai to all, I am new to i text, My problem is there are n rows in a table, i need odd numbered rows to be in a color and even numbers to be in a color, Plz help me Have a look at the examples: http://1t3xt.be/?X0001a5 br, Bruno

Re: [iText-questions] iText previewing and printing question

2009-06-12 Thread Bruno Lowagie
Steve Ho wrote: Hi, I’m using iText to fill out a pdf form, which is working fine. What I need now is a way to preview or print a populated pdf form without saving a copy. Can iText do something like that? iText is not a PDF Viewer! You need another tool to do that. br, Bruno

Re: [iText-questions] Conversion of Encoding

2009-06-12 Thread Bruno Lowagie
Christian Kirchhoff wrote: Are there high level classes or functions in iText that would allow to change the encoding? No. If you want to interpret Strings of text depending on the encoding, you need to use the functionality provided by the JDK. br, Bruno

Re: [iText-questions] Many thanks for Itext

2009-06-12 Thread Bruno Lowagie
PortfolioMan wrote: Just a quick note to Bruno. Many thanks for the creation of this useful tool. Thanks! It's appreciated! best regards, Bruno -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new

Re: [iText-questions] Necessary changes when updating from itext 2.0.4 to 2.1.5?

2009-06-11 Thread Bruno Lowagie
Tobias van Treeck wrote: Hi Bruno, may i ask which bug it was and what exactly went wrong? Yes, see the release notes for 2.1.6: http://1t3xt.be/?Z000ac3 Rollback of the C *= 1.02 and tagged PDF changes by Mark Storer (*). The side effects of the C *= 1.02 change caused one bug that in the

Re: [iText-questions] working with a tagmap

2009-06-11 Thread Bruno Lowagie
Vlietstra, Fred wrote: If it is obsolete why is there an example in the book ?? Did you read the book? Or did you only look at the examples? Because if you've read the book, you may have overlooked this: This functionality is old, and it was never completed. It was written to serve a specific

Re: [iText-questions] persian pdf

2009-06-11 Thread Bruno Lowagie
Ebrahim Pasbani wrote: Hi. I use iText for my applications. I need to create Persian pdf. Persian is Farsi, it is a language. All languages are shown in this iText generated PDF: http://1t3xt.info/examples/results/in_action/chapter09/peace.pdf Farsi is one of them (see page 9 of the

Re: [iText-questions] extract image information

2009-06-11 Thread Bruno Lowagie
Gunther Verhemeldonck wrote: Hi I receive a batch of 3rd party PDF documents containing only one page with what seems to be 1 big image (a chart). I need to concat these files into another document. This works fine using PDFCopy, but since there is no page event, I loose the footer for

Re: [iText-questions] extract image information

2009-06-11 Thread Bruno Lowagie
Gunther Verhemeldonck wrote: My first attempt used PdfCopyFields to attach the other PDFs. Why PdfCopyFields? You don't mention any forms or form fields. In that case: why would you use PdfCopyFields? This works as expected, but the footer information isn't attached to the newly added

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Bruno Lowagie
Paul Gatewood wrote: Please ignore the text Yes, I produced the file as follows: after my name -- I had started to describe what I had done before I decided to just do it again, step-by-step, to be sure. I don't understand: is there still a problem? Or did redoing everything

Re: [iText-questions] Invalid save/restore save

2009-06-11 Thread Bruno Lowagie
Zlatko Suslevski wrote: Hello, I'm struggling with this problem for a long time. I have read all resources about this problem, but to no avail. The one and only area of iText I'm using, is to obtain the graphics context. After that, i do my own drawing and do not depend on the itext

Re: [iText-questions] Necessary changes when updating from itext 2.0.4 to 2.1.5?

2009-06-10 Thread Bruno Lowagie
Oliver Schoenwald wrote: My question: is there some default setting/behavior that has changed between 2.0.4 and 2.1.5 which might create this problem? This is caused by a bug introduced in iText 2.1.5. This is already fixed in the SVN repository. It will also be fixed in iText 2.1.6 (to be

Re: [iText-questions] Replace XFA in a Acrobat form.

2009-06-09 Thread Bruno Lowagie
Marian Aldenhövel wrote: We are really just prototyping and demoing at this point. If this turns out to become a real project we'll definitely be back. We'll also know better what it is exactly we are trying to achieve and can formulate that into more formal requests. OK, there's much room

Re: [iText-questions] Replace XFA in a Acrobat form.

2009-06-08 Thread Bruno Lowagie
Marian Aldenhövel wrote: I have tried to do exactly the same based on your example. The data is prepared in the exact same way: The original PDF and a xml-fragment that has just the datasets element and its children. But there must be something wrong with that data, because it works when I

Re: [iText-questions] Regarding JSP to PDF Conversion

2009-06-08 Thread Bruno Lowagie
shrikant deshmukh wrote: Hi Everyone, I am Shrikant Deshmukh from Amrut Software. We are developing an web application using hibernate technology in java. Our requirement is we want to convert JSP page to PDF format. That's non sense. You mean that you have

Re: [iText-questions] TextField rotation

2009-06-05 Thread Bruno Lowagie
seedy wrote: I want to find the rotation angle of a pre-existing TextField on the pdf. So if I have an AcroField.Item like so: Dim af as text.pdf.AcroFields = stamper.AcroFields Dim afi as text.pdf.AcroFields.Item = af.GetFieldItem('fieldName') What steps are next to get the rotation

Re: [iText-questions] TextField rotation

2009-06-05 Thread Bruno Lowagie
seedy wrote: I was able to get the rotation with the following code: Dim widgetDict As PdfDictionary = Nothing Dim mkDict As PdfDictionary = Nothing Dim rNum As PdfNumber = Nothing widgetDict = afi.widgets(0) If Not widgetDict Is Nothing Then mkDict =

Re: [iText-questions] Remove page breaks when combining documents

2009-05-28 Thread Bruno Lowagie
Ewen Orme wrote: a request has come in that during the combining process, the elements from one document carry directly on from the elements of the last, on the same page in necessary. In other words: you have existing PDF files and you want to reflow content. That's not possible:

Re: [iText-questions] bug in 2.1.5? empty Chunks added to a Phrase/Anchor/Paragraph/ListItem no longer 'empty'

2009-05-28 Thread Bruno Lowagie
Jeff Kelm wrote: Hi, com.lowagie.text.Phrase#add(Object) invokes com.lowagie.text.Phrase#addChunk(Chunk) when adding a Chunk. addChunk() sets a com.lowagie.text.Chunk.HYPHENATION attribute to the Chunk being added if the Chunk was missing this attribute. As one of its conditions for

Re: [iText-questions] Overlay text content on PDF/A-1b

2009-05-28 Thread Bruno Lowagie
ek1975 wrote: - The Last modification date field in the document's info dictionary does not match the last modification date entry in the document's XMP Metadata You're not using the most recent iText version. This was fixed a while ago. - Producer entry in Document information matches XMP

Re: [iText-questions] bug in 2.1.5? empty Chunks added to a Phrase/Anchor/Paragraph/ListItem no longer 'empty'

2009-05-28 Thread Bruno Lowagie
Jeff Kelm wrote: That fix solves the problem as described for sure. I've just noticed though that com.lowagie.text.Phrase#add(int, Object) would have to be updated with a similar fix. OK. The only potential issue I can see is that a Phrase (or subclass) no longer guarantees that all its

Re: [iText-questions] How to write Arabic Text in PDF

2009-05-27 Thread Bruno Lowagie
1T3XT info wrote: Are you asking: how to fill out fields in Arabic? [1] Or are you asking: how to get Arabic text in PDF file? [2] If [1], then you already received the answer: see the link I posted earlier. It depends; the OP could be looking for something like this:

Re: [iText-questions] iText cannot find my signature field!!

2009-05-15 Thread Bruno Lowagie
Eric Chow wrote: Thanks for your information. Since I have no idea in the EPS, would you please to teach me how can I modify the sign.eps that I attached in the question email? 1. We're not talking about EPS, we're talking about PDF. 2. I've written a tool to restore similar broken documents,

Re: [iText-questions] Create PDF w/ Barcode and retrieve position afterwards

2009-05-11 Thread Bruno Lowagie
GHad wrote: - I need the same information for images, but I have the restriction that the image should not be placed inside table cells exclusivly, because alignment and text-wrap/underlying should still be possible for normal parargaphs You could wrap the image in a table with 1 column and 1

Re: [iText-questions] PdfTemplate

2009-05-11 Thread Bruno Lowagie
Jason Berk wrote: I converted our logo to a font with 4 characters. I want to create a PdfTemplate that positions these characters correctly and then reuse it over multiple PDFs. Is that possible since you create the template from a direct content? If you do it that way, the template is

Re: [iText-questions] How to add new row to existing XFA PDF using iText?

2009-04-30 Thread Bruno Lowagie
DHANU BUDIREDDI wrote: Hello, How to add new row to existing XFA PDF using iText? Please go to the Keywords page: http://1t3xt.be/?X0004c8 Do Ctrl+F and enter XFA in the search box. Click enter and you'll jump to the keyword dynamic XFA. Click on that word and you'll jump to

Re: [iText-questions] PDF saving is not possible

2009-04-30 Thread Bruno Lowagie
Dhanu wrote: Hi I have the same problem and i struck in at my work. Can you please send me the code snippet... You are posting the answer to your own question. That's funny. Thank you for making us smile ;-) br, Bruno

Re: [iText-questions] how to set the signing property in the PDF document using iText ?

2009-04-30 Thread Bruno Lowagie
DHANU BUDIREDDI wrote: This is only working for the document which have the property as *signing : Allow*. Can any body suggest me how to set the signing property in the PDF document using iText ? That's ONLY possibe with Adobe software. See

Re: [iText-questions] paragraph delimeter

2009-04-30 Thread Bruno Lowagie
deep4u wrote: Hello, Thanks for u r reply but i am not understanding that one could you send me the code. What code? First you have to answer the question: are you talking about Tagged PDF or not? Exactly my requirement is suppose html file having links(may be Table of contents,

Re: [iText-questions] The fields filled by iTextSharp are still blanks when opened by Adobe Designer

2009-04-27 Thread Bruno Lowagie
Vincent Guo wrote: My problem is that after the text fields has been filled, how can I do some manual changes to it (by what tool?or method, like using Adobe Designer? but when the pdf file is opened by Adobe Designer , the filled text fields become empty fields. ) iText can be used to

Re: [iText-questions] Reading Data From xfa form

2009-04-27 Thread Bruno Lowagie
DHANU BUDIREDDI wrote: Hi All, I want to extract the XML part from the give pdf of format xfa... Can any body suggest me what is the approach to get the solution Go to the KEYWORDS page: http://1t3xt.be/?X0004c8 Do Ctrl+F and search for XFA. Click on the appropriate link and you'll

Re: [iText-questions] hexadacimal to float value

2009-04-27 Thread Bruno Lowagie
Rajiv Sabat wrote: if i will use the procedure to convert the hexadacimal color value to If you have a color such as ABCDEF, you could create a Color object like this: new Color(0xAB, 0xCD, 0xEF); If that's too hard, you could use the class WebColors:

Re: [iText-questions] iText License

2009-04-16 Thread Bruno Lowagie
Suren Avunjian wrote: Hello, We are planning on using iText in our application and would like a copy of the license agreement for our records. If you are talking about buying a license, please go to http://itextsoftware.com/ br, Bruno

Re: [iText-questions] URL of submit button

2009-04-16 Thread Bruno Lowagie
Martin Leboeuf wrote: Hi again ! Thanks for the help. I did manage to modify my form. The problem now is that when I open the resulting file with Acrobat Reader, I get the following message: This document contained certain rights to enable special features in Adobe Reader. The

Re: [iText-questions] URL of submit button

2009-04-16 Thread Bruno Lowagie
Martin Leboeuf wrote: Then, using Acrobat, I open the file and enable usage rights, so that end users can save filled versions of the pdf form. Finally, I modify the file using the code above. After that, you CAN'T change objects in the document without breaking Reader Enabling, unless you:

Re: [iText-questions] CSS and html question

2009-04-16 Thread Bruno Lowagie
Anu Padki wrote: I want to find out if there is any other way of achieving it, so that my users can make changes to the stylesheet which I can use to generate the html2pdf seamlessly. Use Flying Saucer for html2pdf. Flying Saucer used iText to produce the PDF, but adds HTML + CSS parsing

Re: [iText-questions] Insert image in a pdf in a web application

2009-04-16 Thread Bruno Lowagie
mitroiasi wrote: Hi, I have a problem inserting an image in a pdf. I tried the code locally and it works. In the web application I don't know how to create the image from the: context.getResourceAsStream(/pdf/images/cross.gif); That's not an iText problem! This is something every Java

Re: [iText-questions] IMPORTANT: itext-questions

2009-04-16 Thread Bruno Lowagie
Barnali B wrote: Can you please advice me in creating a PDF file for my application? I am trying to add a page in an existing pdf. Say for example I am trying to create the *'Table of Content'* for my already created pdf which have some list of information. I want to place the *'Table of

Re: [iText-questions] No multi-layer window for tutorial examples

2009-04-09 Thread Bruno Lowagie
Lorenzaccio wrote: Hello all, I've tried the examples from iText by Example that deal with Optional Content. The PDF is created with layers (the example with toggled layers or the one with the layer content appearing when zoomed should prove that the layers are in the background), but the

Re: [iText-questions] Polish National Characters are not getting displayed in the PDF created by iTExt

2009-03-16 Thread Bruno Lowagie
munesh wrote: It would be of great help if someone can let me know which font and which encoding type i should be using to display the Polish Characters in my PDF reports generated by iText. You say Arial doesn't work, but you probably didn't even try. You didn't even bother sending us a

Re: [iText-questions] Itext problems in windows

2009-03-12 Thread Bruno Lowagie
Noé Herrera wrote: hi to all ... You've sent this question to only one person. Please use the mailing list address (see Cc:) I have a dilemma for some time why not create my pdf in the server. Handa all very well locally. The reports that I have jasperreport generate the problem The

Re: [iText-questions] Polish National Characters are not getting displayed in the PDF created by iTExt

2009-03-12 Thread Bruno Lowagie
munesh wrote: Hi, The PDF report created by iText does not display certain polish national characters picked up from the database. The database encoding is WE8ISO8859P1. Although the same are being displayed appropriately in the Internet Explorer. My Font is HELVETICA and encoding used

[iText-questions] iText 2.1.5

2009-03-08 Thread Bruno Lowagie
Hello all, the long awaited release of iText 2.1.5 is online. You can download the new jars here: http://1t3xt.com/downloads/binaries.php You can find the changelogs here: http://1t3xt.com/about/history.php?branch=history.21node=215 Note that the changelog is long, and although I've tested the

Re: [iText-questions] Adding Images with Transparency

2009-02-24 Thread Bruno Lowagie
Leonard Rosenthol wrote: I thought this got answered yesterday... Did you not like the answer(s)? Sorry, that's my bad. I think this question was posted before the mail you've answered. The thing is: plenty of people don't register before sending a mail to

[iText-questions] FYI: lecture about the history of iText (Antwerp, Belgium)

2009-02-14 Thread Bruno Lowagie
http://www.ti.kviv.be/itext/ -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and

Re: [iText-questions] PHP port in the works

2009-02-07 Thread Bruno Lowagie
lefnire wrote: No PDF support in Drupal, I'm offended ;) jk, I created http://drupal.org/project/fillpdf fillpdf.module for this purpose, but it does indeed depend on iText -- and because there's no PHP support, it's using remote calls to my home server's java servlet for PDF processing. I

Re: [iText-questions] Create TOC using existing bookmarks

2009-02-06 Thread Bruno Lowagie
Cesar wrote: I have seen your example BookmarksToTOC1 http://www.1t3xt.info/examples/src/questions/stamppages/BookmarksToTOC1.java https://webmail.grupogmv.es/exchweb/bin/redir.asp?URL=http://www.1t3xt.info/examples/src/questions/stamppages/BookmarksToTOC1.java but i don`t know how do it

Re: [iText-questions] Error message

2009-02-06 Thread Bruno Lowagie
Bob Axford wrote: I also had this error and managed to fix it using a Font Properties Editor downloadable from Microsoft: http://www.microsoft.com/typography/property/fpedit.htm Using this, I opened my .ttf file and added some fields. When it saved it created the 'name' table and I could

[iText-questions] [ANN:] iText Software LLC sells commercial licenses for iText

2009-01-26 Thread Bruno Lowagie
under a Commercial license. For more information on the different types of licenses, please contact iText Software LLC: http://itextsoftware.com/contactus.shtml best regards, Bruno Lowagie -- This SF.net email

Re: [iText-questions] Merry Christmas all

2008-12-22 Thread Bruno Lowagie
David Thielen wrote: Here’s wishing you all a very Merry Christmas. And especially to Bruno and his family that his son is doing well under the cancer treatment. It is a brutal brutal disease and it makes you treasure every day you still have your son. Yes, he's getting minor surgery

[iText-questions] FYI: personal message

2008-12-19 Thread Bruno Lowagie
Hello all, as many of you know, my son was diagnosed with bone cancer in February. Last week he had to undergo numerous tests: NMR (also called an MRI), ultrasound, Rx, CT scans, a hearing test and an extra scan of his leg,... This was the first thorough test after 9 months of chemotherapy,

Re: [iText-questions] Bob Lee of Guice on iText (from Twitter)

2008-12-14 Thread Bruno Lowagie
mister bean wrote: Retweeting a series of tweets from Bob Lee, the principal author of Google's Guice framework. In chronological order: 1) Can't find an open source Java PDF page splitter (to split one big file into a file per page). Guess I'll have to write my own. 2) iText might

Re: [iText-questions] Create a Pdf with unknown number of columns

2008-12-08 Thread Bruno Lowagie
kats Ant wrote: Hi all I have a problem using ITEXT I want to create a table on a PDF document but i do not know from the beggining the number of columns. I want for example to create a table with 10 rows and then each row may have different number of columns.So i want to create a table

Re: [iText-questions] iText mailing list info

2008-12-07 Thread Bruno Lowagie
Benjamin Podszun wrote: If the last part of your mail means that you'll (in one way or another) offer payed support or commercial licenses next year: I'd love to kick my company repeatedly to give you something back. Thanks! For the moment, different people develop new functionality sponsored

[iText-questions] iText 2.1.4

2008-11-11 Thread Bruno Lowagie
Hello all, today I've released the long awaited iText 2.1.4. I hope I did everything right, because it has been a while since I had to prepare a release. You can find the newly released files here: http://sourceforge.net/project/showfiles.php?group_id=15255package_id=12596release_id=639726

Re: [iText-questions] iText issue on Vista

2008-09-29 Thread Bruno Lowagie
R.Anitha wrote: Hi, We use iText (1.3)API for our product to convert our report to PDF report on click of a button. It worked fine with Windows XP ,when we tried to execute our product on Windows Vista Ultimate- the button doesn't works. When i verified,there is no compilation

Re: [iText-questions] iTextAsian.jar: Covered under iText LGPL/MPL license?

2008-08-04 Thread Bruno Lowagie
Todd Peterson wrote: Hello, I'd like to get clarification as to whether using the iTextAsian.jar file is covered under the same licensing terms as iText.jar. You can find the complete licensing info for the files in iTextAsian.jar here:

Re: [iText-questions] Signing with setCertificationLevel broken in iText2.1.3

2008-07-31 Thread Bruno Lowagie
Paul Ryan wrote: Thanks for the response Bruno, and best wishes to yourself and family. Sorry for the delayed reply (I've been ill and stuff). Thanks for: I've attached 3 sample files. (1) Leave Form 4.pdf (2a) Leave Form 4_cert_itext212u.pdf (2b) Leave Form 4_cert_itext213.pdf

Re: [iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.getWidth()F

2008-07-30 Thread Bruno Lowagie
Udkik.dk wrote: Technically, your are right. But why not extent your point of view and close this community. That's indeed a very tempting offer. I'll think about it. People can just figure everything out themself! Socially, you are terrible wrong. Before you start lecturing people about

Re: [iText-questions] Signing with setCertificationLevel broken in iText2.1.3

2008-07-25 Thread Bruno Lowagie
Paul Ryan wrote: I've been using iText 2.1.2u and signing with a certification signature (certification level) using .setCertificationLevel(...) method on PdfSignatureAppearance object. It has been working fine apart from it removing enable usage rights in reader setting on the PDF when

Re: [iText-questions] how to set the orientation of paper when printing by itext

2008-07-24 Thread Bruno Lowagie
liuchangliang wrote: I could not set the orientation of paper when printing, That's normal: PDF is the PORTABLE Document Format, and printer settings are device dependent. There isn't a way to define printer settings in PDF. However, since PDF 1.7 (Adobe Reader 8.0 and later), some viewer

Re: [iText-questions] Certification document

2008-07-19 Thread Bruno Lowagie
bisoa wrote: I don't know on what ground they can threaten you? A lot of people have a standard footer for their mail: This mail is confidential and stuff. Last month, two different people from different countries were very angry at me because they found their own mail labeled confidential

Re: [iText-questions] Break current page and start from new page

2008-07-18 Thread Bruno Lowagie
Sumeet T wrote: Hi Is it possible to break the current page in PDF after writing some infotrmation on that page and start from the new page. My requirement is to write summary on one page and details on the next page document.add(summary); document.newPage(); document.add(details); How

[iText-questions] Certification document

2008-07-18 Thread Bruno Lowagie
Hello, I'm mailing you about a possible violation of a copyrighted document. The BCC: addresses of this mail include contacts at NIIT and TestKing. My name is Bruno Lowagie. I'm one of the people responsible for iText, a F/OSS Java-PDF library. Support for iText is given on a voluntary basis

Re: [iText-questions] tranprancey

2008-07-16 Thread Bruno Lowagie
Paulo Soares wrote: 0XFF is the white index? Probably not. The original poster has been working on his 'problem' for at least a month now. I wonder why he chose 'fastsolutions' as his mail address. From the start, it was very clear that 'answers solutions' doesn't know much about images, PDF

Re: [iText-questions] adding dynamic content to header issues

2008-07-14 Thread Bruno Lowagie
barik wrote: Hello I am getting an arraylist of data from main class . What main class? iText or not iText related? I need to get one item from the list and put into the header each time a new page is created... I still don't understand what you're talking about, but... OK. what I am

Re: [iText-questions] jtextpane

2008-07-14 Thread Bruno Lowagie
javjava wrote: Can you please tell me ; how to view a rtf document including tables and images in jtextpane? I'm sorry, but this is the iText mailing; you probably intended to post this on a SUN mailing list or forum. by using itext such a file could be created , but how to view in

Re: [iText-questions] rotating text problem

2008-07-14 Thread Bruno Lowagie
Michele Croci wrote: Bruno, thx for the reply. I have modified your example adding setNoWrap(true) to all the cells. For the one with rotation=180°, the text is not showed. You find the modified class and the result PDF file as attachment. Now I can reproduce the problem, and apparently

Re: [iText-questions] iText output large cell, the first page is blank.

2008-07-14 Thread Bruno Lowagie
Daisuke Yamanaka wrote: Thank you for advice. But setSplitLate is PdfPTable's method. Of course, you'll get very few support for class Table. It is necessary to use RowSpan, and I have to use Table class. With PdfPTable, you can simulate rowspan with nested tables, so your argument that you

Re: [iText-questions] adding dynamic content to header issues

2008-07-12 Thread Bruno Lowagie
barik wrote: Hello . I need to add dynamic content to header .the header is generated in a class extending PdfPageEventHandler.and I am trying to initialize the contents in OnstartPage() method .However I am getting only the last values of the list... What list? How Can it be rectified?

Re: [iText-questions] Sorry, major typo: PDF sign from hash

2008-07-12 Thread Bruno Lowagie
Andreas Kuehne wrote: Sorry for asking more questions than giving answers ;-) No need to apologize ;-) Even Socrates thought this was the best method to solve problems. Unfortunately, ancient Greek philosophers aren't that popular anymore these days. br, Bruno

Re: [iText-questions] rotating text problem

2008-07-12 Thread Bruno Lowagie
Michele Croci wrote: Hi all, first of all thx for this great library! I have to rotate text in a table. All works very good for 90° and 270°. For 180° if the alignment == CENTER ok, otherwise the text is not displayed in the PDF! I simply do the following;: cell.setRotation(180) I

Re: [iText-questions] Arabic text runs LTR using createGraphicsShapes

2008-07-12 Thread Bruno Lowagie
carlfreeland wrote: According to the book, when using PDFGraphics2D, iText doesn't handle RTL text and may make mistakes with ligatures. This can be corrected by using createGraphicsShapes which uses Java's text rendering to draw shapes onto the PDF. In theory you lose text selectability,

[iText-questions] iText 2.1.3 released

2008-07-12 Thread Bruno Lowagie
Hello all, this is a short message to inform you that iText 2.1.3 was released. You can find the changelog here: http://1t3xt.com/about/history.php?branch=history.21node=213 This release fixes most of the issues reported on this list in the past few months. It also contains an HTML related code

Re: [iText-questions] How can we create PDF document which contains html(html tags like pre, bold etc) using itextsharp

2008-07-10 Thread Bruno Lowagie
Chris Anderson wrote: I found this post on another forum and had the same question. It does not appear that he received an answer. http://forums.asp.net/p/1167105/1944057.aspx#1944057 Why did you post the question on that forum? I doubt it if any iText developer follows what's happening

Re: [iText-questions] Acroform with table

2008-07-10 Thread Bruno Lowagie
Bernd Winterstein wrote: Hi Bruno, I'm trying to migrate from an Oracle report to a report generated with itext. i had the idea to create an AcroForm with Life Cycle designer and fill it afterwards with itext. This way the customer could change the layout of the report without changing any

Re: [iText-questions] Acroform with table

2008-07-10 Thread Bruno Lowagie
Dipl. -Ing. Winterstein Bernd wrote: Okay thank you very much for the infos! Do you know if there are Java libraries from Adobe which I can use to fill those XFA forms? http://www.adobe.com/products/livecycle/?promoid=BPDEO br, Bruno

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread Bruno Lowagie
rajeshkatkam wrote: ct.SetSimpleColumn(document.Left, 0,document.Right , 24); This is my code. I am getting the elements into objects arraylist but resultant pdf is empty.why? Because of the line above. Read the documentation please! br, Bruno

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread Bruno Lowagie
rajeshkatkam wrote: In the above example what is 'size', Is it the maximum size of text and what is array 'f' That example was sponsored by 'De Persgroep'. They wanted to position advertisements (based on HTML snippets in their database) on specific positions in their news paper. Parameter

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread Bruno Lowagie
rajeshkatkam wrote: what is the problem in the given line. Can i change the parameters 0,24 in the function. Some counter-questions: Where did you get those parameters in the first place? What is wrong with the documentation? Pick one or more options: - you didn't find any documentation

Re: [iText-questions] How Many Lines Left in Page

2008-07-09 Thread Bruno Lowagie
Nuno Furtado wrote: Is there any way to find out how much space is left in the current page? As described in chapter 7 of the book, there's a method to get the current Y position on a page, but there are very little valid reasons to use it because most of the times you can achieve whatever you

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread Bruno Lowagie
Bruno Lowagie wrote: rajeshkatkam wrote: what is the problem in the given line. Can i change the parameters 0,24 in the function. Some counter-questions: By the way: my first answer was given after just one glance at your code. But the problem isn't JUST that one line. You should throw

Re: [iText-questions] Can we preset the printer settings when printing a pdf?

2008-07-09 Thread Bruno Lowagie
munlubb wrote: Just like we can set the page size and the orientation (Landscape/Potrait) can we also set the number of sheets per page so that when we print the pdf and get the print dialog, it is prefilled? The printer settings come in to picture AFTER itext has rendered the pdf document

Re: [iText-questions] Can we preset the printer settings when printing a pdf?

2008-07-09 Thread Bruno Lowagie
munlubb wrote: Well, we are still using iText version 0.97. And I do not see any scope of upgrade to the latest version in the near future by the company :-( In your example you mentioned about the number of copies, but I am looking for the number of pages per sheet option. Is it possible

Re: [iText-questions] Acroform with table

2008-07-09 Thread Bruno Lowagie
Bernd Winterstein wrote: Hi, I have an Acroform, generated with Adobe Life Cyle Designer, which I fill with itext. Works perfect. Now, I added a table with the Designer which I intended to fill with itext. The problem is, that I have no idea how to do it. Can anybody give me an hint? How do I

Re: [iText-questions] zlib compression levels

2008-07-07 Thread Bruno Lowagie
Tony Stevens wrote: This gives me all the ammunition I need - thanks! That was the main reason for the changes I made. I talked with a vendor of a commercial PDF solution lately. His product wasn't as feature rich as iText, but he had a fancy 'feature' list. As Paulo says: there's very little

Re: [iText-questions] iText compression modes

2008-07-06 Thread Bruno Lowagie
Bruno Lowagie wrote: How much does that matter for your customer? I've just checked. Introducing the concept of compression level would involve changing about 20 classes. It would be possible to set the compression level: - on the writer level (mostly page content streams) - some Image streams

Re: [iText-questions] iText compression modes

2008-07-06 Thread Bruno Lowagie
Actually, only ' of the constants mentioned in the previous post are about the compression that is used: static intBEST_COMPRESSION Compression level for best compression. static intBEST_SPEED Compression level for fastest compression. static int

[iText-questions] zlib compression levels

2008-07-06 Thread Bruno Lowagie
Hello, I thought it would take changes in about 20 iText classes to implement zlib compression levels. I've spent a sunny Sunday afternoon writing some code and I ended up by changing 26 classes... If people want to change the compression level, they usually want to differentiate between the

Re: [iText-questions] enabled_form_prefilled.pdf (from FAQ) breaks after one save

2008-07-05 Thread Bruno Lowagie
Leonard Rosenthol wrote: Sorry I've been offline today with this issue... I'll look into it as well... I found the problem. The fix will be in the next release. br, Bruno - Sponsored by: SourceForge.net Community Choice

Re: [iText-questions] Rebuild failed: trailer not found; Original message: PDF startxref not found

2008-07-04 Thread Bruno Lowagie
Archana Nagesh wrote: Hi, I am generating a PDF using iText. In most cases the PDF generation is successful. But sometimes I get the following error (this error is a random one): Rebuild failed: trailer not found; Original message: PDF startxref not found Are these PDFs generated with

Re: [iText-questions] setEncryption

2008-07-04 Thread Bruno Lowagie
Ashwani Kumar Singh wrote: Is there any other way I can avoid third party library for encryption...because pdf generated inside web application generate pdf with encryption without the third party lib. Er... if you are generating PDF with iText, you are already using a Third Party library.

Re: [iText-questions] Rebuild failed: trailer not found; Original message: PDF startxref not found

2008-07-04 Thread Bruno Lowagie
Archana Nagesh wrote: Hi Bruno, Thanks a lot for your quick reply. I am generating 2 separate files USING iText. I am merging them later. The first file is always getting generated. But the second file gets generated MOST OF THE TIMES..but sometimes it gives the error. I am closing the

Re: [iText-questions] iText eId

2008-07-03 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hello, Could you tell me if the contents of following link is still up to date, or are there other options to sign an pdf on line (in Java). http://itext.ugent.be/articles/eid-pdf/ I'm sure your colleagues at iDA (also Cronos) will be able to provide you with

Re: [iText-questions] Adding page count to PDF

2008-07-02 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hello, I generate a PDF document with lots of data. Here is some sample code: String docName = Tools.get_tmp_path()+System.currentTimeMillis()+.pdf; PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(docName)); writer.setPageEvent(new

Re: [iText-questions] Appropriate LGPL announcement?

2008-07-02 Thread Bruno Lowagie
Chris Bourke wrote: I'm using iText in a webapp and want to respect the LGPL license by announcing that i'm using iText with a link to the iText home page. Are there any suggested wording/announcement that I can use? See http://1t3xt.com/docs/faq.php?branch=faq.fossnode=copyright You can

Re: [iText-questions] How can I display text in continuation on the same page?

2008-07-02 Thread Bruno Lowagie
munlubb wrote: Thanks for your reply! But where can I find this chapter 7, is the tutorial available online? I tried searching and the book is to be bought. Some people say that F/OSS is free as in free speech, not as in free beer. I don't think iText is free as in free speech, as there

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