fastpyxl.drawing.spreadsheet_drawing module

class fastpyxl.drawing.spreadsheet_drawing.AbsoluteAnchor(pos=None, ext=None, **kw)[source]

Bases: _AnchorBase

property connectionShape
ext: XDRPositiveSize2D | None
property groupShape
pos: XDRPoint2D | None
property shape
tagname = 'absoluteAnchor'
xml_order = ('pos', 'ext', 'sp', 'grpSp', 'graphicFrame', 'cxnSp', 'pic', 'contentPart', 'clientData')
class fastpyxl.drawing.spreadsheet_drawing.AnchorClientData(fLocksWithSheet=None, fPrintsWithSheet=None)[source]

Bases: Serialisable

fLocksWithSheet: bool | None
fPrintsWithSheet: bool | None
class fastpyxl.drawing.spreadsheet_drawing.AnchorMarker(col=0, colOff=0, row=0, rowOff=0)[source]

Bases: Serialisable

col: int | None
colOff: int | None
row: int | None
rowOff: int | None
tagname = 'marker'
class fastpyxl.drawing.spreadsheet_drawing.OneCellAnchor(_from=None, ext=None, **kw)[source]

Bases: _AnchorBase

property connectionShape
ext: XDRPositiveSize2D | None
property groupShape
property shape
tagname = 'oneCellAnchor'
xml_order = ('_from', 'ext', 'sp', 'grpSp', 'graphicFrame', 'cxnSp', 'pic', 'contentPart', 'clientData')
class fastpyxl.drawing.spreadsheet_drawing.SpreadsheetDrawing(twoCellAnchor=(), oneCellAnchor=(), absoluteAnchor=())[source]

Bases: Serialisable

PartName = '/xl/drawings/drawing{0}.xml'
absoluteAnchor: list[AbsoluteAnchor] | None
mime_type = 'application/vnd.openxmlformats-officedocument.drawing+xml'
oneCellAnchor: list[OneCellAnchor] | None
property path
tagname = 'wsDr'
twoCellAnchor: list[TwoCellAnchor] | None
xml_order = ('twoCellAnchor', 'oneCellAnchor', 'absoluteAnchor')
class fastpyxl.drawing.spreadsheet_drawing.TwoCellAnchor(editAs=None, _from=None, to=None, **kw)[source]

Bases: _AnchorBase

property connectionShape
editAs: str | None
property groupShape
property shape
tagname = 'twoCellAnchor'
to: AnchorMarker | None
xml_order = ('_from', 'to', 'sp', 'grpSp', 'graphicFrame', 'cxnSp', 'pic', 'contentPart', 'clientData')