openpyxl.comments.comment_sheet.
CommentRecord
(
ref=''
,
authorId=0
,
guid=None
,
shapeId=0
,
text=None
,
commentPr=None
,
author=None
,
height=79
,
width=144
)
[source]
¶
Values must be of type <class ‘str’>
Values must be of type <class ‘int’>
commentPr
¶
Values must be of type <class ‘openpyxl.comments.comment_sheet.Properties’>
content
¶
Remove all inline formatting and stuff
guid
¶
ref
¶
Values must be of type <class ‘str’>
shapeId
¶
Values must be of type <class ‘int’>
tagname
= 'comment'
¶
text
¶
Values must be of type <class ‘openpyxl.cell.text.Text’>
openpyxl.comments.comment_sheet.
CommentSheet
(
authors=None
,
commentList=None
,
extLst=None
)
[source]
¶
Values must be of type <class ‘openpyxl.comments.author.AuthorList’>
commentList
¶
Wrap a sequence in an containing object
comments
¶
Return a dictionary of comments keyed by coord
extLst
¶
Values must be of type <class ‘openpyxl.descriptors.excel.ExtensionList’>
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'
¶
path
¶
Return path within the archive
tagname
= 'comments'
¶
openpyxl.comments.comment_sheet.
特性
(
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]
¶
altText
¶
Values must be of type <class ‘str’>
autoFill
¶
Values must be of type <class ‘bool’>
autoLine
¶
Values must be of type <class ‘bool’>
autoScale
¶
Values must be of type <class ‘bool’>
colHidden
¶
Values must be of type <class ‘bool’>
defaultSize
¶
Values must be of type <class ‘bool’>
被禁用
¶
Values must be of type <class ‘bool’>
justLastX
¶
Values must be of type <class ‘bool’>
lockText
¶
Values must be of type <class ‘bool’>
locked
¶
Values must be of type <class ‘bool’>
rowHidden
¶
Values must be of type <class ‘bool’>
textHAlign
¶
Value must be one of {‘justify’, ‘right’, ‘center’, ‘distributed’, ‘left’}
textVAlign
¶
Value must be one of {‘justify’, ‘center’, ‘top’, ‘bottom’, ‘distributed’}
uiObject
¶
Values must be of type <class ‘bool’>