Description

class Axlsx::Comment

A comment is the text data for a comment

Creates a new comment object

Parameters:

  • comments (Comments)

    The comment collection this comment belongs to

  • options (Hash) (defaults to: {})
  • [String] (Hash)

    a customizable set of options

  • [Boolean] (Hash)

    a customizable set of options

Yields:

  • (_self)

Yield Parameters:

  • _self (Axlsx::Comment)

    the object that the method was called on

Raises:

  • (ArgumentError)

The index of this author in a unique sorted list of all authors in the comment.

The owning Comments object

initialize the vml shape based on this comment's ref/position in the worksheet. by default, all columns are 5 columns wide and 5 rows high

The string based cell position reference (e.g. 'A1') that determines the positioning of this comment

serialize the object

Parameters:

  • str (String) (defaults to: "")

The vml shape that will render this comment

Comment is referenced in 0 repositories