def store_obj_chart(obj_id)   #:nodoc:
    obj_type    = 0x0005   # Object type (chart).

    options     = 0x6011
    reserved    = 0x0000

    # Add ftCmo (common object data) subobject
    sub_record  = 0x0015   # ftCmo
    sub_length  = 0x0012
    sub_data    = [obj_type, obj_id, options, reserved, reserved, reserved].pack('vvvVVV')
    data        = [sub_record, sub_length].pack('vv') + sub_data

    # Add ftEnd (end of object) subobject
    sub_record  = 0x0000   # ftNts
    sub_length  = 0x0000
    data        += [sub_record, sub_length].pack('vv')

    # Pack the record.
    record      = 0x005D   # Record identifier
    length      = 0x001A   # Bytes to follow
    header  = [record, length].pack('vv')

    append(header, data)

  end
def store_obj_chart(obj_id)   #:nodoc:
    obj_type    = 0x0005   # Object type (chart).

    options     = 0x6011
    reserved    = 0x0000

    # Add ftCmo (common object data) subobject
    sub_record  = 0x0015   # ftCmo
    sub_length  = 0x0012
    sub_data    = [obj_type, obj_id, options, reserved, reserved, reserved].pack('vvvVVV')
    data        = [sub_record, sub_length].pack('vv') + sub_data

    # Add ftEnd (end of object) subobject
    sub_record  = 0x0000   # ftNts
    sub_length  = 0x0000
    data        += [sub_record, sub_length].pack('vv')

    # Pack the record.
    record      = 0x005D   # Record identifier
    length      = 0x001A   # Bytes to follow
    header  = [record, length].pack('vv')

    append(header, data)

  end
Write the OBJ record that is part of chart records.
    obj_id     # Object ID number.