Sha256: 568b5cad6bbf17099250f41de0bb89ff699e451929dd2281f66f6d2bc6d41312

Contents?: true

Size: 485 Bytes

Versions: 5

Compression:

Stored size: 485 Bytes

Contents

module OpenXml
  module Docx
    module Elements
      class EmbedBold < 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

5 entries across 5 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 lib/openxml/docx/elements/embed_bold.rb
openxml-docx-0.10.5 lib/openxml/docx/elements/embed_bold.rb
openxml-docx-0.10.4 lib/openxml/docx/elements/embed_bold.rb
openxml-docx-0.10.3 lib/openxml/docx/elements/embed_bold.rb
openxml-docx-0.10.2 lib/openxml/docx/elements/embed_bold.rb