Sha256: 3b4166db10b3f95d2404a8b7a5a0db42aa877dc9285039832ad67d34ef3dc3da

Contents?: true

Size: 559 Bytes

Versions: 25

Compression:

Stored size: 559 Bytes

Contents

# encoding: utf-8
module PDF
  module Core
    # This is used to differentiate strings that must be encoded as
    # a *literal* string, versus those that can be encoded in
    # the PDF hexadecimal format.
    #
    # Some features of the PDF format appear to require that literal
    # strings be used. One such feature is the /Dest key of a link
    # annotation; if a hex encoded string is used there, the links
    # do not work (as tested in Mac OS X Preview, and Adobe Acrobat
    # Reader).
    class LiteralString < String #:nodoc:
    end
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
pdf-core-0.7.0 lib/pdf/core/literal_string.rb
pdf-core-0.6.1 lib/pdf/core/literal_string.rb
pdf-core-0.6.0 lib/pdf/core/literal_string.rb
pdf-core-0.5.1 lib/pdf/core/literal_string.rb
pdf-core-0.5.0 lib/pdf/core/literal_string.rb
pdf-core-0.4.0 lib/pdf/core/literal_string.rb
pdf-core-0.3.1 lib/pdf/core/literal_string.rb
pdf-core-0.3.0 lib/pdf/core/literal_string.rb
pdf-core-0.2.5 lib/pdf/core/literal_string.rb
pdf-core-0.2.4 lib/pdf/core/literal_string.rb
pdf-core-0.2.2 lib/pdf/core/literal_string.rb
pdf-core-0.2.1 lib/pdf/core/literal_string.rb
pdf-core-0.2.0 lib/pdf/core/literal_string.rb
pdf-core-0.1.6 lib/pdf/core/literal_string.rb
pdf-core-0.1.4 lib/pdf/core/literal_string.rb
pdf-core-0.1.3 lib/pdf/core/literal_string.rb
pdf-core-0.1.1 lib/pdf/core/literal_string.rb
pdf-core-0.1.0 lib/pdf/core/literal_string.rb
pdf-core-0.0.3 lib/pdf/core/literal_string.rb
pdf-core-0.0.2 lib/pdf/core/literal_string.rb