AGW Logo

agw_title XLSComment

This is a class which holds information about the content of the “comment window” (aka note) in Excel.

Note

If Mark Hammonds’ pywin32 package is not available, this class can not be used.

hierarchy Inheritance Diagram

Inheritance diagram for: XLSComment

Inheritance diagram of XLSComment


method_summary Methods Summary

__init__Default class constructor.
DrawActually draws a small red triangle in the top-right corder of the cell to indicate that a comment is present.

API Class API

class XLSComment(object)[source]

This is a class which holds information about the content of the “comment window” (aka note) in Excel.

Note

If Mark Hammonds’ pywin32 package is not available, this class can not be used.



__init__(comment)[source]

Default class constructor.

Parameters:comment – the actual text contained in the Excel cell comment (note).


Draw(dc, rect)[source]

Actually draws a small red triangle in the top-right corder of the cell to indicate that a comment is present.

Parameters:
  • dc – an instance of wx.DC;
  • rect – an instance of wx.Rect, representing the cell rectangle.
Tree

Table Of Contents

Previous topic

XLSCell

Next topic

XLSGrid