Re: [iText-questions] FW: Why do I not get all the mailing list replies even though I am subscribed to the list ???

2010-12-13 Thread 1T3XT info
On 13/12/2010 9:30, John Renfrew wrote: So, perhaps, stop shouting and ask nicely. Did your mother never teach you that, or were you unwilling to learn? I must admit that I'm somehow too. I imagine the person asking the question working full time on one application, wanting to cut corners by

Re: [iText-questions] The IRM Issue of PDF File

2010-11-23 Thread 1T3XT info
On 23/11/2010 4:29, lucio wrote: now we want to set a timespan of these permissions, for example: before Dec 31, 2010,the pdf file need a password to access and can not be copy/printed, after this period,user can open the file without limits (need to remove the limits we set before).

Re: [iText-questions] When will 5.0.5 be available in maven.itextpdf.com ?

2010-11-23 Thread 1T3XT info
-11-22 09:30, 1T3XT info wrote: On 22/11/2010 9:10, Stefan Thurnherr wrote: Reminder :-) Thanks for the reminder! I've copied the bundles to: http://maven.itextpdf.com/com/itextpdf/itextpdf/5.0.5/ Can you check if I did everything correctly? -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] When will 5.0.5 be available in maven.itextpdf.com ?

2010-11-23 Thread 1T3XT info
On 23/11/2010 15:10, Jason Berk wrote: The author of Gradle spoke at the conference and was _really_ impressive. Sounds like good advice. Thanks! I'll investigate. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] Problems with Images and SSL

2010-11-21 Thread 1T3XT info
On 20/11/2010 22:47, jamesyreid wrote: ...and I get the following exception: SSLHandshakeException: No trusted certificate found If I copy paste the above https URL into a browser then the image is displayed. Write a small example that tries to fetch the image bytes. Do not use iText in

Re: [iText-questions] public vs internal iTextSharp.text.pdf.AcroFields.Item.page accessibility

2010-11-19 Thread 1T3XT info
On 19/11/2010 20:44, steve poling wrote: PLEASE STOP ME. Steve, STOP! Look for a method named size ;-) -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Beautiful is writing same

Re: [iText-questions] Remove field level formatting

2010-11-18 Thread 1T3XT info
On 18/11/2010 21:04, kpgraci wrote: I have pdf files with formatting applied to some of the fileds and I want to remove that formatting. Below I list the routine I use to inspect the format and get the javascript name and therefore determine the type of formatting - although this is not

Re: [iText-questions] When will 5.0.5 be available in maven.itextpdf.com ?

2010-11-16 Thread 1T3XT info
On 16/11/2010 10:46, Stefan Thurnherr wrote: Hi all I'd like to upgrade to itext 5.0.5, but that release is not yet available in http://maven.itextpdf.com. When will it be available? Thanks! Remind me after http://devoxx.com/ For those of you who are attending Devoxx, there will be a book

Re: [iText-questions] jfreechart and itext, how to determine absolute position at runtime/dynamically

2010-11-16 Thread 1T3XT info
On 16/11/2010 5:23, Jake Vang wrote: Thanks, figured it out on my own the tinkering way, but the solution is as you stated. It's just that a lot of examples do not show that approach, which I believe is a more natural approach. You're correct. I'll put it on the list of tutorial examples that

Re: [iText-questions] FW: Welcome to the iText-questions mailing list (Digest mode)

2010-11-16 Thread 1T3XT info
On 16/11/2010 19:34, Chris Ulbright wrote: As far as I know I am a member of this listserve? My previous message was held because: Post by non-member to a members-only list Did I somehow get unsubscribed? I don't know. I just checked the administrative interface and I didn't find your

Re: [iText-questions] where is the XmlParser and how can I use variables (convert xml - pdf)

2010-11-12 Thread 1T3XT info
On 11/11/2010 16:45, Daniel Plappert wrote: Hi, unfortunately, the SimpleXMLParser is just a simple XML parser - I don't see any possibility to add a (pdf) document object. I already tried this yesterday. The SimpleXmlParser parsed my XML file and that's it. Instead, the (old) XmlParser

Re: [iText-questions] XSL FO processing with iText

2010-11-12 Thread 1T3XT info
On 12/11/2010 11:23, Matthias Müller wrote: Hi there, i read about the great performance iText offers when processing large documents. Is there's a way to process XSL FO documents with iText? iText doesn't do XSL-FO. Are there any (also commercial) XSL FO - PDF - Renderer that uses iText?

Re: [iText-questions] I need some help with iText

2010-11-09 Thread 1T3XT info
On 9/11/2010 8:17, George Pearson wrote: Hi all, I require some help with iText and I also have a test project that I would like to share and hopefully get some help with. Is this possible on this mailing list / forum? It depends: If you have a specific problem, and you send a standalone

Re: [iText-questions] how do I generate acrofields dynamically.

2010-11-09 Thread 1T3XT info
On 9/11/2010 8:51, George Pearson wrote: Hi all I have a pdf template that was created in LiveCycle – this pdf is called through a C# application using iTextSharp. It all works great expect when the pdf is printed it only prints ONE record in the pdf. You have created a PDF containing a form

Re: [iText-questions] how to I ask a question...

2010-11-09 Thread 1T3XT info
On 9/11/2010 8:04, g g wrote: Hi there, I have registered with the http://itextpdf.com/ support. But it seems I cannot post any questions. No, it says: This forum is read-only for visitors and registered users. Only registered customers can post questions. We are planning to allow

Re: [iText-questions] how do I generate acrofields dynamically.

2010-11-09 Thread 1T3XT info
On 9/11/2010 9:33, George Pearson wrote: Hi 1T3xt, Well I am sure there lots way to do this, what would you suggest I try? I don't know: you haven't told us anything about your requirements. Browse the examples, and find out if the results correspond with your needs. I’m pretty new to the

Re: [iText-questions] how do I generate acrofields dynamically.

2010-11-09 Thread 1T3XT info
Sorry, I had the wrong link: On 9/11/2010 9:47, 1T3XT info wrote: I would really, really appreciate it, if you downloaded this free chapter: https://lists.sourceforge.net/lists/listinfo/itext-questions It should be: http://www.manning.com/lowagie2/samplechapter6.pdf (The previous link

Re: [iText-questions] pdf decryption using user password

2010-11-08 Thread 1T3XT info
On 8/11/2010 13:28, dgiscool wrote: Hello, In itext, can we decrypt a pdf file using the user password that was used to encrypt the file? Technically, you can decrypt a password-protected PDF without knowing any password, but iText deliberately disallows decrypting the PDF if you don't have

Re: [iText-questions] Font issue

2010-11-08 Thread 1T3XT info
On 8/11/2010 23:22, Bill Bolek wrote: Hello, I am using Pentaho which in turn uses jFreeChart and itext to display charts. I have installed my Pentaho solution on several CentOS platforms with no problem. However, when I tried to install my solution on a Red Hat Linux system my jFreeChart is

Re: [iText-questions] tutorials

2010-11-08 Thread 1T3XT info
On 9/11/2010 8:30, George Pearson wrote: Is it possible to find any good itext tutorials out there? No tutorial will teach you as much as the brand new second edition of iText in Action: http://itextpdf.com/book/ All other tutorials were removed because they were hopelessly outdated. -- This

Re: [iText-questions] tutorials

2010-11-08 Thread 1T3XT info
Hello, you've answered off-list. Please stay on the list: itext-questions@lists.sourceforge.net Do not mail to other e-mail addresses. On 9/11/2010 8:44, George Pearson wrote: That's great and will definitely look into it, but being in this country shipping a book like that could take a few

Re: [iText-questions] pdf decryption using user password

2010-11-08 Thread 1T3XT info
On 9/11/2010 8:47, DDT wrote: Hello, As a security guy I following your iText-trail concerning, because of a specific interest in PDF Signature (CAdES, PAdES, etc). I read that you say that it is technical possible to decrypt a password-protected PDF without knowning any passwords. How is

Re: [iText-questions] how to get words wrapped in a footer

2010-11-07 Thread 1T3XT info
On 6/11/2010 17:27, Peter Backx wrote: Hi all, I'm trying to create a PDF with a footer that word wraps long lines. Use ColumnText with go() or PdfPTable with writeSelectedRows(). I'm pretty new to this, but if I understand it correctly, Paragraph and Phrase should word wrap the text,

Re: [iText-questions] Add TextField in all pages, in different loactions

2010-11-07 Thread 1T3XT info
On 7/11/2010 17:56, jjalink wrote: I'm trying to add a text field to all pages in a PDF, Due to the lack of formatting, I didn't look at your code, but seems like you say you want to add multiple text fields with the same name. This may or may not be possible. Are you by any chance confusing

Re: [iText-questions] HeaderFooter class

2010-11-06 Thread 1T3XT info
On 5/11/2010 19:20, malikqa...@gmail.com wrote: Thank you, I downloaded the document through you link but it is all for JAVA, anyway i took the example givien in chapter 5 under listing 5.20 and converted to c#.net. The code you attached only contains the event, I don't see you using that

Re: [iText-questions] unable to run the program which uses itext---please help

2010-11-06 Thread 1T3XT info
On 6/11/2010 15:45, valar chandran wrote: Hi All, I downloaded itext-2.1.7.jar file to the folder E:\java\jdk1.6.0_22\bin and wrote a java program GeneratePdf.java I placed the GeneratePdf.java in the same folder E:\java\jdk1.6.0_22\bin Then I compiled the program using javac -classpath

Re: [iText-questions] Enabling comments in iText?

2010-11-05 Thread 1T3XT info
On 5/11/2010 4:54, Full Name wrote: Hi, I am using the java itext software to generate a pdf file using the following abbreviated command. java -cp itext.jar ...PhotoAlbum filename.pdf My question is that I want to be able to add comments to the pdf once I open the file. Is there an

Re: [iText-questions] Saving editable form of manipulated PDF

2010-11-05 Thread 1T3XT info
On 5/11/2010 9:35, Thorsten Schlathoelter wrote: It would be great if somebody with experience could confirm that there is definitely no way to accomplish this task. I think you're trying to do something that is impossible with third party software (and by third party software I mean: software

Re: [iText-questions] HeaderFooter class

2010-11-05 Thread 1T3XT info
On 5/11/2010 0:35, malikqa...@gmail.com wrote: Hi, I am using 5.0.4 verson source for iText. i do not find the HeaderFooter class in it. Any help from your side on this issue? If you found documentation about using the HeaderFooter class, throw it away, don't look at it, forget about it. The

Re: [iText-questions] Fwd: iText in Action, Second Edition - Manning ebook delivery

2010-11-05 Thread 1T3XT info
On 5/11/2010 3:37, benmil...@yahoo.com wrote: Just purchased the book. However, cannot find any reference to how to use with Xcode, objective-c, etc despite seeing a post by 1t3xt which alluded that the book discussed. I don't remember saying anything about Xcode and objective-C, I've never

Re: [iText-questions] Rich media annotation activation

2010-11-05 Thread 1T3XT info
On 5/11/2010 10:39, die_ekschper...@arcor.de wrote: I have read these docs a hundreds time, but everything I have found about that was on page 79/80 This isn't an iText related problem, is it? It's a question about the way Rich Media Annotations containing a Flash application interact with

Re: [iText-questions] HeaderFooter class

2010-11-05 Thread 1T3XT info
On 5/11/2010 14:43, Malik Mohiuddin Quadri wrote: Is book available as eBook on internet to buy? Yes: http://affiliate.manning.com/idevaffiliate.php?id=223_212 -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] Pdfptable with unicode problem

2010-11-05 Thread 1T3XT info
On 5/11/2010 16:38, Tri Truong wrote: Hello everyone, I have a problem with pdfptable My pdfptable have unicode characters (utf-8) and when export to pdf some characters missing.I print the pdfptable out the screen and it ok but when I use document.add(table) the problem generate. Anyone can

Re: [iText-questions] Enabling comments in iText?

2010-11-05 Thread 1T3XT info
On 5/11/2010 18:20, Mark Storer wrote: Sounds like you want to reader-enable the PDF. You can only do that with Adobe Acrobat. $$$ Seems like I completely misunderstood the question. Mark is correct. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] Copy a image from one PDF to another.

2010-11-04 Thread 1T3XT info
On 4/11/2010 11:13, Patrik Sandberg wrote: Hi! I'm trying to copy a couple of images from one pdf-document to another. I've managed to extract the images from the source document, however I can't seem to find a couple of attributes I need before I can paste them in my destination document.

Re: [iText-questions] Sub page numbering

2010-11-04 Thread 1T3XT info
On 4/11/2010 12:45, rhymie wrote: Bruno Lowagie (iText) wrote: I don't have the time to write an example for you, but you add an extra method to your page events implementation that creates a new PdfTemplate (you could call it resetTotalPageNumbers(PdfWriter writer)). You should keep a

Re: [iText-questions] Rich media annotation activation

2010-11-04 Thread 1T3XT info
On 4/11/2010 13:48, die_ekschper...@arcor.de wrote: Hi, I have produced a multi-page pdf file with an embed flash annotation on each pdf page. When I switch between the pages, the rich media flash annotation reloads every time, which is very annoying! Is there a way, to let the annotation

Re: [iText-questions] NullpointerException on document.close()

2010-11-03 Thread 1T3XT info
On 2/11/2010 23:57, riffla wrote: Thanks for supporting me... but for you Mark, if you look at the third message from top in this thread you can see what I mean about the stacktrace, and that I doubt it'll give you any hint 'bout the original cause. That wasn't what we meant when we asked

Re: [iText-questions] PdfStructureElement with ColumnText

2010-11-03 Thread 1T3XT info
On 2/11/2010 22:45, jmrrva wrote: Hi, I posted this long time ago:: http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg41651.html Hope this helps. Nice example, I must have overlooked it. I'm happy to see that it works. In future versions, I must find a way to make this

Re: [iText-questions] PdfStructureElement with ColumnText

2010-11-03 Thread 1T3XT info
On 3/11/2010 8:56, jmrrva wrote: Hello, By the way, I sent a fix some days ago related to the PDF/A conformance: http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg53900.html It is a very minor modification to PdfStructureElement.java. I think the Type is Optional,

Re: [iText-questions] [URGENT] iText 2.1.4 - 5.0.4 PDF Lanscape Bug

2010-11-03 Thread 1T3XT info
On 3/11/2010 10:49, Anca Zapuc wrote: Hi all and super thanks very much for your feedback. I tried wrapping the pdf page into an Image and i did scaling / rotating and it worked. I want also to do the same thing but with the cb.addTemplate(a,b,c,d,e,f) I want to do a scalling + rotating and

Re: [iText-questions] Fwd: help

2010-11-03 Thread 1T3XT info
On 3/11/2010 10:44, Ariffin Hasan wrote: If you noticed, in the combined pdf, there is a small red dot at the top right hand corner of page 1 and a red line at the same position in other pages. That's not correct. It's not a line and it's not a dot. It's text and it says: Demo Version -

Re: [iText-questions] jfreechart and itext, how to determine absolute position at runtime/dynamically

2010-11-03 Thread 1T3XT info
On 3/11/2010 11:48, Jake Vang wrote: i have adapted code at the url, http://www.wirelust.com/2008/03/17/creating-an-itext-pdf-with-embedded-jfreechart, for using jfreechart to generate high quality graphs inserted into PDF files with the iText API. i must admit with the author, there is no

Re: [iText-questions] PdfStructureElement with ColumnText

2010-11-03 Thread 1T3XT info
On 3/11/2010 14:36, jmrrva wrote: I also thought that it was optional. But after Callas reports I notice that the ISO docs say SHALL HAVE OK, seems like a minor inconsistency in the ISO. The table says: optional, the text says: required. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] Embedded fonts

2010-11-03 Thread 1T3XT info
On 3/11/2010 19:22, Rod Hall wrote: I am using iText 5.0.5, and when I look in the properties of the created PDF file I do not see any of the fonts that I requested to have added (via my html style=font-families:blah blah; that I send to the HTMLworker), I only see the standard 14... You

Re: [iText-questions] Embedded fonts

2010-11-03 Thread 1T3XT info
On 3/11/2010 20:30, Nurettin DAG wrote: I can guess from my limited debugging experience that you must have those fonts available in the server when you are generating the pdf since iText needs font specific information when rendering the pdf like character size. That's correct. In PDF,

Re: [iText-questions] PdfStructureElement with ColumnText

2010-11-02 Thread 1T3XT info
On 2/11/2010 8:03, wowarjuna wrote: How to add a structure element to a ColumnText (A paragraph etc)...If you could give me a simple code snippest, I would really appreciate. If this work we'll be defineatly buying this product. You don't add the structure element to the ColumnText. You add

Re: [iText-questions] Help - Adding Header and Footer to an existing PDF

2010-11-02 Thread 1T3XT info
On 1/11/2010 19:41, Tina Tibrewal wrote: Hi All, I am stuck with adding a Header and Footer to an existing PDF. Any clues are appreciated. I have already checked the iText Documentation and did not find anything matching. When you refer to the iText Documentation, it is assumed that you

Re: [iText-questions] PdfStructureElement with ColumnText

2010-11-02 Thread 1T3XT info
On 2/11/2010 8:37, wowarjuna wrote: The following is the code am trying out. The text i want to put in to the paragraph is pretty big. And it will be dynamically created. Do i need to split the text? The code sample can't work. Are you sure you've read the book? You're creating a ColumnText

Re: [iText-questions] MultiColumnText and TOC

2010-11-02 Thread 1T3XT info
On 2/11/2010 10:29, Tom wrote: This probably means I have to do multicolumn manually... That is the better option. Ok, so I've switched to ColumnText, but Chapters still aren't allowed. No, if you need the bookmarks, you need to use PdfOutline. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] PdfStructureElement with ColumnText

2010-11-02 Thread 1T3XT info
On 2/11/2010 10:42, wowarjuna wrote: Does the following sequence is correct? No, your attempt wasn't correct. You want to use ColumnText, so you don't need: cb.SetFontAndSize(bf, 10); cb.ShowText(Para); That just doesn't make sense... PdfStructureElement p = new PdfStructureElement(root,

Re: [iText-questions] PdfStructureElement with ColumnText

2010-11-02 Thread 1T3XT info
On 2/11/2010 11:14, wowarjuna wrote: Thanks a lot..u just saved my life..just another simple one.. Creating structure elements for tables are not simple. For tables with multiple cells, you need to create the table yourself using ColumnText (if borders are needed, you need to draw them

Re: [iText-questions] [URGENT] iText 2.1.4 - 5.0.4 PDF Lanscape Bug

2010-11-02 Thread 1T3XT info
On 2/11/2010 13:17, Anca Zapuc wrote: Could u please tell me how can I check that ? Or where in the documentation I should look? Section 5.3 gives an overview of the different page boundaries. In that same chapter 5, the methods getCropBox() and getBoxSize() are used. These methods also exist

Re: [iText-questions] [URGENT] iText 2.1.4 - 5.0.4 PDF Lanscape Bug

2010-11-02 Thread 1T3XT info
On 2/11/2010 16:06, Anca Zapuc wrote: Hi again, I tried : Rectangle currentSize = currentReader.getPageSizeWithRotation(1); System.out.println(Current size is : + currentSize.getWidth() + * + currentSize.getHeight()); System.out.println(CropBox is: +

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread 1T3XT info
On 2/11/2010 16:13, riffla wrote: Getting a NullPointer on document.close(), though debugging shows document is not null... The stack trace probably points to some object used in the close() method, but without the stack trace we can't help you. Is there a known issue on this...? No.

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread 1T3XT info
On 2/11/2010 17:08, riffla wrote: Inside the close() method there is an iteration over the listeners collection, could it be that it iterates and tries to cast itr.next() (that could be null for some reason) to a listener... Wouldn't it be easier to debug the problem if you printed the

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread 1T3XT info
On 2/11/2010 17:15, riffla wrote: Another question (urgent situation, hence all questions in a row)... Is it possible to attach souce.jar to debug itext code (noticed that the source jar default package does not match the compiled jar, there's a 'core' prefixing the source jar packages)...

Re: [iText-questions] NullpointerException on document.close()

2010-11-02 Thread 1T3XT info
On 2/11/2010 17:32, riffla wrote: I am debuggin at my best, but the stacktrace says nothing. And at the most basic level inside the doc has only one iterator, but digging deeper in the doc tree there seems to be more, I'm using both doc.add and contentbyte code to generate pdf (if that

Re: [iText-questions] Upgrading from 1.4.6 to 2.1.7 PdfPCell.setFixedHeight doesn't work

2010-11-01 Thread 1T3XT info
On 31/10/2010 23:14, Carmen Grantham wrote: Hi all, I'm in the process of upgrading to iText 2.1.7 but the setFixedHeight method of PdfCell doesn't work like it did in iText 1.4.6. I'm sorry, iText 2.1.7 is no longer supported in favor of iText 5.x.y. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] pdf size vs image format

2010-11-01 Thread 1T3XT info
On 1/11/2010 4:16, Jason Berk wrote: I created a PDF that has two images, created from .tiff files and the resulting PDF is roughly 50K. I then converted the .tiff files to .png and recreated the same PDF, which is now 70K. Yet, the file size of the image itself decreased significantly when

Re: [iText-questions] PDF version question

2010-11-01 Thread 1T3XT info
On 1/11/2010 15:06, Eveline Koekkoek wrote: The supplier of WebAccess was surprised to see that in the end the PDF document being generated was of version 1.4 and had a PDF producer of IText 1.3.6. (edited:) They were expecting PDF version 1.6 and PDF Producer PdfLib That's caused by the way

Re: [iText-questions] Is there a way to get all the font information in a pdf file?

2010-10-31 Thread 1T3XT info
On 31/10/2010 3:43, forest wrote: Hi everyone, Is there a way to get all the font information in a pdf file?I want to know if a special font is used in a pdf document, So I want to get all the font information in the document. Read section 16.1.3 on p529-531 of the second edition of iText in

Re: [iText-questions] remove watermark layer

2010-10-31 Thread 1T3XT info
On 31/10/2010 10:41, jjalink wrote: This is the latest OCG removal code from Bruno: http://itext-general.2136553.n4.nabble.com/file/n3020962/RemoveChanges1.java RemoveChanges1.java That code makes some assumptions about the original PDF. For instance: it assumes that the page content is

Re: [iText-questions] MultiColumnText and TOC

2010-10-30 Thread 1T3XT info
On 30/10/2010 12:57, Tom wrote: The MultiColumnText object does not support chapters nor anchors. I think Chunk.setAnchor is supported. So are generic tag events. This probably means I have to do multicolumn manually... That is the better option. Although MultiColumnText isn't marked as

Re: [iText-questions] tabs

2010-10-29 Thread 1T3XT info
On 28/10/2010 19:33, Michael Lai wrote: I reread chapter 2 as you suggested and I don't see anything about tabs. The closet thing I see is paragraph indentation but that's not what I want. I tried appending \t to my chunk that that doesn't work either. Thought it would work similar to \n or

Re: [iText-questions] Data mining with iTextSharp

2010-10-29 Thread 1T3XT info
On 29/10/2010 10:23, anna@hotmail.it wrote: Hi, How do I get the text with the method RegionTextRenderFilter? I'm sorry, but I don't know iTextSharp very well. Could you give me an example of code? There's an example on page 522. http://itextpdf.com/book/ Please don't answer to people

Re: [iText-questions] PdfPCell.setBackgroundColor() - alpha has no effect

2010-10-29 Thread 1T3XT info
On 29/10/2010 10:53, Kenneth Barron wrote: I am trying to set the alpha level of a color using PdfPCell.setBackgroundColor() I have tried with both the int and float signatures, setting the 4th parameter (alpha) to different valid numbers, but the alpha seems to have no effect on the color.

Re: [iText-questions] Upgrading to iText 2.1.7 and newPage

2010-10-28 Thread 1T3XT info
On 28/10/2010 6:15, Carmen Grantham wrote: Hi, I'm upgrading from iText 1.4.6 to 2.1.7 but I've found that how newPage works has changed. From what I've read if there is no content on the page then calling newPage() does not add a new page. However, in 2.1.7 it is always creating a new

Re: [iText-questions] how to use Element.ALIGN_JUSTIFIED in one line in ColumnText?

2010-10-28 Thread 1T3XT info
On 28/10/2010 9:23, forest wrote: Dear Bob Barnes, Thank you very much,DottedLineSeparator is what I want ,just what DottedLineSeparator draw is not like '.' which looks like a tiny triangle.Maybe I can write my own DottedLineSeparator to make it more like circle.Thanks again. The

Re: [iText-questions] Vertical position in combined mode

2010-10-28 Thread 1T3XT info
On 28/10/2010 11:32, riffla wrote: Hi My question is about how to get a handle to the vertical position using different render modes. I try not to mix render modes. The only exception: - add content to the document with document.add() - add content using page events. If I need

Re: [iText-questions] Different PdfTemplates dynamically

2010-10-28 Thread 1T3XT info
On 28/10/2010 13:32, riffla wrote: Is it possible to add content to PdfContentbyte in the onCloseDocument using writeSelectedRows? It's not what onCloseDocument was intended for, so my first guess would be: no. This should be tested. In any case: you can't use onCloseDocument to add a new

Re: [iText-questions] Different PdfTemplates dynamically

2010-10-28 Thread 1T3XT info
On 28/10/2010 14:01, riffla wrote: I guess you´re right about one thing, I think I need to aproach this from somewhere else. But it's actually possible to create another page in the onCloseDocument. That's a side-effect I didn't know about. Note that you're not adding that page to the

Re: [iText-questions] Keeping things together in the same line

2010-10-27 Thread 1T3XT info
On 27/10/2010 8:26, riffla wrote: OK. This is a short example . And this is another example. Looking at the two sentences above, the first one is the situation I want to avoid. Looking at the position of the the period, this character alone has been pushed to a new line, in contrast to

Re: [iText-questions] Keeping things together in the same line

2010-10-27 Thread 1T3XT info
On 27/10/2010 8:38, 1T3XT info wrote: Yes, if I understand correctly, Oops, I think I wasn't awake when I wrote the previous answer. I thought you only wanted to split lines when a period was encountered. On second thoughts, you want to split lines on the last space character before each

Re: [iText-questions] iText changed document and Adobe extended features no longer available.

2010-10-27 Thread 1T3XT info
On 27/10/2010 7:32, Margaret Leonny Biggs wrote: Hi all, Most of the discussion about privileges in pdf forms seems to be about locking the thing down. No, it doesn't. Section 8.7 of the second edition of iText in Action describes what to do when you encounter this dreaded dialog:

Re: [iText-questions] How nextColumn() in MultiColumnText works?

2010-10-26 Thread 1T3XT info
On 26/10/2010 4:30, BM wrote: Hi! I am a bit puzzled how nextColumn() works. MultiColumnText is no longer mentioned in the second edition of iText in Action. Please check if you can't solve your problem with ColumnText instead. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/

Re: [iText-questions] iText-5.0.4 adding footer and table header in every page

2010-10-26 Thread 1T3XT info
On 26/10/2010 8:14, Jaya Prabahar wrote: Dear All, I am using iText-5.0.4.jar I have a clarification. I have a list of Employee status (Employee name and their status as a Bean object). I need to populate that in a table with 2 columns as follows.

Re: [iText-questions] How nextColumn() in MultiColumnText works?

2010-10-26 Thread 1T3XT info
On 26/10/2010 9:29, BM wrote: On Tue, Oct 26, 2010 at 3:47 PM, 1T3XT infoi...@1t3xt.info wrote: MultiColumnText is no longer mentioned in the second edition of iText in Action. Please check if you can't solve your problem with ColumnText instead. Really? So what it is doing in sources and

Re: [iText-questions] URGENT - ADDING PAGE NUMBER IN iText 5.0.4

2010-10-26 Thread 1T3XT info
On 26/10/2010 11:55, Jaya Prabahar wrote: Dear All, Please help me out fastly. Please understand that using the word URGENT on this list is NOT appreciated. It is the equivalent of cursing. Also note that you want a FAST answer, but you didn't even bother to subscribe to the

Re: [iText-questions] Keeping things together in the same line

2010-10-26 Thread 1T3XT info
On 26/10/2010 18:00, riffla wrote: Now I need a strategy on how to prevent situations where only a full stop (period) is moved to next row - in this case I want the preceeding word also to be moved to next row, otherwise it would look strange Can you give an example. I don't understand the

Re: [iText-questions] How to determine table row height

2010-10-26 Thread 1T3XT info
On 26/10/2010 17:26, Rod Hall wrote: Any suggestions? Is there a way to figure out the height of the row BEFORE I add it to the table? Yep, see page 103 of the second edition of iText in Action. The eBook was released last weekend, the paper version leaves the bindery next Friday:

Re: [iText-questions] Problem splitting existing PDF files

2010-10-25 Thread 1T3XT info
On 24/10/2010 19:48, Long Botond wrote: It was a little bit difficult to update (stupid inherited project), but it works like a charm. Thank you for the feedback! -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] iTextSharp - viewing PDF

2010-10-25 Thread 1T3XT info
On 25/10/2010 15:16, Dennis Delimarsky wrote: Hi guys, I was wondering if it is possible to view PDFs (in rendered format) with the help of iTextSharp? iText nor iTextSharp have PDF viewing functionality. You'll need to look for another product. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] Different PdfTemplates dynamically

2010-10-25 Thread 1T3XT info
On 25/10/2010 12:31, riffla wrote: Checking for the first page can be handled by adding the template in the overridden onEndPage method but how do I avoid adding the template to the last page not knowing which page is the last one until the document is about to close? There is no way for

Re: [iText-questions] Different PdfTemplates dynamically

2010-10-25 Thread 1T3XT info
On 25/10/2010 16:27, Nurettin DAG wrote: Therefore, what I would suggest you do is sometime between after you finish adding content to pdf and before closing the document make a call to your custom PdfPageEventHandler to set some sort of flag that coming onEndPage event is for the last page

Re: [iText-questions] Can iText do this?

2010-10-24 Thread 1T3XT info
On 24/10/2010 0:38, Todd Cuadros wrote: - User downloads a template PDF document, created by iText, from our website to the user’s desktop. OK. - The PDF contains username/password fields on 1st page, followed by a predetermined number of blank pages. OK. - Input values are sent via a

Re: [iText-questions] tabs

2010-10-23 Thread 1T3XT info
On 22/10/2010 19:00, Michael Lai wrote: I just realized that image attachments does not show in the itext archive. What I wanted to show was that the tabs does not get formatted in the pdf but does show up correctly when printing to System.out. You want something like this:

Re: [iText-questions] PDF Region to text

2010-10-23 Thread 1T3XT info
On 22/10/2010 14:04, Kurt Guttensohn wrote: So, that would be the book that comes out on Oct 28th 2010? Is there any kind of preview I can purchase ahead of time? The book has been available as a MEAP (Manning Early Access Program) since January. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] Header with newline chunk

2010-10-23 Thread 1T3XT info
On 22/10/2010 14:31, Jason Hilton wrote: Is there any reference in the First Edition? If you own the first edition, read chapter 7. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] Problem splitting existing PDF files

2010-10-23 Thread 1T3XT info
On 23/10/2010 15:51, Long Botond wrote: The first 9 pages are valid but the 10th page is unreadable by my PDF reader. What can be the problem? I know this doesn't really answer your question, but I've tried the PDF you've provided with the code that is added in attachment. I couldn't produce

Re: [iText-questions] Some UTF-8 characters doesn't appear

2010-10-22 Thread 1T3XT info
On 21/10/2010 13:49, Karoly Guba wrote: Hi! I am new in iText. What I want is to create document with cyrillic characters like this абцдефг, but these characters doesn't appear in PDF document. Can somebody tell me how to solve this? Yes, this is explained in chapter 11 of the second

Re: [iText-questions] Header with newline chunk

2010-10-22 Thread 1T3XT info
On 21/10/2010 21:23, Jason Hilton wrote: I'm trying to add a multiline header to my pdf pages, but everything I have tried seems to fail. I am using the ColumnText.ShowTextAligned method to create teh text content of my header. I've tried submitting a phrase containing multiple chunks (with

Re: [iText-questions] PDF Region to text

2010-10-22 Thread 1T3XT info
On 22/10/2010 3:01, Kurt Guttensohn US wrote: Is there a way to just get the text from a specific region of a pdf? Yes, this is explained in chapter 15 of the second edition of iText in Action. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] PDF Stamper

2010-10-21 Thread 1T3XT info
On 20/10/2010 16:41, Woolverton, Bob wrote: Thanks Leonard, but that is not much help. Yes, it is. Leonard is trying to protect you against making a bad decision. If you were the one that mad the bad decision, you should follow his advice. If somebody else made that bad decision, Leonard

Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid

2010-10-20 Thread 1T3XT info
On 20/10/2010 7:05, rajeev2012 wrote: Sir, Kindly respond, i have got stuck at this point... The question has already been answered: read chapter 8 of the second edition of iText in Action. Did the solution explained in the book work? If not, please specify. -- This answer is provided by

Re: [iText-questions] itextsharp - Add and Position Paragraph To Existing PDF File

2010-10-20 Thread 1T3XT info
On 20/10/2010 1:00, thomen wrote: Hi Guys, I'm trying to add a paragraph to an existing pdf file.. Currently we use PdfStamper and AcroFields to replace text in forms.. What I'd like to do is get the form field and use it's position to add a paragraph at that position. So! 1. How do I

Re: [iText-questions] Help files about itext please

2010-10-20 Thread 1T3XT info
http://api.itextpdf.com/ http://itextpdf.com/book/ -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and

Re: [iText-questions] iText: The document has no pages error

2010-10-20 Thread 1T3XT info
On 19/10/2010 11:01, fiurli88 wrote: Hi everybody, sorry for my bad english :) This is wrong: writer.open(); writer.add(new Paragraph(NM_PRC : + NM_PRC)); writer.close(); Where did you learn to do it this way? If you found some documentation that teaches to open the writer and use

Re: [iText-questions] questions about itext

2010-10-20 Thread 1T3XT info
On 19/10/2010 10:25, 扬 臧 wrote: hello,my name is Young,I was studing itextsharp resently,and I got serveral problems 1.how to make the catalogue for the pdf? Do you mean the Catalog object (aka the root object)? Don't worry about that object, iText creates it for you. 2.how to set a link

Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid

2010-10-19 Thread 1T3XT info
On 19/10/2010 8:15, rajeev2012 wrote: Hi Mark I have tried XFA (fill form) as well as have tried with setFields() option but it didn't work. You haven't tried the solution explained in chapter 8 of the book. It is all explained: http://itextpdf.com/book/ -- This answer is provided by 1T3XT

  1   2   3   4   5   6   7   8   9   10   >