Hi there.
At 2012-07-12 23:19:20,itext-questions-requ...@lists.sourceforge.net wrote:
>Send iText-questions mailing list submissions to
> itext-questions@lists.sourceforge.net
>
>To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>or, via email, send a message with subject or body 'help' to
> itext-questions-requ...@lists.sourceforge.net
>
>You can reach the person managing the list at
> itext-questions-ow...@lists.sourceforge.net
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of iText-questions digest..."
>
>
>Today's Topics:
>
> 1. Re: [SPAM] Re: iText and signing pdf fils (Andreas Kuehne)
> 2. Re: Data not printing on PDF properly. (Raf Hens)
> 3. Re: Data not printing on PDF properly. (fatjon saja)
> 4. [SPAM] Re: PdfTron (mkl)
> 5. HTML to PDF Conversion Problem (Hugh McLaughlin)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 12 Jul 2012 13:06:07 +0200
>From: Andreas Kuehne <kue...@trustable.de>
>Subject: Re: [iText-questions] [SPAM] Re: iText and signing pdf fils
>To: itext-questions@lists.sourceforge.net
>Message-ID: <4ffeaf9f.4010...@trustable.de>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Hi Paulo!
>> iText needs BC but it's possible to bypass it and create an external
>> signature (a complete CMS or CAdES) using whatever means available. If
>> using the iText signature code the provider can be explicitly selected
>> or the selection will be done using the normal Java mechanism as mkl
>> and Andreas already said.
>Yes, that's the way we went. But I didn't want come up with this
>solution to prevent confusion.
>Moreover we dropped all references to BC from the code manually to get a
>tiny applet. The hashing is done using the ever-ready Sun provider, all
>other complex / crypto stuff is delegated to our server. But I wouldn't
>take this path again, as the code is cut off from further iText
>development ...
>
>@zouzou:
>My conclusion: iText requires BC, so don't nag the applet user by
>squeezing another provider thru the wire.
>
>Greetings
>
>Andreas
>
>
>--
>Andreas K?hne
>phone: +49 177 293 24 97
>mailto: kue...@trustable.de
>
>Trustable Ltd. Niederlassung Deutschland Str?verstr. 18 - 59427 Unna
>Amtsgericht Hamm HRB 5868
>
>Directors Andreas K?hne, Heiko Veit
>
>Company UK Company No: 5218868 Registered in England and Wales
>
>
>
>
>------------------------------
>
>Message: 2
>Date: Thu, 12 Jul 2012 13:29:23 +0200
>From: Raf Hens <raf.h...@itextpdf.com>
>Subject: Re: [iText-questions] Data not printing on PDF properly.
>To: Post all your questions about iText here
> <itext-questions@lists.sourceforge.net>
>Message-ID: <4ffeb513.3000...@itextpdf.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>On 12/07/2012 6:08, santhosh kumar wrote:
>> I have a problem while printing the data to PDF. More on the problem is
>> here.
>>
>> http://stackoverflow.com/q/11429964/1098379
>
>I would be easier for the readers of this list if you'd post your
>question here instead of linking to it.
>
>Anyway, it seems you are using Flying Saucer, which is a 3rd party
>library that uses iText to generate PDF. The XHTML and CSS processing
>and rendering is done by Flying Saucer, so we can't help you there.
>iText is only used afterwards to put the rendered content to PDF.
>
>Also, you're using an ancient version of iText (2.0.8).
>
>
>You can take a look at iText's XMLWorker, which is built with iText
>5.3.0. There is a demo available:
>http://demo.itextsupport.com/xmlworker/
>
>I have attached the PDF generated from your XHTML converted with the
>online XMLWorker demo. The only change I've made is the background
>color. The bgcolor attribute is not supported, so I replaced it with
>CSS: "background-color: #4f81bd;"
>
>
>Best regards,
>Raf
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: xmlworker.pdf
>Type: application/pdf
>Size: 3050 bytes
>Desc: not available
>
>------------------------------
>
>Message: 3
>Date: Thu, 12 Jul 2012 07:32:41 -0700 (PDT)
>From: fatjon saja <fatjoni2...@yahoo.com>
>Subject: Re: [iText-questions] Data not printing on PDF properly.
>To: Post all your questions about iText here
> <itext-questions@lists.sourceforge.net>
>Message-ID:
> <1342103561.61053.yahoomail...@web160202.mail.bf1.yahoo.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hello,
>I have a question why htmlworker for me converts only firt page, i mean if
>html page is for example 4 page A4 it converts only first page why?
>thnx
>
>
>________________________________
> From: Raf Hens <raf.h...@itextpdf.com>
>To: Post all your questions about iText here
><itext-questions@lists.sourceforge.net>
>Sent: Thursday, July 12, 2012 1:29 PM
>Subject: Re: [iText-questions] Data not printing on PDF properly.
>
>On 12/07/2012 6:08, santhosh kumar wrote:
>> I have a problem while printing the data to PDF. More on the problem is
>> here.
>>
>> http://stackoverflow.com/q/11429964/1098379
>
>I would be easier for the readers of this list if you'd post your question
>here instead of linking to it.
>
>Anyway, it seems you are using Flying Saucer, which is a 3rd party library
>that uses iText to generate PDF.? The XHTML and CSS processing and rendering
>is done by Flying Saucer, so we can't help you there. iText is only used
>afterwards to put the rendered content to PDF.
>
>Also, you're using an ancient version of iText (2.0.8).
>
>
>You can take a look at iText's XMLWorker, which is built with iText 5.3.0.?
>There is a demo available:
>http://demo.itextsupport.com/xmlworker/
>
>I have attached the PDF generated from your XHTML converted with the online
>XMLWorker demo.? The only change I've made is the background color.? The
>bgcolor attribute is not supported, so I replaced it with CSS:
>"background-color: #4f81bd;"
>
>
>Best regards,
>Raf
>
>------------------------------------------------------------------------------
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>iText-questions mailing list
>iText-questions@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/itext-questions
>
>iText(R) is a registered trademark of 1T3XT BVBA.
>Many questions posted to this list can (and will) be answered with a reference
>to the iText book: http://www.itextpdf.com/book/
>Please check the keywords list before you ask for examples:
>http://itextpdf.com/themes/keywords.php
>-------------- next part --------------
>An HTML attachment was scrubbed...
>
>------------------------------
>
>Message: 4
>Date: Thu, 12 Jul 2012 07:40:42 -0700 (PDT)
>From: mkl <m...@wir-sind-cool.org>
>Subject: [iText-questions] [SPAM] Re: PdfTron
>To: itext-questions@lists.sourceforge.net
>Message-ID: <1342104042725-4655600.p...@n4.nabble.com>
>Content-Type: text/plain; charset=us-ascii
>
>Keith,
>
>keithnuix wrote
>> I have attached a redacted PDF I created with PDFTron. I run through the
>> objects in this file with iText with the following code. ...
>>
>> When getPdfObject(133) is called the following exception is thrown:
>>
>> java.io.IOException: Unexpected end of file at file pointer 33542
>
>This is funny. Just yesterday I learned about the trouble an integer as the
>final object in an object stream can cause (cf.
>http://itext-general.2136553.n4.nabble.com/PDFReader-fails-when-loading-the-PDF-tt4655546.html
>PDFReader fails when loading the PDF ), and already there is the next file
>demonstrating that trouble... ;)
>
>The troubling content is located in the object stream 66 0:
>
>67 0 ... 133 32959 <</DA (/Helv 0 Tf 0 g ) ... <</SM 0.1/TR2
>/Default>>4791
>
>The behavior of iText depends on which iText version you use (I compared 4.2
>and trunk) and on which PdfReader constructor you use (I compared
>PdfReader(String filename) and PdfReader(RandomAccessFileOrArray raf, byte
>ownerPassword[])).
>
>iText 4.2, PdfReader(String):
> Failure reading the object stream during PdfReader construction resulting
>in a InvalidPdfException: trailer not found.
>
>iText 4.2, PdfReader(RandomAccessFileOrArray, byte[]):
> Failure reading the single object 133 0 resulting in a java.io.IOException:
>Unexpected end of file.
>
>iText TRUNK, PdfReader(String):
> Reading the single object 133 0 returns null.
>
>iText TRUNK, PdfReader(RandomAccessFileOrArray, byte[]):
> Reading the single object 133 0 returns 4791.
>
>So I assume you are using an older version of iText in which integers in
>object streams still meant trouble. Looking at the above results you might
>want to consider updating.
>
>Regards, Michael
>
>PS: The different results of the two iText trunk runs are due to the
>PdfReader(String) constructor eventually removing all unused objects while
>in the other case the data is read just-in-time without usage check. In the
>light of this you might want to look into your choice of redaction tool: If
>it leaves behind unused objects, these objects might contain data which was
>hoped to be redacted out of the document.
>
>--
>View this message in context:
>http://itext-general.2136553.n4.nabble.com/PdfTron-tp4655588p4655600.html
>Sent from the iText - General mailing list archive at Nabble.com.
>
>
>
>------------------------------
>
>Message: 5
>Date: Thu, 12 Jul 2012 11:09:40 -0400
>From: "Hugh McLaughlin" <h...@kmcnetwork.com>
>Subject: [iText-questions] HTML to PDF Conversion Problem
>To: <itext-questions@lists.sourceforge.net>
>Message-ID:
> <EB7CE7FB802CA141B44491348B7202CFC4F4AD@kitty.pocanticolane.local>
>Content-Type: text/plain; charset="us-ascii"
>
>Hello Everyone and thanks for your help in advance. I amusing
>iTextSharp and xmlworker to convert HTML to PDF. I have working code
>that converts some basic HTML to PDF successfully, however, when I
>attempted to convert a particular HTML block in, it only generates a
>blank PDF. I have attached the code, HTML, and resulting PDF. Any
>insight into the problem would be greatly appreciated.
>
>
>
>Thanks
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>-------------- next part --------------
>An embedded and charset-unspecified text was scrubbed...
>Name: Working.txt
>-------------- next part --------------
>An HTML attachment was scrubbed...
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: inlineresult.pdf
>Type: application/octet-stream
>Size: 14604 bytes
>Desc: inlineresult.pdf
>
>------------------------------
>
>------------------------------------------------------------------------------
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>------------------------------
>
>_______________________________________________
>iText-questions mailing list
>iText-questions@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/itext-questions
>
>iText(R) is a registered trademark of 1T3XT BVBA
>
>End of iText-questions Digest, Vol 74, Issue 23
>***********************************************
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php