File: sheet.pyi

package info (click to toggle)
python-canmatrix 1.2~github-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,012 kB
  • sloc: xml: 30,201; python: 14,631; makefile: 31; sh: 7
file content (155 lines) | stat: -rw-r--r-- 5,309 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# Stubs for xlrd.sheet (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from .biffh import *
from .timemachine import *
from typing import Any, Optional

DEBUG: int
OBJ_MSO_DEBUG: int

class Sheet(BaseObject):
    name: str = ...
    book: Any = ...
    nrows: int = ...
    ncols: int = ...
    colinfo_map: Any = ...
    rowinfo_map: Any = ...
    col_label_ranges: Any = ...
    row_label_ranges: Any = ...
    merged_cells: Any = ...
    rich_text_runlist_map: Any = ...
    defcolwidth: Any = ...
    standardwidth: Any = ...
    default_row_height: Any = ...
    default_row_height_mismatch: Any = ...
    default_row_hidden: Any = ...
    default_additional_space_above: Any = ...
    default_additional_space_below: Any = ...
    visibility: int = ...
    gcw: Any = ...
    hyperlink_list: Any = ...
    hyperlink_map: Any = ...
    cell_note_map: Any = ...
    vert_split_pos: int = ...
    horz_split_pos: int = ...
    horz_split_first_visible: int = ...
    vert_split_first_visible: int = ...
    split_active_pane: int = ...
    has_pane_record: int = ...
    horizontal_page_breaks: Any = ...
    vertical_page_breaks: Any = ...
    biff_version: Any = ...
    logfile: Any = ...
    bt: Any = ...
    bf: Any = ...
    number: Any = ...
    verbosity: Any = ...
    formatting_info: Any = ...
    ragged_rows: Any = ...
    put_cell: Any = ...
    first_visible_rowx: int = ...
    first_visible_colx: int = ...
    gridline_colour_index: int = ...
    gridline_colour_rgb: Any = ...
    cooked_page_break_preview_mag_factor: int = ...
    cooked_normal_view_mag_factor: int = ...
    cached_page_break_preview_mag_factor: int = ...
    cached_normal_view_mag_factor: int = ...
    scl_mag_factor: Any = ...
    utter_max_rows: int = ...
    utter_max_cols: int = ...
    def __init__(self, book: Any, position: Any, name: Any, number: Any) -> None: ...
    def cell(self, rowx: Any, colx: Any): ...
    def cell_value(self, rowx: Any, colx: Any): ...
    def cell_type(self, rowx: Any, colx: Any): ...
    def cell_xf_index(self, rowx: Any, colx: Any): ...
    def row_len(self, rowx: Any): ...
    def row(self, rowx: Any): ...
    def get_rows(self): ...
    def row_types(self, rowx: Any, start_colx: int = ..., end_colx: Optional[Any] = ...): ...
    def row_values(self, rowx: Any, start_colx: int = ..., end_colx: Optional[Any] = ...): ...
    def row_slice(self, rowx: Any, start_colx: int = ..., end_colx: Optional[Any] = ...): ...
    def col_slice(self, colx: Any, start_rowx: int = ..., end_rowx: Optional[Any] = ...): ...
    def col_values(self, colx: Any, start_rowx: int = ..., end_rowx: Optional[Any] = ...): ...
    def col_types(self, colx: Any, start_rowx: int = ..., end_rowx: Optional[Any] = ...): ...
    col: Any = ...
    def tidy_dimensions(self) -> None: ...
    def put_cell_ragged(self, rowx: Any, colx: Any, ctype: Any, value: Any, xf_index: Any) -> None: ...
    def put_cell_unragged(self, rowx: Any, colx: Any, ctype: Any, value: Any, xf_index: Any) -> None: ...
    def read(self, bk: Any): ...
    def string_record_contents(self, data: Any): ...
    def update_cooked_mag_factors(self) -> None: ...
    def fixed_BIFF2_xfindex(self, cell_attr: Any, rowx: Any, colx: Any, true_xfx: Optional[Any] = ...): ...
    def insert_new_BIFF20_xf(self, cell_attr: Any, style: int = ...): ...
    def fake_XF_from_BIFF20_cell_attr(self, cell_attr: Any, style: int = ...): ...
    def req_fmt_info(self) -> None: ...
    def computed_column_width(self, colx: Any): ...
    def handle_hlink(self, data: Any): ...
    def handle_quicktip(self, data: Any) -> None: ...
    def handle_msodrawingetc(self, recid: Any, data_len: Any, data: Any) -> None: ...
    def handle_obj(self, data: Any): ...
    def handle_note(self, data: Any, txos: Any) -> None: ...
    def handle_txo(self, data: Any): ...
    def handle_feat11(self, data: Any) -> None: ...

class MSODrawing(BaseObject): ...
class MSObj(BaseObject): ...
class MSTxo(BaseObject): ...

class Note(BaseObject):
    author: Any = ...
    col_hidden: int = ...
    colx: int = ...
    rich_text_runlist: Any = ...
    row_hidden: int = ...
    rowx: int = ...
    show: int = ...
    text: Any = ...

class Hyperlink(BaseObject):
    frowx: Any = ...
    lrowx: Any = ...
    fcolx: Any = ...
    lcolx: Any = ...
    type: Any = ...
    url_or_path: Any = ...
    desc: Any = ...
    target: Any = ...
    textmark: Any = ...
    quicktip: Any = ...

def unpack_RK(rk_str: Any): ...

cellty_from_fmtty: Any
ctype_text: Any

class Cell(BaseObject):
    ctype: Any = ...
    value: Any = ...
    xf_index: Any = ...
    def __init__(self, ctype: Any, value: Any, xf_index: Optional[Any] = ...) -> None: ...

empty_cell: Any

class Colinfo(BaseObject):
    width: int = ...
    xf_index: int = ...
    hidden: int = ...
    bit1_flag: int = ...
    outline_level: int = ...
    collapsed: int = ...

class Rowinfo(BaseObject):
    height: Any = ...
    has_default_height: Any = ...
    outline_level: Any = ...
    outline_group_starts_ends: Any = ...
    hidden: Any = ...
    height_mismatch: Any = ...
    has_default_xf_index: Any = ...
    xf_index: Any = ...
    additional_space_above: Any = ...
    additional_space_below: Any = ...
    def __init__(self) -> None: ...