mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add openpyxl stubs (#6801)
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
"stubs/mock",
|
||||
"stubs/mysqlclient",
|
||||
"stubs/oauthlib",
|
||||
"stubs/openpyxl",
|
||||
"stubs/Pillow",
|
||||
"stubs/paramiko",
|
||||
"stubs/prettytable",
|
||||
|
||||
2
stubs/openpyxl/@tests/stubtest_allowlist.txt
Normal file
2
stubs/openpyxl/@tests/stubtest_allowlist.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
# "cls" argument has wrong name in implementation.
|
||||
openpyxl.descriptors.slots.AutoSlotProperties.__new__
|
||||
1
stubs/openpyxl/METADATA.toml
Normal file
1
stubs/openpyxl/METADATA.toml
Normal file
@@ -0,0 +1 @@
|
||||
version = "3.0.*"
|
||||
13
stubs/openpyxl/openpyxl/__init__.pyi
Normal file
13
stubs/openpyxl/openpyxl/__init__.pyi
Normal file
@@ -0,0 +1,13 @@
|
||||
from openpyxl.compat.numbers import NUMPY as NUMPY
|
||||
from openpyxl.reader.excel import load_workbook as load_workbook
|
||||
from openpyxl.workbook import Workbook as Workbook
|
||||
from openpyxl.xml import DEFUSEDXML as DEFUSEDXML, LXML as LXML
|
||||
|
||||
from ._constants import (
|
||||
__author__ as __author__,
|
||||
__author_email__ as __author_email__,
|
||||
__license__ as __license__,
|
||||
__maintainer_email__ as __maintainer_email__,
|
||||
__url__ as __url__,
|
||||
__version__ as __version__,
|
||||
)
|
||||
7
stubs/openpyxl/openpyxl/_constants.pyi
Normal file
7
stubs/openpyxl/openpyxl/_constants.pyi
Normal file
@@ -0,0 +1,7 @@
|
||||
__author__: str
|
||||
__author_email__: str
|
||||
__license__: str
|
||||
__maintainer_email__: str
|
||||
__url__: str
|
||||
__version__: str
|
||||
__python__: str
|
||||
2
stubs/openpyxl/openpyxl/cell/__init__.pyi
Normal file
2
stubs/openpyxl/openpyxl/cell/__init__.pyi
Normal file
@@ -0,0 +1,2 @@
|
||||
from .cell import Cell as Cell, MergedCell as MergedCell, WriteOnlyCell as WriteOnlyCell
|
||||
from .read_only import ReadOnlyCell as ReadOnlyCell
|
||||
7
stubs/openpyxl/openpyxl/cell/_writer.pyi
Normal file
7
stubs/openpyxl/openpyxl/cell/_writer.pyi
Normal file
@@ -0,0 +1,7 @@
|
||||
from typing import Any
|
||||
|
||||
def etree_write_cell(xf, worksheet, cell, styled: Any | None = ...) -> None: ...
|
||||
def lxml_write_cell(xf, worksheet, cell, styled: bool = ...) -> None: ...
|
||||
|
||||
write_cell = lxml_write_cell
|
||||
write_cell = etree_write_cell
|
||||
72
stubs/openpyxl/openpyxl/cell/cell.pyi
Normal file
72
stubs/openpyxl/openpyxl/cell/cell.pyi
Normal file
@@ -0,0 +1,72 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.styles.styleable import StyleableObject
|
||||
|
||||
__docformat__: str
|
||||
TIME_TYPES: Any
|
||||
TIME_FORMATS: Any
|
||||
STRING_TYPES: Any
|
||||
KNOWN_TYPES: Any
|
||||
ILLEGAL_CHARACTERS_RE: Any
|
||||
ERROR_CODES: Any
|
||||
TYPE_STRING: str
|
||||
TYPE_FORMULA: str
|
||||
TYPE_NUMERIC: str
|
||||
TYPE_BOOL: str
|
||||
TYPE_NULL: str
|
||||
TYPE_INLINE: str
|
||||
TYPE_ERROR: str
|
||||
TYPE_FORMULA_CACHE_STRING: str
|
||||
VALID_TYPES: Any
|
||||
|
||||
def get_type(t, value): ...
|
||||
def get_time_format(t): ...
|
||||
|
||||
class Cell(StyleableObject):
|
||||
row: Any
|
||||
column: Any
|
||||
data_type: str
|
||||
def __init__(
|
||||
self, worksheet, row: Any | None = ..., column: Any | None = ..., value: Any | None = ..., style_array: Any | None = ...
|
||||
) -> None: ...
|
||||
@property
|
||||
def coordinate(self): ...
|
||||
@property
|
||||
def col_idx(self): ...
|
||||
@property
|
||||
def column_letter(self): ...
|
||||
@property
|
||||
def encoding(self): ...
|
||||
@property
|
||||
def base_date(self): ...
|
||||
def check_string(self, value): ...
|
||||
def check_error(self, value): ...
|
||||
@property
|
||||
def value(self): ...
|
||||
@value.setter
|
||||
def value(self, value) -> None: ...
|
||||
@property
|
||||
def internal_value(self): ...
|
||||
@property
|
||||
def hyperlink(self): ...
|
||||
@hyperlink.setter
|
||||
def hyperlink(self, val) -> None: ...
|
||||
@property
|
||||
def is_date(self): ...
|
||||
def offset(self, row: int = ..., column: int = ...): ...
|
||||
@property
|
||||
def comment(self): ...
|
||||
@comment.setter
|
||||
def comment(self, value) -> None: ...
|
||||
|
||||
class MergedCell(StyleableObject):
|
||||
data_type: str
|
||||
comment: Any
|
||||
hyperlink: Any
|
||||
row: Any
|
||||
column: Any
|
||||
def __init__(self, worksheet, row: Any | None = ..., column: Any | None = ...) -> None: ...
|
||||
coordinate: Any
|
||||
value: Any
|
||||
|
||||
def WriteOnlyCell(ws: Any | None = ..., value: Any | None = ...): ...
|
||||
51
stubs/openpyxl/openpyxl/cell/read_only.pyi
Normal file
51
stubs/openpyxl/openpyxl/cell/read_only.pyi
Normal file
@@ -0,0 +1,51 @@
|
||||
from typing import Any
|
||||
|
||||
class ReadOnlyCell:
|
||||
parent: Any
|
||||
row: Any
|
||||
column: Any
|
||||
data_type: Any
|
||||
def __init__(self, sheet, row, column, value, data_type: str = ..., style_id: int = ...) -> None: ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
# defined twice in the implementation
|
||||
@property
|
||||
def coordinate(self): ...
|
||||
@property
|
||||
def column_letter(self): ...
|
||||
@property
|
||||
def style_array(self): ...
|
||||
@property
|
||||
def has_style(self): ...
|
||||
@property
|
||||
def number_format(self): ...
|
||||
@property
|
||||
def font(self): ...
|
||||
@property
|
||||
def fill(self): ...
|
||||
@property
|
||||
def border(self): ...
|
||||
@property
|
||||
def alignment(self): ...
|
||||
@property
|
||||
def protection(self): ...
|
||||
@property
|
||||
def is_date(self): ...
|
||||
@property
|
||||
def internal_value(self): ...
|
||||
@property
|
||||
def value(self): ...
|
||||
@value.setter
|
||||
def value(self, value) -> None: ...
|
||||
|
||||
class EmptyCell:
|
||||
value: Any
|
||||
is_date: bool
|
||||
font: Any
|
||||
border: Any
|
||||
fill: Any
|
||||
number_format: Any
|
||||
alignment: Any
|
||||
data_type: str
|
||||
|
||||
EMPTY_CELL: Any
|
||||
80
stubs/openpyxl/openpyxl/cell/text.pyi
Normal file
80
stubs/openpyxl/openpyxl/cell/text.pyi
Normal file
@@ -0,0 +1,80 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
from openpyxl.styles.fonts import Font
|
||||
|
||||
class PhoneticProperties(Serialisable):
|
||||
tagname: str
|
||||
fontId: Any
|
||||
type: Any
|
||||
alignment: Any
|
||||
def __init__(self, fontId: Any | None = ..., type: Any | None = ..., alignment: Any | None = ...) -> None: ...
|
||||
|
||||
class PhoneticText(Serialisable):
|
||||
tagname: str
|
||||
sb: Any
|
||||
eb: Any
|
||||
t: Any
|
||||
text: Any
|
||||
def __init__(self, sb: Any | None = ..., eb: Any | None = ..., t: Any | None = ...) -> None: ...
|
||||
|
||||
class InlineFont(Font):
|
||||
tagname: str
|
||||
rFont: Any
|
||||
charset: Any
|
||||
family: Any
|
||||
b: Any
|
||||
i: Any
|
||||
strike: Any
|
||||
outline: Any
|
||||
shadow: Any
|
||||
condense: Any
|
||||
extend: Any
|
||||
color: Any
|
||||
sz: Any
|
||||
u: Any
|
||||
vertAlign: Any
|
||||
scheme: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
rFont: Any | None = ...,
|
||||
charset: Any | None = ...,
|
||||
family: Any | None = ...,
|
||||
b: Any | None = ...,
|
||||
i: Any | None = ...,
|
||||
strike: Any | None = ...,
|
||||
outline: Any | None = ...,
|
||||
shadow: Any | None = ...,
|
||||
condense: Any | None = ...,
|
||||
extend: Any | None = ...,
|
||||
color: Any | None = ...,
|
||||
sz: Any | None = ...,
|
||||
u: Any | None = ...,
|
||||
vertAlign: Any | None = ...,
|
||||
scheme: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class RichText(Serialisable):
|
||||
tagname: str
|
||||
rPr: Any
|
||||
font: Any
|
||||
t: Any
|
||||
text: Any
|
||||
__elements__: Any
|
||||
def __init__(self, rPr: Any | None = ..., t: Any | None = ...) -> None: ...
|
||||
|
||||
class Text(Serialisable):
|
||||
tagname: str
|
||||
t: Any
|
||||
plain: Any
|
||||
r: Any
|
||||
formatted: Any
|
||||
rPh: Any
|
||||
phonetic: Any
|
||||
phoneticPr: Any
|
||||
PhoneticProperties: Any
|
||||
__elements__: Any
|
||||
def __init__(self, t: Any | None = ..., r=..., rPh=..., phoneticPr: Any | None = ...) -> None: ...
|
||||
@property
|
||||
def content(self): ...
|
||||
50
stubs/openpyxl/openpyxl/chart/_3d.pyi
Normal file
50
stubs/openpyxl/openpyxl/chart/_3d.pyi
Normal file
@@ -0,0 +1,50 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class View3D(Serialisable):
|
||||
tagname: str
|
||||
rotX: Any
|
||||
x_rotation: Any
|
||||
hPercent: Any
|
||||
height_percent: Any
|
||||
rotY: Any
|
||||
y_rotation: Any
|
||||
depthPercent: Any
|
||||
rAngAx: Any
|
||||
right_angle_axes: Any
|
||||
perspective: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
rotX: int = ...,
|
||||
hPercent: Any | None = ...,
|
||||
rotY: int = ...,
|
||||
depthPercent: Any | None = ...,
|
||||
rAngAx: bool = ...,
|
||||
perspective: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class Surface(Serialisable):
|
||||
tagname: str
|
||||
thickness: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
pictureOptions: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self, thickness: Any | None = ..., spPr: Any | None = ..., pictureOptions: Any | None = ..., extLst: Any | None = ...
|
||||
) -> None: ...
|
||||
|
||||
class _3DBase(Serialisable):
|
||||
tagname: str
|
||||
view3D: Any
|
||||
floor: Any
|
||||
sideWall: Any
|
||||
backWall: Any
|
||||
def __init__(
|
||||
self, view3D: Any | None = ..., floor: Any | None = ..., sideWall: Any | None = ..., backWall: Any | None = ...
|
||||
) -> None: ...
|
||||
15
stubs/openpyxl/openpyxl/chart/__init__.pyi
Normal file
15
stubs/openpyxl/openpyxl/chart/__init__.pyi
Normal file
@@ -0,0 +1,15 @@
|
||||
from .area_chart import AreaChart as AreaChart, AreaChart3D as AreaChart3D
|
||||
from .bar_chart import BarChart as BarChart, BarChart3D as BarChart3D
|
||||
from .bubble_chart import BubbleChart as BubbleChart
|
||||
from .line_chart import LineChart as LineChart, LineChart3D as LineChart3D
|
||||
from .pie_chart import (
|
||||
DoughnutChart as DoughnutChart,
|
||||
PieChart as PieChart,
|
||||
PieChart3D as PieChart3D,
|
||||
ProjectedPieChart as ProjectedPieChart,
|
||||
)
|
||||
from .radar_chart import RadarChart as RadarChart
|
||||
from .reference import Reference as Reference
|
||||
from .scatter_chart import ScatterChart as ScatterChart
|
||||
from .stock_chart import StockChart as StockChart
|
||||
from .surface_chart import SurfaceChart as SurfaceChart, SurfaceChart3D as SurfaceChart3D
|
||||
44
stubs/openpyxl/openpyxl/chart/_chart.pyi
Normal file
44
stubs/openpyxl/openpyxl/chart/_chart.pyi
Normal file
@@ -0,0 +1,44 @@
|
||||
from abc import abstractmethod
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class AxId(Serialisable): # type: ignore[misc]
|
||||
val: Any
|
||||
def __init__(self, val) -> None: ...
|
||||
|
||||
def PlotArea(): ...
|
||||
|
||||
class ChartBase(Serialisable):
|
||||
legend: Any
|
||||
layout: Any
|
||||
roundedCorners: Any
|
||||
axId: Any
|
||||
visible_cells_only: Any
|
||||
display_blanks: Any
|
||||
ser: Any
|
||||
series: Any
|
||||
title: Any
|
||||
anchor: str
|
||||
width: int
|
||||
height: float
|
||||
style: Any
|
||||
mime_type: str
|
||||
graphical_properties: Any
|
||||
__elements__: Any
|
||||
plot_area: Any
|
||||
pivotSource: Any
|
||||
pivotFormats: Any
|
||||
idx_base: int
|
||||
def __init__(self, axId=..., **kw) -> None: ...
|
||||
def __hash__(self): ...
|
||||
def __iadd__(self, other): ...
|
||||
def to_tree(self, namespace: Any | None = ..., tagname: Any | None = ..., idx: Any | None = ...): ... # type: ignore[override]
|
||||
def set_categories(self, labels) -> None: ...
|
||||
def add_data(self, data, from_rows: bool = ..., titles_from_data: bool = ...) -> None: ...
|
||||
def append(self, value) -> None: ...
|
||||
@property
|
||||
def path(self): ...
|
||||
@property
|
||||
@abstractmethod
|
||||
def tagname(self) -> str: ...
|
||||
46
stubs/openpyxl/openpyxl/chart/area_chart.pyi
Normal file
46
stubs/openpyxl/openpyxl/chart/area_chart.pyi
Normal file
@@ -0,0 +1,46 @@
|
||||
from abc import abstractmethod
|
||||
from typing import Any
|
||||
|
||||
from ._chart import ChartBase
|
||||
|
||||
class _AreaChartBase(ChartBase):
|
||||
grouping: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dataLabels: Any
|
||||
dropLines: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self, grouping: str = ..., varyColors: Any | None = ..., ser=..., dLbls: Any | None = ..., dropLines: Any | None = ...
|
||||
) -> None: ...
|
||||
@property
|
||||
@abstractmethod
|
||||
def tagname(self) -> str: ...
|
||||
|
||||
class AreaChart(_AreaChartBase):
|
||||
tagname: str
|
||||
grouping: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dropLines: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, axId: Any | None = ..., extLst: Any | None = ..., **kw) -> None: ...
|
||||
|
||||
class AreaChart3D(AreaChart):
|
||||
tagname: str
|
||||
grouping: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dropLines: Any
|
||||
gapDepth: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
z_axis: Any
|
||||
__elements__: Any
|
||||
def __init__(self, gapDepth: Any | None = ..., **kw) -> None: ...
|
||||
234
stubs/openpyxl/openpyxl/chart/axis.pyi
Normal file
234
stubs/openpyxl/openpyxl/chart/axis.pyi
Normal file
@@ -0,0 +1,234 @@
|
||||
from abc import abstractmethod
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class ChartLines(Serialisable):
|
||||
tagname: str
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
def __init__(self, spPr: Any | None = ...) -> None: ...
|
||||
|
||||
class Scaling(Serialisable):
|
||||
tagname: str
|
||||
logBase: Any
|
||||
orientation: Any
|
||||
max: Any
|
||||
min: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
logBase: Any | None = ...,
|
||||
orientation: str = ...,
|
||||
max: Any | None = ...,
|
||||
min: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class _BaseAxis(Serialisable):
|
||||
axId: Any
|
||||
scaling: Any
|
||||
delete: Any
|
||||
axPos: Any
|
||||
majorGridlines: Any
|
||||
minorGridlines: Any
|
||||
title: Any
|
||||
numFmt: Any
|
||||
number_format: Any
|
||||
majorTickMark: Any
|
||||
minorTickMark: Any
|
||||
tickLblPos: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
txPr: Any
|
||||
textProperties: Any
|
||||
crossAx: Any
|
||||
crosses: Any
|
||||
crossesAt: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
axId: Any | None = ...,
|
||||
scaling: Any | None = ...,
|
||||
delete: Any | None = ...,
|
||||
axPos: str = ...,
|
||||
majorGridlines: Any | None = ...,
|
||||
minorGridlines: Any | None = ...,
|
||||
title: Any | None = ...,
|
||||
numFmt: Any | None = ...,
|
||||
majorTickMark: Any | None = ...,
|
||||
minorTickMark: Any | None = ...,
|
||||
tickLblPos: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
txPr: Any | None = ...,
|
||||
crossAx: Any | None = ...,
|
||||
crosses: Any | None = ...,
|
||||
crossesAt: Any | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
@abstractmethod
|
||||
def tagname(self) -> str: ...
|
||||
|
||||
class DisplayUnitsLabel(Serialisable):
|
||||
tagname: str
|
||||
layout: Any
|
||||
tx: Any
|
||||
text: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
txPr: Any
|
||||
textPropertes: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self, layout: Any | None = ..., tx: Any | None = ..., spPr: Any | None = ..., txPr: Any | None = ...
|
||||
) -> None: ...
|
||||
|
||||
class DisplayUnitsLabelList(Serialisable):
|
||||
tagname: str
|
||||
custUnit: Any
|
||||
builtInUnit: Any
|
||||
dispUnitsLbl: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self, custUnit: Any | None = ..., builtInUnit: Any | None = ..., dispUnitsLbl: Any | None = ..., extLst: Any | None = ...
|
||||
) -> None: ...
|
||||
|
||||
class NumericAxis(_BaseAxis):
|
||||
tagname: str
|
||||
axId: Any
|
||||
scaling: Any
|
||||
delete: Any
|
||||
axPos: Any
|
||||
majorGridlines: Any
|
||||
minorGridlines: Any
|
||||
title: Any
|
||||
numFmt: Any
|
||||
majorTickMark: Any
|
||||
minorTickMark: Any
|
||||
tickLblPos: Any
|
||||
spPr: Any
|
||||
txPr: Any
|
||||
crossAx: Any
|
||||
crosses: Any
|
||||
crossesAt: Any
|
||||
crossBetween: Any
|
||||
majorUnit: Any
|
||||
minorUnit: Any
|
||||
dispUnits: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
crossBetween: Any | None = ...,
|
||||
majorUnit: Any | None = ...,
|
||||
minorUnit: Any | None = ...,
|
||||
dispUnits: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
@classmethod
|
||||
def from_tree(cls, node): ...
|
||||
|
||||
class TextAxis(_BaseAxis):
|
||||
tagname: str
|
||||
axId: Any
|
||||
scaling: Any
|
||||
delete: Any
|
||||
axPos: Any
|
||||
majorGridlines: Any
|
||||
minorGridlines: Any
|
||||
title: Any
|
||||
numFmt: Any
|
||||
majorTickMark: Any
|
||||
minorTickMark: Any
|
||||
tickLblPos: Any
|
||||
spPr: Any
|
||||
txPr: Any
|
||||
crossAx: Any
|
||||
crosses: Any
|
||||
crossesAt: Any
|
||||
auto: Any
|
||||
lblAlgn: Any
|
||||
lblOffset: Any
|
||||
tickLblSkip: Any
|
||||
tickMarkSkip: Any
|
||||
noMultiLvlLbl: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
auto: Any | None = ...,
|
||||
lblAlgn: Any | None = ...,
|
||||
lblOffset: int = ...,
|
||||
tickLblSkip: Any | None = ...,
|
||||
tickMarkSkip: Any | None = ...,
|
||||
noMultiLvlLbl: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
|
||||
class DateAxis(TextAxis):
|
||||
tagname: str
|
||||
axId: Any
|
||||
scaling: Any
|
||||
delete: Any
|
||||
axPos: Any
|
||||
majorGridlines: Any
|
||||
minorGridlines: Any
|
||||
title: Any
|
||||
numFmt: Any
|
||||
majorTickMark: Any
|
||||
minorTickMark: Any
|
||||
tickLblPos: Any
|
||||
spPr: Any
|
||||
txPr: Any
|
||||
crossAx: Any
|
||||
crosses: Any
|
||||
crossesAt: Any
|
||||
auto: Any
|
||||
lblOffset: Any
|
||||
baseTimeUnit: Any
|
||||
majorUnit: Any
|
||||
majorTimeUnit: Any
|
||||
minorUnit: Any
|
||||
minorTimeUnit: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
auto: Any | None = ...,
|
||||
lblOffset: Any | None = ...,
|
||||
baseTimeUnit: Any | None = ...,
|
||||
majorUnit: Any | None = ...,
|
||||
majorTimeUnit: Any | None = ...,
|
||||
minorUnit: Any | None = ...,
|
||||
minorTimeUnit: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
|
||||
class SeriesAxis(_BaseAxis):
|
||||
tagname: str
|
||||
axId: Any
|
||||
scaling: Any
|
||||
delete: Any
|
||||
axPos: Any
|
||||
majorGridlines: Any
|
||||
minorGridlines: Any
|
||||
title: Any
|
||||
numFmt: Any
|
||||
majorTickMark: Any
|
||||
minorTickMark: Any
|
||||
tickLblPos: Any
|
||||
spPr: Any
|
||||
txPr: Any
|
||||
crossAx: Any
|
||||
crosses: Any
|
||||
crossesAt: Any
|
||||
tickLblSkip: Any
|
||||
tickMarkSkip: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, tickLblSkip: Any | None = ..., tickMarkSkip: Any | None = ..., extLst: Any | None = ..., **kw) -> None: ...
|
||||
70
stubs/openpyxl/openpyxl/chart/bar_chart.pyi
Normal file
70
stubs/openpyxl/openpyxl/chart/bar_chart.pyi
Normal file
@@ -0,0 +1,70 @@
|
||||
from abc import abstractmethod
|
||||
from typing import Any
|
||||
|
||||
from ._3d import _3DBase
|
||||
from ._chart import ChartBase
|
||||
|
||||
class _BarChartBase(ChartBase):
|
||||
barDir: Any
|
||||
type: Any
|
||||
grouping: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dataLabels: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self, barDir: str = ..., grouping: str = ..., varyColors: Any | None = ..., ser=..., dLbls: Any | None = ..., **kw
|
||||
) -> None: ...
|
||||
@property
|
||||
@abstractmethod
|
||||
def tagname(self) -> str: ...
|
||||
|
||||
class BarChart(_BarChartBase):
|
||||
tagname: str
|
||||
barDir: Any
|
||||
grouping: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
gapWidth: Any
|
||||
overlap: Any
|
||||
serLines: Any
|
||||
extLst: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
__elements__: Any
|
||||
legend: Any
|
||||
def __init__(
|
||||
self, gapWidth: int = ..., overlap: Any | None = ..., serLines: Any | None = ..., extLst: Any | None = ..., **kw
|
||||
) -> None: ...
|
||||
|
||||
class BarChart3D(_BarChartBase, _3DBase): # type: ignore # incompatible base classes
|
||||
tagname: str
|
||||
barDir: Any
|
||||
grouping: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
view3D: Any
|
||||
floor: Any
|
||||
sideWall: Any
|
||||
backWall: Any
|
||||
gapWidth: Any
|
||||
gapDepth: Any
|
||||
shape: Any
|
||||
serLines: Any
|
||||
extLst: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
z_axis: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
gapWidth: int = ...,
|
||||
gapDepth: int = ...,
|
||||
shape: Any | None = ...,
|
||||
serLines: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
30
stubs/openpyxl/openpyxl/chart/bubble_chart.pyi
Normal file
30
stubs/openpyxl/openpyxl/chart/bubble_chart.pyi
Normal file
@@ -0,0 +1,30 @@
|
||||
from typing import Any
|
||||
|
||||
from ._chart import ChartBase
|
||||
|
||||
class BubbleChart(ChartBase):
|
||||
tagname: str
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dataLabels: Any
|
||||
bubble3D: Any
|
||||
bubbleScale: Any
|
||||
showNegBubbles: Any
|
||||
sizeRepresents: Any
|
||||
extLst: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
varyColors: Any | None = ...,
|
||||
ser=...,
|
||||
dLbls: Any | None = ...,
|
||||
bubble3D: Any | None = ...,
|
||||
bubbleScale: Any | None = ...,
|
||||
showNegBubbles: Any | None = ...,
|
||||
sizeRepresents: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
97
stubs/openpyxl/openpyxl/chart/chartspace.pyi
Normal file
97
stubs/openpyxl/openpyxl/chart/chartspace.pyi
Normal file
@@ -0,0 +1,97 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class ChartContainer(Serialisable):
|
||||
tagname: str
|
||||
title: Any
|
||||
autoTitleDeleted: Any
|
||||
pivotFmts: Any
|
||||
view3D: Any
|
||||
floor: Any
|
||||
sideWall: Any
|
||||
backWall: Any
|
||||
plotArea: Any
|
||||
legend: Any
|
||||
plotVisOnly: Any
|
||||
dispBlanksAs: Any
|
||||
showDLblsOverMax: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
title: Any | None = ...,
|
||||
autoTitleDeleted: Any | None = ...,
|
||||
pivotFmts=...,
|
||||
view3D: Any | None = ...,
|
||||
floor: Any | None = ...,
|
||||
sideWall: Any | None = ...,
|
||||
backWall: Any | None = ...,
|
||||
plotArea: Any | None = ...,
|
||||
legend: Any | None = ...,
|
||||
plotVisOnly: bool = ...,
|
||||
dispBlanksAs: str = ...,
|
||||
showDLblsOverMax: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class Protection(Serialisable):
|
||||
tagname: str
|
||||
chartObject: Any
|
||||
data: Any
|
||||
formatting: Any
|
||||
selection: Any
|
||||
userInterface: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
chartObject: Any | None = ...,
|
||||
data: Any | None = ...,
|
||||
formatting: Any | None = ...,
|
||||
selection: Any | None = ...,
|
||||
userInterface: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class ExternalData(Serialisable):
|
||||
tagname: str
|
||||
autoUpdate: Any
|
||||
id: Any
|
||||
def __init__(self, autoUpdate: Any | None = ..., id: Any | None = ...) -> None: ...
|
||||
|
||||
class ChartSpace(Serialisable):
|
||||
tagname: str
|
||||
date1904: Any
|
||||
lang: Any
|
||||
roundedCorners: Any
|
||||
style: Any
|
||||
clrMapOvr: Any
|
||||
pivotSource: Any
|
||||
protection: Any
|
||||
chart: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
txPr: Any
|
||||
textProperties: Any
|
||||
externalData: Any
|
||||
printSettings: Any
|
||||
userShapes: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
date1904: Any | None = ...,
|
||||
lang: Any | None = ...,
|
||||
roundedCorners: Any | None = ...,
|
||||
style: Any | None = ...,
|
||||
clrMapOvr: Any | None = ...,
|
||||
pivotSource: Any | None = ...,
|
||||
protection: Any | None = ...,
|
||||
chart: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
txPr: Any | None = ...,
|
||||
externalData: Any | None = ...,
|
||||
printSettings: Any | None = ...,
|
||||
userShapes: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
def to_tree(self, tagname: Any | None = ..., idx: Any | None = ..., namespace: Any | None = ...): ...
|
||||
101
stubs/openpyxl/openpyxl/chart/data_source.pyi
Normal file
101
stubs/openpyxl/openpyxl/chart/data_source.pyi
Normal file
@@ -0,0 +1,101 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.nested import NestedText
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class NumFmt(Serialisable): # type: ignore[misc]
|
||||
formatCode: Any
|
||||
sourceLinked: Any
|
||||
def __init__(self, formatCode: Any | None = ..., sourceLinked: bool = ...) -> None: ...
|
||||
|
||||
class NumberValueDescriptor(NestedText):
|
||||
allow_none: bool
|
||||
expected_type: Any
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class NumVal(Serialisable): # type: ignore[misc]
|
||||
idx: Any
|
||||
formatCode: Any
|
||||
v: Any
|
||||
def __init__(self, idx: Any | None = ..., formatCode: Any | None = ..., v: Any | None = ...) -> None: ...
|
||||
|
||||
class NumData(Serialisable): # type: ignore[misc]
|
||||
formatCode: Any
|
||||
ptCount: Any
|
||||
pt: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, formatCode: Any | None = ..., ptCount: Any | None = ..., pt=..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class NumRef(Serialisable): # type: ignore[misc]
|
||||
f: Any
|
||||
ref: Any
|
||||
numCache: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, f: Any | None = ..., numCache: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class StrVal(Serialisable):
|
||||
tagname: str
|
||||
idx: Any
|
||||
v: Any
|
||||
def __init__(self, idx: int = ..., v: Any | None = ...) -> None: ...
|
||||
|
||||
class StrData(Serialisable):
|
||||
tagname: str
|
||||
ptCount: Any
|
||||
pt: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, ptCount: Any | None = ..., pt=..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class StrRef(Serialisable):
|
||||
tagname: str
|
||||
f: Any
|
||||
strCache: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, f: Any | None = ..., strCache: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class NumDataSource(Serialisable): # type: ignore[misc]
|
||||
numRef: Any
|
||||
numLit: Any
|
||||
def __init__(self, numRef: Any | None = ..., numLit: Any | None = ...) -> None: ...
|
||||
|
||||
class Level(Serialisable):
|
||||
tagname: str
|
||||
pt: Any
|
||||
__elements__: Any
|
||||
def __init__(self, pt=...) -> None: ...
|
||||
|
||||
class MultiLevelStrData(Serialisable):
|
||||
tagname: str
|
||||
ptCount: Any
|
||||
lvl: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, ptCount: Any | None = ..., lvl=..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class MultiLevelStrRef(Serialisable):
|
||||
tagname: str
|
||||
f: Any
|
||||
multiLvlStrCache: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, f: Any | None = ..., multiLvlStrCache: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class AxDataSource(Serialisable):
|
||||
tagname: str
|
||||
numRef: Any
|
||||
numLit: Any
|
||||
strRef: Any
|
||||
strLit: Any
|
||||
multiLvlStrRef: Any
|
||||
def __init__(
|
||||
self,
|
||||
numRef: Any | None = ...,
|
||||
numLit: Any | None = ...,
|
||||
strRef: Any | None = ...,
|
||||
strLit: Any | None = ...,
|
||||
multiLvlStrRef: Any | None = ...,
|
||||
) -> None: ...
|
||||
19
stubs/openpyxl/openpyxl/chart/descriptors.pyi
Normal file
19
stubs/openpyxl/openpyxl/chart/descriptors.pyi
Normal file
@@ -0,0 +1,19 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors import Typed
|
||||
from openpyxl.descriptors.nested import NestedMinMax
|
||||
|
||||
class NestedGapAmount(NestedMinMax):
|
||||
allow_none: bool
|
||||
min: int
|
||||
max: int
|
||||
|
||||
class NestedOverlap(NestedMinMax):
|
||||
allow_none: bool
|
||||
min: int
|
||||
max: int
|
||||
|
||||
class NumberFormatDescriptor(Typed):
|
||||
expected_type: Any
|
||||
allow_none: bool
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
32
stubs/openpyxl/openpyxl/chart/error_bar.pyi
Normal file
32
stubs/openpyxl/openpyxl/chart/error_bar.pyi
Normal file
@@ -0,0 +1,32 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class ErrorBars(Serialisable):
|
||||
tagname: str
|
||||
errDir: Any
|
||||
direction: Any
|
||||
errBarType: Any
|
||||
style: Any
|
||||
errValType: Any
|
||||
size: Any
|
||||
noEndCap: Any
|
||||
plus: Any
|
||||
minus: Any
|
||||
val: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
errDir: Any | None = ...,
|
||||
errBarType: str = ...,
|
||||
errValType: str = ...,
|
||||
noEndCap: Any | None = ...,
|
||||
plus: Any | None = ...,
|
||||
minus: Any | None = ...,
|
||||
val: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
81
stubs/openpyxl/openpyxl/chart/label.pyi
Normal file
81
stubs/openpyxl/openpyxl/chart/label.pyi
Normal file
@@ -0,0 +1,81 @@
|
||||
from abc import abstractmethod
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable as Serialisable
|
||||
|
||||
class _DataLabelBase(Serialisable):
|
||||
numFmt: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
txPr: Any
|
||||
textProperties: Any
|
||||
dLblPos: Any
|
||||
position: Any
|
||||
showLegendKey: Any
|
||||
showVal: Any
|
||||
showCatName: Any
|
||||
showSerName: Any
|
||||
showPercent: Any
|
||||
showBubbleSize: Any
|
||||
showLeaderLines: Any
|
||||
separator: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
numFmt: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
txPr: Any | None = ...,
|
||||
dLblPos: Any | None = ...,
|
||||
showLegendKey: Any | None = ...,
|
||||
showVal: Any | None = ...,
|
||||
showCatName: Any | None = ...,
|
||||
showSerName: Any | None = ...,
|
||||
showPercent: Any | None = ...,
|
||||
showBubbleSize: Any | None = ...,
|
||||
showLeaderLines: Any | None = ...,
|
||||
separator: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
@property
|
||||
@abstractmethod
|
||||
def tagname(self) -> str: ...
|
||||
|
||||
class DataLabel(_DataLabelBase):
|
||||
tagname: str
|
||||
idx: Any
|
||||
numFmt: Any
|
||||
spPr: Any
|
||||
txPr: Any
|
||||
dLblPos: Any
|
||||
showLegendKey: Any
|
||||
showVal: Any
|
||||
showCatName: Any
|
||||
showSerName: Any
|
||||
showPercent: Any
|
||||
showBubbleSize: Any
|
||||
showLeaderLines: Any
|
||||
separator: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, idx: int = ..., **kw) -> None: ...
|
||||
|
||||
class DataLabelList(_DataLabelBase):
|
||||
tagname: str
|
||||
dLbl: Any
|
||||
delete: Any
|
||||
numFmt: Any
|
||||
spPr: Any
|
||||
txPr: Any
|
||||
dLblPos: Any
|
||||
showLegendKey: Any
|
||||
showVal: Any
|
||||
showCatName: Any
|
||||
showSerName: Any
|
||||
showPercent: Any
|
||||
showBubbleSize: Any
|
||||
showLeaderLines: Any
|
||||
separator: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, dLbl=..., delete: Any | None = ..., **kw) -> None: ...
|
||||
39
stubs/openpyxl/openpyxl/chart/layout.pyi
Normal file
39
stubs/openpyxl/openpyxl/chart/layout.pyi
Normal file
@@ -0,0 +1,39 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class ManualLayout(Serialisable):
|
||||
tagname: str
|
||||
layoutTarget: Any
|
||||
xMode: Any
|
||||
yMode: Any
|
||||
wMode: Any
|
||||
hMode: Any
|
||||
x: Any
|
||||
y: Any
|
||||
w: Any
|
||||
width: Any
|
||||
h: Any
|
||||
height: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
layoutTarget: Any | None = ...,
|
||||
xMode: Any | None = ...,
|
||||
yMode: Any | None = ...,
|
||||
wMode: str = ...,
|
||||
hMode: str = ...,
|
||||
x: Any | None = ...,
|
||||
y: Any | None = ...,
|
||||
w: Any | None = ...,
|
||||
h: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class Layout(Serialisable):
|
||||
tagname: str
|
||||
manualLayout: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, manualLayout: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
36
stubs/openpyxl/openpyxl/chart/legend.pyi
Normal file
36
stubs/openpyxl/openpyxl/chart/legend.pyi
Normal file
@@ -0,0 +1,36 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class LegendEntry(Serialisable):
|
||||
tagname: str
|
||||
idx: Any
|
||||
delete: Any
|
||||
txPr: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, idx: int = ..., delete: bool = ..., txPr: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class Legend(Serialisable):
|
||||
tagname: str
|
||||
legendPos: Any
|
||||
position: Any
|
||||
legendEntry: Any
|
||||
layout: Any
|
||||
overlay: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
txPr: Any
|
||||
textProperties: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
legendPos: str = ...,
|
||||
legendEntry=...,
|
||||
layout: Any | None = ...,
|
||||
overlay: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
txPr: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
77
stubs/openpyxl/openpyxl/chart/line_chart.pyi
Normal file
77
stubs/openpyxl/openpyxl/chart/line_chart.pyi
Normal file
@@ -0,0 +1,77 @@
|
||||
from abc import abstractmethod
|
||||
from typing import Any
|
||||
|
||||
from ._chart import ChartBase
|
||||
|
||||
class _LineChartBase(ChartBase):
|
||||
grouping: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dataLabels: Any
|
||||
dropLines: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
grouping: str = ...,
|
||||
varyColors: Any | None = ...,
|
||||
ser=...,
|
||||
dLbls: Any | None = ...,
|
||||
dropLines: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
@property
|
||||
@abstractmethod
|
||||
def tagname(self) -> str: ...
|
||||
|
||||
class LineChart(_LineChartBase):
|
||||
tagname: str
|
||||
grouping: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dropLines: Any
|
||||
hiLowLines: Any
|
||||
upDownBars: Any
|
||||
marker: Any
|
||||
smooth: Any
|
||||
extLst: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
hiLowLines: Any | None = ...,
|
||||
upDownBars: Any | None = ...,
|
||||
marker: Any | None = ...,
|
||||
smooth: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
|
||||
class LineChart3D(_LineChartBase):
|
||||
tagname: str
|
||||
grouping: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dropLines: Any
|
||||
gapDepth: Any
|
||||
hiLowLines: Any
|
||||
upDownBars: Any
|
||||
marker: Any
|
||||
smooth: Any
|
||||
extLst: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
z_axis: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
gapDepth: Any | None = ...,
|
||||
hiLowLines: Any | None = ...,
|
||||
upDownBars: Any | None = ...,
|
||||
marker: Any | None = ...,
|
||||
smooth: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
39
stubs/openpyxl/openpyxl/chart/marker.pyi
Normal file
39
stubs/openpyxl/openpyxl/chart/marker.pyi
Normal file
@@ -0,0 +1,39 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class Marker(Serialisable):
|
||||
tagname: str
|
||||
symbol: Any
|
||||
size: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self, symbol: Any | None = ..., size: Any | None = ..., spPr: Any | None = ..., extLst: Any | None = ...
|
||||
) -> None: ...
|
||||
|
||||
class DataPoint(Serialisable):
|
||||
tagname: str
|
||||
idx: Any
|
||||
invertIfNegative: Any
|
||||
marker: Any
|
||||
bubble3D: Any
|
||||
explosion: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
pictureOptions: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
idx: Any | None = ...,
|
||||
invertIfNegative: Any | None = ...,
|
||||
marker: Any | None = ...,
|
||||
bubble3D: Any | None = ...,
|
||||
explosion: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
pictureOptions: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
20
stubs/openpyxl/openpyxl/chart/picture.pyi
Normal file
20
stubs/openpyxl/openpyxl/chart/picture.pyi
Normal file
@@ -0,0 +1,20 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class PictureOptions(Serialisable):
|
||||
tagname: str
|
||||
applyToFront: Any
|
||||
applyToSides: Any
|
||||
applyToEnd: Any
|
||||
pictureFormat: Any
|
||||
pictureStackUnit: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
applyToFront: Any | None = ...,
|
||||
applyToSides: Any | None = ...,
|
||||
applyToEnd: Any | None = ...,
|
||||
pictureFormat: Any | None = ...,
|
||||
pictureStackUnit: Any | None = ...,
|
||||
) -> None: ...
|
||||
81
stubs/openpyxl/openpyxl/chart/pie_chart.pyi
Normal file
81
stubs/openpyxl/openpyxl/chart/pie_chart.pyi
Normal file
@@ -0,0 +1,81 @@
|
||||
from abc import abstractmethod
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
from ._chart import ChartBase
|
||||
|
||||
class _PieChartBase(ChartBase):
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dataLabels: Any
|
||||
__elements__: Any
|
||||
def __init__(self, varyColors: bool = ..., ser=..., dLbls: Any | None = ...) -> None: ...
|
||||
@property
|
||||
@abstractmethod
|
||||
def tagname(self) -> str: ...
|
||||
|
||||
class PieChart(_PieChartBase):
|
||||
tagname: str
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
firstSliceAng: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, firstSliceAng: int = ..., extLst: Any | None = ..., **kw) -> None: ...
|
||||
|
||||
class PieChart3D(_PieChartBase):
|
||||
tagname: str
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
|
||||
class DoughnutChart(_PieChartBase):
|
||||
tagname: str
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
firstSliceAng: Any
|
||||
holeSize: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, firstSliceAng: int = ..., holeSize: int = ..., extLst: Any | None = ..., **kw) -> None: ...
|
||||
|
||||
class CustomSplit(Serialisable):
|
||||
tagname: str
|
||||
secondPiePt: Any
|
||||
__elements__: Any
|
||||
def __init__(self, secondPiePt=...) -> None: ...
|
||||
|
||||
class ProjectedPieChart(_PieChartBase):
|
||||
tagname: str
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
ofPieType: Any
|
||||
type: Any
|
||||
gapWidth: Any
|
||||
splitType: Any
|
||||
splitPos: Any
|
||||
custSplit: Any
|
||||
secondPieSize: Any
|
||||
serLines: Any
|
||||
join_lines: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
ofPieType: str = ...,
|
||||
gapWidth: Any | None = ...,
|
||||
splitType: str = ...,
|
||||
splitPos: Any | None = ...,
|
||||
custSplit: Any | None = ...,
|
||||
secondPieSize: int = ...,
|
||||
serLines: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
33
stubs/openpyxl/openpyxl/chart/pivot.pyi
Normal file
33
stubs/openpyxl/openpyxl/chart/pivot.pyi
Normal file
@@ -0,0 +1,33 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class PivotSource(Serialisable):
|
||||
tagname: str
|
||||
name: Any
|
||||
fmtId: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, name: Any | None = ..., fmtId: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class PivotFormat(Serialisable):
|
||||
tagname: str
|
||||
idx: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
txPr: Any
|
||||
TextBody: Any
|
||||
marker: Any
|
||||
dLbl: Any
|
||||
DataLabel: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
idx: int = ...,
|
||||
spPr: Any | None = ...,
|
||||
txPr: Any | None = ...,
|
||||
marker: Any | None = ...,
|
||||
dLbl: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
66
stubs/openpyxl/openpyxl/chart/plotarea.pyi
Normal file
66
stubs/openpyxl/openpyxl/chart/plotarea.pyi
Normal file
@@ -0,0 +1,66 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class DataTable(Serialisable):
|
||||
tagname: str
|
||||
showHorzBorder: Any
|
||||
showVertBorder: Any
|
||||
showOutline: Any
|
||||
showKeys: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
txPr: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
showHorzBorder: Any | None = ...,
|
||||
showVertBorder: Any | None = ...,
|
||||
showOutline: Any | None = ...,
|
||||
showKeys: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
txPr: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class PlotArea(Serialisable):
|
||||
tagname: str
|
||||
layout: Any
|
||||
dTable: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
extLst: Any
|
||||
areaChart: Any
|
||||
area3DChart: Any
|
||||
lineChart: Any
|
||||
line3DChart: Any
|
||||
stockChart: Any
|
||||
radarChart: Any
|
||||
scatterChart: Any
|
||||
pieChart: Any
|
||||
pie3DChart: Any
|
||||
doughnutChart: Any
|
||||
barChart: Any
|
||||
bar3DChart: Any
|
||||
ofPieChart: Any
|
||||
surfaceChart: Any
|
||||
surface3DChart: Any
|
||||
bubbleChart: Any
|
||||
valAx: Any
|
||||
catAx: Any
|
||||
dateAx: Any
|
||||
serAx: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
layout: Any | None = ...,
|
||||
dTable: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
_charts=...,
|
||||
_axes=...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
def to_tree(self, tagname: Any | None = ..., idx: Any | None = ..., namespace: Any | None = ...): ...
|
||||
@classmethod
|
||||
def from_tree(cls, node): ...
|
||||
27
stubs/openpyxl/openpyxl/chart/print_settings.pyi
Normal file
27
stubs/openpyxl/openpyxl/chart/print_settings.pyi
Normal file
@@ -0,0 +1,27 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class PageMargins(Serialisable):
|
||||
tagname: str
|
||||
l: Any
|
||||
left: Any
|
||||
r: Any
|
||||
right: Any
|
||||
t: Any
|
||||
top: Any
|
||||
b: Any
|
||||
bottom: Any
|
||||
header: Any
|
||||
footer: Any
|
||||
def __init__(
|
||||
self, l: float = ..., r: float = ..., t: int = ..., b: int = ..., header: float = ..., footer: float = ...
|
||||
) -> None: ...
|
||||
|
||||
class PrintSettings(Serialisable):
|
||||
tagname: str
|
||||
headerFooter: Any
|
||||
pageMargins: Any
|
||||
pageSetup: Any
|
||||
__elements__: Any
|
||||
def __init__(self, headerFooter: Any | None = ..., pageMargins: Any | None = ..., pageSetup: Any | None = ...) -> None: ...
|
||||
25
stubs/openpyxl/openpyxl/chart/radar_chart.pyi
Normal file
25
stubs/openpyxl/openpyxl/chart/radar_chart.pyi
Normal file
@@ -0,0 +1,25 @@
|
||||
from typing import Any
|
||||
|
||||
from ._chart import ChartBase
|
||||
|
||||
class RadarChart(ChartBase):
|
||||
tagname: str
|
||||
radarStyle: Any
|
||||
type: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dataLabels: Any
|
||||
extLst: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
radarStyle: str = ...,
|
||||
varyColors: Any | None = ...,
|
||||
ser=...,
|
||||
dLbls: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
1
stubs/openpyxl/openpyxl/chart/reader.pyi
Normal file
1
stubs/openpyxl/openpyxl/chart/reader.pyi
Normal file
@@ -0,0 +1 @@
|
||||
def read_chart(chartspace): ...
|
||||
34
stubs/openpyxl/openpyxl/chart/reference.pyi
Normal file
34
stubs/openpyxl/openpyxl/chart/reference.pyi
Normal file
@@ -0,0 +1,34 @@
|
||||
from collections.abc import Generator
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors import Strict
|
||||
|
||||
class DummyWorksheet:
|
||||
title: Any
|
||||
def __init__(self, title) -> None: ...
|
||||
|
||||
class Reference(Strict):
|
||||
min_row: Any
|
||||
max_row: Any
|
||||
min_col: Any
|
||||
max_col: Any
|
||||
range_string: Any
|
||||
worksheet: Any
|
||||
def __init__(
|
||||
self,
|
||||
worksheet: Any | None = ...,
|
||||
min_col: Any | None = ...,
|
||||
min_row: Any | None = ...,
|
||||
max_col: Any | None = ...,
|
||||
max_row: Any | None = ...,
|
||||
range_string: Any | None = ...,
|
||||
) -> None: ...
|
||||
def __len__(self): ...
|
||||
def __eq__(self, other): ...
|
||||
@property
|
||||
def rows(self) -> Generator[Any, None, None]: ...
|
||||
@property
|
||||
def cols(self) -> Generator[Any, None, None]: ...
|
||||
def pop(self): ...
|
||||
@property
|
||||
def sheetname(self): ...
|
||||
24
stubs/openpyxl/openpyxl/chart/scatter_chart.pyi
Normal file
24
stubs/openpyxl/openpyxl/chart/scatter_chart.pyi
Normal file
@@ -0,0 +1,24 @@
|
||||
from typing import Any
|
||||
|
||||
from ._chart import ChartBase as ChartBase
|
||||
|
||||
class ScatterChart(ChartBase):
|
||||
tagname: str
|
||||
scatterStyle: Any
|
||||
varyColors: Any
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dataLabels: Any
|
||||
extLst: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
scatterStyle: Any | None = ...,
|
||||
varyColors: Any | None = ...,
|
||||
ser=...,
|
||||
dLbls: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
86
stubs/openpyxl/openpyxl/chart/series.pyi
Normal file
86
stubs/openpyxl/openpyxl/chart/series.pyi
Normal file
@@ -0,0 +1,86 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
attribute_mapping: Any
|
||||
|
||||
class SeriesLabel(Serialisable):
|
||||
tagname: str
|
||||
strRef: Any
|
||||
v: Any
|
||||
value: Any
|
||||
__elements__: Any
|
||||
def __init__(self, strRef: Any | None = ..., v: Any | None = ...) -> None: ...
|
||||
|
||||
class Series(Serialisable):
|
||||
tagname: str
|
||||
idx: Any
|
||||
order: Any
|
||||
tx: Any
|
||||
title: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
pictureOptions: Any
|
||||
dPt: Any
|
||||
data_points: Any
|
||||
dLbls: Any
|
||||
labels: Any
|
||||
trendline: Any
|
||||
errBars: Any
|
||||
cat: Any
|
||||
identifiers: Any
|
||||
val: Any
|
||||
extLst: Any
|
||||
invertIfNegative: Any
|
||||
shape: Any
|
||||
xVal: Any
|
||||
yVal: Any
|
||||
bubbleSize: Any
|
||||
zVal: Any
|
||||
bubble3D: Any
|
||||
marker: Any
|
||||
smooth: Any
|
||||
explosion: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
idx: int = ...,
|
||||
order: int = ...,
|
||||
tx: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
pictureOptions: Any | None = ...,
|
||||
dPt=...,
|
||||
dLbls: Any | None = ...,
|
||||
trendline: Any | None = ...,
|
||||
errBars: Any | None = ...,
|
||||
cat: Any | None = ...,
|
||||
val: Any | None = ...,
|
||||
invertIfNegative: Any | None = ...,
|
||||
shape: Any | None = ...,
|
||||
xVal: Any | None = ...,
|
||||
yVal: Any | None = ...,
|
||||
bubbleSize: Any | None = ...,
|
||||
bubble3D: Any | None = ...,
|
||||
marker: Any | None = ...,
|
||||
smooth: Any | None = ...,
|
||||
explosion: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
def to_tree(self, tagname: Any | None = ..., idx: Any | None = ...): ... # type: ignore[override]
|
||||
|
||||
class XYSeries(Series):
|
||||
idx: Any
|
||||
order: Any
|
||||
tx: Any
|
||||
spPr: Any
|
||||
dPt: Any
|
||||
dLbls: Any
|
||||
trendline: Any
|
||||
errBars: Any
|
||||
xVal: Any
|
||||
yVal: Any
|
||||
invertIfNegative: Any
|
||||
bubbleSize: Any
|
||||
bubble3D: Any
|
||||
marker: Any
|
||||
smooth: Any
|
||||
5
stubs/openpyxl/openpyxl/chart/series_factory.pyi
Normal file
5
stubs/openpyxl/openpyxl/chart/series_factory.pyi
Normal file
@@ -0,0 +1,5 @@
|
||||
from typing import Any
|
||||
|
||||
def SeriesFactory(
|
||||
values, xvalues: Any | None = ..., zvalues: Any | None = ..., title: Any | None = ..., title_from_data: bool = ...
|
||||
): ...
|
||||
37
stubs/openpyxl/openpyxl/chart/shapes.pyi
Normal file
37
stubs/openpyxl/openpyxl/chart/shapes.pyi
Normal file
@@ -0,0 +1,37 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class GraphicalProperties(Serialisable):
|
||||
tagname: str
|
||||
bwMode: Any
|
||||
xfrm: Any
|
||||
transform: Any
|
||||
custGeom: Any
|
||||
prstGeom: Any
|
||||
noFill: Any
|
||||
solidFill: Any
|
||||
gradFill: Any
|
||||
pattFill: Any
|
||||
ln: Any
|
||||
line: Any
|
||||
scene3d: Any
|
||||
sp3d: Any
|
||||
shape3D: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
bwMode: Any | None = ...,
|
||||
xfrm: Any | None = ...,
|
||||
noFill: Any | None = ...,
|
||||
solidFill: Any | None = ...,
|
||||
gradFill: Any | None = ...,
|
||||
pattFill: Any | None = ...,
|
||||
ln: Any | None = ...,
|
||||
scene3d: Any | None = ...,
|
||||
custGeom: Any | None = ...,
|
||||
prstGeom: Any | None = ...,
|
||||
sp3d: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
26
stubs/openpyxl/openpyxl/chart/stock_chart.pyi
Normal file
26
stubs/openpyxl/openpyxl/chart/stock_chart.pyi
Normal file
@@ -0,0 +1,26 @@
|
||||
from typing import Any
|
||||
|
||||
from ._chart import ChartBase
|
||||
|
||||
class StockChart(ChartBase):
|
||||
tagname: str
|
||||
ser: Any
|
||||
dLbls: Any
|
||||
dataLabels: Any
|
||||
dropLines: Any
|
||||
hiLowLines: Any
|
||||
upDownBars: Any
|
||||
extLst: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
ser=...,
|
||||
dLbls: Any | None = ...,
|
||||
dropLines: Any | None = ...,
|
||||
hiLowLines: Any | None = ...,
|
||||
upDownBars: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
52
stubs/openpyxl/openpyxl/chart/surface_chart.pyi
Normal file
52
stubs/openpyxl/openpyxl/chart/surface_chart.pyi
Normal file
@@ -0,0 +1,52 @@
|
||||
from abc import abstractmethod
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
from ._3d import _3DBase
|
||||
from ._chart import ChartBase
|
||||
|
||||
class BandFormat(Serialisable):
|
||||
tagname: str
|
||||
idx: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
__elements__: Any
|
||||
def __init__(self, idx: int = ..., spPr: Any | None = ...) -> None: ...
|
||||
|
||||
class BandFormatList(Serialisable):
|
||||
tagname: str
|
||||
bandFmt: Any
|
||||
__elements__: Any
|
||||
def __init__(self, bandFmt=...) -> None: ...
|
||||
|
||||
class _SurfaceChartBase(ChartBase):
|
||||
wireframe: Any
|
||||
ser: Any
|
||||
bandFmts: Any
|
||||
__elements__: Any
|
||||
def __init__(self, wireframe: Any | None = ..., ser=..., bandFmts: Any | None = ..., **kw) -> None: ...
|
||||
@property
|
||||
@abstractmethod
|
||||
def tagname(self) -> str: ...
|
||||
|
||||
class SurfaceChart3D(_SurfaceChartBase, _3DBase): # type: ignore # incompatible base classes
|
||||
tagname: str
|
||||
wireframe: Any
|
||||
ser: Any
|
||||
bandFmts: Any
|
||||
extLst: Any
|
||||
x_axis: Any
|
||||
y_axis: Any
|
||||
z_axis: Any
|
||||
__elements__: Any
|
||||
def __init__(self, **kw) -> None: ...
|
||||
|
||||
class SurfaceChart(SurfaceChart3D):
|
||||
tagname: str
|
||||
wireframe: Any
|
||||
ser: Any
|
||||
bandFmts: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, **kw) -> None: ...
|
||||
21
stubs/openpyxl/openpyxl/chart/text.pyi
Normal file
21
stubs/openpyxl/openpyxl/chart/text.pyi
Normal file
@@ -0,0 +1,21 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class RichText(Serialisable):
|
||||
tagname: str
|
||||
bodyPr: Any
|
||||
properties: Any
|
||||
lstStyle: Any
|
||||
p: Any
|
||||
paragraphs: Any
|
||||
__elements__: Any
|
||||
def __init__(self, bodyPr: Any | None = ..., lstStyle: Any | None = ..., p: Any | None = ...) -> None: ...
|
||||
|
||||
class Text(Serialisable):
|
||||
tagname: str
|
||||
strRef: Any
|
||||
rich: Any
|
||||
__elements__: Any
|
||||
def __init__(self, strRef: Any | None = ..., rich: Any | None = ...) -> None: ...
|
||||
def to_tree(self, tagname: Any | None = ..., idx: Any | None = ..., namespace: Any | None = ...): ...
|
||||
33
stubs/openpyxl/openpyxl/chart/title.pyi
Normal file
33
stubs/openpyxl/openpyxl/chart/title.pyi
Normal file
@@ -0,0 +1,33 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors import Typed
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class Title(Serialisable):
|
||||
tagname: str
|
||||
tx: Any
|
||||
text: Any
|
||||
layout: Any
|
||||
overlay: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
txPr: Any
|
||||
body: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
tx: Any | None = ...,
|
||||
layout: Any | None = ...,
|
||||
overlay: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
txPr: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
def title_maker(text): ...
|
||||
|
||||
class TitleDescriptor(Typed):
|
||||
expected_type: Any
|
||||
allow_none: bool
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
56
stubs/openpyxl/openpyxl/chart/trendline.pyi
Normal file
56
stubs/openpyxl/openpyxl/chart/trendline.pyi
Normal file
@@ -0,0 +1,56 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class TrendlineLabel(Serialisable):
|
||||
tagname: str
|
||||
layout: Any
|
||||
tx: Any
|
||||
numFmt: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
txPr: Any
|
||||
textProperties: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
layout: Any | None = ...,
|
||||
tx: Any | None = ...,
|
||||
numFmt: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
txPr: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class Trendline(Serialisable):
|
||||
tagname: str
|
||||
name: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
trendlineType: Any
|
||||
order: Any
|
||||
period: Any
|
||||
forward: Any
|
||||
backward: Any
|
||||
intercept: Any
|
||||
dispRSqr: Any
|
||||
dispEq: Any
|
||||
trendlineLbl: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
name: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
trendlineType: str = ...,
|
||||
order: Any | None = ...,
|
||||
period: Any | None = ...,
|
||||
forward: Any | None = ...,
|
||||
backward: Any | None = ...,
|
||||
intercept: Any | None = ...,
|
||||
dispRSqr: Any | None = ...,
|
||||
dispEq: Any | None = ...,
|
||||
trendlineLbl: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
14
stubs/openpyxl/openpyxl/chart/updown_bars.pyi
Normal file
14
stubs/openpyxl/openpyxl/chart/updown_bars.pyi
Normal file
@@ -0,0 +1,14 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class UpDownBars(Serialisable):
|
||||
tagname: str
|
||||
gapWidth: Any
|
||||
upBars: Any
|
||||
downBars: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self, gapWidth: int = ..., upBars: Any | None = ..., downBars: Any | None = ..., extLst: Any | None = ...
|
||||
) -> None: ...
|
||||
1
stubs/openpyxl/openpyxl/chartsheet/__init__.pyi
Normal file
1
stubs/openpyxl/openpyxl/chartsheet/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from .chartsheet import Chartsheet as Chartsheet
|
||||
44
stubs/openpyxl/openpyxl/chartsheet/chartsheet.pyi
Normal file
44
stubs/openpyxl/openpyxl/chartsheet/chartsheet.pyi
Normal file
@@ -0,0 +1,44 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
from openpyxl.workbook.child import _WorkbookChild
|
||||
|
||||
class Chartsheet(_WorkbookChild, Serialisable):
|
||||
tagname: str
|
||||
mime_type: str
|
||||
sheetPr: Any
|
||||
sheetViews: Any
|
||||
sheetProtection: Any
|
||||
customSheetViews: Any
|
||||
pageMargins: Any
|
||||
pageSetup: Any
|
||||
drawing: Any
|
||||
drawingHF: Any
|
||||
picture: Any
|
||||
webPublishItems: Any
|
||||
extLst: Any
|
||||
sheet_state: Any
|
||||
headerFooter: Any
|
||||
HeaderFooter: Any
|
||||
__elements__: Any
|
||||
__attrs__: Any
|
||||
def __init__(
|
||||
self,
|
||||
sheetPr: Any | None = ...,
|
||||
sheetViews: Any | None = ...,
|
||||
sheetProtection: Any | None = ...,
|
||||
customSheetViews: Any | None = ...,
|
||||
pageMargins: Any | None = ...,
|
||||
pageSetup: Any | None = ...,
|
||||
headerFooter: Any | None = ...,
|
||||
drawing: Any | None = ...,
|
||||
drawingHF: Any | None = ...,
|
||||
picture: Any | None = ...,
|
||||
webPublishItems: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
parent: Any | None = ...,
|
||||
title: str = ...,
|
||||
sheet_state: str = ...,
|
||||
) -> None: ...
|
||||
def add_chart(self, chart) -> None: ...
|
||||
def to_tree(self): ...
|
||||
30
stubs/openpyxl/openpyxl/chartsheet/custom.pyi
Normal file
30
stubs/openpyxl/openpyxl/chartsheet/custom.pyi
Normal file
@@ -0,0 +1,30 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class CustomChartsheetView(Serialisable):
|
||||
tagname: str
|
||||
guid: Any
|
||||
scale: Any
|
||||
state: Any
|
||||
zoomToFit: Any
|
||||
pageMargins: Any
|
||||
pageSetup: Any
|
||||
headerFooter: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
guid: Any | None = ...,
|
||||
scale: Any | None = ...,
|
||||
state: str = ...,
|
||||
zoomToFit: Any | None = ...,
|
||||
pageMargins: Any | None = ...,
|
||||
pageSetup: Any | None = ...,
|
||||
headerFooter: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class CustomChartsheetViews(Serialisable):
|
||||
tagname: str
|
||||
customSheetView: Any
|
||||
__elements__: Any
|
||||
def __init__(self, customSheetView: Any | None = ...) -> None: ...
|
||||
11
stubs/openpyxl/openpyxl/chartsheet/properties.pyi
Normal file
11
stubs/openpyxl/openpyxl/chartsheet/properties.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable as Serialisable
|
||||
|
||||
class ChartsheetProperties(Serialisable):
|
||||
tagname: str
|
||||
published: Any
|
||||
codeName: Any
|
||||
tabColor: Any
|
||||
__elements__: Any
|
||||
def __init__(self, published: Any | None = ..., codeName: Any | None = ..., tabColor: Any | None = ...) -> None: ...
|
||||
25
stubs/openpyxl/openpyxl/chartsheet/protection.pyi
Normal file
25
stubs/openpyxl/openpyxl/chartsheet/protection.pyi
Normal file
@@ -0,0 +1,25 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
from openpyxl.worksheet.protection import _Protected
|
||||
|
||||
class ChartsheetProtection(Serialisable, _Protected):
|
||||
tagname: str
|
||||
algorithmName: Any
|
||||
hashValue: Any
|
||||
saltValue: Any
|
||||
spinCount: Any
|
||||
content: Any
|
||||
objects: Any
|
||||
__attrs__: Any
|
||||
password: Any
|
||||
def __init__(
|
||||
self,
|
||||
content: Any | None = ...,
|
||||
objects: Any | None = ...,
|
||||
hashValue: Any | None = ...,
|
||||
spinCount: Any | None = ...,
|
||||
saltValue: Any | None = ...,
|
||||
algorithmName: Any | None = ...,
|
||||
password: Any | None = ...,
|
||||
) -> None: ...
|
||||
32
stubs/openpyxl/openpyxl/chartsheet/publish.pyi
Normal file
32
stubs/openpyxl/openpyxl/chartsheet/publish.pyi
Normal file
@@ -0,0 +1,32 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class WebPublishItem(Serialisable):
|
||||
tagname: str
|
||||
id: Any
|
||||
divId: Any
|
||||
sourceType: Any
|
||||
sourceRef: Any
|
||||
sourceObject: Any
|
||||
destinationFile: Any
|
||||
title: Any
|
||||
autoRepublish: Any
|
||||
def __init__(
|
||||
self,
|
||||
id: Any | None = ...,
|
||||
divId: Any | None = ...,
|
||||
sourceType: Any | None = ...,
|
||||
sourceRef: Any | None = ...,
|
||||
sourceObject: Any | None = ...,
|
||||
destinationFile: Any | None = ...,
|
||||
title: Any | None = ...,
|
||||
autoRepublish: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class WebPublishItems(Serialisable):
|
||||
tagname: str
|
||||
count: Any
|
||||
webPublishItem: Any
|
||||
__elements__: Any
|
||||
def __init__(self, count: Any | None = ..., webPublishItem: Any | None = ...) -> None: ...
|
||||
69
stubs/openpyxl/openpyxl/chartsheet/relation.pyi
Normal file
69
stubs/openpyxl/openpyxl/chartsheet/relation.pyi
Normal file
@@ -0,0 +1,69 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class SheetBackgroundPicture(Serialisable):
|
||||
tagname: str
|
||||
id: Any
|
||||
def __init__(self, id) -> None: ...
|
||||
|
||||
class DrawingHF(Serialisable):
|
||||
id: Any
|
||||
lho: Any
|
||||
leftHeaderOddPages: Any
|
||||
lhe: Any
|
||||
leftHeaderEvenPages: Any
|
||||
lhf: Any
|
||||
leftHeaderFirstPage: Any
|
||||
cho: Any
|
||||
centerHeaderOddPages: Any
|
||||
che: Any
|
||||
centerHeaderEvenPages: Any
|
||||
chf: Any
|
||||
centerHeaderFirstPage: Any
|
||||
rho: Any
|
||||
rightHeaderOddPages: Any
|
||||
rhe: Any
|
||||
rightHeaderEvenPages: Any
|
||||
rhf: Any
|
||||
rightHeaderFirstPage: Any
|
||||
lfo: Any
|
||||
leftFooterOddPages: Any
|
||||
lfe: Any
|
||||
leftFooterEvenPages: Any
|
||||
lff: Any
|
||||
leftFooterFirstPage: Any
|
||||
cfo: Any
|
||||
centerFooterOddPages: Any
|
||||
cfe: Any
|
||||
centerFooterEvenPages: Any
|
||||
cff: Any
|
||||
centerFooterFirstPage: Any
|
||||
rfo: Any
|
||||
rightFooterOddPages: Any
|
||||
rfe: Any
|
||||
rightFooterEvenPages: Any
|
||||
rff: Any
|
||||
rightFooterFirstPage: Any
|
||||
def __init__(
|
||||
self,
|
||||
id: Any | None = ...,
|
||||
lho: Any | None = ...,
|
||||
lhe: Any | None = ...,
|
||||
lhf: Any | None = ...,
|
||||
cho: Any | None = ...,
|
||||
che: Any | None = ...,
|
||||
chf: Any | None = ...,
|
||||
rho: Any | None = ...,
|
||||
rhe: Any | None = ...,
|
||||
rhf: Any | None = ...,
|
||||
lfo: Any | None = ...,
|
||||
lfe: Any | None = ...,
|
||||
lff: Any | None = ...,
|
||||
cfo: Any | None = ...,
|
||||
cfe: Any | None = ...,
|
||||
cff: Any | None = ...,
|
||||
rfo: Any | None = ...,
|
||||
rfe: Any | None = ...,
|
||||
rff: Any | None = ...,
|
||||
) -> None: ...
|
||||
27
stubs/openpyxl/openpyxl/chartsheet/views.pyi
Normal file
27
stubs/openpyxl/openpyxl/chartsheet/views.pyi
Normal file
@@ -0,0 +1,27 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class ChartsheetView(Serialisable):
|
||||
tagname: str
|
||||
tabSelected: Any
|
||||
zoomScale: Any
|
||||
workbookViewId: Any
|
||||
zoomToFit: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
tabSelected: Any | None = ...,
|
||||
zoomScale: Any | None = ...,
|
||||
workbookViewId: int = ...,
|
||||
zoomToFit: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class ChartsheetViewList(Serialisable):
|
||||
tagname: str
|
||||
sheetView: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, sheetView: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
1
stubs/openpyxl/openpyxl/comments/__init__.pyi
Normal file
1
stubs/openpyxl/openpyxl/comments/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from .comments import Comment as Comment
|
||||
9
stubs/openpyxl/openpyxl/comments/author.pyi
Normal file
9
stubs/openpyxl/openpyxl/comments/author.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class AuthorList(Serialisable):
|
||||
tagname: str
|
||||
author: Any
|
||||
authors: Any
|
||||
def __init__(self, author=...) -> None: ...
|
||||
88
stubs/openpyxl/openpyxl/comments/comment_sheet.pyi
Normal file
88
stubs/openpyxl/openpyxl/comments/comment_sheet.pyi
Normal file
@@ -0,0 +1,88 @@
|
||||
from collections.abc import Generator
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class Properties(Serialisable):
|
||||
locked: Any
|
||||
defaultSize: Any
|
||||
disabled: Any
|
||||
uiObject: Any
|
||||
autoFill: Any
|
||||
autoLine: Any
|
||||
altText: Any
|
||||
textHAlign: Any
|
||||
textVAlign: Any
|
||||
lockText: Any
|
||||
justLastX: Any
|
||||
autoScale: Any
|
||||
rowHidden: Any
|
||||
colHidden: Any
|
||||
__elements__: Any
|
||||
anchor: Any
|
||||
def __init__(
|
||||
self,
|
||||
locked: Any | None = ...,
|
||||
defaultSize: Any | None = ...,
|
||||
_print: Any | None = ...,
|
||||
disabled: Any | None = ...,
|
||||
uiObject: Any | None = ...,
|
||||
autoFill: Any | None = ...,
|
||||
autoLine: Any | None = ...,
|
||||
altText: Any | None = ...,
|
||||
textHAlign: Any | None = ...,
|
||||
textVAlign: Any | None = ...,
|
||||
lockText: Any | None = ...,
|
||||
justLastX: Any | None = ...,
|
||||
autoScale: Any | None = ...,
|
||||
rowHidden: Any | None = ...,
|
||||
colHidden: Any | None = ...,
|
||||
anchor: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class CommentRecord(Serialisable):
|
||||
tagname: str
|
||||
ref: Any
|
||||
authorId: Any
|
||||
guid: Any
|
||||
shapeId: Any
|
||||
text: Any
|
||||
commentPr: Any
|
||||
author: Any
|
||||
__elements__: Any
|
||||
__attrs__: Any
|
||||
height: Any
|
||||
width: Any
|
||||
def __init__(
|
||||
self,
|
||||
ref: str = ...,
|
||||
authorId: int = ...,
|
||||
guid: Any | None = ...,
|
||||
shapeId: int = ...,
|
||||
text: Any | None = ...,
|
||||
commentPr: Any | None = ...,
|
||||
author: Any | None = ...,
|
||||
height: int = ...,
|
||||
width: int = ...,
|
||||
) -> None: ...
|
||||
@classmethod
|
||||
def from_cell(cls, cell): ...
|
||||
@property
|
||||
def content(self): ...
|
||||
|
||||
class CommentSheet(Serialisable):
|
||||
tagname: str
|
||||
authors: Any
|
||||
commentList: Any
|
||||
extLst: Any
|
||||
mime_type: str
|
||||
__elements__: Any
|
||||
def __init__(self, authors: Any | None = ..., commentList: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
def to_tree(self): ...
|
||||
@property
|
||||
def comments(self) -> Generator[Any, None, None]: ...
|
||||
@classmethod
|
||||
def from_comments(cls, comments): ...
|
||||
def write_shapes(self, vml: Any | None = ...): ...
|
||||
@property
|
||||
def path(self): ...
|
||||
18
stubs/openpyxl/openpyxl/comments/comments.pyi
Normal file
18
stubs/openpyxl/openpyxl/comments/comments.pyi
Normal file
@@ -0,0 +1,18 @@
|
||||
from typing import Any
|
||||
|
||||
class Comment:
|
||||
content: Any
|
||||
author: Any
|
||||
height: Any
|
||||
width: Any
|
||||
def __init__(self, text, author, height: int = ..., width: int = ...) -> None: ...
|
||||
@property
|
||||
def parent(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __copy__(self): ...
|
||||
def bind(self, cell) -> None: ...
|
||||
def unbind(self) -> None: ...
|
||||
@property
|
||||
def text(self): ...
|
||||
@text.setter
|
||||
def text(self, value) -> None: ...
|
||||
14
stubs/openpyxl/openpyxl/comments/shape_writer.pyi
Normal file
14
stubs/openpyxl/openpyxl/comments/shape_writer.pyi
Normal file
@@ -0,0 +1,14 @@
|
||||
from typing import Any
|
||||
|
||||
vmlns: str
|
||||
officens: str
|
||||
excelns: str
|
||||
|
||||
class ShapeWriter:
|
||||
vml: Any
|
||||
vml_path: Any
|
||||
comments: Any
|
||||
def __init__(self, comments) -> None: ...
|
||||
def add_comment_shapetype(self, root) -> None: ...
|
||||
def add_comment_shape(self, root, idx, coord, height, width) -> None: ...
|
||||
def write(self, root): ...
|
||||
10
stubs/openpyxl/openpyxl/compat/__init__.pyi
Normal file
10
stubs/openpyxl/openpyxl/compat/__init__.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
from typing import Any
|
||||
|
||||
from .numbers import NUMERIC_TYPES as NUMERIC_TYPES
|
||||
from .strings import safe_string as safe_string
|
||||
|
||||
class DummyCode: ...
|
||||
|
||||
string_types: Any
|
||||
|
||||
def deprecated(reason): ...
|
||||
1
stubs/openpyxl/openpyxl/compat/abc.pyi
Normal file
1
stubs/openpyxl/openpyxl/compat/abc.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from abc import ABC as ABC
|
||||
4
stubs/openpyxl/openpyxl/compat/numbers.pyi
Normal file
4
stubs/openpyxl/openpyxl/compat/numbers.pyi
Normal file
@@ -0,0 +1,4 @@
|
||||
from typing import Any
|
||||
|
||||
NUMERIC_TYPES: Any
|
||||
NUMPY: bool
|
||||
3
stubs/openpyxl/openpyxl/compat/product.pyi
Normal file
3
stubs/openpyxl/openpyxl/compat/product.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
def product(sequence): ...
|
||||
|
||||
prod = product
|
||||
7
stubs/openpyxl/openpyxl/compat/singleton.pyi
Normal file
7
stubs/openpyxl/openpyxl/compat/singleton.pyi
Normal file
@@ -0,0 +1,7 @@
|
||||
class Singleton(type):
|
||||
def __init__(self, *args, **kw) -> None: ...
|
||||
def __call__(self, *args, **kw): ...
|
||||
|
||||
class Cached(type):
|
||||
def __init__(self, *args, **kw) -> None: ...
|
||||
def __call__(self, *args): ...
|
||||
5
stubs/openpyxl/openpyxl/compat/strings.pyi
Normal file
5
stubs/openpyxl/openpyxl/compat/strings.pyi
Normal file
@@ -0,0 +1,5 @@
|
||||
from typing import Any
|
||||
|
||||
VER: Any
|
||||
|
||||
def safe_string(value): ...
|
||||
13
stubs/openpyxl/openpyxl/descriptors/__init__.pyi
Normal file
13
stubs/openpyxl/openpyxl/descriptors/__init__.pyi
Normal file
@@ -0,0 +1,13 @@
|
||||
from typing import Any
|
||||
|
||||
from .base import *
|
||||
from .sequence import Sequence as Sequence
|
||||
|
||||
class MetaStrict(type):
|
||||
def __new__(cls, clsname, bases, methods): ...
|
||||
|
||||
class MetaSerialisable(type):
|
||||
def __new__(cls, clsname, bases, methods): ...
|
||||
|
||||
Strict: Any
|
||||
_Serialiasable = Any
|
||||
85
stubs/openpyxl/openpyxl/descriptors/base.pyi
Normal file
85
stubs/openpyxl/openpyxl/descriptors/base.pyi
Normal file
@@ -0,0 +1,85 @@
|
||||
from typing import Any
|
||||
|
||||
class Descriptor:
|
||||
name: Any
|
||||
def __init__(self, name: Any | None = ..., **kw) -> None: ...
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class Typed(Descriptor):
|
||||
expected_type: Any
|
||||
allow_none: bool
|
||||
nested: bool
|
||||
__doc__: Any
|
||||
def __init__(self, *args, **kw) -> None: ...
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class Convertible(Typed):
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class Max(Convertible):
|
||||
expected_type: Any
|
||||
allow_none: bool
|
||||
def __init__(self, **kw) -> None: ...
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class Min(Convertible):
|
||||
expected_type: Any
|
||||
allow_none: bool
|
||||
def __init__(self, **kw) -> None: ...
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class MinMax(Min, Max): ...
|
||||
|
||||
class Set(Descriptor):
|
||||
__doc__: Any
|
||||
def __init__(self, name: Any | None = ..., **kw) -> None: ...
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class NoneSet(Set):
|
||||
def __init__(self, name: Any | None = ..., **kw) -> None: ...
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class Integer(Convertible):
|
||||
expected_type: Any
|
||||
|
||||
class Float(Convertible):
|
||||
expected_type: Any
|
||||
|
||||
class Bool(Convertible):
|
||||
expected_type: Any
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class String(Typed):
|
||||
expected_type: Any
|
||||
|
||||
class Text(String, Convertible): ...
|
||||
|
||||
class ASCII(Typed):
|
||||
expected_type: Any
|
||||
|
||||
class Tuple(Typed):
|
||||
expected_type: Any
|
||||
|
||||
class Length(Descriptor):
|
||||
def __init__(self, name: Any | None = ..., **kw) -> None: ...
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class Default(Typed):
|
||||
def __init__(self, name: Any | None = ..., **kw) -> None: ...
|
||||
def __call__(self): ...
|
||||
|
||||
class Alias(Descriptor):
|
||||
alias: Any
|
||||
def __init__(self, alias) -> None: ...
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
def __get__(self, instance, cls): ...
|
||||
|
||||
class MatchPattern(Descriptor):
|
||||
allow_none: bool
|
||||
test_pattern: Any
|
||||
def __init__(self, name: Any | None = ..., **kw) -> None: ...
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class DateTime(Typed):
|
||||
expected_type: Any
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
46
stubs/openpyxl/openpyxl/descriptors/excel.pyi
Normal file
46
stubs/openpyxl/openpyxl/descriptors/excel.pyi
Normal file
@@ -0,0 +1,46 @@
|
||||
from typing import Any
|
||||
|
||||
from . import Integer, MatchPattern, MinMax, String
|
||||
from .serialisable import Serialisable
|
||||
|
||||
class HexBinary(MatchPattern):
|
||||
pattern: str
|
||||
|
||||
class UniversalMeasure(MatchPattern):
|
||||
pattern: str
|
||||
|
||||
class TextPoint(MinMax):
|
||||
expected_type: Any
|
||||
min: int
|
||||
max: int
|
||||
|
||||
Coordinate = Integer
|
||||
|
||||
class Percentage(MinMax):
|
||||
pattern: str
|
||||
min: int
|
||||
max: int
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class Extension(Serialisable):
|
||||
uri: Any
|
||||
def __init__(self, uri: Any | None = ...) -> None: ...
|
||||
|
||||
class ExtensionList(Serialisable):
|
||||
ext: Any
|
||||
def __init__(self, ext=...) -> None: ...
|
||||
|
||||
class Relation(String):
|
||||
namespace: Any
|
||||
allow_none: bool
|
||||
|
||||
class Base64Binary(MatchPattern):
|
||||
pattern: str
|
||||
|
||||
class Guid(MatchPattern):
|
||||
pattern: str
|
||||
|
||||
class CellRange(MatchPattern):
|
||||
pattern: str
|
||||
allow_none: bool
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
3
stubs/openpyxl/openpyxl/descriptors/namespace.pyi
Normal file
3
stubs/openpyxl/openpyxl/descriptors/namespace.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def namespaced(obj, tagname, namespace: Any | None = ...): ...
|
||||
31
stubs/openpyxl/openpyxl/descriptors/nested.pyi
Normal file
31
stubs/openpyxl/openpyxl/descriptors/nested.pyi
Normal file
@@ -0,0 +1,31 @@
|
||||
from typing import Any
|
||||
|
||||
from .base import Bool, Convertible, Descriptor, Float, Integer, MinMax, NoneSet, Set, String
|
||||
|
||||
class Nested(Descriptor):
|
||||
nested: bool
|
||||
attribute: str
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
def from_tree(self, node): ...
|
||||
def to_tree(self, tagname: Any | None = ..., value: Any | None = ..., namespace: Any | None = ...): ...
|
||||
|
||||
class NestedValue(Nested, Convertible): ...
|
||||
|
||||
class NestedText(NestedValue):
|
||||
def from_tree(self, node): ...
|
||||
def to_tree(self, tagname: Any | None = ..., value: Any | None = ..., namespace: Any | None = ...): ...
|
||||
|
||||
class NestedFloat(NestedValue, Float): ...
|
||||
class NestedInteger(NestedValue, Integer): ...
|
||||
class NestedString(NestedValue, String): ...
|
||||
|
||||
class NestedBool(NestedValue, Bool):
|
||||
def from_tree(self, node): ...
|
||||
|
||||
class NestedNoneSet(Nested, NoneSet): ...
|
||||
class NestedSet(Nested, Set): ...
|
||||
class NestedMinMax(Nested, MinMax): ...
|
||||
|
||||
class EmptyTag(Nested, Bool):
|
||||
def from_tree(self, node): ...
|
||||
def to_tree(self, tagname: Any | None = ..., value: Any | None = ..., namespace: Any | None = ...): ...
|
||||
33
stubs/openpyxl/openpyxl/descriptors/sequence.pyi
Normal file
33
stubs/openpyxl/openpyxl/descriptors/sequence.pyi
Normal file
@@ -0,0 +1,33 @@
|
||||
from collections.abc import Generator
|
||||
from typing import Any
|
||||
|
||||
from .base import Alias, Descriptor
|
||||
|
||||
class Sequence(Descriptor):
|
||||
expected_type: Any
|
||||
seq_types: Any
|
||||
idx_base: int
|
||||
unique: bool
|
||||
def __set__(self, instance, seq) -> None: ...
|
||||
def to_tree(self, tagname, obj, namespace: Any | None = ...) -> Generator[Any, None, None]: ...
|
||||
|
||||
class ValueSequence(Sequence):
|
||||
attribute: str
|
||||
def to_tree(self, tagname, obj, namespace: Any | None = ...) -> Generator[Any, None, None]: ...
|
||||
def from_tree(self, node): ...
|
||||
|
||||
class NestedSequence(Sequence):
|
||||
count: bool
|
||||
def to_tree(self, tagname, obj, namespace: Any | None = ...): ...
|
||||
def from_tree(self, node): ...
|
||||
|
||||
class MultiSequence(Sequence):
|
||||
def __set__(self, instance, seq) -> None: ...
|
||||
def to_tree(self, tagname, obj, namespace: Any | None = ...) -> Generator[Any, None, None]: ...
|
||||
|
||||
class MultiSequencePart(Alias):
|
||||
expected_type: Any
|
||||
store: Any
|
||||
def __init__(self, expected_type, store) -> None: ...
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
def __get__(self, instance, cls): ...
|
||||
27
stubs/openpyxl/openpyxl/descriptors/serialisable.pyi
Normal file
27
stubs/openpyxl/openpyxl/descriptors/serialisable.pyi
Normal file
@@ -0,0 +1,27 @@
|
||||
from typing import Any
|
||||
|
||||
from . import _Serialiasable
|
||||
|
||||
KEYWORDS: Any
|
||||
seq_types: Any
|
||||
|
||||
class Serialisable(_Serialiasable):
|
||||
__attrs__: Any
|
||||
__nested__: Any
|
||||
__elements__: Any
|
||||
__namespaced__: Any
|
||||
idx_base: int
|
||||
@property
|
||||
# TODO: needs overrides in many sub-classes
|
||||
# @abstractmethod
|
||||
def tagname(self) -> str: ...
|
||||
namespace: Any
|
||||
@classmethod
|
||||
def from_tree(cls, node): ...
|
||||
def to_tree(self, tagname: Any | None = ..., idx: Any | None = ..., namespace: Any | None = ...): ...
|
||||
def __iter__(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
def __hash__(self): ...
|
||||
def __add__(self, other): ...
|
||||
def __copy__(self): ...
|
||||
2
stubs/openpyxl/openpyxl/descriptors/slots.pyi
Normal file
2
stubs/openpyxl/openpyxl/descriptors/slots.pyi
Normal file
@@ -0,0 +1,2 @@
|
||||
class AutoSlotProperties(type):
|
||||
def __new__(cls, classname, bases, dictionary): ...
|
||||
1
stubs/openpyxl/openpyxl/drawing/__init__.pyi
Normal file
1
stubs/openpyxl/openpyxl/drawing/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from .drawing import Drawing as Drawing
|
||||
216
stubs/openpyxl/openpyxl/drawing/colors.pyi
Normal file
216
stubs/openpyxl/openpyxl/drawing/colors.pyi
Normal file
@@ -0,0 +1,216 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors import Typed
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
PRESET_COLORS: Any
|
||||
SCHEME_COLORS: Any
|
||||
|
||||
class Transform(Serialisable): ...
|
||||
|
||||
class SystemColor(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
tint: Any
|
||||
shade: Any
|
||||
comp: Any
|
||||
inv: Any
|
||||
gray: Any
|
||||
alpha: Any
|
||||
alphaOff: Any
|
||||
alphaMod: Any
|
||||
hue: Any
|
||||
hueOff: Any
|
||||
hueMod: Any
|
||||
sat: Any
|
||||
satOff: Any
|
||||
satMod: Any
|
||||
lum: Any
|
||||
lumOff: Any
|
||||
lumMod: Any
|
||||
red: Any
|
||||
redOff: Any
|
||||
redMod: Any
|
||||
green: Any
|
||||
greenOff: Any
|
||||
greenMod: Any
|
||||
blue: Any
|
||||
blueOff: Any
|
||||
blueMod: Any
|
||||
gamma: Any
|
||||
invGamma: Any
|
||||
val: Any
|
||||
lastClr: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
val: str = ...,
|
||||
lastClr: Any | None = ...,
|
||||
tint: Any | None = ...,
|
||||
shade: Any | None = ...,
|
||||
comp: Any | None = ...,
|
||||
inv: Any | None = ...,
|
||||
gray: Any | None = ...,
|
||||
alpha: Any | None = ...,
|
||||
alphaOff: Any | None = ...,
|
||||
alphaMod: Any | None = ...,
|
||||
hue: Any | None = ...,
|
||||
hueOff: Any | None = ...,
|
||||
hueMod: Any | None = ...,
|
||||
sat: Any | None = ...,
|
||||
satOff: Any | None = ...,
|
||||
satMod: Any | None = ...,
|
||||
lum: Any | None = ...,
|
||||
lumOff: Any | None = ...,
|
||||
lumMod: Any | None = ...,
|
||||
red: Any | None = ...,
|
||||
redOff: Any | None = ...,
|
||||
redMod: Any | None = ...,
|
||||
green: Any | None = ...,
|
||||
greenOff: Any | None = ...,
|
||||
greenMod: Any | None = ...,
|
||||
blue: Any | None = ...,
|
||||
blueOff: Any | None = ...,
|
||||
blueMod: Any | None = ...,
|
||||
gamma: Any | None = ...,
|
||||
invGamma: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class HSLColor(Serialisable):
|
||||
tagname: str
|
||||
hue: Any
|
||||
sat: Any
|
||||
lum: Any
|
||||
def __init__(self, hue: Any | None = ..., sat: Any | None = ..., lum: Any | None = ...) -> None: ...
|
||||
|
||||
class RGBPercent(Serialisable):
|
||||
tagname: str
|
||||
r: Any
|
||||
g: Any
|
||||
b: Any
|
||||
def __init__(self, r: Any | None = ..., g: Any | None = ..., b: Any | None = ...) -> None: ...
|
||||
|
||||
class SchemeColor(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
tint: Any
|
||||
shade: Any
|
||||
comp: Any
|
||||
inv: Any
|
||||
gray: Any
|
||||
alpha: Any
|
||||
alphaOff: Any
|
||||
alphaMod: Any
|
||||
hue: Any
|
||||
hueOff: Any
|
||||
hueMod: Any
|
||||
sat: Any
|
||||
satOff: Any
|
||||
satMod: Any
|
||||
lum: Any
|
||||
lumOff: Any
|
||||
lumMod: Any
|
||||
red: Any
|
||||
redOff: Any
|
||||
redMod: Any
|
||||
green: Any
|
||||
greenOff: Any
|
||||
greenMod: Any
|
||||
blue: Any
|
||||
blueOff: Any
|
||||
blueMod: Any
|
||||
gamma: Any
|
||||
invGamma: Any
|
||||
val: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
tint: Any | None = ...,
|
||||
shade: Any | None = ...,
|
||||
comp: Any | None = ...,
|
||||
inv: Any | None = ...,
|
||||
gray: Any | None = ...,
|
||||
alpha: Any | None = ...,
|
||||
alphaOff: Any | None = ...,
|
||||
alphaMod: Any | None = ...,
|
||||
hue: Any | None = ...,
|
||||
hueOff: Any | None = ...,
|
||||
hueMod: Any | None = ...,
|
||||
sat: Any | None = ...,
|
||||
satOff: Any | None = ...,
|
||||
satMod: Any | None = ...,
|
||||
lum: Any | None = ...,
|
||||
lumOff: Any | None = ...,
|
||||
lumMod: Any | None = ...,
|
||||
red: Any | None = ...,
|
||||
redOff: Any | None = ...,
|
||||
redMod: Any | None = ...,
|
||||
green: Any | None = ...,
|
||||
greenOff: Any | None = ...,
|
||||
greenMod: Any | None = ...,
|
||||
blue: Any | None = ...,
|
||||
blueOff: Any | None = ...,
|
||||
blueMod: Any | None = ...,
|
||||
gamma: Any | None = ...,
|
||||
invGamma: Any | None = ...,
|
||||
val: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class ColorChoice(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
scrgbClr: Any
|
||||
RGBPercent: Any
|
||||
srgbClr: Any
|
||||
RGB: Any
|
||||
hslClr: Any
|
||||
sysClr: Any
|
||||
schemeClr: Any
|
||||
prstClr: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
scrgbClr: Any | None = ...,
|
||||
srgbClr: Any | None = ...,
|
||||
hslClr: Any | None = ...,
|
||||
sysClr: Any | None = ...,
|
||||
schemeClr: Any | None = ...,
|
||||
prstClr: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class ColorMapping(Serialisable):
|
||||
tagname: str
|
||||
bg1: Any
|
||||
tx1: Any
|
||||
bg2: Any
|
||||
tx2: Any
|
||||
accent1: Any
|
||||
accent2: Any
|
||||
accent3: Any
|
||||
accent4: Any
|
||||
accent5: Any
|
||||
accent6: Any
|
||||
hlink: Any
|
||||
folHlink: Any
|
||||
extLst: Any
|
||||
def __init__(
|
||||
self,
|
||||
bg1: str = ...,
|
||||
tx1: str = ...,
|
||||
bg2: str = ...,
|
||||
tx2: str = ...,
|
||||
accent1: str = ...,
|
||||
accent2: str = ...,
|
||||
accent3: str = ...,
|
||||
accent4: str = ...,
|
||||
accent5: str = ...,
|
||||
accent6: str = ...,
|
||||
hlink: str = ...,
|
||||
folHlink: str = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class ColorChoiceDescriptor(Typed):
|
||||
expected_type: Any
|
||||
allow_none: bool
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
72
stubs/openpyxl/openpyxl/drawing/connector.pyi
Normal file
72
stubs/openpyxl/openpyxl/drawing/connector.pyi
Normal file
@@ -0,0 +1,72 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class Connection(Serialisable):
|
||||
id: Any
|
||||
idx: Any
|
||||
def __init__(self, id: Any | None = ..., idx: Any | None = ...) -> None: ...
|
||||
|
||||
class ConnectorLocking(Serialisable):
|
||||
extLst: Any
|
||||
def __init__(self, extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class NonVisualConnectorProperties(Serialisable):
|
||||
cxnSpLocks: Any
|
||||
stCxn: Any
|
||||
endCxn: Any
|
||||
extLst: Any
|
||||
def __init__(
|
||||
self, cxnSpLocks: Any | None = ..., stCxn: Any | None = ..., endCxn: Any | None = ..., extLst: Any | None = ...
|
||||
) -> None: ...
|
||||
|
||||
class ConnectorNonVisual(Serialisable):
|
||||
cNvPr: Any
|
||||
cNvCxnSpPr: Any
|
||||
__elements__: Any
|
||||
def __init__(self, cNvPr: Any | None = ..., cNvCxnSpPr: Any | None = ...) -> None: ...
|
||||
|
||||
class ConnectorShape(Serialisable):
|
||||
tagname: str
|
||||
nvCxnSpPr: Any
|
||||
spPr: Any
|
||||
style: Any
|
||||
macro: Any
|
||||
fPublished: Any
|
||||
def __init__(
|
||||
self,
|
||||
nvCxnSpPr: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
style: Any | None = ...,
|
||||
macro: Any | None = ...,
|
||||
fPublished: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class ShapeMeta(Serialisable):
|
||||
tagname: str
|
||||
cNvPr: Any
|
||||
cNvSpPr: Any
|
||||
def __init__(self, cNvPr: Any | None = ..., cNvSpPr: Any | None = ...) -> None: ...
|
||||
|
||||
class Shape(Serialisable):
|
||||
macro: Any
|
||||
textlink: Any
|
||||
fPublished: Any
|
||||
fLocksText: Any
|
||||
nvSpPr: Any
|
||||
meta: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
style: Any
|
||||
txBody: Any
|
||||
def __init__(
|
||||
self,
|
||||
macro: Any | None = ...,
|
||||
textlink: Any | None = ...,
|
||||
fPublished: Any | None = ...,
|
||||
fLocksText: Any | None = ...,
|
||||
nvSpPr: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
style: Any | None = ...,
|
||||
txBody: Any | None = ...,
|
||||
) -> None: ...
|
||||
27
stubs/openpyxl/openpyxl/drawing/drawing.pyi
Normal file
27
stubs/openpyxl/openpyxl/drawing/drawing.pyi
Normal file
@@ -0,0 +1,27 @@
|
||||
from typing import Any
|
||||
|
||||
class Drawing:
|
||||
count: int
|
||||
name: str
|
||||
description: str
|
||||
coordinates: Any
|
||||
left: int
|
||||
top: int
|
||||
resize_proportional: bool
|
||||
rotation: int
|
||||
anchortype: str
|
||||
anchorcol: int
|
||||
anchorrow: int
|
||||
def __init__(self) -> None: ...
|
||||
@property
|
||||
def width(self): ...
|
||||
@width.setter
|
||||
def width(self, w) -> None: ...
|
||||
@property
|
||||
def height(self): ...
|
||||
@height.setter
|
||||
def height(self, h) -> None: ...
|
||||
def set_dimension(self, w: int = ..., h: int = ...) -> None: ...
|
||||
def get_emu_dimensions(self): ...
|
||||
@property
|
||||
def anchor(self): ...
|
||||
202
stubs/openpyxl/openpyxl/drawing/effect.pyi
Normal file
202
stubs/openpyxl/openpyxl/drawing/effect.pyi
Normal file
@@ -0,0 +1,202 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
from .colors import ColorChoice
|
||||
|
||||
class TintEffect(Serialisable):
|
||||
tagname: str
|
||||
hue: Any
|
||||
amt: Any
|
||||
def __init__(self, hue: int = ..., amt: int = ...) -> None: ...
|
||||
|
||||
class LuminanceEffect(Serialisable):
|
||||
tagname: str
|
||||
bright: Any
|
||||
contrast: Any
|
||||
def __init__(self, bright: int = ..., contrast: int = ...) -> None: ...
|
||||
|
||||
class HSLEffect(Serialisable):
|
||||
hue: Any
|
||||
sat: Any
|
||||
lum: Any
|
||||
def __init__(self, hue: Any | None = ..., sat: Any | None = ..., lum: Any | None = ...) -> None: ...
|
||||
|
||||
class GrayscaleEffect(Serialisable):
|
||||
tagname: str
|
||||
|
||||
class FillOverlayEffect(Serialisable):
|
||||
blend: Any
|
||||
def __init__(self, blend: Any | None = ...) -> None: ...
|
||||
|
||||
class DuotoneEffect(Serialisable): ...
|
||||
class ColorReplaceEffect(Serialisable): ...
|
||||
class Color(Serialisable): ...
|
||||
|
||||
class ColorChangeEffect(Serialisable):
|
||||
useA: Any
|
||||
clrFrom: Any
|
||||
clrTo: Any
|
||||
def __init__(self, useA: Any | None = ..., clrFrom: Any | None = ..., clrTo: Any | None = ...) -> None: ...
|
||||
|
||||
class BlurEffect(Serialisable):
|
||||
rad: Any
|
||||
grow: Any
|
||||
def __init__(self, rad: Any | None = ..., grow: Any | None = ...) -> None: ...
|
||||
|
||||
class BiLevelEffect(Serialisable):
|
||||
thresh: Any
|
||||
def __init__(self, thresh: Any | None = ...) -> None: ...
|
||||
|
||||
class AlphaReplaceEffect(Serialisable):
|
||||
a: Any
|
||||
def __init__(self, a: Any | None = ...) -> None: ...
|
||||
|
||||
class AlphaModulateFixedEffect(Serialisable):
|
||||
amt: Any
|
||||
def __init__(self, amt: Any | None = ...) -> None: ...
|
||||
|
||||
class EffectContainer(Serialisable):
|
||||
type: Any
|
||||
name: Any
|
||||
def __init__(self, type: Any | None = ..., name: Any | None = ...) -> None: ...
|
||||
|
||||
class AlphaModulateEffect(Serialisable):
|
||||
cont: Any
|
||||
def __init__(self, cont: Any | None = ...) -> None: ...
|
||||
|
||||
class AlphaInverseEffect(Serialisable): ...
|
||||
class AlphaFloorEffect(Serialisable): ...
|
||||
class AlphaCeilingEffect(Serialisable): ...
|
||||
|
||||
class AlphaBiLevelEffect(Serialisable):
|
||||
thresh: Any
|
||||
def __init__(self, thresh: Any | None = ...) -> None: ...
|
||||
|
||||
class GlowEffect(ColorChoice):
|
||||
rad: Any
|
||||
scrgbClr: Any
|
||||
srgbClr: Any
|
||||
hslClr: Any
|
||||
sysClr: Any
|
||||
schemeClr: Any
|
||||
prstClr: Any
|
||||
__elements__: Any
|
||||
def __init__(self, rad: Any | None = ..., **kw) -> None: ...
|
||||
|
||||
class InnerShadowEffect(ColorChoice):
|
||||
blurRad: Any
|
||||
dist: Any
|
||||
dir: Any
|
||||
scrgbClr: Any
|
||||
srgbClr: Any
|
||||
hslClr: Any
|
||||
sysClr: Any
|
||||
schemeClr: Any
|
||||
prstClr: Any
|
||||
__elements__: Any
|
||||
def __init__(self, blurRad: Any | None = ..., dist: Any | None = ..., dir: Any | None = ..., **kw) -> None: ...
|
||||
|
||||
class OuterShadow(ColorChoice):
|
||||
tagname: str
|
||||
blurRad: Any
|
||||
dist: Any
|
||||
dir: Any
|
||||
sx: Any
|
||||
sy: Any
|
||||
kx: Any
|
||||
ky: Any
|
||||
algn: Any
|
||||
rotWithShape: Any
|
||||
scrgbClr: Any
|
||||
srgbClr: Any
|
||||
hslClr: Any
|
||||
sysClr: Any
|
||||
schemeClr: Any
|
||||
prstClr: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
blurRad: Any | None = ...,
|
||||
dist: Any | None = ...,
|
||||
dir: Any | None = ...,
|
||||
sx: Any | None = ...,
|
||||
sy: Any | None = ...,
|
||||
kx: Any | None = ...,
|
||||
ky: Any | None = ...,
|
||||
algn: Any | None = ...,
|
||||
rotWithShape: Any | None = ...,
|
||||
**kw,
|
||||
) -> None: ...
|
||||
|
||||
class PresetShadowEffect(ColorChoice):
|
||||
prst: Any
|
||||
dist: Any
|
||||
dir: Any
|
||||
scrgbClr: Any
|
||||
srgbClr: Any
|
||||
hslClr: Any
|
||||
sysClr: Any
|
||||
schemeClr: Any
|
||||
prstClr: Any
|
||||
__elements__: Any
|
||||
def __init__(self, prst: Any | None = ..., dist: Any | None = ..., dir: Any | None = ..., **kw) -> None: ...
|
||||
|
||||
class ReflectionEffect(Serialisable):
|
||||
blurRad: Any
|
||||
stA: Any
|
||||
stPos: Any
|
||||
endA: Any
|
||||
endPos: Any
|
||||
dist: Any
|
||||
dir: Any
|
||||
fadeDir: Any
|
||||
sx: Any
|
||||
sy: Any
|
||||
kx: Any
|
||||
ky: Any
|
||||
algn: Any
|
||||
rotWithShape: Any
|
||||
def __init__(
|
||||
self,
|
||||
blurRad: Any | None = ...,
|
||||
stA: Any | None = ...,
|
||||
stPos: Any | None = ...,
|
||||
endA: Any | None = ...,
|
||||
endPos: Any | None = ...,
|
||||
dist: Any | None = ...,
|
||||
dir: Any | None = ...,
|
||||
fadeDir: Any | None = ...,
|
||||
sx: Any | None = ...,
|
||||
sy: Any | None = ...,
|
||||
kx: Any | None = ...,
|
||||
ky: Any | None = ...,
|
||||
algn: Any | None = ...,
|
||||
rotWithShape: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class SoftEdgesEffect(Serialisable):
|
||||
rad: Any
|
||||
def __init__(self, rad: Any | None = ...) -> None: ...
|
||||
|
||||
class EffectList(Serialisable):
|
||||
blur: Any
|
||||
fillOverlay: Any
|
||||
glow: Any
|
||||
innerShdw: Any
|
||||
outerShdw: Any
|
||||
prstShdw: Any
|
||||
reflection: Any
|
||||
softEdge: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
blur: Any | None = ...,
|
||||
fillOverlay: Any | None = ...,
|
||||
glow: Any | None = ...,
|
||||
innerShdw: Any | None = ...,
|
||||
outerShdw: Any | None = ...,
|
||||
prstShdw: Any | None = ...,
|
||||
reflection: Any | None = ...,
|
||||
softEdge: Any | None = ...,
|
||||
) -> None: ...
|
||||
221
stubs/openpyxl/openpyxl/drawing/fill.pyi
Normal file
221
stubs/openpyxl/openpyxl/drawing/fill.pyi
Normal file
@@ -0,0 +1,221 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class PatternFillProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
prst: Any
|
||||
preset: Any
|
||||
fgClr: Any
|
||||
foreground: Any
|
||||
bgClr: Any
|
||||
background: Any
|
||||
__elements__: Any
|
||||
def __init__(self, prst: Any | None = ..., fgClr: Any | None = ..., bgClr: Any | None = ...) -> None: ...
|
||||
|
||||
class RelativeRect(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
l: Any
|
||||
left: Any
|
||||
t: Any
|
||||
top: Any
|
||||
r: Any
|
||||
right: Any
|
||||
b: Any
|
||||
bottom: Any
|
||||
def __init__(self, l: Any | None = ..., t: Any | None = ..., r: Any | None = ..., b: Any | None = ...) -> None: ...
|
||||
|
||||
class StretchInfoProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
fillRect: Any
|
||||
def __init__(self, fillRect=...) -> None: ...
|
||||
|
||||
class GradientStop(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
pos: Any
|
||||
scrgbClr: Any
|
||||
RGBPercent: Any
|
||||
srgbClr: Any
|
||||
RGB: Any
|
||||
hslClr: Any
|
||||
sysClr: Any
|
||||
schemeClr: Any
|
||||
prstClr: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
pos: Any | None = ...,
|
||||
scrgbClr: Any | None = ...,
|
||||
srgbClr: Any | None = ...,
|
||||
hslClr: Any | None = ...,
|
||||
sysClr: Any | None = ...,
|
||||
schemeClr: Any | None = ...,
|
||||
prstClr: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class LinearShadeProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
ang: Any
|
||||
scaled: Any
|
||||
def __init__(self, ang: Any | None = ..., scaled: Any | None = ...) -> None: ...
|
||||
|
||||
class PathShadeProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
path: Any
|
||||
fillToRect: Any
|
||||
def __init__(self, path: Any | None = ..., fillToRect: Any | None = ...) -> None: ...
|
||||
|
||||
class GradientFillProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
flip: Any
|
||||
rotWithShape: Any
|
||||
gsLst: Any
|
||||
stop_list: Any
|
||||
lin: Any
|
||||
linear: Any
|
||||
path: Any
|
||||
tileRect: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
flip: Any | None = ...,
|
||||
rotWithShape: Any | None = ...,
|
||||
gsLst=...,
|
||||
lin: Any | None = ...,
|
||||
path: Any | None = ...,
|
||||
tileRect: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class SolidColorFillProperties(Serialisable):
|
||||
tagname: str
|
||||
scrgbClr: Any
|
||||
RGBPercent: Any
|
||||
srgbClr: Any
|
||||
RGB: Any
|
||||
hslClr: Any
|
||||
sysClr: Any
|
||||
schemeClr: Any
|
||||
prstClr: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
scrgbClr: Any | None = ...,
|
||||
srgbClr: Any | None = ...,
|
||||
hslClr: Any | None = ...,
|
||||
sysClr: Any | None = ...,
|
||||
schemeClr: Any | None = ...,
|
||||
prstClr: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class Blip(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
cstate: Any
|
||||
embed: Any
|
||||
link: Any
|
||||
noGrp: Any
|
||||
noSelect: Any
|
||||
noRot: Any
|
||||
noChangeAspect: Any
|
||||
noMove: Any
|
||||
noResize: Any
|
||||
noEditPoints: Any
|
||||
noAdjustHandles: Any
|
||||
noChangeArrowheads: Any
|
||||
noChangeShapeType: Any
|
||||
extLst: Any
|
||||
alphaBiLevel: Any
|
||||
alphaCeiling: Any
|
||||
alphaFloor: Any
|
||||
alphaInv: Any
|
||||
alphaMod: Any
|
||||
alphaModFix: Any
|
||||
alphaRepl: Any
|
||||
biLevel: Any
|
||||
blur: Any
|
||||
clrChange: Any
|
||||
clrRepl: Any
|
||||
duotone: Any
|
||||
fillOverlay: Any
|
||||
grayscl: Any
|
||||
hsl: Any
|
||||
lum: Any
|
||||
tint: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
cstate: Any | None = ...,
|
||||
embed: Any | None = ...,
|
||||
link: Any | None = ...,
|
||||
noGrp: Any | None = ...,
|
||||
noSelect: Any | None = ...,
|
||||
noRot: Any | None = ...,
|
||||
noChangeAspect: Any | None = ...,
|
||||
noMove: Any | None = ...,
|
||||
noResize: Any | None = ...,
|
||||
noEditPoints: Any | None = ...,
|
||||
noAdjustHandles: Any | None = ...,
|
||||
noChangeArrowheads: Any | None = ...,
|
||||
noChangeShapeType: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
alphaBiLevel: Any | None = ...,
|
||||
alphaCeiling: Any | None = ...,
|
||||
alphaFloor: Any | None = ...,
|
||||
alphaInv: Any | None = ...,
|
||||
alphaMod: Any | None = ...,
|
||||
alphaModFix: Any | None = ...,
|
||||
alphaRepl: Any | None = ...,
|
||||
biLevel: Any | None = ...,
|
||||
blur: Any | None = ...,
|
||||
clrChange: Any | None = ...,
|
||||
clrRepl: Any | None = ...,
|
||||
duotone: Any | None = ...,
|
||||
fillOverlay: Any | None = ...,
|
||||
grayscl: Any | None = ...,
|
||||
hsl: Any | None = ...,
|
||||
lum: Any | None = ...,
|
||||
tint: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class TileInfoProperties(Serialisable):
|
||||
tx: Any
|
||||
ty: Any
|
||||
sx: Any
|
||||
sy: Any
|
||||
flip: Any
|
||||
algn: Any
|
||||
def __init__(
|
||||
self,
|
||||
tx: Any | None = ...,
|
||||
ty: Any | None = ...,
|
||||
sx: Any | None = ...,
|
||||
sy: Any | None = ...,
|
||||
flip: Any | None = ...,
|
||||
algn: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class BlipFillProperties(Serialisable):
|
||||
tagname: str
|
||||
dpi: Any
|
||||
rotWithShape: Any
|
||||
blip: Any
|
||||
srcRect: Any
|
||||
tile: Any
|
||||
stretch: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
dpi: Any | None = ...,
|
||||
rotWithShape: Any | None = ...,
|
||||
blip: Any | None = ...,
|
||||
tile: Any | None = ...,
|
||||
stretch=...,
|
||||
srcRect: Any | None = ...,
|
||||
) -> None: ...
|
||||
239
stubs/openpyxl/openpyxl/drawing/geometry.pyi
Normal file
239
stubs/openpyxl/openpyxl/drawing/geometry.pyi
Normal file
@@ -0,0 +1,239 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class Point2D(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
x: Any
|
||||
y: Any
|
||||
def __init__(self, x: Any | None = ..., y: Any | None = ...) -> None: ...
|
||||
|
||||
class PositiveSize2D(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
cx: Any
|
||||
width: Any
|
||||
cy: Any
|
||||
height: Any
|
||||
def __init__(self, cx: Any | None = ..., cy: Any | None = ...) -> None: ...
|
||||
|
||||
class Transform2D(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
rot: Any
|
||||
flipH: Any
|
||||
flipV: Any
|
||||
off: Any
|
||||
ext: Any
|
||||
chOff: Any
|
||||
chExt: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
rot: Any | None = ...,
|
||||
flipH: Any | None = ...,
|
||||
flipV: Any | None = ...,
|
||||
off: Any | None = ...,
|
||||
ext: Any | None = ...,
|
||||
chOff: Any | None = ...,
|
||||
chExt: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class GroupTransform2D(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
rot: Any
|
||||
flipH: Any
|
||||
flipV: Any
|
||||
off: Any
|
||||
ext: Any
|
||||
chOff: Any
|
||||
chExt: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
rot: int = ...,
|
||||
flipH: Any | None = ...,
|
||||
flipV: Any | None = ...,
|
||||
off: Any | None = ...,
|
||||
ext: Any | None = ...,
|
||||
chOff: Any | None = ...,
|
||||
chExt: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class SphereCoords(Serialisable):
|
||||
tagname: str
|
||||
lat: Any
|
||||
lon: Any
|
||||
rev: Any
|
||||
def __init__(self, lat: Any | None = ..., lon: Any | None = ..., rev: Any | None = ...) -> None: ...
|
||||
|
||||
class Camera(Serialisable):
|
||||
tagname: str
|
||||
prst: Any
|
||||
fov: Any
|
||||
zoom: Any
|
||||
rot: Any
|
||||
def __init__(self, prst: Any | None = ..., fov: Any | None = ..., zoom: Any | None = ..., rot: Any | None = ...) -> None: ...
|
||||
|
||||
class LightRig(Serialisable):
|
||||
tagname: str
|
||||
rig: Any
|
||||
dir: Any
|
||||
rot: Any
|
||||
def __init__(self, rig: Any | None = ..., dir: Any | None = ..., rot: Any | None = ...) -> None: ...
|
||||
|
||||
class Vector3D(Serialisable):
|
||||
tagname: str
|
||||
dx: Any
|
||||
dy: Any
|
||||
dz: Any
|
||||
def __init__(self, dx: Any | None = ..., dy: Any | None = ..., dz: Any | None = ...) -> None: ...
|
||||
|
||||
class Point3D(Serialisable):
|
||||
tagname: str
|
||||
x: Any
|
||||
y: Any
|
||||
z: Any
|
||||
def __init__(self, x: Any | None = ..., y: Any | None = ..., z: Any | None = ...) -> None: ...
|
||||
|
||||
class Backdrop(Serialisable):
|
||||
anchor: Any
|
||||
norm: Any
|
||||
up: Any
|
||||
extLst: Any
|
||||
def __init__(
|
||||
self, anchor: Any | None = ..., norm: Any | None = ..., up: Any | None = ..., extLst: Any | None = ...
|
||||
) -> None: ...
|
||||
|
||||
class Scene3D(Serialisable):
|
||||
camera: Any
|
||||
lightRig: Any
|
||||
backdrop: Any
|
||||
extLst: Any
|
||||
def __init__(
|
||||
self, camera: Any | None = ..., lightRig: Any | None = ..., backdrop: Any | None = ..., extLst: Any | None = ...
|
||||
) -> None: ...
|
||||
|
||||
class Bevel(Serialisable):
|
||||
tagname: str
|
||||
w: Any
|
||||
h: Any
|
||||
prst: Any
|
||||
def __init__(self, w: Any | None = ..., h: Any | None = ..., prst: Any | None = ...) -> None: ...
|
||||
|
||||
class Shape3D(Serialisable):
|
||||
namespace: Any
|
||||
z: Any
|
||||
extrusionH: Any
|
||||
contourW: Any
|
||||
prstMaterial: Any
|
||||
bevelT: Any
|
||||
bevelB: Any
|
||||
extrusionClr: Any
|
||||
contourClr: Any
|
||||
extLst: Any
|
||||
def __init__(
|
||||
self,
|
||||
z: Any | None = ...,
|
||||
extrusionH: Any | None = ...,
|
||||
contourW: Any | None = ...,
|
||||
prstMaterial: Any | None = ...,
|
||||
bevelT: Any | None = ...,
|
||||
bevelB: Any | None = ...,
|
||||
extrusionClr: Any | None = ...,
|
||||
contourClr: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class Path2D(Serialisable):
|
||||
w: Any
|
||||
h: Any
|
||||
fill: Any
|
||||
stroke: Any
|
||||
extrusionOk: Any
|
||||
def __init__(
|
||||
self,
|
||||
w: Any | None = ...,
|
||||
h: Any | None = ...,
|
||||
fill: Any | None = ...,
|
||||
stroke: Any | None = ...,
|
||||
extrusionOk: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class Path2DList(Serialisable):
|
||||
path: Any
|
||||
def __init__(self, path: Any | None = ...) -> None: ...
|
||||
|
||||
class GeomRect(Serialisable):
|
||||
l: Any
|
||||
t: Any
|
||||
r: Any
|
||||
b: Any
|
||||
def __init__(self, l: Any | None = ..., t: Any | None = ..., r: Any | None = ..., b: Any | None = ...) -> None: ...
|
||||
|
||||
class AdjPoint2D(Serialisable):
|
||||
x: Any
|
||||
y: Any
|
||||
def __init__(self, x: Any | None = ..., y: Any | None = ...) -> None: ...
|
||||
|
||||
class ConnectionSite(Serialisable):
|
||||
ang: Any
|
||||
pos: Any
|
||||
def __init__(self, ang: Any | None = ..., pos: Any | None = ...) -> None: ...
|
||||
|
||||
class ConnectionSiteList(Serialisable):
|
||||
cxn: Any
|
||||
def __init__(self, cxn: Any | None = ...) -> None: ...
|
||||
|
||||
class AdjustHandleList(Serialisable): ...
|
||||
|
||||
class GeomGuide(Serialisable):
|
||||
name: Any
|
||||
fmla: Any
|
||||
def __init__(self, name: Any | None = ..., fmla: Any | None = ...) -> None: ...
|
||||
|
||||
class GeomGuideList(Serialisable):
|
||||
gd: Any
|
||||
def __init__(self, gd: Any | None = ...) -> None: ...
|
||||
|
||||
class CustomGeometry2D(Serialisable):
|
||||
avLst: Any
|
||||
gdLst: Any
|
||||
ahLst: Any
|
||||
cxnLst: Any
|
||||
pathLst: Any
|
||||
rect: Any
|
||||
def __init__(
|
||||
self,
|
||||
avLst: Any | None = ...,
|
||||
gdLst: Any | None = ...,
|
||||
ahLst: Any | None = ...,
|
||||
cxnLst: Any | None = ...,
|
||||
rect: Any | None = ...,
|
||||
pathLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class PresetGeometry2D(Serialisable):
|
||||
namespace: Any
|
||||
prst: Any
|
||||
avLst: Any
|
||||
def __init__(self, prst: Any | None = ..., avLst: Any | None = ...) -> None: ...
|
||||
|
||||
class FontReference(Serialisable):
|
||||
idx: Any
|
||||
def __init__(self, idx: Any | None = ...) -> None: ...
|
||||
|
||||
class StyleMatrixReference(Serialisable):
|
||||
idx: Any
|
||||
def __init__(self, idx: Any | None = ...) -> None: ...
|
||||
|
||||
class ShapeStyle(Serialisable):
|
||||
lnRef: Any
|
||||
fillRef: Any
|
||||
effectRef: Any
|
||||
fontRef: Any
|
||||
def __init__(
|
||||
self, lnRef: Any | None = ..., fillRef: Any | None = ..., effectRef: Any | None = ..., fontRef: Any | None = ...
|
||||
) -> None: ...
|
||||
74
stubs/openpyxl/openpyxl/drawing/graphic.pyi
Normal file
74
stubs/openpyxl/openpyxl/drawing/graphic.pyi
Normal file
@@ -0,0 +1,74 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class GraphicFrameLocking(Serialisable):
|
||||
noGrp: Any
|
||||
noDrilldown: Any
|
||||
noSelect: Any
|
||||
noChangeAspect: Any
|
||||
noMove: Any
|
||||
noResize: Any
|
||||
extLst: Any
|
||||
def __init__(
|
||||
self,
|
||||
noGrp: Any | None = ...,
|
||||
noDrilldown: Any | None = ...,
|
||||
noSelect: Any | None = ...,
|
||||
noChangeAspect: Any | None = ...,
|
||||
noMove: Any | None = ...,
|
||||
noResize: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class NonVisualGraphicFrameProperties(Serialisable):
|
||||
tagname: str
|
||||
graphicFrameLocks: Any
|
||||
extLst: Any
|
||||
def __init__(self, graphicFrameLocks: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class NonVisualGraphicFrame(Serialisable):
|
||||
tagname: str
|
||||
cNvPr: Any
|
||||
cNvGraphicFramePr: Any
|
||||
__elements__: Any
|
||||
def __init__(self, cNvPr: Any | None = ..., cNvGraphicFramePr: Any | None = ...) -> None: ...
|
||||
|
||||
class GraphicData(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
uri: Any
|
||||
chart: Any
|
||||
def __init__(self, uri=..., chart: Any | None = ...) -> None: ...
|
||||
|
||||
class GraphicObject(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
graphicData: Any
|
||||
def __init__(self, graphicData: Any | None = ...) -> None: ...
|
||||
|
||||
class GraphicFrame(Serialisable):
|
||||
tagname: str
|
||||
nvGraphicFramePr: Any
|
||||
xfrm: Any
|
||||
graphic: Any
|
||||
macro: Any
|
||||
fPublished: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
nvGraphicFramePr: Any | None = ...,
|
||||
xfrm: Any | None = ...,
|
||||
graphic: Any | None = ...,
|
||||
macro: Any | None = ...,
|
||||
fPublished: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class GroupShape(Serialisable):
|
||||
nvGrpSpPr: Any
|
||||
nonVisualProperties: Any
|
||||
grpSpPr: Any
|
||||
visualProperties: Any
|
||||
pic: Any
|
||||
__elements__: Any
|
||||
def __init__(self, nvGrpSpPr: Any | None = ..., grpSpPr: Any | None = ..., pic: Any | None = ...) -> None: ...
|
||||
9
stubs/openpyxl/openpyxl/drawing/image.pyi
Normal file
9
stubs/openpyxl/openpyxl/drawing/image.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
from typing import Any
|
||||
|
||||
class Image:
|
||||
anchor: str
|
||||
ref: Any
|
||||
format: Any
|
||||
def __init__(self, img) -> None: ...
|
||||
@property
|
||||
def path(self): ...
|
||||
66
stubs/openpyxl/openpyxl/drawing/line.pyi
Normal file
66
stubs/openpyxl/openpyxl/drawing/line.pyi
Normal file
@@ -0,0 +1,66 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class LineEndProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
type: Any
|
||||
w: Any
|
||||
len: Any
|
||||
def __init__(self, type: Any | None = ..., w: Any | None = ..., len: Any | None = ...) -> None: ...
|
||||
|
||||
class DashStop(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
d: Any
|
||||
length: Any
|
||||
sp: Any
|
||||
space: Any
|
||||
def __init__(self, d: int = ..., sp: int = ...) -> None: ...
|
||||
|
||||
class DashStopList(Serialisable):
|
||||
ds: Any
|
||||
def __init__(self, ds: Any | None = ...) -> None: ...
|
||||
|
||||
class LineProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
w: Any
|
||||
width: Any
|
||||
cap: Any
|
||||
cmpd: Any
|
||||
algn: Any
|
||||
noFill: Any
|
||||
solidFill: Any
|
||||
gradFill: Any
|
||||
pattFill: Any
|
||||
prstDash: Any
|
||||
dashStyle: Any
|
||||
custDash: Any
|
||||
round: Any
|
||||
bevel: Any
|
||||
miter: Any
|
||||
headEnd: Any
|
||||
tailEnd: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
w: Any | None = ...,
|
||||
cap: Any | None = ...,
|
||||
cmpd: Any | None = ...,
|
||||
algn: Any | None = ...,
|
||||
noFill: Any | None = ...,
|
||||
solidFill: Any | None = ...,
|
||||
gradFill: Any | None = ...,
|
||||
pattFill: Any | None = ...,
|
||||
prstDash: Any | None = ...,
|
||||
custDash: Any | None = ...,
|
||||
round: Any | None = ...,
|
||||
bevel: Any | None = ...,
|
||||
miter: Any | None = ...,
|
||||
headEnd: Any | None = ...,
|
||||
tailEnd: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
70
stubs/openpyxl/openpyxl/drawing/picture.pyi
Normal file
70
stubs/openpyxl/openpyxl/drawing/picture.pyi
Normal file
@@ -0,0 +1,70 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class PictureLocking(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
noCrop: Any
|
||||
noGrp: Any
|
||||
noSelect: Any
|
||||
noRot: Any
|
||||
noChangeAspect: Any
|
||||
noMove: Any
|
||||
noResize: Any
|
||||
noEditPoints: Any
|
||||
noAdjustHandles: Any
|
||||
noChangeArrowheads: Any
|
||||
noChangeShapeType: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
noCrop: Any | None = ...,
|
||||
noGrp: Any | None = ...,
|
||||
noSelect: Any | None = ...,
|
||||
noRot: Any | None = ...,
|
||||
noChangeAspect: Any | None = ...,
|
||||
noMove: Any | None = ...,
|
||||
noResize: Any | None = ...,
|
||||
noEditPoints: Any | None = ...,
|
||||
noAdjustHandles: Any | None = ...,
|
||||
noChangeArrowheads: Any | None = ...,
|
||||
noChangeShapeType: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class NonVisualPictureProperties(Serialisable):
|
||||
tagname: str
|
||||
preferRelativeResize: Any
|
||||
picLocks: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, preferRelativeResize: Any | None = ..., picLocks: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class PictureNonVisual(Serialisable):
|
||||
tagname: str
|
||||
cNvPr: Any
|
||||
cNvPicPr: Any
|
||||
__elements__: Any
|
||||
def __init__(self, cNvPr: Any | None = ..., cNvPicPr: Any | None = ...) -> None: ...
|
||||
|
||||
class PictureFrame(Serialisable):
|
||||
tagname: str
|
||||
macro: Any
|
||||
fPublished: Any
|
||||
nvPicPr: Any
|
||||
blipFill: Any
|
||||
spPr: Any
|
||||
graphicalProperties: Any
|
||||
style: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
macro: Any | None = ...,
|
||||
fPublished: Any | None = ...,
|
||||
nvPicPr: Any | None = ...,
|
||||
blipFill: Any | None = ...,
|
||||
spPr: Any | None = ...,
|
||||
style: Any | None = ...,
|
||||
) -> None: ...
|
||||
91
stubs/openpyxl/openpyxl/drawing/properties.pyi
Normal file
91
stubs/openpyxl/openpyxl/drawing/properties.pyi
Normal file
@@ -0,0 +1,91 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class GroupShapeProperties(Serialisable):
|
||||
tagname: str
|
||||
bwMode: Any
|
||||
xfrm: Any
|
||||
scene3d: Any
|
||||
extLst: Any
|
||||
def __init__(
|
||||
self, bwMode: Any | None = ..., xfrm: Any | None = ..., scene3d: Any | None = ..., extLst: Any | None = ...
|
||||
) -> None: ...
|
||||
|
||||
class GroupLocking(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
noGrp: Any
|
||||
noUngrp: Any
|
||||
noSelect: Any
|
||||
noRot: Any
|
||||
noChangeAspect: Any
|
||||
noMove: Any
|
||||
noResize: Any
|
||||
noChangeArrowheads: Any
|
||||
noEditPoints: Any
|
||||
noAdjustHandles: Any
|
||||
noChangeShapeType: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
noGrp: Any | None = ...,
|
||||
noUngrp: Any | None = ...,
|
||||
noSelect: Any | None = ...,
|
||||
noRot: Any | None = ...,
|
||||
noChangeAspect: Any | None = ...,
|
||||
noChangeArrowheads: Any | None = ...,
|
||||
noMove: Any | None = ...,
|
||||
noResize: Any | None = ...,
|
||||
noEditPoints: Any | None = ...,
|
||||
noAdjustHandles: Any | None = ...,
|
||||
noChangeShapeType: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class NonVisualGroupDrawingShapeProps(Serialisable):
|
||||
tagname: str
|
||||
grpSpLocks: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, grpSpLocks: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class NonVisualDrawingShapeProps(Serialisable):
|
||||
tagname: str
|
||||
spLocks: Any
|
||||
txBax: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
txBox: Any
|
||||
def __init__(self, spLocks: Any | None = ..., txBox: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class NonVisualDrawingProps(Serialisable):
|
||||
tagname: str
|
||||
id: Any
|
||||
name: Any
|
||||
descr: Any
|
||||
hidden: Any
|
||||
title: Any
|
||||
hlinkClick: Any
|
||||
hlinkHover: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
id: Any | None = ...,
|
||||
name: Any | None = ...,
|
||||
descr: Any | None = ...,
|
||||
hidden: Any | None = ...,
|
||||
title: Any | None = ...,
|
||||
hlinkClick: Any | None = ...,
|
||||
hlinkHover: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class NonVisualGroupShape(Serialisable):
|
||||
tagname: str
|
||||
cNvPr: Any
|
||||
cNvGrpSpPr: Any
|
||||
__elements__: Any
|
||||
def __init__(self, cNvPr: Any | None = ..., cNvGrpSpPr: Any | None = ...) -> None: ...
|
||||
9
stubs/openpyxl/openpyxl/drawing/relation.pyi
Normal file
9
stubs/openpyxl/openpyxl/drawing/relation.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class ChartRelation(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
id: Any
|
||||
def __init__(self, id) -> None: ...
|
||||
96
stubs/openpyxl/openpyxl/drawing/spreadsheet_drawing.pyi
Normal file
96
stubs/openpyxl/openpyxl/drawing/spreadsheet_drawing.pyi
Normal file
@@ -0,0 +1,96 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class AnchorClientData(Serialisable):
|
||||
fLocksWithSheet: Any
|
||||
fPrintsWithSheet: Any
|
||||
def __init__(self, fLocksWithSheet: Any | None = ..., fPrintsWithSheet: Any | None = ...) -> None: ...
|
||||
|
||||
class AnchorMarker(Serialisable):
|
||||
tagname: str
|
||||
col: Any
|
||||
colOff: Any
|
||||
row: Any
|
||||
rowOff: Any
|
||||
def __init__(self, col: int = ..., colOff: int = ..., row: int = ..., rowOff: int = ...) -> None: ...
|
||||
|
||||
class _AnchorBase(Serialisable):
|
||||
sp: Any
|
||||
shape: Any
|
||||
grpSp: Any
|
||||
groupShape: Any
|
||||
graphicFrame: Any
|
||||
cxnSp: Any
|
||||
connectionShape: Any
|
||||
pic: Any
|
||||
contentPart: Any
|
||||
clientData: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
clientData: Any | None = ...,
|
||||
sp: Any | None = ...,
|
||||
grpSp: Any | None = ...,
|
||||
graphicFrame: Any | None = ...,
|
||||
cxnSp: Any | None = ...,
|
||||
pic: Any | None = ...,
|
||||
contentPart: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class AbsoluteAnchor(_AnchorBase):
|
||||
tagname: str
|
||||
pos: Any
|
||||
ext: Any
|
||||
sp: Any
|
||||
grpSp: Any
|
||||
graphicFrame: Any
|
||||
cxnSp: Any
|
||||
pic: Any
|
||||
contentPart: Any
|
||||
clientData: Any
|
||||
__elements__: Any
|
||||
def __init__(self, pos: Any | None = ..., ext: Any | None = ..., **kw) -> None: ...
|
||||
|
||||
class OneCellAnchor(_AnchorBase):
|
||||
tagname: str
|
||||
ext: Any
|
||||
sp: Any
|
||||
grpSp: Any
|
||||
graphicFrame: Any
|
||||
cxnSp: Any
|
||||
pic: Any
|
||||
contentPart: Any
|
||||
clientData: Any
|
||||
__elements__: Any
|
||||
def __init__(self, _from: Any | None = ..., ext: Any | None = ..., **kw) -> None: ...
|
||||
|
||||
class TwoCellAnchor(_AnchorBase):
|
||||
tagname: str
|
||||
editAs: Any
|
||||
to: Any
|
||||
sp: Any
|
||||
grpSp: Any
|
||||
graphicFrame: Any
|
||||
cxnSp: Any
|
||||
pic: Any
|
||||
contentPart: Any
|
||||
clientData: Any
|
||||
__elements__: Any
|
||||
def __init__(self, editAs: Any | None = ..., _from: Any | None = ..., to: Any | None = ..., **kw) -> None: ...
|
||||
|
||||
class SpreadsheetDrawing(Serialisable):
|
||||
tagname: str
|
||||
mime_type: str
|
||||
PartName: str
|
||||
twoCellAnchor: Any
|
||||
oneCellAnchor: Any
|
||||
absoluteAnchor: Any
|
||||
__elements__: Any
|
||||
charts: Any
|
||||
images: Any
|
||||
def __init__(self, twoCellAnchor=..., oneCellAnchor=..., absoluteAnchor=...) -> None: ...
|
||||
def __hash__(self): ...
|
||||
def __bool__(self): ...
|
||||
@property
|
||||
def path(self): ...
|
||||
377
stubs/openpyxl/openpyxl/drawing/text.pyi
Normal file
377
stubs/openpyxl/openpyxl/drawing/text.pyi
Normal file
@@ -0,0 +1,377 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class EmbeddedWAVAudioFile(Serialisable): # type: ignore[misc]
|
||||
name: Any
|
||||
def __init__(self, name: Any | None = ...) -> None: ...
|
||||
|
||||
class Hyperlink(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
invalidUrl: Any
|
||||
action: Any
|
||||
tgtFrame: Any
|
||||
tooltip: Any
|
||||
history: Any
|
||||
highlightClick: Any
|
||||
endSnd: Any
|
||||
snd: Any
|
||||
extLst: Any
|
||||
id: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
invalidUrl: Any | None = ...,
|
||||
action: Any | None = ...,
|
||||
tgtFrame: Any | None = ...,
|
||||
tooltip: Any | None = ...,
|
||||
history: Any | None = ...,
|
||||
highlightClick: Any | None = ...,
|
||||
endSnd: Any | None = ...,
|
||||
snd: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
id: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class Font(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
typeface: Any
|
||||
panose: Any
|
||||
pitchFamily: Any
|
||||
charset: Any
|
||||
def __init__(
|
||||
self, typeface: Any | None = ..., panose: Any | None = ..., pitchFamily: Any | None = ..., charset: Any | None = ...
|
||||
) -> None: ...
|
||||
|
||||
class CharacterProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
kumimoji: Any
|
||||
lang: Any
|
||||
altLang: Any
|
||||
sz: Any
|
||||
b: Any
|
||||
i: Any
|
||||
u: Any
|
||||
strike: Any
|
||||
kern: Any
|
||||
cap: Any
|
||||
spc: Any
|
||||
normalizeH: Any
|
||||
baseline: Any
|
||||
noProof: Any
|
||||
dirty: Any
|
||||
err: Any
|
||||
smtClean: Any
|
||||
smtId: Any
|
||||
bmk: Any
|
||||
ln: Any
|
||||
highlight: Any
|
||||
latin: Any
|
||||
ea: Any
|
||||
cs: Any
|
||||
sym: Any
|
||||
hlinkClick: Any
|
||||
hlinkMouseOver: Any
|
||||
rtl: Any
|
||||
extLst: Any
|
||||
noFill: Any
|
||||
solidFill: Any
|
||||
gradFill: Any
|
||||
blipFill: Any
|
||||
pattFill: Any
|
||||
grpFill: Any
|
||||
effectLst: Any
|
||||
effectDag: Any
|
||||
uLnTx: Any
|
||||
uLn: Any
|
||||
uFillTx: Any
|
||||
uFill: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
kumimoji: Any | None = ...,
|
||||
lang: Any | None = ...,
|
||||
altLang: Any | None = ...,
|
||||
sz: Any | None = ...,
|
||||
b: Any | None = ...,
|
||||
i: Any | None = ...,
|
||||
u: Any | None = ...,
|
||||
strike: Any | None = ...,
|
||||
kern: Any | None = ...,
|
||||
cap: Any | None = ...,
|
||||
spc: Any | None = ...,
|
||||
normalizeH: Any | None = ...,
|
||||
baseline: Any | None = ...,
|
||||
noProof: Any | None = ...,
|
||||
dirty: Any | None = ...,
|
||||
err: Any | None = ...,
|
||||
smtClean: Any | None = ...,
|
||||
smtId: Any | None = ...,
|
||||
bmk: Any | None = ...,
|
||||
ln: Any | None = ...,
|
||||
highlight: Any | None = ...,
|
||||
latin: Any | None = ...,
|
||||
ea: Any | None = ...,
|
||||
cs: Any | None = ...,
|
||||
sym: Any | None = ...,
|
||||
hlinkClick: Any | None = ...,
|
||||
hlinkMouseOver: Any | None = ...,
|
||||
rtl: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
noFill: Any | None = ...,
|
||||
solidFill: Any | None = ...,
|
||||
gradFill: Any | None = ...,
|
||||
blipFill: Any | None = ...,
|
||||
pattFill: Any | None = ...,
|
||||
grpFill: Any | None = ...,
|
||||
effectLst: Any | None = ...,
|
||||
effectDag: Any | None = ...,
|
||||
uLnTx: Any | None = ...,
|
||||
uLn: Any | None = ...,
|
||||
uFillTx: Any | None = ...,
|
||||
uFill: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class TabStop(Serialisable): # type: ignore[misc]
|
||||
pos: Any
|
||||
algn: Any
|
||||
def __init__(self, pos: Any | None = ..., algn: Any | None = ...) -> None: ...
|
||||
|
||||
class TabStopList(Serialisable): # type: ignore[misc]
|
||||
tab: Any
|
||||
def __init__(self, tab: Any | None = ...) -> None: ...
|
||||
|
||||
class Spacing(Serialisable):
|
||||
spcPct: Any
|
||||
spcPts: Any
|
||||
__elements__: Any
|
||||
def __init__(self, spcPct: Any | None = ..., spcPts: Any | None = ...) -> None: ...
|
||||
|
||||
class AutonumberBullet(Serialisable):
|
||||
type: Any
|
||||
startAt: Any
|
||||
def __init__(self, type: Any | None = ..., startAt: Any | None = ...) -> None: ...
|
||||
|
||||
class ParagraphProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
marL: Any
|
||||
marR: Any
|
||||
lvl: Any
|
||||
indent: Any
|
||||
algn: Any
|
||||
defTabSz: Any
|
||||
rtl: Any
|
||||
eaLnBrk: Any
|
||||
fontAlgn: Any
|
||||
latinLnBrk: Any
|
||||
hangingPunct: Any
|
||||
lnSpc: Any
|
||||
spcBef: Any
|
||||
spcAft: Any
|
||||
tabLst: Any
|
||||
defRPr: Any
|
||||
extLst: Any
|
||||
buClrTx: Any
|
||||
buClr: Any
|
||||
buSzTx: Any
|
||||
buSzPct: Any
|
||||
buSzPts: Any
|
||||
buFontTx: Any
|
||||
buFont: Any
|
||||
buNone: Any
|
||||
buAutoNum: Any
|
||||
buChar: Any
|
||||
buBlip: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
marL: Any | None = ...,
|
||||
marR: Any | None = ...,
|
||||
lvl: Any | None = ...,
|
||||
indent: Any | None = ...,
|
||||
algn: Any | None = ...,
|
||||
defTabSz: Any | None = ...,
|
||||
rtl: Any | None = ...,
|
||||
eaLnBrk: Any | None = ...,
|
||||
fontAlgn: Any | None = ...,
|
||||
latinLnBrk: Any | None = ...,
|
||||
hangingPunct: Any | None = ...,
|
||||
lnSpc: Any | None = ...,
|
||||
spcBef: Any | None = ...,
|
||||
spcAft: Any | None = ...,
|
||||
tabLst: Any | None = ...,
|
||||
defRPr: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
buClrTx: Any | None = ...,
|
||||
buClr: Any | None = ...,
|
||||
buSzTx: Any | None = ...,
|
||||
buSzPct: Any | None = ...,
|
||||
buSzPts: Any | None = ...,
|
||||
buFontTx: Any | None = ...,
|
||||
buFont: Any | None = ...,
|
||||
buNone: Any | None = ...,
|
||||
buAutoNum: Any | None = ...,
|
||||
buChar: Any | None = ...,
|
||||
buBlip: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class ListStyle(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
defPPr: Any
|
||||
lvl1pPr: Any
|
||||
lvl2pPr: Any
|
||||
lvl3pPr: Any
|
||||
lvl4pPr: Any
|
||||
lvl5pPr: Any
|
||||
lvl6pPr: Any
|
||||
lvl7pPr: Any
|
||||
lvl8pPr: Any
|
||||
lvl9pPr: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
defPPr: Any | None = ...,
|
||||
lvl1pPr: Any | None = ...,
|
||||
lvl2pPr: Any | None = ...,
|
||||
lvl3pPr: Any | None = ...,
|
||||
lvl4pPr: Any | None = ...,
|
||||
lvl5pPr: Any | None = ...,
|
||||
lvl6pPr: Any | None = ...,
|
||||
lvl7pPr: Any | None = ...,
|
||||
lvl8pPr: Any | None = ...,
|
||||
lvl9pPr: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class RegularTextRun(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
rPr: Any
|
||||
properties: Any
|
||||
t: Any
|
||||
value: Any
|
||||
__elements__: Any
|
||||
def __init__(self, rPr: Any | None = ..., t: str = ...) -> None: ...
|
||||
|
||||
class LineBreak(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
rPr: Any
|
||||
__elements__: Any
|
||||
def __init__(self, rPr: Any | None = ...) -> None: ...
|
||||
|
||||
class TextField(Serialisable):
|
||||
id: Any
|
||||
type: Any
|
||||
rPr: Any
|
||||
pPr: Any
|
||||
t: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self, id: Any | None = ..., type: Any | None = ..., rPr: Any | None = ..., pPr: Any | None = ..., t: Any | None = ...
|
||||
) -> None: ...
|
||||
|
||||
class Paragraph(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
pPr: Any
|
||||
properties: Any
|
||||
endParaRPr: Any
|
||||
r: Any
|
||||
text: Any
|
||||
br: Any
|
||||
fld: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
pPr: Any | None = ...,
|
||||
endParaRPr: Any | None = ...,
|
||||
r: Any | None = ...,
|
||||
br: Any | None = ...,
|
||||
fld: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class GeomGuide(Serialisable):
|
||||
name: Any
|
||||
fmla: Any
|
||||
def __init__(self, name: Any | None = ..., fmla: Any | None = ...) -> None: ...
|
||||
|
||||
class GeomGuideList(Serialisable):
|
||||
gd: Any
|
||||
def __init__(self, gd: Any | None = ...) -> None: ...
|
||||
|
||||
class PresetTextShape(Serialisable):
|
||||
prst: Any
|
||||
avLst: Any
|
||||
def __init__(self, prst: Any | None = ..., avLst: Any | None = ...) -> None: ...
|
||||
|
||||
class TextNormalAutofit(Serialisable):
|
||||
fontScale: Any
|
||||
lnSpcReduction: Any
|
||||
def __init__(self, fontScale: Any | None = ..., lnSpcReduction: Any | None = ...) -> None: ...
|
||||
|
||||
class RichTextProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
rot: Any
|
||||
spcFirstLastPara: Any
|
||||
vertOverflow: Any
|
||||
horzOverflow: Any
|
||||
vert: Any
|
||||
wrap: Any
|
||||
lIns: Any
|
||||
tIns: Any
|
||||
rIns: Any
|
||||
bIns: Any
|
||||
numCol: Any
|
||||
spcCol: Any
|
||||
rtlCol: Any
|
||||
fromWordArt: Any
|
||||
anchor: Any
|
||||
anchorCtr: Any
|
||||
forceAA: Any
|
||||
upright: Any
|
||||
compatLnSpc: Any
|
||||
prstTxWarp: Any
|
||||
scene3d: Any
|
||||
extLst: Any
|
||||
noAutofit: Any
|
||||
normAutofit: Any
|
||||
spAutoFit: Any
|
||||
flatTx: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
rot: Any | None = ...,
|
||||
spcFirstLastPara: Any | None = ...,
|
||||
vertOverflow: Any | None = ...,
|
||||
horzOverflow: Any | None = ...,
|
||||
vert: Any | None = ...,
|
||||
wrap: Any | None = ...,
|
||||
lIns: Any | None = ...,
|
||||
tIns: Any | None = ...,
|
||||
rIns: Any | None = ...,
|
||||
bIns: Any | None = ...,
|
||||
numCol: Any | None = ...,
|
||||
spcCol: Any | None = ...,
|
||||
rtlCol: Any | None = ...,
|
||||
fromWordArt: Any | None = ...,
|
||||
anchor: Any | None = ...,
|
||||
anchorCtr: Any | None = ...,
|
||||
forceAA: Any | None = ...,
|
||||
upright: Any | None = ...,
|
||||
compatLnSpc: Any | None = ...,
|
||||
prstTxWarp: Any | None = ...,
|
||||
scene3d: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
noAutofit: Any | None = ...,
|
||||
normAutofit: Any | None = ...,
|
||||
spAutoFit: Any | None = ...,
|
||||
flatTx: Any | None = ...,
|
||||
) -> None: ...
|
||||
23
stubs/openpyxl/openpyxl/drawing/xdr.pyi
Normal file
23
stubs/openpyxl/openpyxl/drawing/xdr.pyi
Normal file
@@ -0,0 +1,23 @@
|
||||
from typing import Any
|
||||
|
||||
from .geometry import Point2D, PositiveSize2D, Transform2D
|
||||
|
||||
class XDRPoint2D(Point2D):
|
||||
namespace: Any
|
||||
x: Any
|
||||
y: Any
|
||||
|
||||
class XDRPositiveSize2D(PositiveSize2D):
|
||||
namespace: Any
|
||||
cx: Any
|
||||
cy: Any
|
||||
|
||||
class XDRTransform2D(Transform2D):
|
||||
namespace: Any
|
||||
rot: Any
|
||||
flipH: Any
|
||||
flipV: Any
|
||||
off: Any
|
||||
ext: Any
|
||||
chOff: Any
|
||||
chExt: Any
|
||||
1
stubs/openpyxl/openpyxl/formatting/__init__.pyi
Normal file
1
stubs/openpyxl/openpyxl/formatting/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from .rule import Rule as Rule
|
||||
26
stubs/openpyxl/openpyxl/formatting/formatting.pyi
Normal file
26
stubs/openpyxl/openpyxl/formatting/formatting.pyi
Normal file
@@ -0,0 +1,26 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class ConditionalFormatting(Serialisable):
|
||||
tagname: str
|
||||
sqref: Any
|
||||
cells: Any
|
||||
pivot: Any
|
||||
cfRule: Any
|
||||
rules: Any
|
||||
def __init__(self, sqref=..., pivot: Any | None = ..., cfRule=..., extLst: Any | None = ...) -> None: ...
|
||||
def __eq__(self, other): ...
|
||||
def __hash__(self): ...
|
||||
def __contains__(self, coord): ...
|
||||
|
||||
class ConditionalFormattingList:
|
||||
max_priority: int
|
||||
def __init__(self) -> None: ...
|
||||
def add(self, range_string, cfRule) -> None: ...
|
||||
def __bool__(self): ...
|
||||
def __len__(self): ...
|
||||
def __iter__(self): ...
|
||||
def __getitem__(self, key): ...
|
||||
def __delitem__(self, key) -> None: ...
|
||||
def __setitem__(self, key, rule) -> None: ...
|
||||
152
stubs/openpyxl/openpyxl/formatting/rule.pyi
Normal file
152
stubs/openpyxl/openpyxl/formatting/rule.pyi
Normal file
@@ -0,0 +1,152 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors import Float
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class ValueDescriptor(Float):
|
||||
expected_type: Any
|
||||
def __set__(self, instance, value) -> None: ...
|
||||
|
||||
class FormatObject(Serialisable):
|
||||
tagname: str
|
||||
type: Any
|
||||
val: Any
|
||||
gte: Any
|
||||
extLst: Any
|
||||
__elements__: Any
|
||||
def __init__(self, type, val: Any | None = ..., gte: Any | None = ..., extLst: Any | None = ...) -> None: ...
|
||||
|
||||
class RuleType(Serialisable): # type: ignore[misc]
|
||||
cfvo: Any
|
||||
|
||||
class IconSet(RuleType):
|
||||
tagname: str
|
||||
iconSet: Any
|
||||
showValue: Any
|
||||
percent: Any
|
||||
reverse: Any
|
||||
__elements__: Any
|
||||
cfvo: Any
|
||||
def __init__(
|
||||
self,
|
||||
iconSet: Any | None = ...,
|
||||
showValue: Any | None = ...,
|
||||
percent: Any | None = ...,
|
||||
reverse: Any | None = ...,
|
||||
cfvo: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class DataBar(RuleType):
|
||||
tagname: str
|
||||
minLength: Any
|
||||
maxLength: Any
|
||||
showValue: Any
|
||||
color: Any
|
||||
__elements__: Any
|
||||
cfvo: Any
|
||||
def __init__(
|
||||
self,
|
||||
minLength: Any | None = ...,
|
||||
maxLength: Any | None = ...,
|
||||
showValue: Any | None = ...,
|
||||
cfvo: Any | None = ...,
|
||||
color: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class ColorScale(RuleType):
|
||||
tagname: str
|
||||
color: Any
|
||||
__elements__: Any
|
||||
cfvo: Any
|
||||
def __init__(self, cfvo: Any | None = ..., color: Any | None = ...) -> None: ...
|
||||
|
||||
class Rule(Serialisable):
|
||||
tagname: str
|
||||
type: Any
|
||||
dxfId: Any
|
||||
priority: Any
|
||||
stopIfTrue: Any
|
||||
aboveAverage: Any
|
||||
percent: Any
|
||||
bottom: Any
|
||||
operator: Any
|
||||
text: Any
|
||||
timePeriod: Any
|
||||
rank: Any
|
||||
stdDev: Any
|
||||
equalAverage: Any
|
||||
formula: Any
|
||||
colorScale: Any
|
||||
dataBar: Any
|
||||
iconSet: Any
|
||||
extLst: Any
|
||||
dxf: Any
|
||||
__elements__: Any
|
||||
__attrs__: Any
|
||||
def __init__(
|
||||
self,
|
||||
type,
|
||||
dxfId: Any | None = ...,
|
||||
priority: int = ...,
|
||||
stopIfTrue: Any | None = ...,
|
||||
aboveAverage: Any | None = ...,
|
||||
percent: Any | None = ...,
|
||||
bottom: Any | None = ...,
|
||||
operator: Any | None = ...,
|
||||
text: Any | None = ...,
|
||||
timePeriod: Any | None = ...,
|
||||
rank: Any | None = ...,
|
||||
stdDev: Any | None = ...,
|
||||
equalAverage: Any | None = ...,
|
||||
formula=...,
|
||||
colorScale: Any | None = ...,
|
||||
dataBar: Any | None = ...,
|
||||
iconSet: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
dxf: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
def ColorScaleRule(
|
||||
start_type: Any | None = ...,
|
||||
start_value: Any | None = ...,
|
||||
start_color: Any | None = ...,
|
||||
mid_type: Any | None = ...,
|
||||
mid_value: Any | None = ...,
|
||||
mid_color: Any | None = ...,
|
||||
end_type: Any | None = ...,
|
||||
end_value: Any | None = ...,
|
||||
end_color: Any | None = ...,
|
||||
): ...
|
||||
def FormulaRule(
|
||||
formula: Any | None = ...,
|
||||
stopIfTrue: Any | None = ...,
|
||||
font: Any | None = ...,
|
||||
border: Any | None = ...,
|
||||
fill: Any | None = ...,
|
||||
): ...
|
||||
def CellIsRule(
|
||||
operator: Any | None = ...,
|
||||
formula: Any | None = ...,
|
||||
stopIfTrue: Any | None = ...,
|
||||
font: Any | None = ...,
|
||||
border: Any | None = ...,
|
||||
fill: Any | None = ...,
|
||||
): ...
|
||||
def IconSetRule(
|
||||
icon_style: Any | None = ...,
|
||||
type: Any | None = ...,
|
||||
values: Any | None = ...,
|
||||
showValue: Any | None = ...,
|
||||
percent: Any | None = ...,
|
||||
reverse: Any | None = ...,
|
||||
): ...
|
||||
def DataBarRule(
|
||||
start_type: Any | None = ...,
|
||||
start_value: Any | None = ...,
|
||||
end_type: Any | None = ...,
|
||||
end_value: Any | None = ...,
|
||||
color: Any | None = ...,
|
||||
showValue: Any | None = ...,
|
||||
minLength: Any | None = ...,
|
||||
maxLength: Any | None = ...,
|
||||
): ...
|
||||
1
stubs/openpyxl/openpyxl/formula/__init__.pyi
Normal file
1
stubs/openpyxl/openpyxl/formula/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
from .tokenizer import Tokenizer as Tokenizer
|
||||
52
stubs/openpyxl/openpyxl/formula/tokenizer.pyi
Normal file
52
stubs/openpyxl/openpyxl/formula/tokenizer.pyi
Normal file
@@ -0,0 +1,52 @@
|
||||
from typing import Any
|
||||
|
||||
class TokenizerError(Exception): ...
|
||||
|
||||
class Tokenizer:
|
||||
SN_RE: Any
|
||||
WSPACE_RE: Any
|
||||
STRING_REGEXES: Any
|
||||
ERROR_CODES: Any
|
||||
TOKEN_ENDERS: str
|
||||
formula: Any
|
||||
items: Any
|
||||
token_stack: Any
|
||||
offset: int
|
||||
token: Any
|
||||
def __init__(self, formula) -> None: ...
|
||||
def check_scientific_notation(self): ...
|
||||
def assert_empty_token(self, can_follow=...) -> None: ...
|
||||
def save_token(self) -> None: ...
|
||||
def render(self): ...
|
||||
|
||||
class Token:
|
||||
LITERAL: str
|
||||
OPERAND: str
|
||||
FUNC: str
|
||||
ARRAY: str
|
||||
PAREN: str
|
||||
SEP: str
|
||||
OP_PRE: str
|
||||
OP_IN: str
|
||||
OP_POST: str
|
||||
WSPACE: str
|
||||
value: Any
|
||||
type: Any
|
||||
subtype: Any
|
||||
def __init__(self, value, type_, subtype: str = ...) -> None: ...
|
||||
TEXT: str
|
||||
NUMBER: str
|
||||
LOGICAL: str
|
||||
ERROR: str
|
||||
RANGE: str
|
||||
@classmethod
|
||||
def make_operand(cls, value): ...
|
||||
OPEN: str
|
||||
CLOSE: str
|
||||
@classmethod
|
||||
def make_subexp(cls, value, func: bool = ...): ...
|
||||
def get_closer(self): ...
|
||||
ARG: str
|
||||
ROW: str
|
||||
@classmethod
|
||||
def make_separator(cls, value): ...
|
||||
20
stubs/openpyxl/openpyxl/formula/translate.pyi
Normal file
20
stubs/openpyxl/openpyxl/formula/translate.pyi
Normal file
@@ -0,0 +1,20 @@
|
||||
from typing import Any
|
||||
|
||||
class TranslatorError(Exception): ...
|
||||
|
||||
class Translator:
|
||||
tokenizer: Any
|
||||
def __init__(self, formula, origin) -> None: ...
|
||||
def get_tokens(self): ...
|
||||
ROW_RANGE_RE: Any
|
||||
COL_RANGE_RE: Any
|
||||
CELL_REF_RE: Any
|
||||
@staticmethod
|
||||
def translate_row(row_str, rdelta): ...
|
||||
@staticmethod
|
||||
def translate_col(col_str, cdelta): ...
|
||||
@staticmethod
|
||||
def strip_ws_name(range_str): ...
|
||||
@classmethod
|
||||
def translate_range(cls, range_str, rdelta, cdelta): ...
|
||||
def translate_formula(self, dest: Any | None = ..., row_delta: int = ..., col_delta: int = ...): ...
|
||||
0
stubs/openpyxl/openpyxl/packaging/__init__.pyi
Normal file
0
stubs/openpyxl/openpyxl/packaging/__init__.pyi
Normal file
51
stubs/openpyxl/openpyxl/packaging/core.pyi
Normal file
51
stubs/openpyxl/openpyxl/packaging/core.pyi
Normal file
@@ -0,0 +1,51 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors import DateTime
|
||||
from openpyxl.descriptors.nested import NestedText
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class NestedDateTime(DateTime, NestedText):
|
||||
expected_type: Any
|
||||
def to_tree(self, tagname: Any | None = ..., value: Any | None = ..., namespace: Any | None = ...): ...
|
||||
|
||||
class QualifiedDateTime(NestedDateTime):
|
||||
def to_tree(self, tagname: Any | None = ..., value: Any | None = ..., namespace: Any | None = ...): ...
|
||||
|
||||
class DocumentProperties(Serialisable):
|
||||
tagname: str
|
||||
namespace: Any
|
||||
category: Any
|
||||
contentStatus: Any
|
||||
keywords: Any
|
||||
lastModifiedBy: Any
|
||||
lastPrinted: Any
|
||||
revision: Any
|
||||
version: Any
|
||||
last_modified_by: Any
|
||||
subject: Any
|
||||
title: Any
|
||||
creator: Any
|
||||
description: Any
|
||||
identifier: Any
|
||||
language: Any
|
||||
created: Any
|
||||
modified: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
category: Any | None = ...,
|
||||
contentStatus: Any | None = ...,
|
||||
keywords: Any | None = ...,
|
||||
lastModifiedBy: Any | None = ...,
|
||||
lastPrinted: Any | None = ...,
|
||||
revision: Any | None = ...,
|
||||
version: Any | None = ...,
|
||||
created=...,
|
||||
creator: str = ...,
|
||||
description: Any | None = ...,
|
||||
identifier: Any | None = ...,
|
||||
language: Any | None = ...,
|
||||
modified=...,
|
||||
subject: Any | None = ...,
|
||||
title: Any | None = ...,
|
||||
) -> None: ...
|
||||
79
stubs/openpyxl/openpyxl/packaging/extended.pyi
Normal file
79
stubs/openpyxl/openpyxl/packaging/extended.pyi
Normal file
@@ -0,0 +1,79 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
def get_version(): ...
|
||||
|
||||
class DigSigBlob(Serialisable): # type: ignore[misc]
|
||||
__elements__: Any
|
||||
__attrs__: Any
|
||||
|
||||
class VectorLpstr(Serialisable): # type: ignore[misc]
|
||||
__elements__: Any
|
||||
__attrs__: Any
|
||||
|
||||
class VectorVariant(Serialisable): # type: ignore[misc]
|
||||
__elements__: Any
|
||||
__attrs__: Any
|
||||
|
||||
class ExtendedProperties(Serialisable):
|
||||
tagname: str
|
||||
Template: Any
|
||||
Manager: Any
|
||||
Company: Any
|
||||
Pages: Any
|
||||
Words: Any
|
||||
Characters: Any
|
||||
PresentationFormat: Any
|
||||
Lines: Any
|
||||
Paragraphs: Any
|
||||
Slides: Any
|
||||
Notes: Any
|
||||
TotalTime: Any
|
||||
HiddenSlides: Any
|
||||
MMClips: Any
|
||||
ScaleCrop: Any
|
||||
HeadingPairs: Any
|
||||
TitlesOfParts: Any
|
||||
LinksUpToDate: Any
|
||||
CharactersWithSpaces: Any
|
||||
SharedDoc: Any
|
||||
HyperlinkBase: Any
|
||||
HLinks: Any
|
||||
HyperlinksChanged: Any
|
||||
DigSig: Any
|
||||
Application: Any
|
||||
AppVersion: Any
|
||||
DocSecurity: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
Template: Any | None = ...,
|
||||
Manager: Any | None = ...,
|
||||
Company: Any | None = ...,
|
||||
Pages: Any | None = ...,
|
||||
Words: Any | None = ...,
|
||||
Characters: Any | None = ...,
|
||||
PresentationFormat: Any | None = ...,
|
||||
Lines: Any | None = ...,
|
||||
Paragraphs: Any | None = ...,
|
||||
Slides: Any | None = ...,
|
||||
Notes: Any | None = ...,
|
||||
TotalTime: Any | None = ...,
|
||||
HiddenSlides: Any | None = ...,
|
||||
MMClips: Any | None = ...,
|
||||
ScaleCrop: Any | None = ...,
|
||||
HeadingPairs: Any | None = ...,
|
||||
TitlesOfParts: Any | None = ...,
|
||||
LinksUpToDate: Any | None = ...,
|
||||
CharactersWithSpaces: Any | None = ...,
|
||||
SharedDoc: Any | None = ...,
|
||||
HyperlinkBase: Any | None = ...,
|
||||
HLinks: Any | None = ...,
|
||||
HyperlinksChanged: Any | None = ...,
|
||||
DigSig: Any | None = ...,
|
||||
Application: str = ...,
|
||||
AppVersion: Any | None = ...,
|
||||
DocSecurity: Any | None = ...,
|
||||
) -> None: ...
|
||||
def to_tree(self): ...
|
||||
6
stubs/openpyxl/openpyxl/packaging/interface.pyi
Normal file
6
stubs/openpyxl/openpyxl/packaging/interface.pyi
Normal file
@@ -0,0 +1,6 @@
|
||||
from abc import ABC, ABCMeta, abstractmethod
|
||||
|
||||
class ISerialisableFile(ABC, metaclass=ABCMeta):
|
||||
@property
|
||||
@abstractmethod
|
||||
def id(self): ...
|
||||
38
stubs/openpyxl/openpyxl/packaging/manifest.pyi
Normal file
38
stubs/openpyxl/openpyxl/packaging/manifest.pyi
Normal file
@@ -0,0 +1,38 @@
|
||||
from collections.abc import Generator
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
mimetypes: Any
|
||||
|
||||
class FileExtension(Serialisable):
|
||||
tagname: str
|
||||
Extension: Any
|
||||
ContentType: Any
|
||||
def __init__(self, Extension, ContentType) -> None: ...
|
||||
|
||||
class Override(Serialisable):
|
||||
tagname: str
|
||||
PartName: Any
|
||||
ContentType: Any
|
||||
def __init__(self, PartName, ContentType) -> None: ...
|
||||
|
||||
DEFAULT_TYPES: Any
|
||||
DEFAULT_OVERRIDE: Any
|
||||
|
||||
class Manifest(Serialisable):
|
||||
tagname: str
|
||||
Default: Any
|
||||
Override: Any
|
||||
path: str
|
||||
__elements__: Any
|
||||
def __init__(self, Default=..., Override=...) -> None: ...
|
||||
@property
|
||||
def filenames(self): ...
|
||||
@property
|
||||
def extensions(self): ...
|
||||
def to_tree(self): ...
|
||||
def __contains__(self, content_type): ...
|
||||
def find(self, content_type): ...
|
||||
def findall(self, content_type) -> Generator[Any, None, None]: ...
|
||||
def append(self, obj) -> None: ...
|
||||
36
stubs/openpyxl/openpyxl/packaging/relationship.pyi
Normal file
36
stubs/openpyxl/openpyxl/packaging/relationship.pyi
Normal file
@@ -0,0 +1,36 @@
|
||||
from collections.abc import Generator
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class Relationship(Serialisable):
|
||||
tagname: str
|
||||
Type: Any
|
||||
Target: Any
|
||||
target: Any
|
||||
TargetMode: Any
|
||||
Id: Any
|
||||
id: Any
|
||||
def __init__(
|
||||
self,
|
||||
Id: Any | None = ...,
|
||||
Type: Any | None = ...,
|
||||
type: Any | None = ...,
|
||||
Target: Any | None = ...,
|
||||
TargetMode: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class RelationshipList(Serialisable):
|
||||
tagname: str
|
||||
Relationship: Any
|
||||
def __init__(self, Relationship=...) -> None: ...
|
||||
def append(self, value) -> None: ...
|
||||
def __len__(self): ...
|
||||
def __bool__(self): ...
|
||||
def find(self, content_type) -> Generator[Any, None, None]: ...
|
||||
def __getitem__(self, key): ...
|
||||
def to_tree(self): ...
|
||||
|
||||
def get_rels_path(path): ...
|
||||
def get_dependents(archive, filename): ...
|
||||
def get_rel(archive, deps, id: Any | None = ..., cls: Any | None = ...): ...
|
||||
86
stubs/openpyxl/openpyxl/packaging/workbook.pyi
Normal file
86
stubs/openpyxl/openpyxl/packaging/workbook.pyi
Normal file
@@ -0,0 +1,86 @@
|
||||
from typing import Any
|
||||
|
||||
from openpyxl.descriptors.serialisable import Serialisable
|
||||
|
||||
class FileRecoveryProperties(Serialisable):
|
||||
tagname: str
|
||||
autoRecover: Any
|
||||
crashSave: Any
|
||||
dataExtractLoad: Any
|
||||
repairLoad: Any
|
||||
def __init__(
|
||||
self,
|
||||
autoRecover: Any | None = ...,
|
||||
crashSave: Any | None = ...,
|
||||
dataExtractLoad: Any | None = ...,
|
||||
repairLoad: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
class ChildSheet(Serialisable):
|
||||
tagname: str
|
||||
name: Any
|
||||
sheetId: Any
|
||||
state: Any
|
||||
id: Any
|
||||
def __init__(self, name: Any | None = ..., sheetId: Any | None = ..., state: str = ..., id: Any | None = ...) -> None: ...
|
||||
|
||||
class PivotCache(Serialisable):
|
||||
tagname: str
|
||||
cacheId: Any
|
||||
id: Any
|
||||
def __init__(self, cacheId: Any | None = ..., id: Any | None = ...) -> None: ...
|
||||
|
||||
class WorkbookPackage(Serialisable):
|
||||
tagname: str
|
||||
conformance: Any
|
||||
fileVersion: Any
|
||||
fileSharing: Any
|
||||
workbookPr: Any
|
||||
properties: Any
|
||||
workbookProtection: Any
|
||||
bookViews: Any
|
||||
sheets: Any
|
||||
functionGroups: Any
|
||||
externalReferences: Any
|
||||
definedNames: Any
|
||||
calcPr: Any
|
||||
oleSize: Any
|
||||
customWorkbookViews: Any
|
||||
pivotCaches: Any
|
||||
smartTagPr: Any
|
||||
smartTagTypes: Any
|
||||
webPublishing: Any
|
||||
fileRecoveryPr: Any
|
||||
webPublishObjects: Any
|
||||
extLst: Any
|
||||
Ignorable: Any
|
||||
__elements__: Any
|
||||
def __init__(
|
||||
self,
|
||||
conformance: Any | None = ...,
|
||||
fileVersion: Any | None = ...,
|
||||
fileSharing: Any | None = ...,
|
||||
workbookPr: Any | None = ...,
|
||||
workbookProtection: Any | None = ...,
|
||||
bookViews=...,
|
||||
sheets=...,
|
||||
functionGroups: Any | None = ...,
|
||||
externalReferences=...,
|
||||
definedNames: Any | None = ...,
|
||||
calcPr: Any | None = ...,
|
||||
oleSize: Any | None = ...,
|
||||
customWorkbookViews=...,
|
||||
pivotCaches=...,
|
||||
smartTagPr: Any | None = ...,
|
||||
smartTagTypes: Any | None = ...,
|
||||
webPublishing: Any | None = ...,
|
||||
fileRecoveryPr: Any | None = ...,
|
||||
webPublishObjects: Any | None = ...,
|
||||
extLst: Any | None = ...,
|
||||
Ignorable: Any | None = ...,
|
||||
) -> None: ...
|
||||
def to_tree(self): ...
|
||||
@property
|
||||
def active(self): ...
|
||||
@property
|
||||
def pivot_caches(self): ...
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user