1 diff -C 3 -r orig/xpdf/pdfimages.cc xpdf-3.02/xpdf/pdfimages.cc
2 *** orig/xpdf/pdfimages.cc 2007-02-27 23:05:52.000000000 +0100
3 --- xpdf-3.02/xpdf/pdfimages.cc 2007-10-31 20:17:22.601449943 +0100
9 - // check for copy permission
10 - if (!doc->okToCopy()) {
11 - error(-1, "Copying of images from this document is not allowed.");
20 diff -C 3 -r orig/xpdf/pdftotext.cc xpdf-3.02/xpdf/pdftotext.cc
21 *** orig/xpdf/pdftotext.cc 2007-02-27 23:05:52.000000000 +0100
22 --- xpdf-3.02/xpdf/pdftotext.cc 2007-10-31 20:17:34.392224196 +0100
28 - // check for copy permission
29 - if (!doc->okToCopy()) {
30 - error(-1, "Copying of text from this document is not allowed.");
35 // construct text file name
37 textFileName = new GString(argv[2]);
39 diff -C 3 -r orig/xpdf/XPDFCore.cc xpdf-3.02/xpdf/XPDFCore.cc
40 *** orig/xpdf/XPDFCore.cc 2007-02-27 23:05:52.000000000 +0100
41 --- xpdf-3.02/xpdf/XPDFCore.cc 2007-10-31 20:18:05.370494431 +0100
44 #ifndef NO_TEXT_SELECT
45 if (selectULX != selectLRX &&
46 selectULY != selectLRY) {
47 ! if (doc->okToCopy()) {
50 ! error(-1, "Copying of text from this document is not allowed.");
56 #ifndef NO_TEXT_SELECT
57 if (selectULX != selectLRX &&
58 selectULY != selectLRY) {
66 double ulx, uly, lrx, lry;
68 - if (!doc->okToCopy()) {
71 if (getSelection(&pg, &ulx, &uly, &lrx, &lry)) {
72 //~ for multithreading: need a mutex here
73 if (currentSelection) {