class RubyXL::Font

www.datypic.com/sc/ooxml/e-ssml_font-1.html

Constants

MAX_DIGIT_WIDTH

Since we have no capability to load the actual fonts, we’ll have to live with the default.

Public Class Methods

default(size = 10) click to toggle source
# File lib/rubyXL/objects/font.rb, line 28
def self.default(size = 10)
  self.new(:name => RubyXL::StringValue.new(:val => 'Verdana'),
           :sz   => RubyXL::FloatValue.new(:val => size))
end