Parent of almost all other classes in the package.
For more information about this class, see The BaseObject Class.
Contents of a “workbook”.
For more information about this class, see Book.
Contains the data for one cell.
For more information about this class, see Cell.
Utility function: (5, 7) => ‘H6’
Utility function: (5, 7) => ‘$H$6’
Width and default formatting information that applies to one or more columns in a sheet.
For more information about this class, see Colinfo.
Utility function: 7 => ‘H’, 27 => ‘AB’
For debugging and analysis: summarise the file’s BIFF records. I.e. produce a sorted file of (record_name, count).
Parameters: |
|
---|
For debugging: dump the file’s BIFF records in char & hex.
Parameters: |
|
---|
There is one and only one instance of an empty cell – it’s a singleton. This is it. You may use a test like “acell is empty_cell”.
This mixin class exists solely so that Format, Font, and XF....
For more information about this class, see EqNeAttrs.
This dictionary can be used to produce a text version of the internal codes that Excel uses for error cells. Here are its contents:
0x00: '#NULL!', # Intersection of two cell ranges is empty
0x07: '#DIV/0!', # Division by zero
0x0F: '#VALUE!', # Wrong type of operand
0x17: '#REF!', # Illegal or deleted cell reference
0x1D: '#NAME?', # Wrong function or range name
0x24: '#NUM!', # Value range overflow
0x2A: '#N/A!', # Argument or function not available
An Excel “font” contains the details of not only what is normally considered a font, but also several other display attributes.
For more information about this class, see Font.
“Number format” information from a FORMAT record.
For more information about this class, see Format.
Information relating to a named reference, formula, macro, etc.
For more information about this class, see Name
Open a spreadsheet file for data extraction.
Parameters: |
|
---|---|
Returns: | An instance of the Book class. |
Used in evaluating formulas.
For more information about this class, see Operand .
Utility function: Ref3D((1, 4, 5, 20, 7, 10)) => ‘Sheet2:Sheet3!$H$6:$J$20’
Utility function:
Ref3D(coords=(0, 1, -32, -22, -13, 13), relflags=(0, 0, 1, 1, 1, 1)) => ‘Sheet1![@-13,#-32]:[@+12,#-23]’
where ‘@’ refers to the current or base column and ‘#’ refers to the current or base row.
Represents an absolute or relative 3-dimensional reference to a box of one or more cells.
For more information about this class, see Ref3D.
Height and default formatting information that applies to a row in a sheet.
For more information about this class, see Rowinfo.
Contains the data for one worksheet.
For more information about this class, see Sheet.
eXtended Formatting information for cells, rows, columns and styles.
For more information about this class, see XF.
A collection of the alignment and similar attributes of an XF record.
For more information about this class, see XFAlignment.
A collection of the border-related attributes of an XF record.
For more information about this class, see XFBorder-class.
A collection of the protection-related attributes of an XF record.
For more information about this class, see XFProtection.
Convert an Excel number (presumed to represent a date, a datetime or a time) into a tuple suitable for feeding to datetime or mx.DateTime constructors.
Parameters: |
|
---|---|
Returns: | Gregorian (year, month, day, hour, minute, nearest_second). Special case: if 0.0 <= xldate < 1.0, it is assumed to represent a time; (0, 0, 0, hour, minute, second) will be returned. Note: 1904-01-01 is not regarded as a valid date in the datemode 1 system; its “serial number” is zero. |
Convert a date tuple (year, month, day) to an Excel date.</p>
Parameters: |
|
---|
Convert a datetime tuple (year, month, day, hour, minute, second) to an Excel date value. For more details, refer to other xldate_from_*_tuple functions.
Parameters: |
|
---|
Convert a time_tuple (hour, minute, second) to an Excel “date” value (fraction of a day).
Parameters: |
|
---|