fastpyxl.comments.comment_sheet module
- class fastpyxl.comments.comment_sheet.CommentRecord(ref='', authorId=0, guid=None, shapeId=0, text=None, commentPr=None, author=None, height=79, width=144)[source]
Bases:
Serialisable- authorId: int
- commentPr: Properties | None
- property content
Remove all inline formatting and stuff
- guid: str | None
- ref: str
- shapeId: int | None
- tagname = 'comment'
- xml_order = ('text', 'commentPr')
- class fastpyxl.comments.comment_sheet.CommentSheet(authors=None, commentList=None, extLst=None)[source]
Bases:
Serialisable- authors: AuthorList
- commentList: list[CommentRecord]
- property comments
Return a dictionary of comments keyed by coord
- extLst: ExtensionList | None
- classmethod from_comments(comments)[source]
Create a comment sheet from a list of comments for a particular worksheet
- mime_type = 'application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml'
- property path
Return path within the archive
- tagname = 'comments'
- xml_order = ('authors', 'commentList')
- class fastpyxl.comments.comment_sheet.Properties(locked=None, defaultSize=None, _print=None, disabled=None, uiObject=None, autoFill=None, autoLine=None, altText=None, textHAlign=None, textVAlign=None, lockText=None, justLastX=None, autoScale=None, rowHidden=None, colHidden=None, anchor=None)[source]
Bases:
Serialisable- altText: str | None
- autoFill: bool | None
- autoLine: bool | None
- autoScale: bool | None
- colHidden: bool | None
- defaultSize: bool | None
- disabled: bool | None
- justLastX: bool | None
- lockText: bool | None
- locked: bool | None
- rowHidden: bool | None
- tagname = 'commentPr'
- textHAlign: str | None
- textVAlign: str | None
- uiObject: bool | None