Sha256: f716ec87c7a1a869a26e02b69c91f99757bd0d2fa58cdf4da4a0b47d0d2d048a

Contents?: true

Size: 554 Bytes

Versions: 10

Compression:

Stored size: 554 Bytes

Contents

require 'nokogiri'
require 'berkeley_library/util/ods/xml/document_node'
require 'berkeley_library/util/ods/xml/office/document_content'

module BerkeleyLibrary
  module Util
    module ODS
      module XML
        class ContentDoc < DocumentNode

          def initialize
            super('content.xml')
          end

          def root_element_node
            document_content
          end

          def document_content
            @document_content ||= Office::DocumentContent.new(doc: doc)
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
berkeley_library-tind-0.7.2 lib/berkeley_library/util/ods/xml/content_doc.rb
berkeley_library-tind-0.7.1 lib/berkeley_library/util/ods/xml/content_doc.rb
berkeley_library-tind-0.7.0 lib/berkeley_library/util/ods/xml/content_doc.rb
berkeley_library-tind-0.6.0 lib/berkeley_library/util/ods/xml/content_doc.rb
berkeley_library-tind-0.5.1 lib/berkeley_library/util/ods/xml/content_doc.rb
berkeley_library-tind-0.5.0 lib/berkeley_library/util/ods/xml/content_doc.rb
berkeley_library-tind-0.4.3 lib/berkeley_library/util/ods/xml/content_doc.rb
berkeley_library-tind-0.4.2 lib/berkeley_library/util/ods/xml/content_doc.rb
berkeley_library-tind-0.4.1 lib/berkeley_library/util/ods/xml/content_doc.rb
berkeley_library-tind-0.4.0 lib/berkeley_library/util/ods/xml/content_doc.rb