def store_guts   #:nodoc:
    record      = 0x0080   # Record identifier
    length      = 0x0008   # Bytes to follow

    dxRwGut     = 0x0000   # Size of row gutter
    dxColGut    = 0x0000   # Size of col gutter

    row_level   = @outline.row_level

    # Calculate the maximum column outline level. The equivalent calculation
    # for the row outline level is carried out in set_row().
    #
    col_level = @colinfo.collect {|colinfo| colinfo.level}.max || 0

    # Set the limits for the outline levels (0 <= x <= 7).
    col_level = 0 if col_level < 0
    col_level = 7 if col_level > 7

    # The displayed level is one greater than the max outline levels
    row_level += 1 if row_level > 0
    col_level += 1 if col_level > 0

    header = [record, length].pack("vv")
    data   = [dxRwGut, dxColGut, row_level, col_level].pack("vvvv")

    prepend(header, data)
  end
def store_guts   #:nodoc:
    record      = 0x0080   # Record identifier
    length      = 0x0008   # Bytes to follow

    dxRwGut     = 0x0000   # Size of row gutter
    dxColGut    = 0x0000   # Size of col gutter

    row_level   = @outline.row_level

    # Calculate the maximum column outline level. The equivalent calculation
    # for the row outline level is carried out in set_row().
    #
    col_level = @colinfo.collect {|colinfo| colinfo.level}.max || 0

    # Set the limits for the outline levels (0 <= x <= 7).
    col_level = 0 if col_level < 0
    col_level = 7 if col_level > 7

    # The displayed level is one greater than the max outline levels
    row_level += 1 if row_level > 0
    col_level += 1 if col_level > 0

    header = [record, length].pack("vv")
    data   = [dxRwGut, dxColGut, row_level, col_level].pack("vvvv")

    prepend(header, data)
  end
Write the GUTS BIFF record. This is used to configure the gutter margins
 where Excel outline symbols are displayed. The visibility of the gutters is
 controlled by a flag in WSBOOL. See also store_wsbool().

 We are all in the gutter but some of us are looking at the stars.