Re: extracting attachments, pdftk bug?
- From: usenet@xxxxxxxxxx (Bodo `Garfield' Bellut)
- Date: Fri, 27 Jul 2007 15:55:40 GMT
chicks <sea.sbs@xxxxxxxxx> wrote:
On Jul 27, 7:06 am, Andreas Lobinger <newsretu...@xxxxxxxxxxxxx>
wrote:
pdftk 1.12?http://www.accesspdf.com/article.php/20041129175814906
It's up to version 1.41 now....
http://www.pdfhacks.com/pdftk/
Unfortunately, this doesn't compile with gcj 3.2 (as mentioned on
the download page and verified be me just right now ^_^).
Anyway, this patch (against 1.12) does the trick:
--- pdftk.cc.orig 2004-10-27 02:56:18.000000000 +0200
+++ pdftk.cc 2007-07-27 17:34:12.000000000 +0200
@@ -185,7 +185,7 @@ TK_Session::add_reader( InputPdf* input_
// store in this java object so the gc can trace it
g_dont_collect_p->addElement( reader );
- input_pdf_p->m_authorized_b= ( !reader->encrypted || reader->passwordIsOwner );
+ input_pdf_p->m_authorized_b= true;
if( !input_pdf_p->m_authorized_b ) {
open_success_b= false;
}
Thanks to Daniel from de.ctp
cu, Bodo
--
Bodo Bellut bodo@xxxxxxxxxx | USE PGP! +-----------+
Stangefolstr. 17 Fax/Mobile: just ask | (key via server |\ O---m /|
44141 Dortmund Fon: +49-700-77-BELLUT | or on request) |/---------\|
PGP: 768/FA18A639 AE 5A 47 40 5A A0 D6 15 8E 54 44 AA 8D DD 6E BD+-----------+
.
- References:
- extracting attachments, pdftk bug?
- From: Bodo `Garfield' Bellut
- Re: extracting attachments, pdftk bug?
- From: Andreas Lobinger
- Re: extracting attachments, pdftk bug?
- From: chicks
- extracting attachments, pdftk bug?
- Prev by Date: Re: extracting attachments, pdftk bug?
- Next by Date: Re: iTextSharp - PDFStamper & Barcode
- Previous by thread: Re: extracting attachments, pdftk bug?
- Index(es):
Relevant Pages
|