Sha256: 37e8935d6ba36c984b4da36685f5502e9bcf2248cec6d6ce546a7c5e85ac6d38
Contents?: true
Size: 655 Bytes
Versions: 2
Compression:
Stored size: 655 Bytes
Contents
# frozen_string_literal: true module Goldendocx module Documents class Settings include Goldendocx::Document XML_PATH = 'word/settings.xml' TYPE = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings' CONTENT_TYPE = 'application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml' namespace :w tag :settings concern_namespaces :mc, :o, :r, :m, :v, :w10, :w, :w14, :w15, :w16cid, :w16se, :sl ignore_namespaces :w14, :w15, :w16se, :w16cid def write_to(zos) zos.put_next_entry XML_PATH zos.write to_document_xml end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
goldendocx-0.3.0 | lib/goldendocx/documents/settings.rb |
goldendocx-0.2.3 | lib/goldendocx/documents/settings.rb |