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

2008-07-02 Thread Bruno Lowagie
Peter Demling wrote: o A way to convert an XFA form to an AcroForm (so that we can convert our current 4-page static XFA form). Or: o Advice on the best AcroForm editor - because I just tried to use the limited editing in Tools-Forms in an attempt to manually re-construct an AcroForm,

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

2008-07-02 Thread Bruno Lowagie
Alexis Pigeon wrote: On 01/07/2008, Alexis Pigeon [EMAIL PROTECTED] wrote: [snip] Maybe Bruno will remember some tricks to accomplish what you need with a pre-1.0 version, but I wouldn't bet a cent on that. And please to mail him personally about that, D'oh! Of course, one should

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

2008-07-02 Thread Bruno Lowagie
Alexis Pigeon wrote: Wow, that would be a great evidence of iText stability and good design! I'm quite impressed by this library, and every day even more! I'm sorry to disappoint you, but I just checked the archives in CVS:

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

2008-07-02 Thread Bruno Lowagie
munlubb wrote: Since I am new to understanding the iText library, I will take some time to get hold of the suggestions and example code written by you. In attachment you'll find a PDF that was generated with iText 0.97. It was fairly simple to achieve using stuff explained in chapter 6 of the

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

2008-07-02 Thread Bruno Lowagie
Bruno Lowagie wrote: a. somebody creates a PDF form (XFA / AcroForm / whatever) b. this form needs to be reader enabled (you'll ALWAYS need Adobe to do this) c. when this form is saved locally, the Reader Enabling may not be lost. ... [6] ... So far for my inspiration, but maybe

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

2008-07-02 Thread Bruno Lowagie
Bruno Lowagie wrote: It goes without saying that I prefer option [1], but unfortunately I don't have the time to dig into this problem today and tomorrow (maybe on Friday). I filled in the Employee name of the online example twice; once with Adobe Reader, and once with iText. Then I compared

Re: [iText-questions] iText crashes http on domino

2008-07-02 Thread Bruno Lowagie
Martin Johansson wrote: Hi, Using iText I’ve created an Lotus Domino Java agent creating PDF’s from data stored in Notes documents. Each page of the generated PDF has com.lowagie.text.image objects for header and footer along with text and other com.lowagie.text.image objects in

Re: [iText-questions] OPI Comments

2008-07-02 Thread Bruno Lowagie
Dean Krueger wrote: Thanks for the direction, what would be the best approach to access the appropriate dictionary? One way to do it, would be to loop over all the objects in PdfReader, if an object is a stream object, check if it's of /Type /XObject and /Subtype /Image. If it is, check if the

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

2008-07-02 Thread Bruno Lowagie
Peter Demling wrote: Bruno, your suggestion of removing the XFA before filling the form (with the questions.forms.RemoveXfa code) is a good one: unfortunately, our workflow requires that the form is user-enabled before it's populated by iText. I know, but I meant that you could do that before

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

2008-07-02 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Enjoy the ice-cream, Bruno. ;-) It's not every day that you get a chance to help out someone at MIT's Lincoln Labs. Nice feather to add to your cap. :-) My employer, Ghent University, is not as known as MIT, but I'm always glad to help 'colleagues' at other

Re: [iText-questions] Attachment encryption

2008-07-02 Thread Bruno Lowagie
Tobias Meier wrote: Highly appreciated if you could/would do that :) You should rephrase that to if you have the time to do that ;-) It will depends on my other assignments. br, Bruno - Sponsored by: SourceForge.net

Re: [iText-questions] Page overflow; how to go to a new page when the previous page is overflowing

2008-07-01 Thread Bruno Lowagie
I hope Im making the problem clear. Well, I fear you aren't... Could you send us a minimal, stand-alone application that reproduces this behaviour? Without that, any reply you'll get will be some sort of document.newPage() works as expected for me. I even have an example that demonstrates

Re: [iText-questions] Updating a signature acrofield

2008-07-01 Thread Bruno Lowagie
Christophe Uberri wrote: Hi everybody, I'm new to iText and I want to insert in a PDF two signature fields. I did the following : //SIGNATURE ACROFIELDS PdfAcroForm acroFormSig = writer.getAcroForm(); acroFormSig.addSignature(First Signature, 90, 100, 290, 200); //First Signature

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

2008-07-01 Thread Bruno Lowagie
munlubb wrote: Can anyone please suggest, if it is possible in a pdf? I am new to pdf transformation and need help urgently. You have to use ColumnText to achieve that. Please read chapter 7 in the iText book. Or sponsor an example that will be added to: http://1t3xt.info/examples/browse/ br,

Re: [iText-questions] table rendering problem

2008-07-01 Thread Bruno Lowagie
Daniele Dellafiore wrote: Can anyone test it and tell us if the result is the same? Any advice on what we are doing wrong? Aargh! You are using document.add in a page event! Please do me a favor and read p434-435 of my book: The document passed to the onEndPage method is A PdfDocument object,

Re: [iText-questions] Combobox printed, prints undesired value

2008-06-30 Thread Bruno Lowagie
Fhomasp wrote: Well... Considering the tinyness of Belgium I'd ask you how far it could be ? ;-) This reminds me of a discussion I had with my copy editor from Indiana a couple of years ago. When I told her about Belgium, she replied that she couldn't imagine a 'whole country as small as

[iText-questions] Call for Speakers: Open Source ERP

2008-06-30 Thread Bruno Lowagie
One of my F/OSS colleagues, Raphael Bauduin, is planning a Profoss event in Brussels about open source ERP software. He has listed the F/OSS projects he knows here: http://blog.raphinou.com/2008/06/next-profoss-erp-software.html But he doesn't know a lot of potential speakers. He asked me if I

Re: [iText-questions] Combobox printed, prints undesired value

2008-06-28 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: BTW, I see (I think) Real Software is a Belgian company. Are you close to Ghent, where Bruno Lowagie is headquartered? Real Software is active pretty much everywhere in Belgium. As a matter of fact, I'm sitting right next to a Real Software employee at the university

Re: [iText-questions] Combobox printed, prints undesired value

2008-06-28 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: -- Original message -- From: [EMAIL PROTECTED] snip [Note to Bruno: There appear to be two identical entries in the documentation of PdfAcroForm for addComboBox. Is this a redundancy, or is there another variation, which was not

Re: [iText-questions] gif transparency

2008-06-27 Thread Bruno Lowagie
hari bhogu wrote: hi i am try to make a gif image with white backgroung as transparent but i am not able to do it I have an example that shows how to make that particular image file transparent using nothing more than the answers that have been given to you before on this very list.

Re: [iText-questions] create a PDF with different types of pages and control the overflow of the text

2008-06-26 Thread Bruno Lowagie
Peter wrote: Hello, I´m using iText and I want to create a PDF document with different types of pages. //This part of my code //Document document = new Document(PageSize.A4, 30, 40, 50, 50); // This is the type of page for my first page, but I want to change the size of page in the next

Re: [iText-questions] iText from PHP

2008-06-25 Thread Bruno Lowagie
Norman Mauricio Garcia wrote: Hi, According to http://threebit.net/mail-archive/itext-questions/msg01190.html You tried to use iText from PHP using the PHP/Java bridge. Could you tell me if it worked and if the results where satisfying? I'm having a lot of problems using fpdf from PHP

Re: [iText-questions] Question regarding iText--endheaders

2008-06-25 Thread Bruno Lowagie
Saranyams wrote: While using endheader ( for show the table header in the next page ,if one table extend to next page ) the table coming under the first will be coming downwards by one row. I assume that you are talking about Table instead of PdfPTable, but don't let us guess, provide a small

Re: [iText-questions] How to create fillable form ?

2008-06-23 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hello, I want to fill out PDF forms as described in Chapter 16. I tried both scribus and Acrobat to create a formular, but when trying to fill out I make my own AcroForms with OpenOffice: http://1t3xt.info/examples/browse/?page=exampleid=330 I get the

Re: [iText-questions] text color

2008-06-23 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: hallo, how is it possible to mark a part of a text inside a cell in a speical color? for example: Name| city Peter Müller| Berlin redHans/red Müller | Munic A cell contains other objects (Paragraph, Phrase, Chunk,...). In your case, create Hans

Re: [iText-questions] image reference for a special application

2008-06-23 Thread Bruno Lowagie
Leonard Rosenthol wrote: The only other option that I can think of - which is a bit more work up front, but faster at match time, would be to use some unique ID from the database and store that as a custom key in the image's dictionary. Then you can grab that back out during the loop

Re: [iText-questions] How to report bugs?

2008-06-23 Thread Bruno Lowagie
Patrick Valsecchi wrote: Hi, I tried to report a bug [1] on SF, the only place I found to report bugs for iText. But I got no answer. What is the official way to report bugs for iText? I found nothing in the FAQ. That's the official SourceForge way, but to be honest, we don't look at

Re: [iText-questions] image reference for a special application

2008-06-23 Thread Bruno Lowagie
Bruno Lowagie wrote: Leonard Rosenthol wrote: The only other option that I can think of - which is a bit more work up front, but faster at match time, would be to use some unique ID from the database and store that as a custom key in the image's dictionary. Then you can grab that back

Re: [iText-questions] How to partial flatten a XFA Form?

2008-06-19 Thread Bruno Lowagie
rams.samy wrote: stamper.partialFormFlattening fails as Partial form flattening is not supported with XFA forms. I'm not sure, but what happens if you remove the XFA: PdfDictionary acro = (PdfDictionary) PdfReader.getPdfObject( reader.getCatalog().get(PdfName.ACROFORM));

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-19 Thread Bruno Lowagie
Federico Alba wrote: Ok...I built the dll again...and now it's workingIt's perfect...thanks, every bookmark does what it should do... Thanks for the feedback! The changes will be in the next release (scheduled for the second week of July). best regards, Bruno

Re: [iText-questions] How to partial flatten a XFA Form?

2008-06-19 Thread Bruno Lowagie
rams.samy wrote: The below code is running without error in Run time, but the whole pdf is getting flattened, do you know why? No, I only know that partial form flattening isn't supported for XFA forms, so I hoped that removing the XFA would help (but I wasn't sure because I've never tested

Re: [iText-questions] How to partial flatten a XFA Form?

2008-06-19 Thread Bruno Lowagie
rams.samy wrote: field value is not set and the whole pdf is getting flattened, do not why? As you saw from my previous answer, I changed do not why? into do you know why? and I answered: No, I only know that partial form flattening isn't supported for XFA forms, so I hoped that removing

Re: [iText-questions] PDF Structure

2008-06-19 Thread Bruno Lowagie
Alexis Pigeon wrote: By the way, something that always made me wonder since the very first day I used iText : where does the 2nd 'P' in PdfPTable (or PdfPCell, etc...) come from? Well, I had created the external class Table and the internal class PdfTable (just like you have Document and

Re: [iText-questions] How to partial flatten a XFA Form?

2008-06-19 Thread Bruno Lowagie
rams.samy wrote: Bruno, you interpretation on question was right(Do you know why? :-) ) After removing the XFA I did a flattening true followed by field flattening, the whole file got flattened, the extra thing which I did not include in my previous post is the field value was also not

Re: [iText-questions] PDF Structure

2008-06-19 Thread Bruno Lowagie
Paulo Soares wrote: My ego is big but not that big. I fear that mine is bigger ;-) My mother always says les traces d'un fou, se trouvent partout whenever she reads something about me. (That's a variation on the line: Hi lowagie, ur name is all over internet.) The P stands for PDF, it's a

Re: [iText-questions] parameters for Image.setTransparency()

2008-06-19 Thread Bruno Lowagie
answers solutions wrote: Hi wht are the parameters i should pass to the method Image.setTransparency(new int[]( , )) . inorder to make a image with backgroung to be transparent . i am placing this image against a image which has a white background . It depends on

Re: [iText-questions] parameters for Image.setTransparency()

2008-06-19 Thread Bruno Lowagie
answers solutions wrote: hi bruno . can u let me know where can i get more reference about the parameters of this method. I'm sorry, but as far as I'm concerned all your credits have expired and I will be of no further assistance to you. I wish you the best of luck finding somebody else

Re: [iText-questions] ExceptionConverter: java.io.IOException: The document has no pages

2008-06-19 Thread Bruno Lowagie
paolo ghiringhelli wrote: I'm executing the Java Class in Oracle JDeveloper environment; the class is in progress and it isn't yet released. Aha, it has been a long time since I worked with JDeveloper, but that could indeed be the reason why the resource isn't released. Do you think that I

Re: [iText-questions] How to partial flatten a XFA Form?

2008-06-19 Thread Bruno Lowagie
rams.samy wrote: Bruno, See attached sample file with 2 fields. I fear the attachment didn't succeed getting through to the mailing list. This is one of the exceptions where you can send it to my personal address. best regards, Bruno

Re: [iText-questions] How to partial flatten a XFA Form?

2008-06-19 Thread Bruno Lowagie
rams.samy wrote: Bruno, See attached sample file with 2 fields. Oops sorry, I overlooked the link at the end of your mail. I was able to open your PDF file. Thanks, I'll have a look at it. br, Bruno - Check out the new

Re: [iText-questions] How to partial flatten a XFA Form?

2008-06-19 Thread Bruno Lowagie
rams.samy wrote: Bruno, See attached sample file with 2 fields. OK, actually there were more fields, but I dropped the second page. See http://www.1t3xt.info/examples/browse/?page=exampleid=391 The advise I gave you this morning works (I was able to test it thanks to your example). Then why

Re: [iText-questions] Differenct Image sizes

2008-06-18 Thread Bruno Lowagie
zoharat wrote: I did try it, but it scales the images down randomly. That's ONLY true if you use random number for the percentages. Let say I said scale to 20% then for a big image it will be okay, but for smaller images they get very small. Hey, that's not random! If you take 20% of 100,

Re: [iText-questions] Field Labels beneath values

2008-06-18 Thread Bruno Lowagie
bnorwood wrote: I'm sure this has been answered before and that I'm just searching for the wrong thing. Basically I am generating a printable version of an application that users fill out online. Is the online form a PDF? If so, I would reuse it. Is the online form available on paper? If so,

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-18 Thread Bruno Lowagie
Federico Alba wrote: Oh...thanksI browsed it from the browser and I see all the files, but since I need the entire project I downloaded tortoisebut when I put this url http://itextsharp.cvs.sourceforge.net/itextsharp/itextsharp_new, I get the following message: Repository moved

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-18 Thread Bruno Lowagie
Federico Alba wrote: I used Tortoise Svn to acces the repository... I overlooked the SVN in your previous question. The iTextSharp repository is CVS, not SVN. You can't use an SVN tool to access a CVS repository. br, Bruno

Re: [iText-questions] Differenct Image sizes

2008-06-18 Thread Bruno Lowagie
zoharat wrote: Borders the area inside the PDF page margins. We are in the process of buying the book, so I have read only the documentation available online. For instance, this example about scaling TIFFs and dpi: http://1t3xt.info/examples/browse/?page=exampleid=86 It even uses the

Re: [iText-questions] error using code in chapter16/SignedPdf.java

2008-06-18 Thread Bruno Lowagie
Alexis Pigeon wrote: It's very likely that you don't have the BouncyCastle jars in your classpath. For more information, see [1] under Technical Requirements. Another tip: go to the example on the site, for instance: http://1t3xt.info/examples/browse/?page=exampleid=253 and scroll down to

Re: [iText-questions] Question about Fonts

2008-06-18 Thread Bruno Lowagie
Arrowx7 wrote: Hello, I was working on a PDF with iText, and I added my own font like this: BaseFont purisa = BaseFont.createFont(/home/garden/Purisa.ttf, BaseFont.CP1252, BaseFont.NOT_EMBEDDED); Correction: you didn't add your own font. You told the PDF you want the viewer to use Purisa.ttf,

Re: [iText-questions] PdfPTable TextField in PdfPCell: questions

2008-06-18 Thread Bruno Lowagie
Fhomasp wrote: Because the TextFields are wrapped in a PdfPCell the font set in the TextField doesn't get through. The font is adjusted by the height of the cell. For regular fields this is a minor problem, however I also need a few much larger fields for memo info. So anyone filling one of

Re: [iText-questions] creating layers using itext

2008-06-18 Thread Bruno Lowagie
hari bhogu wrote: if image file contains text i need to make the text in tht particular layer to be transprent . I think you mean you want to make the background transparent, NOT the text. And as we already said: that's a bad idea. Are you an offshore developer working against a deadline for

Re: [iText-questions] Contribution: Enhanced Image.scaleToFit

2008-06-18 Thread Bruno Lowagie
Benjamin Rein wrote: I hope its useful for anyone with similar problems. Thanks, I'll have a look at your changes. br, Bruno - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for

Re: [iText-questions] Contribution: Enhanced Image.scaleToFit

2008-06-18 Thread Bruno Lowagie
Bruno Lowagie wrote: Benjamin Rein wrote: I hope its useful for anyone with similar problems. Thanks, I'll have a look at your changes. If I'm interpreting the changes correctly, you have changed scaleToFit into an elaborate scaleAbsolute in case the DPI is different for X and Y (and not 0

Re: [iText-questions] ExceptionConverter: java.io.IOException: The document has no pages

2008-06-18 Thread Bruno Lowagie
paolo ghiringhelli wrote: Hi, my class creates a document and sets header and footer; if the methods that write the content of the document fail, when I close the document, I get the error: ExceptionConverter: java.io.IOException: The document has no pages and a file.pdf with 0 length is

Re: [iText-questions] creating layers using itext

2008-06-18 Thread Bruno Lowagie
hari bhogu wrote: can u let me know can i achieve this by using itext . You have all the different elements: - you know how to resize image or create pages that are 487 x 485 - you know how to add images to a PdfLayer - you know how to make the text transparent (but if you make the text

Re: [iText-questions] overlapping of layers

2008-06-17 Thread Bruno Lowagie
answers solutions wrote: hi u have mentioned by page size is 595 pt wide. is it a standard one . As described in the book, the default page size is A4 (which is the standard in Europe and Asia). is there anyway to extended by page size. In chapter 2 of the book, you'll learn how to

Re: [iText-questions] Adding Pages To PDF From Records

2008-06-17 Thread Bruno Lowagie
Dan Schofield wrote: Is there a step that I am missing? PdfCopyFields isn't the best suited class in this context. You are flattening the forms you are adding to the new document. In that case, you'd better use PdfSmartCopy as demonstrated here:

Re: [iText-questions] Big problem in deteterming height when page breaks

2008-06-17 Thread Bruno Lowagie
FlyingBuzz wrote: Well, here is a drawing on what I am trying to do. Hope this makes it clear. http://www.nabble.com/file/p17867501/Untitled.gif I've made some PDFs with nested tables here: http://1t3xt.info/examples/browse/?page=exampleid=387 The tables are ugly, but I hope they give a

Re: [iText-questions] creating layers using itext

2008-06-17 Thread Bruno Lowagie
hari bhogu wrote: hi i am trying to create layers in pdf by using itext , And as you are using PdfLayer, we're talking about OCG, can you confirm this? i want this three layer to be in my first page of my pdf docuement . You want the images to be on top of each other? Than you need to

Re: [iText-questions] How is it possible to get the x, y position of a certain word found by the PRTokeniser?

2008-06-17 Thread Bruno Lowagie
Daniel_R wrote: How do the operators/operands change the CTM and how can i calculate it (i googled for a while now... and i haven't found anything in the Book also) Go to page 314 and look at the title Doing the math in section 10.4.1 conveniently title The CTM (I hope we're talking about

Re: [iText-questions] creating layers using itext

2008-06-17 Thread Bruno Lowagie
hari bhogu wrote: i want the three layers in frist page of my pdf and they should be transperent Then why are you using opaque images??? Maybe section 5.2 of the book can solve your problem. Maybe there are some other ways too (depending on the type of images you are using), but my guess that

Re: [iText-questions] creating layers using itext

2008-06-17 Thread Bruno Lowagie
Leonard Rosenthol wrote: If the image are transparent - then they MUST change in order to show through... Yes, my suggestion was to add the image as a java.awt.Image as described in section 5.2 of the book. What you really want is to create MASKS (or clipping paths) - where the white parts

Re: [iText-questions] RtfWriter2.fitsPage()?

2008-06-17 Thread Bruno Lowagie
bisoa wrote: Is there any way we can do the PdfWriter.fitsPage() for RTF documents? It looks like only way we can do is to find out numbers of rows a page can contain and count them! The problem with RTF (as opposed to PDF) is that RTF isn't a Page Description Language (PDL). With PDF you

Re: [iText-questions] Bookmarks in merged PDF document

2008-06-17 Thread Bruno Lowagie
Federico Alba wrote: Oh...sorry...I thought it was native... In response to an earlier question: Paulo uploaded the changes to support page numbers instead of page references yesterday night. I'm scheduling a release for the second week of July. If you need the functionality earlier, you can

Re: [iText-questions] creating layers using itext

2008-06-17 Thread Bruno Lowagie
Leonard Rosenthol wrote: Because if he's going to use rasterized text to create letters or forms that are to be used in a hospital, he's definitely on the wrong path. Yes, that I completely agree with! Thanks, it would be interesting to hear from the original poster where the images

Re: [iText-questions] Adding a JPG to a page causes errors

2008-06-17 Thread Bruno Lowagie
Robert Spielmann wrote: Hi all, I'm adding a JPG to a page using the stamper like this: // Load the arrow Image pfeil = Image.getInstance(templates/Pfeil_schwarz_oben.jpg); // Scale the arrow (the template PDF has 300 dpi) pfeil.scalePercent(((float)pfeil.getDpiX()/300)*100);

Re: [iText-questions] WG: Adding a JPG to a page causes errors

2008-06-17 Thread Bruno Lowagie
Robert Spielmann wrote: Sorry, the PDF file has a size of about 1MB which sourceforge blocks. I uploaded the file: http://www.1lx.org/epo_alpha.pdf On your page 3 you add 6 images between a BT and an ET. BT /Xi1 10 Tf q 27.12 0 0 36 122.44 610 cm /Xi2 Do Q q 27.12 0 0 36 160.44 610 cm /Xi2

Re: [iText-questions] Adding a JPG to a page causes errors

2008-06-17 Thread Bruno Lowagie
Robert Spielmann wrote: So, surrounding the image code with begin-/endText() is a bad idea? It's better to keep pure 'graphics state' operations separated from 'text state' operations. I should check in the PDF Reference which graphics state operators are allowed between a BT/ET sequence and

Re: [iText-questions] PDF Structure

2008-06-17 Thread Bruno Lowagie
Mark Storer wrote: I see that PdfStructureTreeRoot and PdfStructureElement haven't been touched in a while. True. Currently, if you want tagged PDF, it's mainly a manual process as is done here: http://www.1t3xt.info/examples/browse/?page=exampleid=274

Re: [iText-questions] how to add images to layers by using itext

2008-06-16 Thread Bruno Lowagie
answers solutions wrote: hi can u tell me how to add images to layers in pdf Assuming that with layers you are talking about OCG, then you also find the example in the book, more specifically on page 384-385. br, Bruno -

Re: [iText-questions] does iText Supports Money Management

2008-06-16 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hi All, I would like to know, whether iText supports money management or not Define money management. Are you telling us you want to display currencies, but you are unaware that this is provided in Java? NumberFormat n =

Re: [iText-questions] overlapping of layers

2008-06-16 Thread Bruno Lowagie
answers solutions wrote: wht u have conculded is correct i am able to see only 29% of my image . That's exactly how you programmed it, so there is no problem with iText. i am new iitext . i dont know all these calculations . can u explani me in deatil . As already indicated by William

Re: [iText-questions] Adding PdfPTable to PdfTemplate

2008-06-16 Thread Bruno Lowagie
Serdiouk, Alexei wrote: Hi, I am trying to add a PdfPTable to a PdfTemplate in order to rotate the table 90 grad, as was suggested in answer from 30.06.2002. That's 5 years ago... Could you please take a look where I am making an error? You add the table at coordinate 0,0 which is the

Re: [iText-questions] How is it possible to get the x, y position of a certain word found by the PRTokeniser?

2008-06-16 Thread Bruno Lowagie
Daniel_R wrote: Hi, I need to locate a certain word inside the pdf and insert some picture near that word... That's really not trivial and I wouldn't use iText to do that. There are OCR solutions that can do this, but they aren't free. I used the PRTokeniser object to locate the String

Re: [iText-questions] Big problem in deteterming height when page breaks

2008-06-15 Thread Bruno Lowagie
FlyingBuzz wrote: well, i dont think your understanding the question still thats why i tried to explain it better. I guess i will post some examples of what I mean later on on monday. The example you posted I don't think it is quite I am asking for. It is hard for me to explain I guess without

Re: [iText-questions] Share examples of pdfs created with iText!

2008-06-13 Thread Bruno Lowagie
Rick Roen wrote: Hey, those are really nice! I use tables extensively for producing invoices/confirmations etc. and have always wondered if I could do the rounded corners like you have all over. How are you doing these? Probably as explained in the book:

Re: [iText-questions] table at the end of page

2008-06-13 Thread Bruno Lowagie
Alexis Pigeon wrote: Hi Philip, On 13/06/2008, PhilipPeinsold [EMAIL PROTECTED] wrote: Hello @ all!! Is it possible to insert a table at the end of the page? I don't want to make a footer, cause the table should only be at the first page. Footers are not set per document only, but

Re: [iText-questions] Share examples of pdfs created with iText!

2008-06-13 Thread Bruno Lowagie
Rick Roen wrote: Thank you Bruno, I purchased the book and read it some time ago. As an occasional user of iText the syntax is not exactly fresh in my mind. I looked in the index under various topics and came up blank which is often the case. My major problem in finding things in the book

Re: [iText-questions] iText in Action / section 10.4 / coordinate system

2008-06-13 Thread Bruno Lowagie
Robert Spielmann wrote: Hi all, I'm reading iText in Action at the moment. Section 10.4 begins with this: The coordinates you use to draw the iText eye in figure 10.13 assume that the origin of the coordinate system is in the lower-left corner and that the x-axis points to the left and

Re: [iText-questions] Graphics and Stamper

2008-06-13 Thread Bruno Lowagie
Robert Spielmann wrote: Hi all, The chapters in iText in Action dealing with graphics all say that I need the Direct Content from the writer in order to paint stuff into my document. For example, I need to paint a grey-filled rectangle. I am using the stamper in order to modify a template

Re: [iText-questions] Save and Email functions in iText for PDF document

2008-06-13 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: That was a very interesting article.. Now that I think of it, it could be interpreted the wrong way. I learned about Levitt and Dubner during a talk about Free Economies. About how Free Software shouldn't be free as in free beer, but that the F in F/OSS should stand

Re: [iText-questions] adding PDFAnnotation to Cell

2008-06-13 Thread Bruno Lowagie
Sumeet Gupta wrote: Thanks Bruno..can you provide me with a quick sample code? a 2-3 liner code will really help. I'm sorry, I can't do it in 2 or 3 lines of code. br, Bruno - Check out the new SourceForge.net

Re: [iText-questions] How to justify text with iText 1.5.x

2008-06-13 Thread Bruno Lowagie
Peter Dunkel wrote: I found the primary problem in org.eclipse.birt.report.engine.emitter.pdf.PDFPage in the methode private void drawText, there are 3 methodes with this name, but the other only calls the drawText-methode. The string with the text was not trimmed, it has sometimes

Re: [iText-questions] Share examples of pdfs created with iText!

2008-06-12 Thread Bruno Lowagie
FlyingBuzz wrote: Lets see what you are using iText for and how nicely a generated PDF could look. Those are some very nice examples! Thanks for sharing them. I used to have a directory named 'gallery' with similar examples, but I didn't have the time to maintain that part of the site. Maybe

Re: [iText-questions] Images in Header and Footer of pdf

2008-06-12 Thread Bruno Lowagie
Atish Roy wrote: Hi. Can you give me piece of code which will insert images in header and footer of a pdf? What if you just dropped the parameters that rotate and skew the image in your addImage method? You were asked why you defined such a strange transformation matrix, but you didn't answer

Re: [iText-questions] HowTo install iText?

2008-06-11 Thread Bruno Lowagie
Udkik.dk wrote: I changed version itext-2.0.1.jar to itext-2.0.6.jar and now it workes just fine I'm happy it works now, but there are no known issues about the deployment of iText-2.0.1 on a web server, so the problem must have been caused by something else. If you have similar problems in

Re: [iText-questions] PDF Layout using itext v1.4

2008-06-11 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Since the itext jar must be 1.4 version, any advise might I get ? 1.4 is over 2 years old. You mustn't expect support on versions that are that old. br, Bruno - Check out the new SourceForge.net

Re: [iText-questions] Itext Toolbox method colordetectnative

2008-06-11 Thread Bruno Lowagie
M. Salah Ghalloussi wrote: I have only toolbox.jar and Itext.jar Which library I still need please? I don't know for sure. I'll leave this question for Carsten Hammer. br, Bruno - Check out the new SourceForge.net

Re: [iText-questions] Delete white pages

2008-06-11 Thread Bruno Lowagie
ZelluLoyd wrote: Hi, i am using itext to create a catalog with articles that are in different categories. With every new category i start a new page what works fine! Now i have a problem with this own new page-trigger and the automatically new page that occurres when the current page is

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
precyz wrote: I have radiobutton named nameRadiobutton. It has four buttons: a, b, c, d. Button c is in state on (it means the rest are in state off). How in iText can I check which button (a, b, c or d) is in state on ? I know how to get names of this four buttons: PdfReader reader = new

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
precyz wrote: I have radiobutton named nameRadiobutton. It has four buttons: a, b, c, d. Button c is in state on (it means the rest are in state off). How in iText can I check which button (a, b, c or d) is in state on ? I know how to get names of this four buttons: PdfReader reader = new

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
precyz wrote: In my case this instruction returns only yes: form.getField(nameRadiobutton) is equal to yes. This says anything to me becouse i need something different. See my previous answer: you misunderstand the concept of radiobuttons (both in PDF as in HTML). Lets take eg. from your

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
precyz wrote: In my case this instruction returns only yes: form.getField(nameRadiobutton) is equal to yes. This says anything to me becouse i need something different. See my previous answer: you misunderstand the concept of radiobuttons (both in PDF as in HTML). Lets take eg. from

Re: [iText-questions] PdfPtable - switching background color for rows

2008-06-11 Thread Bruno Lowagie
Michal Domagala wrote: Hi Bruno, you correctly understand my problem. Could you give me some hint how to manage table events? The documentation and sample files are not sufficient for me. http://1t3xt.info/examples/browse/?page=exampleid=384 Scroll to where it says AlternateBackground. I

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
Gawędzki wrote: Is it possible to get name of on-value from the EN-widget form this radio button ? Most of the times these widgets are unnamed. (Why would they need a name?) You will have to explain WHY you want that widget if you want any further answer from me. br, Bruno

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
Bruno Lowagie wrote: Gawędzki wrote: Is it possible to get name of on-value from the EN-widget form this radio button ? Most of the times these widgets are unnamed. (Why would they need a name?) You will have to explain WHY you want that widget if you want any further answer from me

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread Bruno Lowagie
Gawędzki wrote: I have pdf document with text fields, radio buttons and checkboxes. OK, just like: http://1t3xt.info/examples/results/in_action/chapter16/register_form1.pdf Those fields has names from xml file (ex. radio button is named //ProductId In my case for instance person.preferred

Re: [iText-questions] Japanese fonts -- I am unclear on what is going on

2008-06-11 Thread Bruno Lowagie
Brian Gould wrote: I have the ItextAsian and ItextAsianCmaps jar files and I have the following code: BaseFont _bfJapanese = BaseFont./createFont/(KozMinPro-Regular, UniJIS-UCS2-HW-V, BaseFont./NOT_EMBEDDED/); /_japanese/ = *new* Font(_bfJapanese,

Re: [iText-questions] HowTo install iText?

2008-06-09 Thread Bruno Lowagie
Allan Unnerup wrote: I would very much like to try out iText, but: How/where do I install the iText libraries? I have tried /WEB-INF/lib/itext-2.0.1.jar But it does not seem to work. Or do I need to do more? Did you write any Java code? If not, you shouldn't expect anything to work. Did

Re: [iText-questions] click on image and open the attachment

2008-06-06 Thread Bruno Lowagie
Harakiri wrote: Great - best useless input i read for a while - congrats! Please note that Bill has provided valuable input in the past, on the list as well as personally. I consider him as a friend of the project as well as a personal friend. 1. If you think it does not belong to itext list -

Re: [iText-questions] Converting Non-Editable Pdfs to Editable pdfs

2008-06-06 Thread Bruno Lowagie
sijo jose wrote: Hi, PDF DOCUMENTS ARE NOT EDITABLE BY DESIGN. Does this mean that i cannot convert a non-editable pdf , directly to editable ones as a whole pdf?.I mean is ter no other way other than just adding acro forms?cant i convert directly the whole of a non editable pdf to

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