Table Of Contents

Previous topic

XLSCell

Next topic

XLSGrid

This Page

phoenix_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.


class_hierarchy Inheritance Diagram

Inheritance diagram for class XLSComment

Inheritance diagram of XLSComment


method_summary Methods Summary

__init__ Default class constructor.
Draw Actually draws a small red triangle in the top-right corder of the cell

api Class API



class XLSComment(object)

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.


Methods



__init__(self, comment)

Default class constructor.

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


Draw(self, dc, rect)

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 DC;
  • rect – an instance of Rect, representing the cell rectangle.