lib/osheet/xmlss_writer.rb
# The writer maintains a set of used xmlss styles and handles creating
# xmlss style objects as needed and manages style keys
The writer maintains a set of used xmlss styles and handles creating
xmlss style objects as needed and manages style keys
The writer maintains a set of used xmlss styles and handles creating xmlss style objects as needed and manages style keys
def column(column, &build)
      attrs = {
        :width => column.width,
        :auto_fit_width => column.autofit,
        :hidden => column.hidden
      }
      if s = @style_cache.get(column.style_class, column.format)
        attrs[:style_id] = s.id
      end
      @xmlss_workbook.column(attrs, &build)
    end
def column ( column , & build ) attrs = { :width => column . width , :auto_fit_width => column . autofit , :hidden => column . hidden } if s = @style_cache . get ( column . style_class , column . format ) attrs [ :style_id ] = s . id end @xmlss_workbook . column ( attrs , & build ) end
The writer maintains a set of used xmlss styles and handles creating
xmlss style objects as needed and manages style keys
The writer maintains a set of used xmlss styles and handles creating xmlss style objects as needed and manages style keys
column
build