def store_dimensions   #:nodoc:
    record    = 0x0200         # Record identifier
    length    = 0x000E         # Number of bytes to follow
    reserved  = 0x0000         # Reserved by Excel

    @dimension.increment_row_max
    @dimension.increment_col_max

    header = [record, length].pack("vv")
    fields = [@dimension.row_min, @dimension.row_max, @dimension.col_min, @dimension.col_max, reserved]
    data   = fields.pack("VVvvv")

    prepend(header, data)
  end
def store_dimensions   #:nodoc:
    record    = 0x0200         # Record identifier
    length    = 0x000E         # Number of bytes to follow
    reserved  = 0x0000         # Reserved by Excel

    @dimension.increment_row_max
    @dimension.increment_col_max

    header = [record, length].pack("vv")
    fields = [@dimension.row_min, @dimension.row_max, @dimension.col_min, @dimension.col_max, reserved]
    data   = fields.pack("VVvvv")

    prepend(header, data)
  end
Writes Excel DIMENSIONS to define the area in which there is cell data.

 Notes:
   Excel stores the max row/col as row/col +1.
   Max and min values of 0 are used to indicate that no cell data.
   We set the undef member data to 0 since it is used by store_table().
   Inserting images or charts doesn't change the DIMENSION data.