Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by educated_foo (3106) on 2009.07.04 21:26 (#69255) Journal

    Note that I haven't downloaded Adobe's click-through EULA, but there's at least a chance it might un-break the module. Note that it does nothing about encryption.

    diff --git a/lib/CAM/PDF.pm b/lib/CAM/PDF.pm
    index b362280..ef0343f 100644
    --- a/lib/CAM/PDF.pm
    +++ b/lib/CAM/PDF.pm
    @@ -2677,6 +2677,7 @@ on the PDF.

      sub canPrint
      {
    + return 1;
            my $self = shift;
            return ($self->getPrefs())[$PREF_PRINT];
      }
    @@ -2690,6 +2691,7 @@ on the PDF.

      sub canModify
      {
    + return 1;
            my $self = shift;
            return ($self->getPrefs())[$PREF_MODIFY];
      }
    @@ -2703,6 +2705,7 @@ on the PDF.

      sub canCopy
      {
    + return 1;
            my $self = shift;
            return ($self->getPrefs())[$PREF_COPY];
      }
    @@ -2716,6 +2719,7 @@ on the PDF.

      sub canAdd
      {
    + return 1;
            my $self = shift;
            return ($self->getPrefs())[$PREF_ADD];
      }

    • Oh, bravo. Your 1334 skillz amaze us all.

      • It wasn't my goal, but hey, I always like having my ego stroked. However, I don't like annoying make-work restrictions in software. If you make me re-type excerpts instead of copy and pasting, or take screen captures instead of printing, you are just annoying me, not protecting your precious intellectual property. If you expect to send people a piece of text without letting them copy excerpts or print it out, you are an idiot.