Sha256: d7ceed7b1a332549d0aaa7b354b87f8873b033f38346ae44df735aac57b1042f

Contents?: true

Size: 500 Bytes

Versions: 7

Compression:

Stored size: 500 Bytes

Contents

module OpenXml
  module Docx
    module Elements
      class EmbedBold < OpenXml::Docx::Element
        namespace :w

        with_namespace :w do
          attribute :font_key, displays_as: :fontKey, matches: /\{[0-9A-F]{8}\-[0-9A-F]{4}\-[0-9A-F]{4}\-[0-9A-F]{4}\-[0-9A-F]{12}\}/ # Regex taken from spec section 22.9.2.4
          attribute :subsetted, expects: :boolean
        end

        attribute :relationship_id, expects: :string, displays_as: :id, namespace: :r

      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
openxml-docx-0.11.5 lib/openxml/docx/elements/embed_bold.rb
openxml-docx-0.11.4 lib/openxml/docx/elements/embed_bold.rb
openxml-docx-0.11.3 lib/openxml/docx/elements/embed_bold.rb
openxml-docx-0.11.2 lib/openxml/docx/elements/embed_bold.rb
openxml-docx-0.11.1 lib/openxml/docx/elements/embed_bold.rb
openxml-docx-0.11.0 lib/openxml/docx/elements/embed_bold.rb
openxml-docx-0.11.0.rc lib/openxml/docx/elements/embed_bold.rb