【2019年整理】微軟Excel文件格式21漢化對照(20210127234321)_第1頁
【2019年整理】微軟Excel文件格式21漢化對照(20210127234321)_第2頁
【2019年整理】微軟Excel文件格式21漢化對照(20210127234321)_第3頁
【2019年整理】微軟Excel文件格式21漢化對照(20210127234321)_第4頁
【2019年整理】微軟Excel文件格式21漢化對照(20210127234321)_第5頁
已閱讀5頁,還剩44頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、微軟 Excel 文件格式 2.1(漢化對照) MICROSOFT EXCEL FILE FORMAT Microsoft Excel is a popular spreadsheet.It uses a file format called BIFF (Binary File Format). There are many types of BIFF records.Each has a 4 byte header.The first two bytes are an opcode that specifies the record type.The second two bytes spe

2、cify record length.Header values are stored in byte-reversed form (less significant byte first).The rest of the record is the data itself (Figure 2-1). Microsoft Excel 是一種流行的電子表格。它使用的文件格式叫做 BIFF (二進制 文件格式)。這種格式由許多類型的 BIFF 記錄構(gòu)成,每個記錄都有一個 4 字節(jié)的頭,其中 前兩個字節(jié)是指定記錄類型的操作碼, 后兩個字節(jié)指定記錄的長度。 記錄頭中的數(shù)據(jù)值以低 位到高位形式存儲 。除

3、了記錄頭以外的字節(jié)就是記錄的數(shù)據(jù)(如圖 2-1 ) Figure 2-1. BIFF record header. | 記錄頭 | 記錄體 字節(jié)編號 | 0 1 2 3 | 0 1 . 記錄內(nèi)容| XX | XX | XX | XX | XX | XX | . | 操作碼 | 長度 | 數(shù)據(jù) Each X represents a hexadecimal digit Two Xs form a byte. The least significant (low) byte of the opcode is byte 0 and the most significant (high) byte i

4、s byte 1. Similarly, the low byte of the record length field is byte 2 and the high byte is byte 3. 每個 X 代表一個十六進制數(shù)字。兩個 X 組成一個字節(jié)。編號 0、1 字節(jié)是操作碼。編號 3、 4 字節(jié)是記錄長度。 BOF (Beginning of File)文件開頭。 The first record in every spreadsheet is always of the BOF type (Figure 2-2).電子表格的第一個記錄 總是 BOF( 圖 2-2) 。 圖 2-2.

5、BOF record. | Record Header | Record Body | Byte| 0 1 2 3 | 01 2 3 | Contents| 09 | 00 | 04 | 00 | 02 | 00 | 10 | 00 | | opcode | length | version | file| | | number | type | 圖 2-2 。 BOF 記錄。 | 記錄頭 | 記錄體 | 字節(jié) | 0 1 2 3 | 0 1 2 3 | 目錄 | 09 | 00 | 04 | 00 | 02 | 00 | 10 | 00 | | 操作碼 | 長度 | 版本 | 文件 | |

6、| |編號| 類型| The first two bytes, arranged with the low byte first, show that the opcode for BOF is 09h. The second two bytes indicate that the record body is 4 bytes long. The first two bytes of the body are the version number (2 for the initial version of Excel). The last two bytes are the file type

7、. Type 10h is a worksheet file. 排在前面的兩個字節(jié)是 BOF 操作碼,這里顯示是 09H 。接下來兩個字節(jié)表明記錄體是 4 字節(jié)長。記錄體的頭兩 字節(jié)是版本號( 2 是 Excel 的初始版本) 。后兩個字節(jié)是文件類 型。 10h 表示是電子表格文件。 Relating Spreadsheet Cells to Record Data Bytes A spreadsheet appears on a screen or printout as a matrix of rectangular cells. Each column is identified by

8、a letter at its top, and each row is identified by a number. Thus cell A1 is in the first column and the first row. Cell C240 is in the third column and the 240th row. This scheme identifies cells in a way easily understood by people. However, it is not particularly convenient for computers, as they

9、 do not handle letters efficiently. They are best at dealing with binary numbers. Thus, Excel stores cell identifiers as binary numbers, that people can read as hexadecimal. The first number in the system is 0 rather than 1. Figure 2-3, which shows the form of an INTEGER record, illustrates the stor

10、age of column and row information. 電子表格的數(shù)據(jù)記錄單元格 電子表格在屏幕上顯示或以矩陣形式打印出來, 每欄的標識在其頂端, 每行都有確定的編號。 因此,單元格 A1 在第一列和第一行。單元格 C240 在第 3 欄 和第 240 行。這種有規(guī)律的 編排很容易理解。 然而, 這樣的編排不利于電腦提高信息處理效率。 電腦最好的處理方式是 使用二進制數(shù)字。因此, Excel 的存儲單元標志使用二進制數(shù)字。人們可以把二進制數(shù)字 理解為十六進制。在系統(tǒng)中第一個編號是 0 ,不是 1 。 圖 2-3 ,顯示了一個 INTEGER record (整數(shù)形式記錄) ,說明

11、了存儲的列 和行信息。 Figure 2-3. INTEGER record.圖 2-3 。整數(shù)紀錄。 | Record Header| Record Body | 總記錄頭 | 記錄機構(gòu) 字節(jié) Byte | 0 1 2 3 | 01 2 3 4 5 6 7 8 | 值 Value | 02 | 00 | 09 | 00 | 00 | 00 | 02 | 00 | 00 | 00 | 00 | 39 | 00 | | opcode | length | row | column | rgbAttr | w | | 操作碼 | 長度| 行| 列| rgbAttr |寬| Opcode 2 ind

12、icates an integer record. The length bytes show that the record body is 9 bytes long. Row 0 in the body corresponds to spreadsheet row 1. Row 1 corresponds to spreadsheet row 2, and so on. Column 2 corresponds to spreadsheet column C. Thus, Figure 2-3 deals with cell C1. The next three bytes, labele

13、d rgbAttr, specify cell attributes (Table 2-3). The final pair of bytes, (labeled w) holds the integers value. Here it is 39H or 57 decimal. Thus the record specifies that cell C1 of the spreadsheet contains an integer with the value 57. 操作碼 2 表示是一個整數(shù)記錄。長度字節(jié)的記錄表明記錄體是 9 字節(jié)長。記錄體的第 0 行 對應(yīng)于電子表格 1 行。第 1

14、行對應(yīng)電子表格 2 行,依此類推。第 2 列相對于電子表格 C 列。因此,圖 2-3 顯示的單元格是 C1 。接下來的三個字節(jié),標示為 “ rgbAttr (紅綠 藍屬性) ”指定單元格屬性(如表 2-3 所示) 。最后的字節(jié)(標記 “w” )是無符號整型 值,這里是 39H ( 16 進制)或 57(10 進制)。因此,該記錄確定單元格 C1 有一個整數(shù)值 57 。 Standard File Record Order Excel worksheet files have each record type in a predetermined position. A file need no

15、t have all types, but the ones that are present are always be in the same order. Table 2-1 lists the record types for Excel document (spreadsheet) files, in the order they would appear in a BIFF file. Table 2-2 lists the types in opcode order. Several record types in a BIFF file, namely, ROW, BLANK,

16、 INTEGER, NUMBER, LABEL, BOOLERR, FORMULA, and COLUMN DEFAULT, describe the contents of a cell. These records contain a 3 byte attribute field labeled rgbAttr. The following table describes how the bits in the field correspond to cell attributes. 標準文件記錄次序 Excel 電子表格文件在預(yù)定位置有各種類型記錄。一個文件不需要所有類型記錄,但每個 記

17、錄都以相同的次序出現(xiàn)。表 2-1 按出現(xiàn)的順序列出了 Excel 電子表格文件的記錄類型, 這些記錄總會出現(xiàn)在 BIFF 文件中。表 2-2 按操作碼次序列出了不同記錄類型。 BIFF 文件 不可缺少的記錄類型有行,空白,整數(shù),數(shù)量,標簽, BOOLERR ,公式,默認欄,單元格 內(nèi)容。這些記錄包含 3 字節(jié)的屬性字段“ rgbAttr(紅綠藍屬性) ” 。下表描述了屬性 字段的比特與對應(yīng)單元格屬性的關(guān)系。 Table 2-1. Cell Attributes 表 2-1 。單元格屬性 Byte OffsetBit DescriptionContents 字節(jié)偏移位 比特位 描述比特內(nèi)容 0

18、7 Cell is not hidden (單元格不隱藏) 0b Cell is hidden (單元格隱藏)1b 6 Cell is not locked (單元格不鎖定) 0b Cell is locked(單元格鎖定)1b 5-0 Reserved (保留), must be 0 (必需是 0)000000b 7-6 Font number (4 possible) 字體編號( 4 種可能) 5-0 Cell format code 單元格格式代碼 2 7 Cell is not shaded (單元格沒有陰影、色彩) 0b Cell is shaded (單元格有陰影、色彩) 1b H

19、EADER 頭14 6 Cell has no bottom border 單元格沒有底部邊界) 0b Cell has a bottom border 單元格有底部邊界) 1b 5 Cell has no top border 單元格沒有頂部邊界) 0b Cell has a top border 單元格有頂部邊界) 1b 4 Cell has no right border 單元格沒有右邊界) 0b Cell has a right border 單元格有右邊界) 1b 3 Cell has no left border 單元格沒有左邊界) 0b Cell has a left borde

20、r 單元格有左邊界) 1b 2-0 Cell alignment code 單元格排列代碼 general 一般 000b left 左 001b center 中 010b right 右011b fill 填滿100b Multiplan default align. 多平面默認排列 111b The font number field is a zero-based index into the documents table of fonts. the cell format code is a zero-based index into the documents table of

21、picture formats. There are 21 different standard formats. Additional custom formats may be defined by字體編號域是文檔字體表的基本索引。 單元格格式代碼是文檔圖片格式的基本索引。 加上用 戶自定義的格式有 21 個不同的標準格式。以下為字體和格式記錄的具體描述。 Table 2-2. Excel Record Type in Order of Appearance 按出現(xiàn)順序排列的 excel 記錄類型) Record Type 記錄類型 Opcode (Hexadecimal) 操作碼( 16

22、 進制) (打印列標題) 打印網(wǎng)格線 水平分頁符 垂直分頁符 默認行高 BOF (記錄頭) FILEPASS (文件密碼) INDEX (索引、目錄) CALCCOUNT (迭代計數(shù)) CALCMODE (計算模型) PRECISION (精確) REFMODE (參考模式) DELTA (第四位的) ITERATION (重復(fù)) 1904 22 BACKUP (備份) PRINT ROW HEADERS PRINT GRIDLINES HORIZONTAL PAGE BREAKS VERTICAL PAGE BREAKS DEFAULT ROW HEIGHT FONT 字體 FONT2 字體

23、 2 09 2F 0B 0C 0D 0E 0F 10 11 40 2A 2B 1B 1A 25 31 32 15 FOOTER 頁腳 LEFT MARGIN 左邊距26 RIGHT MARGIN 右邊距27 TOP MARGIN 上邊距28 BOTTOM MARGIN 下邊距 29 COLWIDTH ( col 寬) 24 16 EXTERNCOUNT 外部參考文件數(shù) EXTERNSHEET 外部參考表格 17 EXTERNNAME 外部參考名稱 23 FORMATCOUNT 格式計數(shù) 1F FORMAT 格式1E NAME 名稱18 DIMENSIONS 尺寸 00 COLUMN DEFAU

24、LT ROW 行 BLANK 空白 INTEGER 整數(shù) NUMBER 數(shù) LABEL 標簽 BOOLERR 布爾 FORMULA 公式 列預(yù)置 20 08 01 02 03 04 06 05 ARRAY 陣列21 CONTINUE 連接 STRING 字符串 TABLE 表 TABLE2 表 2 PROTECT 保護 WINDOW PROTECT PASSWORD 密碼 、/亠 NOTE 注意 WINDOW1 視窗 1 WINDOW2 視窗 2 PANE 窗格 SELECTION 選擇 視窗保護 3C 07 36 37 12 19 13 1C 3D 3E 41 1D EOF 文件結(jié)尾 0A

25、Table 2-3. Excel Record Types in Opcode Order 表 2-3 ,按照操作碼順序排列的 Excel 記錄 譯文參考表 2-2 ) Record Type Opcode (hexadecimal) DIMENSIONS 00 BLANK 01 INTEGER02 NUMBER03 LABEL 04 BOOLERR05 FORMULA06 STRING 07 ROW08 BOF09 EOF0A INDEX0B CALCCOUNT0C CALCMODE0D PRECISION0E REFMODE0F DELTA10 ITERATION11 PROTECT12

26、PASSWORD 13 HEADER14 FOOTER 15 EXTERNCOUNT16 EXTERNSHEET17 NAME 18 WINDOW PROTECT 19 VERTICAL PAGE BREAKS 1A HORIZONTAL PAGE BREAKS1B NOTE 1C 1D SELECTION FORMAT 1E FORMATCOUNT 1F COLUMN DEFAULT 20 ARRAY 21 1904 22 EXTERNNAME 23 COLWIDTH 24 DEFAULT ROW HEIGHT25 LEFT MARGIN26 RIGHT MARGIN27 TOP MARGI

27、N28 BOTTOM MARGIN29 PRINT ROW HEADERS2A PRINT GRIDLINES2B FILEPASS 2F FONT31 FONT232 TABLE36 TABLE237 CONTINUE3C WINDOW13D WINDOW23E BACKUP40 PANE41 Worksheet Record Types in Opcode Order按照操作碼順序的工作表記錄類型 The following section lists all record types in opcode order. It gives a specification and byte-b

28、y-byte breakdown of each type. Note that Excel terminology refers to spreadsheets or worksheets as documents. 下面部分按照操作碼順序列出了所有的記錄類型。 并逐個字節(jié)列出每個記錄的形式。 請注意, 這里的 Excel 是指電子表格或工作表 。 DIMENSIONS (尺寸) 00h 0d Record Type (記錄類型) : DIMENSIONS (尺寸) Description (描述) : Entire dimensions or range of a spreadsheet整

29、個層面或范圍的電子表格 Record Body Length記錄體長度 : 8 bytes 字節(jié) Record Body Byte Structure(結(jié)構(gòu)) : Byte Number 字節(jié)編號Byte Description字節(jié)描述 Contents (hex) 內(nèi)容 0-1 First row 首行 2-3 Last row plus 1 最后行加 1 4-5 First column 首列 6-7 Last column plus 1最后列加 1 Note: The last row and column in the record are both one greater than

30、the highest numbered occupied ones. 注:在記錄中最后一行和列的編號都大于實際占用的行和列的編號。 BLANK 空白 01h 1d Record Type: BLANK Description: Cell with no formula or value 沒有公式或價值的單元格 Record Body Length: 7 bytes Record Body Byte Structure: Byte Number Byte Description Contents (hex) 0-1 Row 2-3 Column 4-6 Cell attributes (rgb

31、Attr) (Table 2-3) 單元格屬性(紅綠藍屬性) INTEGER 02h 2d Record Type: INTEGER 整型 Description: Constant unsigned integer 無符號整數(shù)常量 Record Body Length: 9 bytes Record Body Byte Structure: Byte Number Byte Description Contents (hex) 0-1 Row 2-3Column 4-6Cell attributes (rgbAttr) (Table 2-3)單元格屬性(紅綠藍屬性) 7-8Unsigned

32、integer value (w)無符號整型值(寬) NUMBER 數(shù) 03h 3d Record Type: NUMBER Description: Constant floating point number恒浮點數(shù) Record Body Length: 15 bytes Record Body Byte Structure: Byte Number Byte Description Contents (hex) 0-1 Row 2-3 Column 4-6 Cell attributes (rgbAttr) (Table 2-3) 浮點數(shù)值( IEEE 格 7-14 Floating

33、point number value (IEEE format, see Appendix A) 式,見附錄 A ) LABEL 表 04h 4d Record Type: LABEL Description: Constant string 常數(shù)字符串 Record Body Length: 8 to 263 bytes 8 至 263 字節(jié) Record Body Byte Structure: Contents (hex) Byte Number Byte Description 0-1 Row 2-3 Column 4-6 Cell attributes (rgbAttr) (Tabl

34、e 2-3) Length of string 字符串長度 BOOLERR 布爾常量或錯誤值 05h 5d Record Type:BOOLERR 布爾常量或錯誤值 Description:Boolean constant or error value布爾常量或錯誤值 Record Body Length:9 bytes Record Body Byte Structure: Byte NumberByte DescriptionContents (hex) 0-1Row 2-3Column 4-6Cell attributes (rgbAttr) (Table 2-3) 7Boolean o

35、r error value布爾常量或錯誤值 Boolean 布爾常量 true 真 1 false 假 0 Error 錯誤值 #NULL! 空 0 #DIV/0! 除 0 7 #VALUE! 數(shù)值 0Fh #REF! 參考17h #NAME ? 名字1Dh #NUM! 個數(shù) 24h #N/ A 不適用的 2Ah 8Specifies Boolean or error指定布爾或錯誤 Boolean 布爾 0 Error 錯誤 1 FORMULA 公式 06h 6d Record Type:FORMULA 公式 Description:Name, size, and contents of a

36、formula cell名稱,大小和單元格公式 Record Body Length:17-272 bytes Record Body Byte Structure: Byte NumberByte DescriptionContents (hex) 0-1Row 2-3Column 4-6Cell attributes (rgbAttr) (see Table 2-3) 7 Current value of formula (IEEE format, see Appendix A) 15Recalc flag ( Recalc 標志) 16Length of parsed expressio

37、n 解析表達式的長度 17Parsed expression 解析表達式 If a formula must be recalculated whenever it is loaded, the recalc flag (byte 15) must be set. Any nonzero value is a set recalc flag. However, a flag value of 3 indicatesfollowing tables apply. recalc 標志( 15 字節(jié))必須設(shè)定。 Recalc 標志可以 如果一個公式必須重新計算時, 是任何非零值。但是,標志值是 3

38、表明該單元格是矩陣的一個組成部分,以及整個矩陣必 須重新計算。714字節(jié)可以是一個數(shù)字,一個布爾值,錯誤代碼,或者一個字符串。下面 例子是具體的應(yīng)用。 Case 1 案例 1: Bytes 7 - 14 contain a Boolean value.字節(jié) 7 - 14 包含一個布爾值。 Byte Number 7 8 9 10-12 13-14 Case 2: Bytes 7 - Byte Number 7 8 9 Byte Description otBool Reserved Boolean value Reserved 布爾 保留 布爾值 保留 fExprO 14 contain an

39、 error code. Byte Description otErr錯誤 Reserved 保留 error code 錯誤代碼 Contents (hex) FFFFh Contents (hex) 10-12 Reserved 保留 0 13-14 fExprOFFFFh Case 3: Bytes 7 - 14 contain a string. Byte Number Byte Description Contents (hex) 7 otString 字符串 8-12 Reserved 保留 13-14 fExprO FFFFh The string value itself is

40、 not stored in the field, but rather in a separate record of the STRING type. 字符串值本身并不儲存在該領(lǐng)域,而是在一個獨立的字符串類型記錄中。 STRING 字符串 07h 7d Record Type: STRING Description: Value of a string in a formula 公式中的字符串值 Record Body Length: variable 可變 Record Body Byte Structure: Byte Number Byte Description Contents

41、(hex) 0 Length of the string 1-256 (max 最大 ) The string itself字符串本身 The STRING record appears immediately after the FORMULA record that evaluates to the string, unless the formula is in an array. In that case, the string record immediately follows the ARRAY record. 字符串記錄出現(xiàn)在計算公式的字符串后,除非該公式是一個數(shù)組。 如果公式

42、是一個數(shù)組,字符串記錄出現(xiàn)在陣列記錄之后。 ROW 行 08h 8d Record Type:ROW Description: Specifies a spreadsheet row指定的電子表格行 Record Body Length: 16 bytes Record Body Byte Structure: Byte Number Byte Description Contents (hex) 0-1 Row number 行號 2-3 First defined column in the row在行中的第一列 4-5 Last defined column in the row plu

43、s 1在加 1 行中的最后一列 6-7 Row height 行高 8-9 RESERVED 留作專用的 0 10 Default cell attributes byte 默認單元格屬性字節(jié) Default attributes 默認屬性 1 Not default attributes 非默認屬性 0 11-12 Offset to cell records for this row該行單元格記錄偏移地址 13-15 Cell attributes (rgbAttr) (see Table 2-3) BOF 文件頭 09h 9d Record Type: BOF Description:

44、Beginning of file 文件開始 Record Body Length:4 bytes Record Body Byte Structure: Byte Number Byte Description Contents (hex) 0-1 Version number 版本號碼 Excel 2 Multiplan 3 2-3 Document type 文檔類型 worksheet 工作表 10h chart 圖表 20h macro sheet 宏簿 40h If bit 8 of the version number byte pair is high (mask with 0

45、100h to find out), the BIFF file is a Multiplan document. 如果版本號字節(jié)是高版本(找到掩碼 0100h )中, BIFF 文件是一個多平面文檔。 EOF 0Ah 10d Record Type: EOF Description: End of file 文件結(jié)尾 EOF 是 BIFF 文 Record Body Length: 0 bytes The EOF record is the last one in a BIFF file. It always takes the form 0A000000h. 件最后一個記錄,總是 0A00

46、0000h 。 INDEX 索引 0Bh 11d Record Type: INDEX Description: Contains pointers to other records in the BIFF file, and defines the range of rows used by the document. It is used to simplify searching a file for a particularcell or name. 包含指向其他的 BIFF 文件記錄,并確定了行所文檔使用的行范圍。它是用來 搜索特定單元格和名稱。 Record Body Length

47、:variable 可變 Record Body Byte Structure: Byte NumberByte Description Contents (hex) 0-3 Absolute file position of first NAME record 名字記錄的絕對位置 4-5 First row that exists 存在的第一行 6-7Last row that exists plus 1存在的最后行加 1 8-onArray of absolute file positions of theblocks of ROW records.行記錄區(qū)塊陣列絕 對位置。 The IN

48、DEX record is optional. If present, it must immediately follow the FILEPASS record. IF there is no FILEPASS record, it must follow the BOF record.該索引記錄是可選的。如果 有,它必須跟在 FILEPASS 記錄后。如果沒有 FILEPASS 記錄,它必須跟在 BOF 紀錄后。 CALCCOUNT 0Ch 12d 指定迭代計數(shù) Record Type: CALCCOUNT Description:Specifies the iteration coun

49、t Record Body Length: 2 Record Body Byte Structure: Byte Number Byte Description Contents (hex) 0-1 Iteration Count 迭代計數(shù) Record Type:REFMODE CALCMODE 迭代模型 0Dh 13d Record Type: CALCMODE Description:Specifies the calculation mode指定的計算模式 Record Body Length: 2 Record Body Byte Structure: Byte Number Byt

50、e Description Contents (hex) 0-1 Calculation mode 計算模式 Manual 手冊 0 Automatic 自動 1 Automatic, no tables 自動,沒有表 -1 PRECISION 0Eh 14d Record Type: PRECISION Description:Specifies precision of calculations for document指定精度計算文件 Record Body Length: 2 Record Body Byte Structure: Byte Number Byte Descriptio

51、n Contents (hex) 0-1 Document precision 文檔精度 precision as displayed 顯示精度 0 full precision 滿精度 1 REFMODE 0Fh 15d Description: Specifies location reference mode 指定位置的參考模式 Record Body Length:2 Record Body Byte Structure: Byte Number Byte Description Contents (hex) 0-1 Reference mode 指定模式 R1C1 mode 0 A1

52、 mode 1 DELTA 10h 16d Record Type:DELTA Description:Maximum change for an iterative model迭代模型的最大變動 Record Body Length:8 Record Body Byte Structure: Byte NumberByte DescriptionContents (hex) 0-7 Maximum change 最大變動 (IEEE format, see Appendix A) ITERATION 11h 17d Record Type:ITERATION Description:Spec

53、ifies whether iteration is on指定是否正在迭代 Record Body Length:2 Record Body Byte Structure: Byte Number Byte Description Contents (hex) Iteration off 迭代關(guān) 0 Iteration on 迭代開 1 PROTECT 12h 18d 0-1 Iteration flag 迭代標志 Record Type:PROTECT 保護 指定該文件是 Description:Specifies whether the document is protected with

54、 a document password 否是受密碼保護 Record Body Length:2 Record Body Byte Structure: Byte NumberByte DescriptionContents (hex) 0-1Document protection文件保護 Not protected 沒有保護 0 Protected 保護 1 PASSWORD 13h 19d Record Type:PASSWORD 密碼 Description:Contains encrypted document password包含加密文件密碼 Record Body Length:

55、2 Record Body Byte Structure: Byte NumberByte DescriptionContents (hex) 0-1Encrypted password加密密碼 HEADER 14h 20d Record Type: HEADER 頁頭 Description: Specifies header string that appears at the top of every page when the document is printed 指定每頁頭部出現(xiàn)的字符串 Record Body Length: variable 可變 Record Body Byt

56、e Structure: Byte Number Byte Description Contents (hex) 0 Length of string (bytes) 字符串長度 1-on Header string (ASCII) 字符串頭 FOOTER 15h 21d Record Type:FOOTER 頁腳 Description:Specifies footer string that appears at the bottom of every page when the document is printed指定頁腳底部出現(xiàn)的字符串 Record Body Length: var

57、iable Record Body Byte Structure: Byte Number Byte Description Contents (hex) 0 Length of string (bytes) 字符串長度 1-on Footer string (ASCII) 頁腳字符串 EXTERNCOUNT 16h 22d Record Type: EXTERNCOUNT document 指定 Excel 外部參考文件數(shù)量 Record Body Length: 2 Record Body Byte Structure: Byte NumberByte DescriptionContent

58、s (hex) 0-1Number of externally referenced documents外部參考文件數(shù)量 EXTERNSHEET17h23d Record Type: EXTERNSHEET Description:Specifies a document that is referenced externally by the Excel file. There must be an EXTERNSHEET record for every external file counted by the EXTERNCOUNT record. 指 定外部參考文件,EXTERNCOU

59、NT紀錄的每個外部文件必須有一個EXTERNSHEET記錄。 Record Body Length:variable 可變 Record Body Byte Structure: Byte NumberByte DescriptionContents (hex) 0Length of document name 文檔名長度 1-onDocument name 文檔名 The document name may be encoded. If so, its first character will be 0, 1 or 2. 0 indicates the document name is an

60、 external reference to an empty sheet. 1 indicates the document name has been translated to a less sys-tem-dependent name. This feature is valuable for documents intended for a non-DOS environment. 2 indicates that the externally referenced document is, in fact, the current document. 文件名稱可能是編碼。如果是這樣

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論