Sha256: 80553e70d20bd31478d13be24b9e639ea67cc823169a668ece06055446330821

Contents?: true

Size: 547 Bytes

Versions: 10

Compression:

Stored size: 547 Bytes

Contents

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

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

          def initialize
            super('styles.xml')
          end

          def root_element_node
            document_styles
          end

          def document_styles
            @document_styles ||= Office::DocumentStyles.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/styles_doc.rb
berkeley_library-tind-0.7.1 lib/berkeley_library/util/ods/xml/styles_doc.rb
berkeley_library-tind-0.7.0 lib/berkeley_library/util/ods/xml/styles_doc.rb
berkeley_library-tind-0.6.0 lib/berkeley_library/util/ods/xml/styles_doc.rb
berkeley_library-tind-0.5.1 lib/berkeley_library/util/ods/xml/styles_doc.rb
berkeley_library-tind-0.5.0 lib/berkeley_library/util/ods/xml/styles_doc.rb
berkeley_library-tind-0.4.3 lib/berkeley_library/util/ods/xml/styles_doc.rb
berkeley_library-tind-0.4.2 lib/berkeley_library/util/ods/xml/styles_doc.rb
berkeley_library-tind-0.4.1 lib/berkeley_library/util/ods/xml/styles_doc.rb
berkeley_library-tind-0.4.0 lib/berkeley_library/util/ods/xml/styles_doc.rb