Sha256: 3fbe33d18af5d81977f5abe364066d92880404d32c2a707290dbce28c7cdc582

Contents?: true

Size: 877 Bytes

Versions: 8

Compression:

Stored size: 877 Bytes

Contents

# encoding: utf-8
#
# Examples for document encryption.
#
require File.expand_path(File.join(File.dirname(__FILE__),
                                   %w[.. example_helper]))

Prawn::Example.generate("security.pdf", :page_size => "FOLIO") do
  
  package "security" do |p|
    
    p.example "encryption",  :eval_source => false, :full_source => true
    p.example "permissions", :eval_source => false, :full_source => true
    
    p.intro do
      prose("Security lets you control who can read the document by defining a password.

      The examples include:")

      list( "How to encrypt the document without the need for a password",
            "How to configure the regular user permitions",
            "How to require a password for the regular user",
            "How to set a owner password that bypass the document permissions"
          )
    end
    
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
prawn-1.0.0 manual/security/security.rb
prawn-0.15.0 manual/security/security.rb
prawn-0.14.0 manual/security/security.rb
prawn-0.13.2 manual/security/security.rb
prawn-0.13.1 manual/security/security.rb
prawn-0.13.0 manual/security/security.rb
prawn-1.0.0.rc2 manual/security/security.rb
nurettin-prawn-1.0.0.rc1 manual/security/security.rb