Sha256: 5c87c3e0086772fbcd4f13e3275c118e038042e067635e7793d4b7a36b380555

Contents?: true

Size: 394 Bytes

Versions: 4

Compression:

Stored size: 394 Bytes

Contents

module PDF
  class Inspector
    class XObject < Inspector
      attr_accessor :page_xobjects, :xobject_streams

      def initialize
        @page_xobjects = []
        @xobject_streams = {}
      end

      def page=(page)
        @page_xobjects << page.xobjects
        page.xobjects.each do |label, stream|
          @xobject_streams[label] = stream
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pdf-inspector-1.3.0 lib/pdf/inspector/xobject.rb
pdf-inspector-1.2.1 lib/pdf/inspector/xobject.rb
pdf-inspector-1.2.0 lib/pdf/inspector/xobject.rb
pdf-inspector-1.1.0 lib/pdf/inspector/xobject.rb