Sha256: 613a46f4456d1238bedbf69e331660e380b1b1cd064596a5ec1005bddac6aa4f

Contents?: true

Size: 487 Bytes

Versions: 5

Compression:

Stored size: 487 Bytes

Contents

module OpenXml
  module Docx
    module Elements
      class EmbedItalic < 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_italic.rb
openxml-docx-0.10.5 lib/openxml/docx/elements/embed_italic.rb
openxml-docx-0.10.4 lib/openxml/docx/elements/embed_italic.rb
openxml-docx-0.10.3 lib/openxml/docx/elements/embed_italic.rb
openxml-docx-0.10.2 lib/openxml/docx/elements/embed_italic.rb