Paper Office
paper-xlsxAPI referencecomments.comment_sheet

CommentRecord

paper-xlsx 0.2.1 API reference

CommentRecord(ref='', authorId=0, guid=None, shapeId=0, text=None, commentPr=None, author=None, height=79, width=144)

Attributes

author

attributeauthor
= author

authorId

attributeauthorId
= authorId

commentPr

attributecommentPr
= commentPr

content

attributecontent

Remove all inline formatting and stuff

guid

attributeguid
= guid

height

attributeheight
= height

idx_base

attributeidx_base
= 0

namespace

attributenamespace
= None

ref

attributeref
= ref

shapeId

attributeshapeId
= shapeId

tagname

attributetagname
= 'comment'

text

attributetext
= text

width

attributewidth
= width

Functions

__iter__

func__iter__()

from_cell

funcfrom_cell(cell)

Class method to convert cell comment

paramcell

from_tree

funcfrom_tree(node)

Create object from XML

paramnode

to_tree

functo_tree(tagname=None, idx=None, namespace=None)
paramtagname
= None
paramidx
= None
paramnamespace
= None

On this page