Sha256: bc5a2ae2543e863ccf36a86be387fc560ecc097c3f81f433d7708f492692adcb

Contents?: true

Size: 811 Bytes

Versions: 6

Compression:

Stored size: 811 Bytes

Contents

module RubyXL
  module Writer
    class RootRelsWriter < GenericWriter

      def filepath
        File.join('_rels', '.rels')
      end

      def write()
        contents = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/></Relationships>'
        contents
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
rubyXL-git-ref-6002046-2.0.0 lib/rubyXL/writer/root_rels_writer.rb
rubyXL-2.3.2 lib/rubyXL/writer/root_rels_writer.rb
rubyXL-2.3.1 lib/rubyXL/writer/root_rels_writer.rb
rubyXL-2.3.0 lib/rubyXL/writer/root_rels_writer.rb
rubyXL-2.2.0 lib/rubyXL/writer/root_rels_writer.rb
rubyXL-2.1.1 lib/rubyXL/writer/root_rels_writer.rb