Re: [iText-questions] RTF - page numbering
Ok Mark thanks. Here it is another interesting info: My colleague who uses TxTextControl (do you know? if not, you can see http://www.textcontrol.com/) says that he isn't able to change programmatically page's numbering (special) field for all the rtf documents that I created using itext, while for rtf documents created with Word (or TxTextControl itself) with special field page'numbering he can change/edit/modify these special fields. However, I'll wait your computer's arrival :-) Best regards. Raffaele -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Hall Sent: martedì 20 febbraio 2007 21.47 To: Post all your questions about iText here Subject: Re: [iText-questions] RTF - page numbering On 20.02.2007, at 15:44, GAMBELLI Raffaele wrote: I said the code I'm suing is the same of tutorial! You said the code was almost the same as in the tutorial. This might seem like nitpicking, but especially with headers and fields that sometimes makes the difference, which is why I wanted to see the code. Also if I have no test case, I can't test anything. I'm using word 2000, but I tried also with word XP, and other viewers. Each viewer seems to behave in different way, however, with large documents, page numbering doesn't refresh correctly. The different behaviours amongst the different Word versions is unfortunately uncontrollable. You'll have to complain to Microsoft about that ;-). Refreshing of fields sometimes breaks and I don't always know why. I'll look into this case. Please, try open the rtf in attachment (generated with itext, same code as tutorial for page numbering) and look at page's numbering of the first page (see the document in a way that you can see the full page inside your screen). I hope to have a computer with Word around in the next few days, I'll have a look at it then. Greetings, Mark - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] html to pdf
HI, I am also lookin out for a HTML to PDF converter...did you get one? Please help me how you did it? nafise hasani wrote: Hi I want to convert html to pdf as I saw itext can not do this,Do you know any open source java framework that do this for me? __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions -- View this message in context: http://www.nabble.com/html-to-pdf-tf438552.html#a9077467 Sent from the iText - General mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] RTF - page numbering
A simple question: Which version of RTF is supported by itext? Thank you very much, best regards Raffaele - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] RTF - page numbering
On 21.02.2007, at 09:42, GAMBELLI Raffaele wrote: A simple question: Which version of RTF is supported by itext? iText is based on RTF version 1.6 (http://msdn2.microsoft.com/en-us/ library/aa140277(office.10).aspx). In some areas (I think tables are one) it doesn't generate fully compliant RTF 1.6 code, due to the fact that Word renders the compliant RTF incorrectly, so it has been tweaked to render correctly. Greetings, Mark - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] html to pdf
please check the following threads, HTML to PDF support is there, although as Bruno has mention before HTML is a lower priority and therefore some caveats, also check out iText v2 I believe there are now more features. http://www.nabble.com/How-to-convert-HTML-into-PDF--tf2040067.html#a5619917 http://www.nabble.com/How-to-convert-HTML-into-PDF--tf2040067.html#a5619917 http://www.nabble.com/HTML-to-PDF-tf2017091.html#a5546005 http://www.nabble.com/HTML-to-PDF-tf2017091.html#a5546005 http://www.nabble.com/HTML-Tags-in-pdf---Display-the-rendered-content-using-IText-tf2635971.html#a7359929 http://www.nabble.com/HTML-Tags-in-pdf---Display-the-rendered-content-using-IText-tf2635971.html#a7359929 nafise hasani wrote: Hi I want to convert html to pdf as I saw itext can not do this,Do you know any open source java framework that do this for me? __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions -- View this message in context: http://www.nabble.com/html-to-pdf-tf438552.html#a9078294 Sent from the iText - General mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] Clickable Images
Hi - I have a requierement to fullfill. I have an image and i want a portion from that image to be clickable. How can i do this in Itext? I tried to use anntations but that seems to be not workign for me as it makes the whole image clickable but i want portion opf the image (specific coordinates). Any input will be appriciated. Regards, Buland Little knowledge of Science takes you away from ALLAH and indepth knowledge of Science makes you a beleiver in GOD/ALLAH Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know.- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] Screen annotations
Hello, I am looking at the PdfAnnotation.createScreen method and I wonder why you chose to do movie annotation with screen instead of movie. Actually the Subtype should be movie for a movie annotation. Is there any specific reason to that. I am working on create a PdfAnnotation.createSound method and sound annotation are similar to movie annotation so it could help me to know how to implement this. Thank you - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Clickable Images
Set the image as content and the clickable area as an invisible annottation. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Buland Altaf Sent: Wednesday, February 21, 2007 1:08 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Clickable Images Hi - I have a requierement to fullfill. I have an image and i want a portion from that image to be clickable. How can i do this in Itext? I tried to use anntations but that seems to be not workign for me as it makes the whole image clickable but i want portion opf the image (specific coordinates). Any input will be appriciated. Regards, Buland Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Screen annotations
We didn't choose anything, you can create any type of annotation, all you need is the PDF reference. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Chhun Sent: Wednesday, February 21, 2007 8:14 AM To: Post all your questions about iText here Subject: [iText-questions] Screen annotations Hello, I am looking at the PdfAnnotation.createScreen method and I wonder why you chose to do movie annotation with screen instead of movie. Actually the Subtype should be movie for a movie annotation. Is there any specific reason to that. I am working on create a PdfAnnotation.createSound method and sound annotation are similar to movie annotation so it could help me to know how to implement this. Thank you Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] adobe 8 and iText1.1
There's a problem with your text creation, you have a \n at the end. It's invisible in Acrobat 7 but Acrobat 8 decided, quite correctly, to render it as an unknown character. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hanspeter schlapbach Sent: Wednesday, February 21, 2007 9:46 AM To: hanspeter schlapbach Cc: itext-questions@lists.sourceforge.net; [EMAIL PROTECTED] Subject: Re: [iText-questions] adobe 8 and iText1.1 hello a customer has a java-webapp which produces server-based-pdf-documents via iText1.1 by lowagie.com (based on itext-paulo-142) viewing those pdf-files with acrobat and acrobat reader ver. = 7 all went well (within browser ie/ffox) some days ago we made a test with acrobat / acrobat reader 8: viewing the same pdf-file shows on significant difference: in text-fields with more than one line (i.e. with CR/LF) at each end of the line is a small square-symbol printed (visible on screen and on print-out) we reported this to adobe tech. supp (switzerland /germany), but they gave just a bit an arrogant answer: pdf generated by iText, it is not our problem my question: do you have an idea, where this effect comes from? it must have something to do with acrobat, since all went well before version 8 thany you hanspeter schlapbach Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] Encrypt signed pdf
Hi, I've tryed to encrypt signed pdf document through the following code: int permissions = PdfWriter.AllowCopy | PdfWriter.AllowPrinting | dfWriter.AllowModifyContents |PdfWriter.AllowScreenReaders | PdfWriter.AllowModifyAnnotations|PdfWriter.AllowFillIn | PdfWriter.AllowAssembly |PdfWriter.AllowDegradedPrinting; PdfReader reader = new PdfReader(fileToEncryptName); FileOutputStream fos = new FileOutputStream(encryptedFileName); PdfEncryptor.encrypt(reader, fos, pass, pass, permissions, PdfWriter.STRENGTH128BITS); fos.close(); reader.close(); so the result was a successfully encrypted document. But when I decrypted it the signature became invalid. When I opened the file in Adobe Reader I got the following error: Error during signature verification. Unexpected byte range values defining scope of signed data. Details: byte range of signature is invalid Is there a way not to destroy the document's signature while I encrypt the document? Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Multiple line text in TextField
OK, this tome something harder Lets say i have a multi-line text field and i need to set line height and letter spacin for the text thet will be type in the multi-line text field for example i want the text in my text field (after typing in) to look like text in HTML textarea whit style as below textarea style=line-height:30px; letter-spacing:4px; /textarea Thanks 4 help udotirol wrote: On Mon, 2007-02-19 at 12:57 +0100, piotr stolarczyk wrote: what do i have to change in the source code so the text will be aligned to top of the text field? and how to make the text to wrap so it will be a multi-line text (like in HTML textarea) tf.setOptions( TextField.MULTILINE ); you should really read the documentation tutorial. -- Udo Rader bestsolution.at EDV Systemhaus GmbH http://www.bestsolution.at - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ -- View this message in context: http://www.nabble.com/Multiple-line-text-in-TextField-tf3254067.html#a9079301 Sent from the iText - General mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] Font size and width between characters
Hi all, I have 2 questions. Is there a way to convert the font size in mm to pt. I have a pdf file that has font size of 2.55mm and I need to know the equivalent in the pt system. Also, i am using the futura font and one of the requirements is that for a particular heading at the top of the page there is to be a greater space between each character. Is there a way I can stretch out a word by setting the distance between each character in that word? Thank you David - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] Problem adding WMF file
Hi, I am trying to add a Wmf file but Itext keeps explaining that it does not recognize the image format. I have attached an example file, my guess is that it has something to do with the header. Can someone please take a look? Thanks in advance Paul test.wmf Description: test.wmf - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Problem adding WMF file
The file header doesn't make sense. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zuijderduijn, Paul [FINT] Sent: Wednesday, February 21, 2007 2:44 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Problem adding WMF file Hi, I am trying to add a Wmf file but Itext keeps explaining that it does not recognize the image format. I have attached an example file, my guess is that it has something to do with the header. Can someone please take a look? Thanks in advance Paul Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Multiple line text in TextField
Sorry but iText can't do more than Acrobat. Can you do it in Acrobat? Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stolarczyk Piotr Sent: Wednesday, February 21, 2007 11:31 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Multiple line text in TextField OK, this tome something harder Lets say i have a multi-line text field and i need to set line height and letter spacin for the text thet will be type in the multi-line text field for example i want the text in my text field (after typing in) to look like text in HTML textarea whit style as below textarea style=line-height:30px; letter-spacing:4px; /textarea Thanks 4 help udotirol wrote: On Mon, 2007-02-19 at 12:57 +0100, piotr stolarczyk wrote: what do i have to change in the source code so the text will be aligned to top of the text field? and how to make the text to wrap so it will be a multi-line text (like in HTML textarea) tf.setOptions( TextField.MULTILINE ); you should really read the documentation tutorial. -- Udo Rader bestsolution.at EDV Systemhaus GmbH http://www.bestsolution.at -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforge CID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ -- View this message in context: http://www.nabble.com/Multiple-line-text-in-TextField-tf325406 7.html#a9079301 Sent from the iText - General mailing list archive at Nabble.com. -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforge CID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] Premature EOF in Jpeg.Java processParameters
Hi all, I have a jpeg that's causing problems. I'm not sure if it's borderline invalid or if there is an issue with the code, so here I am. I call Image.getInstance with a byte[], and get the following stack trace: java.io.IOException: Premature EOF while reading JPG. at com.lowagie.text.Jpeg.processParameters(Jpeg.java:265) at com.lowagie.text.Jpeg.init(Jpeg.java:176) at com.lowagie.text.Image.getInstance(Image.java:475) at com.gefa.services.imaging.core.shared.pdf.iTextPDFConverter.addGenericPa ge(iTextPDFConverter.java:216) at com.gefa.services.imaging.core.shared.pdf.iTextPDFConverter.convertToPDF (iTextPDFConverter.java:80) I pulled the code out(processParameters from Jpeg.java) so I could add some debugging stuff, and got the following: current shows the current byte from is.read() using Integer.toHexString(), available shows what is.available() reports. [2/21/07 10:32:04:299 EST] 0037 SystemOut O length: 11148 [2/21/07 10:32:04:299 EST] 0037 SystemOut O current: ff available: 11145 [2/21/07 10:32:04:299 EST] 0037 SystemOut O first pass [2/21/07 10:32:04:299 EST] 0037 SystemOut O current: ff available: 11127 [2/21/07 10:32:04:299 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:299 EST] 0037 SystemOut O skipping: 26 [2/21/07 10:32:04:299 EST] 0037 SystemOut O current: ff available: 11097 [2/21/07 10:32:04:299 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:299 EST] 0037 SystemOut O skipping: 119 [2/21/07 10:32:04:299 EST] 0037 SystemOut O current: ff available: 10974 [2/21/07 10:32:04:299 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:299 EST] 0037 SystemOut O skipping: 119 [2/21/07 10:32:04:299 EST] 0037 SystemOut O current: ff available: 10851 [2/21/07 10:32:04:299 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:299 EST] 0037 SystemOut O skipping: 119 [2/21/07 10:32:04:314 EST] 0037 SystemOut O current: ff available: 10728 [2/21/07 10:32:04:314 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:314 EST] 0037 SystemOut O skipping: 119 [2/21/07 10:32:04:314 EST] 0037 SystemOut O current: ff available: 10605 [2/21/07 10:32:04:314 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:314 EST] 0037 SystemOut O skipping: 119 [2/21/07 10:32:04:314 EST] 0037 SystemOut O current: ff available: 10482 [2/21/07 10:32:04:314 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:314 EST] 0037 SystemOut O skipping: 119 [2/21/07 10:32:04:314 EST] 0037 SystemOut O current: ff available: 10359 [2/21/07 10:32:04:314 EST] 0037 SystemOut O M_APPE [2/21/07 10:32:04:314 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:314 EST] 0037 SystemOut O skipping: 9 [2/21/07 10:32:04:314 EST] 0037 SystemOut O current: ff available: 10223 [2/21/07 10:32:04:314 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:314 EST] 0037 SystemOut O skipping: 130 [2/21/07 10:32:04:314 EST] 0037 SystemOut O current: ff available: 10089 [2/21/07 10:32:04:314 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:314 EST] 0037 SystemOut O skipping: 29 [2/21/07 10:32:04:314 EST] 0037 SystemOut O current: ff available: 10056 [2/21/07 10:32:04:314 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:314 EST] 0037 SystemOut O skipping: 179 [2/21/07 10:32:04:314 EST] 0037 SystemOut O current: ff available: 9873 [2/21/07 10:32:04:314 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:314 EST] 0037 SystemOut O skipping: 6 [2/21/07 10:32:04:330 EST] 0037 SystemOut O current: 8b available: 9863 [2/21/07 10:32:04:330 EST] 0037 SystemOut O current: ca available: 9862 ... [2/21/07 10:32:04:861 EST] 0037 SystemOut O current: 5a available: 8969 [2/21/07 10:32:04:861 EST] 0037 SystemOut O current: 60 available: 8968 [2/21/07 10:32:04:861 EST] 0037 SystemOut O current: 81 available: 8967 [2/21/07 10:32:04:861 EST] 0037 SystemOut O current: 69 available: 8966 [2/21/07 10:32:04:861 EST] 0037 SystemOut O current: ff available: 8965 [2/21/07 10:32:04:861 EST] 0037 SystemOut O noparam_marker [2/21/07 10:32:04:861 EST] 0037 SystemOut O skipping: 26200 [2/21/07 10:32:04:877 EST] 0037 SystemOut O current: available: 0 [2/21/07 10:32:04:877 EST] 0037 LoggerBeanE com.triteksol.util.LoggerBean error Error creating document: Premature EOF while reading JPG. java.lang.Exception: Premature EOF while reading JPG. at com.gefa.services.imaging.core.shared.pdf.iTextPDFConverter.processParam eters(iTextPDFConverter.java:403) at com.gefa.services.imaging.core.shared.pdf.iTextPDFConverter.convertToPDF (iTextPDFConverter.java:78) at
Re: [iText-questions] Acrobat Reader 7 vs. Acrobar Reader 8
Thanks a lot Mark. Your fix has worked amazingly well. Many thanks and regards Murthy Mark Storer [EMAIL PROTECTED] wrote: And that works in Reader 7? Huh. Looking at the Manipulating existing PDF documents example, AddWatermarkPageNumbers in the tutorial section, I see that you've neglected calls to under.beginText() and under.endText()... which is pretty basic and I'm a bit embarassed I didn't catch it earlier. So your code should look something like: under = stamp.getUnderContent(1); under.beginText(); // new *** under.setFontAndSize(bf, 9); under.showTextAligned(PdfContentByte.ALIGN_LEFT, TEST, 320.0f,730.0f, 0); under.endText(); // new *** stamp.close(); Your form may still be Reader Enabled, meaning you'll have to strip out the ability to save the form from reader and such things that may be present in a federal form... again, reffer to the previously mentioned thread: Acrobat 8 Some PDFs, starting February 17th by Edwin S. Ramirez. Here's the archive link: http://news.gmane.org/gmane.comp.java.lib.itext.general --Mark Storer Senior Software Engineer Cardiff.com #include disclaimer typedef std::DisclaimerCardiff DisCard; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of murthy gandikota Sent: Tuesday, February 20, 2007 4:00 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Acrobat Reader 7 vs. Acrobar Reader 8 I don't know what reader enabled means. To guess, the form can be opened in Acrobat reader. In fact it is a (US) Federal application which is distributed all over the WWW. Basically, I am stuck with that form and FDF is not an option. The error I get in Acrobat 8 is: An Error Exists on this Page; Acrobat may not display the page correctly When I open the what I think is the filled form, all I see is the original form without the text stamped on it. Mark Storer [EMAIL PROTECTED] wrote: This sounds an awful lot like something that just came up. Is the form in question Reader Enabled? iText breaks 'enabled' forms, any change will, unless you know exactly how to update the docment-level rights. iText does not, Acrobat 8 does. Option 1: Remove the rights from the source form. Option 2: Remove them programatically within iText. Check the list archives over the last week, the details are there. If you're stuck with that particular form, and need to set values, you might be able to use an FDF instead of creating an entire PDF. FDF files contain field/value pairs and a URL to the source form. You can stuff other things in them as well, but that's what they're used for most often. If your source form is not reader-enabled, then we'll need more information. Can you tell us the exact text of the error message from reader 8? A URL to a copy of your modified form would also be helpful. --Mark Storer Senior Software Engineer Cardiff.com #include disclaimer typedef std::DisclaimerCardiff DisCard; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of murthy gandikota Sent: Tuesday, February 20, 2007 3:32 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Acrobat Reader 7 vs. Acrobar Reader 8 I start with a PDF form. Here is how the code looks: String pdfApp=form.pdf; String pdfFile=filledform.pdf; PdfReader reader = new PdfReader(pdfApp); int n = reader.getNumberOfPages(); PdfStamper stamp = new PdfStamper(reader, new FileOutputStream(pdfFile)); PdfContentByte under; BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA, BaseFont.WINANSI, BaseFont.EMBEDDED); under = stamp.getUnderContent(1); under.setFontAndSize(bf, 9); under.showTextAligned(PdfContentByte.ALIGN_LEFT, TEST, 320.0f,730.0f, 0); stamp.close(); Mark Storer [EMAIL PROTECTED] wrote: I'm afraid we need a LOT more information if we're going to help you. What did you start with, what are you trying to build, how? We have no crystal balls here. Help us help you. --Mark Storer Senior Software Engineer Cardiff.com #include disclaimer typedef std::DisclaimerCardiff DisCard; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of murthy gandikota Sent: Tuesday, February 20, 2007 3:19 PM To: iText-questions@lists.sourceforge.net Subject: [iText-questions] Acrobat Reader 7 vs. Acrobar Reader 8 The PDF's generated open fine in Acrobat Reader Version 7 but not in Acrobat Reader Version 8. Does anyone have this problem? Murthy - Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. -
[iText-questions] Problem with PdfWriter..
Hi, I am using itext to merge different pdf into a single document. In that process, I am creating book marks, headers, footers. The input pdf that am merging could be in any type in the sense like it could be upside down or it could be magnifed. Accordingly I am writing the code like example below PdfImportedPage page = writer.getImportedPage(reader, i); cb.addTemplate(page, 1f, 0, 0, 1f, 0, -5); And also there is other code which deals with transformations , scaling etc. My problem is , while am using writer.getImportedPage am losing all the interactive components like anchors etc which i dont want to. If I use PdfCopy, I am not able to translate or roate or scale. I am not sure how to deal this situaition and it would be really helpful for me if somebody helps to resolve this issue. Regards, Peter - Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta.- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Problem with PdfWriter..
What you want to do can't be done unless you do a lot of code and are ready to accept many restrictions regarding the kind of transformations allowed. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of parvez ahmed Sent: Wednesday, February 21, 2007 5:15 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Problem with PdfWriter.. Hi, I am using itext to merge different pdf into a single document. In that process, I am creating book marks, headers, footers. The input pdf that am merging could be in any type in the sense like it could be upside down or it could be magnifed. Accordingly I am writing the code like example below PdfImportedPage page = writer.getImportedPage(reader, i); cb.addTemplate(page, 1f, 0, 0, 1f, 0, -5); And also there is other code which deals with transformations , scaling etc. My problem is , while am using writer.getImportedPage am losing all the interactive components like anchors etc which i dont want to. If I use PdfCopy, I am not able to translate or roate or scale. I am not sure how to deal this situaition and it would be really helpful for me if somebody helps to resolve this issue. Regards, Peter Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Problem with PdfWriter..
Paulo, Lot of code?? Could you guide me the way of my approach? Peter - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Font size and width between characters
if you assume a dpi value for your document eg 72 dpi you can calculate your font pt size, you would get 7.23pt As for tracking, if you place text in a template you can set template.setCharacterSpace(x) This shows you how to use a template http://www.nabble.com/Rotate-a-PDFContentByte-Rectangle--tf3237657.html http://www.nabble.com/Rotate-a-PDFContentByte-Rectangle--tf3237657.html adding this code after template.fill() shows you how to use text: FontFactory.registerDirectories(); Font f = FontFactory.getFont(Verdana, BaseFont.CP1252, BaseFont.EMBEDDED, 12f, Font.NORMAL); template.beginText(); template.setColorFill(Color.BLACK); template.setCharacterSpacing(15f); template.setFontAndSize(f.getBaseFont(), f.size()); template.showTextAligned(PdfContentByte.ALIGN_LEFT, Hello world, 50, 50, 0); template.endText(); david allen wrote: Hi all, I have 2 questions. Is there a way to convert the font size in mm to pt. I have a pdf file that has font size of 2.55mm and I need to know the equivalent in the pt system. Also, i am using the futura font and one of the requirements is that for a particular heading at the top of the page there is to be a greater space between each character. Is there a way I can stretch out a word by setting the distance between each character in that word? Thank you David - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ -- View this message in context: http://www.nabble.com/Font-size-and-width-between-characters-tf3267478.html#a9085919 Sent from the iText - General mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Font size and width between characters
With just slightly more detail: there are 72 points per inch and 25.4 mm per inch. So, each mm = 2.83 points and your 2.55mm is 7.23 pt as porcupine points out. ---Mister Bean porcupine wrote: if you assume a dpi value for your document eg 72 dpi you can calculate your font pt size, you would get 7.23pt As for tracking, if you place text in a template you can set template.setCharacterSpace(x) This shows you how to use a template http://www.nabble.com/Rotate-a-PDFContentByte-Rectangle--tf3237657.html http://www.nabble.com/Rotate-a-PDFContentByte-Rectangle--tf3237657.html adding this code after template.fill() shows you how to use text: FontFactory.registerDirectories(); Font f = FontFactory.getFont(Verdana, BaseFont.CP1252, BaseFont.EMBEDDED, 12f, Font.NORMAL); template.beginText(); template.setColorFill(Color.BLACK); template.setCharacterSpacing(15f); template.setFontAndSize(f.getBaseFont(), f.size()); template.showTextAligned(PdfContentByte.ALIGN_LEFT, Hello world, 50, 50, 0); template.endText(); david allen wrote: Hi all, I have 2 questions. Is there a way to convert the font size in mm to pt. I have a pdf file that has font size of 2.55mm and I need to know the equivalent in the pt system. Also, i am using the futura font and one of the requirements is that for a particular heading at the top of the page there is to be a greater space between each character. Is there a way I can stretch out a word by setting the distance between each character in that word? Thank you David - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ -- View this message in context: http://www.nabble.com/Font-size-and-width-between-characters-tf3267478.html#a9086099 Sent from the iText - General mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] NullPointerException in RtfDocument.filterSpecialChar
Hi, In my application today I got the error when converting the attached html file to rtf. Caused by: java.lang.NullPointerException at com.lowagie.text.rtf.document.RtfDocument.filterSpecialChar(RtfDocument.java:218) at com.lowagie.text.rtf.field.RtfAnchor.writeFieldInstContent(RtfAnchor.java:107) at com.lowagie.text.rtf.field.RtfField.write(RtfField.java:319) at com.lowagie.text.rtf.list.RtfListItem.write(RtfListItem.java:106) at com.lowagie.text.rtf.list.RtfList.write(RtfList.java:465) at com.lowagie.text.rtf.text.RtfPhrase.write(RtfPhrase.java:157) at com.lowagie.text.rtf.document.RtfDocument.add(RtfDocument.java:169) at com.lowagie.text.rtf.RtfWriter2.add(RtfWriter2.java:188) at com.lowagie.text.Document.add(Unknown Source) at com.complinet.html.converter.renderer.Renderer.add(Renderer.java:57) ... 26 more So as the first line of the function on line 217 (com.lowagie.text.rtf.document.RtfDocument.filterSpecialChar) I added one line. public String filterSpecialChar(String str, boolean useHex, boolean softLineBreaks) { if (str == null) return ; // added by me That solved my problem. I just wanted to let you know. Thanks. 2006/07 Perimeter Guidance (Property and Land Investment Schemes) Instrument 2006 Powers exercised The Financial Services Authority makes this instrument in the exercise of its powers under section 157(1) (Guidance) of the Financial Services and Markets Act 2000. Commencement This instrument comes into force on 6 March 2006. Amendments to Perimeter guidance General guidance on FSA regulatory perimeter issues, amending the Perimeter Guidance manual, is made in the form set out in the Annex to this instrument. This general guidance does not form part of the FSA Handbook. Citation This instrument may be cited as the Perimeter Guidance (Property and Land Investment Schemes) Instrument 2006. By order of the Board 23 February 2006 © Financial Services Authority 2006 All rights reserved moo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] Signing
Hello! Can I create PDF with signing permition onlly? Thanks. -- Vinícius Vieira - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Signing
Can you create it with Acrobat? Paulo - Original Message - From: Vinicius Vieira [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Wednesday, February 21, 2007 7:19 PM Subject: [iText-questions] Signing Hello! Can I create PDF with signing permition onlly? Thanks. -- Vinícius Vieira - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] New Document
When creating a new Document object is there a way to set the proper page label? What I am doing is splitting a multiple page document and want to keep the PageLabel in the single newly created document. IE I have one doc with 10 pages, real page numbers are 20-29, when I split I want the new document(s) to have the page number 20 and so on. I see there is many other things I can set but just cant seem to find a way to do the page numbers/pagelabels. Thanks Dean - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Problem with PdfWriter..
- Original Message - From: Peter [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Wednesday, February 21, 2007 5:52 PM Subject: Re: [iText-questions] Problem with PdfWriter.. Paulo, Lot of code?? Could you guide me the way of my approach? When you transform the page you also have to transform the annotations and duplicate them from one document to the other. Paulo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] New Document
PdfWriter.sePageLabels() Paulo - Original Message - From: Dean Krueger [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Wednesday, February 21, 2007 9:12 PM Subject: [iText-questions] New Document When creating a new Document object is there a way to set the proper page label? What I am doing is splitting a multiple page document and want to keep the PageLabel in the single newly created document. IE I have one doc with 10 pages, real page numbers are 20-29, when I split I want the new document(s) to have the page number 20 and so on. I see there is many other things I can set but just cant seem to find a way to do the page numbers/pagelabels. Thanks Dean - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Signing
Hello! Can I create PDF with signing permition onlly? Thanks. I think you want to grant the AllowFillIn permission. Table 3.20 (in the version I'm looking at) of the Pdf spec lays out exactly what each permission flag means. You can cross-reference those with the PdfReader source file to make sure you're using the one you want. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] Horizontal Line hr
Hi! I would like to insert a horizontal line between elements. Like this: aDocument.add(aPdfPTable); // add horizontal line here aDocument.add(anotherPdfPTable); How do I do this? Any help appreciated, thanks! - Stava rätt! Stava lätt! Yahoo! Mails stavkontroll tar hand om tryckfelen och mycket mer! Få den på http://se.mail.yahoo.com- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
[iText-questions] setFullCompression
does setFullCompression remove page redundancy ? We are merging multipage PDF into a single PDF and need to get the filesize to a minimum. Does setFullCompression remove the duplication of pages within the PDF ? -- Ben Marchbanks ::: alQemy ::: transforming information into intelligence http://www.alQemy.com ::: magazooms ::: digital magazines http://www.magazooms.com Greenville, SC 864.284.9918 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] setFullCompression
Ben Marchbanks wrote: does setFullCompression remove page redundancy ? No. setFullCompression compresses more than just the page streams. It's something that was introduced in PDF 1.5. Note that setFullCompression can in some cases result in a bigger file size. br, Bruno - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] Horizontal Line hr
dev wrote: Hi! I would like to insert a horizontal line between elements. Like this: aDocument.add(aPdfPTable); // add horizontal line here aDocument.add(anotherPdfPTable); How do I do this? Any help appreciated, thanks! There are too many answers to this question. You could use table events to draw a line under the table. You could get the Y position from PdfWriter and draw the line to the direct content. ... br, Bruno - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/