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 row(row, &build)
      attrs = {
        :height => row.height,
        :auto_fit_height => row.autofit,
        :hidden => row.hidden
      }
      if s = @style_cache.get(row.style_class, row.format)
        attrs[:style_id] = s.id
      end
      @xmlss_workbook.row(attrs, &build)
    end
def row ( row , & build ) attrs = { :height => row . height , :auto_fit_height => row . autofit , :hidden => row . hidden } if s = @style_cache . get ( row . style_class , row . format ) attrs [ :style_id ] = s . id end @xmlss_workbook . row ( 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
row
build