Sha256: ffa5b5040ff81f443ad7e0df16de5b7f78137b7bee6caf9055daa0a22a82a334

Contents?: true

Size: 556 Bytes

Versions: 2

Compression:

Stored size: 556 Bytes

Contents

# frozen_string_literal: true

module Goldendocx
  module Components
    module Properties
      class FontProperty
        include Goldendocx::Element

        namespace :w
        tag :rFonts

        attribute :ascii, namespace: :w, default: 'Times New Roman'
        attribute :east_asia, alias_name: :eastAsia, namespace: :w, default: '宋体'
        attribute :high_ansi, alias_name: :hAnsi, namespace: :w, default: 'Times New Roman'
        attribute :complex, alias_name: :cs, namespace: :w, default: 'Times New Roman'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
goldendocx-0.3.0 lib/goldendocx/components/properties/font_property.rb
goldendocx-0.2.3 lib/goldendocx/components/properties/font_property.rb