Documentation ¶
Index ¶
- Variables
- type Array
- type AutofilterInfo
- type Blank
- func (r *Blank) Get() *Blank
- func (r *Blank) GetCol() [2]byte
- func (r *Blank) GetFloat64() (fl float64)
- func (r *Blank) GetInt64() (in int64)
- func (r *Blank) GetRow() [2]byte
- func (r *Blank) GetString() (str string)
- func (r *Blank) GetType() string
- func (r *Blank) GetXFIndex() int
- func (r *Blank) Read(stream []byte)
- type BoolErr
- func (r *BoolErr) GetCol() [2]byte
- func (r *BoolErr) GetFloat() float64
- func (r *BoolErr) GetFloat64() (fl float64)
- func (r *BoolErr) GetInt64() int64
- func (r *BoolErr) GetRow() [2]byte
- func (r *BoolErr) GetString() string
- func (r *BoolErr) GetType() string
- func (r *BoolErr) GetXFIndex() int
- func (r *BoolErr) Read(stream []byte)
- type BoundSheet
- type CodePage
- type Continue
- type ExtSST
- type FakeBlank
- type Format
- type Formula
- type Index
- type LabelBIFF5
- func (r *LabelBIFF5) GetCol() [2]byte
- func (r *LabelBIFF5) GetFloat64() (fl float64)
- func (r *LabelBIFF5) GetInt64() (in int64)
- func (r *LabelBIFF5) GetRow() [2]byte
- func (r *LabelBIFF5) GetString() string
- func (r *LabelBIFF5) GetType() string
- func (r *LabelBIFF5) GetXFIndex() int
- func (r *LabelBIFF5) Read(stream []byte)
- type LabelBIFF8
- func (r *LabelBIFF8) GetCol() [2]byte
- func (r *LabelBIFF8) GetFloat64() (fl float64)
- func (r *LabelBIFF8) GetInt64() (in int64)
- func (r *LabelBIFF8) GetRow() [2]byte
- func (r *LabelBIFF8) GetString() string
- func (r *LabelBIFF8) GetType() string
- func (r *LabelBIFF8) GetXFIndex() int
- func (r *LabelBIFF8) Read(stream []byte)
- type LabelSSt
- func (r *LabelSSt) GetCol() [2]byte
- func (r *LabelSSt) GetFloat64() (fl float64)
- func (r *LabelSSt) GetInt64() (in int64)
- func (r *LabelSSt) GetRow() [2]byte
- func (r *LabelSSt) GetString() string
- func (r *LabelSSt) GetType() string
- func (r *LabelSSt) GetXFIndex() int
- func (r *LabelSSt) Read(stream []byte, sst *SST)
- type MulBlank
- type MulRk
- type Number
- func (r *Number) GetCol() [2]byte
- func (r *Number) GetFloat() float64
- func (r *Number) GetFloat64() (fl float64)
- func (r *Number) GetInt64() (in int64)
- func (r *Number) GetRow() [2]byte
- func (r *Number) GetString() string
- func (r *Number) GetType() string
- func (r *Number) GetXFIndex() int
- func (r *Number) Read(stream []byte)
- type RString
- type Rk
- type Row
- type SST
- type ShareFormula
- type String
- type XF
Constants ¶
This section is empty.
Variables ¶
var ArrayRecord = []byte{0x021, 0x02} //(221h)
var AutofilterInfoRecord = [2]byte{0x9D, 0x00} //(9Dh)
var BOFMARKS = []byte{0x09, 0x08} //(809h)
var BlankRecord = []byte{0x01, 0x02} //(201h)
var BoolErrRecord = []byte{0x05, 0x02} // (205h)
var BoundSheetRecord = [2]byte{0x85, 0x00} //(85h)
This record stores the sheet name, sheet type, and stream position
var CodePageRecord = [2]byte{0x42, 0x00} //(42h)
CODEPAGE: Default Code Page
var ContinueRecord = [2]byte{0x3c, 0x00} //(0x3c)
CONTINUE: Continues Long Records
var EOFRecord = [2]byte{0x0A, 0x00} //(0Ah)
EOF : End of File00
var ExtSstRecord = [2]byte{0xFF, 0x00} //(FFh)
var FlagBIFF5 = []byte{0x00, 0x05}
var FlagBIFF8 = []byte{0x00, 0x06}
Record Data — BIFF8
Offset Field Name Size Contents -------------------------------------------- 4 vers 2 Version number:
=0600 for BIFF8
6 dt 2 Substream type:
0005h = Workbook globals 0006h = Visual Basic module 0010h = Worksheet or dialog sheet 0020h = Chart 0040h = Excel 4.0 macro sheet 0100h = Workspace file
8 rupBuild 2 Build identifier (=0DBBh for Excel 97) 10 rupYear 2 Build year (=07CCh for Excel 97) 12 bfh 4 File history flags 16 sfo 4 Lowest BIFF version (see text)
The rupBuild and rupYear fields contain numbers that identify the version (build)
of Excel that wrote the file. If you write a BIFF file, you can use the BiffView utility to determine the current values of these fields by examining a BOF record in a workbook file.
The sfo structure contains the earliest version ( vers structure) of Excel that can read all
records in this file.
The bfh structure contains the following flag bits:
Bits Mask Flag Name Contents -------------------------------------------- 0 00000001h fWin =1 if the file was last edited by Excel for Windows 1 00000002h fRisc =1 if the file was last edited by Excel on a RISC platform 2 00000004h fBeta =1 if the file was last edited by a beta version of Excel 3 00000008h fWinAny =1 if the file has ever been edited by Excel for Windows 4 00000010h fMacAny =1 if the file has ever been edited by Excel for the Macintosh 5 00000020h fBetaAny =1 if the file has ever been edited by a beta version of Excel 7–6 000000C0h (Reserved) Reserved; must be 0 (zero) 8 00000100h fRiscAny =1 if the file has ever been edited by Excel on a RISC platform 31–9 FFFFFE00 (Reserved) Reserved; must be 0 (zero)
var FormatRecord = []byte{0x1E, 0x04} //(41Eh)
var FormulaRecord = []byte{0x06, 0x00} // (6h)
var IndexRecord = [2]byte{0x02, 0x0B} // (20Bh)
var LabelRecord = []byte{0x04, 0x02} //(204h)
var LabelSStRecord = []byte{0xFD, 0x00} //(FDh)
var MulBlankRecord = []byte{0xBE, 0x00} // (BEh)
var MulRKRecord = []byte{0xBD, 0x00} // (BDh)
var NumberRecord = []byte{0x03, 0x02} //(203h)
var RStringRecord = []byte{0xD6, 0x00} // (D6h)
var RkRecord = []byte{0x7E, 0x02} //(7Eh)
var RowRecord = []byte{0x08, 0x02} // (208h)
var SSTRecord = [2]byte{0xFC, 0x00} //(FCh)
var StringRecord = []byte{0x07, 0x02} // (207h)
var XFRecord = []byte{0xE0, 0x00} //(E0h)
Functions ¶
This section is empty.
Types ¶
type AutofilterInfo ¶
type AutofilterInfo struct {
// contains filtered or unexported fields
}
func (*AutofilterInfo) GetCountEntries ¶
func (r *AutofilterInfo) GetCountEntries() uint16
func (*AutofilterInfo) Read ¶
func (r *AutofilterInfo) Read(stream []byte)
type Blank ¶
type Blank struct {
// contains filtered or unexported fields
}
func (*Blank) GetFloat64 ¶
func (*Blank) GetXFIndex ¶
type BoolErr ¶
type BoolErr struct {
// contains filtered or unexported fields
}
func (*BoolErr) GetFloat64 ¶
func (*BoolErr) GetXFIndex ¶
type BoundSheet ¶
type BoundSheet struct { LbPlyPos [4]byte Grbit [2]byte Cch [1]byte Rgch []byte // contains filtered or unexported fields }
func (*BoundSheet) GetName ¶
func (r *BoundSheet) GetName() string
func (*BoundSheet) Read ¶
func (r *BoundSheet) Read(stream []byte, vers []byte)
type ExtSST ¶
type ExtSST struct {
// contains filtered or unexported fields
}
func (*ExtSST) GetRgisstinf ¶
type FakeBlank ¶
type FakeBlank struct { }
func (*FakeBlank) GetFloat64 ¶
func (*FakeBlank) GetXFIndex ¶
type Formula ¶
type Formula struct {
// contains filtered or unexported fields
}
func (*Formula) GetXFIndex ¶
type LabelBIFF5 ¶
type LabelBIFF5 struct {
// contains filtered or unexported fields
}
func (*LabelBIFF5) GetCol ¶
func (r *LabelBIFF5) GetCol() [2]byte
func (*LabelBIFF5) GetFloat64 ¶
func (r *LabelBIFF5) GetFloat64() (fl float64)
func (*LabelBIFF5) GetInt64 ¶
func (r *LabelBIFF5) GetInt64() (in int64)
func (*LabelBIFF5) GetRow ¶
func (r *LabelBIFF5) GetRow() [2]byte
func (*LabelBIFF5) GetString ¶
func (r *LabelBIFF5) GetString() string
func (*LabelBIFF5) GetType ¶
func (r *LabelBIFF5) GetType() string
func (*LabelBIFF5) GetXFIndex ¶
func (r *LabelBIFF5) GetXFIndex() int
func (*LabelBIFF5) Read ¶
func (r *LabelBIFF5) Read(stream []byte)
type LabelBIFF8 ¶
type LabelBIFF8 struct {
// contains filtered or unexported fields
}
func (*LabelBIFF8) GetCol ¶
func (r *LabelBIFF8) GetCol() [2]byte
func (*LabelBIFF8) GetFloat64 ¶
func (r *LabelBIFF8) GetFloat64() (fl float64)
func (*LabelBIFF8) GetInt64 ¶
func (r *LabelBIFF8) GetInt64() (in int64)
func (*LabelBIFF8) GetRow ¶
func (r *LabelBIFF8) GetRow() [2]byte
func (*LabelBIFF8) GetString ¶
func (r *LabelBIFF8) GetString() string
func (*LabelBIFF8) GetType ¶
func (r *LabelBIFF8) GetType() string
func (*LabelBIFF8) GetXFIndex ¶
func (r *LabelBIFF8) GetXFIndex() int
func (*LabelBIFF8) Read ¶
func (r *LabelBIFF8) Read(stream []byte)
type LabelSSt ¶
type LabelSSt struct {
// contains filtered or unexported fields
}
func (*LabelSSt) GetFloat64 ¶
func (*LabelSSt) GetXFIndex ¶
type MulBlank ¶
type MulBlank struct {
// contains filtered or unexported fields
}
func (*MulBlank) GetArrayBlRecord ¶
type MulRk ¶
type MulRk struct {
// contains filtered or unexported fields
}
func (*MulRk) GetArrayRKRecord ¶
type Number ¶
type Number struct {
// contains filtered or unexported fields
}
func (*Number) GetFloat64 ¶
func (*Number) GetXFIndex ¶
type Rk ¶
type Rk struct {
// contains filtered or unexported fields
}
func (*Rk) GetFloat64 ¶
func (*Rk) GetXFIndex ¶
type SST ¶
type ShareFormula ¶
type ShareFormula struct {}