API Reference › xl_typing

xl_typing

XL-App Protocol Classes.

Source: PHX/xl_typing.py


xl_Range_Font

Protocol defining the interface for an Excel range font object.


xl_RangeColumns_Protocol

Protocol defining the interface for an Excel range columns collection.


xl_CellRange_Protocol

Protocol defining the interface for a single Excel cell range.


xl_Range_Protocol

Protocol defining the interface for an Excel range object.

Properties

PropertyTypeDescription
raw_value—The range’s value, bypassing the converter layer (maps onto ‘value’ here).

Methods

end(*args, **kwargs)

ArgTypeDescription
*args——
**kwargs——

options(*args, **kwargs)

ArgTypeDescription
*args——
**kwargs——

offset(row_offset, column_offset)

ArgTypeDescription
row_offset——
column_offset——

xl_API_Protocol

Protocol defining the interface for an Excel sheet’s native API object.

Methods

Rows(*args, **kwargs)

ArgTypeDescription
*args——
**kwargs——

unprotect()

Unprotect()


xl_Sheet_Protocol

Protocol defining the interface for an Excel worksheet object.

Attributes

AttributeTypeDescription
apixl_API_Protocol—
protectedbool—

Methods

range(cell1, cell2)

ArgTypeDescription
cell1——
cell2——

clear_contents()

clear_formats()

clear()

activate()

autofit(*args, **kwargs)

ArgTypeDescription
*args——
**kwargs——

delete()


xl_Sheets_Protocol

Protocol defining the interface for a collection of Excel worksheets.

Methods

add(name, before, after)

ArgTypeDescription
name——
before——
after——

xl_Book_Protocol

Protocol defining the interface for an Excel workbook object.

Attributes

AttributeTypeDescription
appxl_app_Protocol—
sheetsxl_Sheets_Protocol—

xl_Books_Protocol

Protocol defining the interface for a collection of Excel workbooks.

Attributes

AttributeTypeDescription
activexl_Book_Protocol—

Methods

add()

open(_p)

ArgTypeDescription
_p——

xl_app_Protocol

Protocol defining the interface for an Excel application instance.

Methods

calculate()


xl_apps_Protocol

Protocol defining the interface for a collection of Excel application instances.

Methods

add()


xl_Framework_Protocol

Protocol defining the interface for the Excel interop framework (e.g., xlwings).

Methods

Range(*args, **kwargs)

ArgTypeDescription
*args——
**kwargs——