github.com/shakinm/xlsReader@v0.9.12/xls/record/string.go (about)

     1  package record
     2  
     3  // STRING: String Value of a Formula
     4  
     5  var StringRecord = []byte{0x07, 0x02} // (207h)
     6  
     7  /*
     8  When a formula evaluates to a string, a STRING record occurs after the FORMULA
     9  record. If the formula is part of an array, the STRING record occurs after the ARRAY
    10  record.
    11  
    12  Record Data
    13  Offset		Name		Size		Contents
    14  --------------------------------------------
    15  4			cch			2			Length of the string
    16  6			grbit		1			0= Compressed unicode string
    17  									1= Uncompressed unicode string
    18  7			rgch		var			String
    19  */
    20  
    21  type String struct {
    22  	Cch   [2]byte
    23  	Grbit [2]byte
    24  	Rgch  []byte
    25  
    26  }