summaryrefslogtreecommitdiff
path: root/build-aux/mypy-stubs/xlwt/Cell.pyi
blob: bf9ccee319ede2cc36eba9bc4cd4d78a23d79201 (plain)
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
# build-aux/mypy-stubs/xlwt/Cell.pyi - Type stubs for xlwt
#
# Copyright (C) 2025  Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-License-Identifier: AGPL-3.0-or-later

import xlwt.ExcelFormula

class StrCell:
    rowx: int
    colx: int
    xf_idx: int
    sst_idx: int

class BlankCell:
    rowx: int
    colx: int
    xf_idx: int

class MulBlankCell:
    rowx: int
    colx1: int
    colx2: int
    xf_idx: int

class NumberCell:
    rowx: int
    colx: int
    xf_idx: int
    number: float

class BooleanCell:
    rowx: int
    colx: int
    xf_idx: int
    number: bool

class ErrorCell:
    rowx: int
    colx: int
    xf_idx: int
    number: int

class FormulaCell:
    rowx: int
    colx: int
    xf_idx: int
    frmla: xlwt.ExcelFormula.Formula
    calc_flags: int

type _Cell = StrCell | BlankCell | MulBlankCell | NumberCell | BooleanCell | ErrorCell | FormulaCell