Description

class Axlsx::Comments

Comments is a collection of Comment objects for a worksheet

Creates a new Comments object

Parameters:

  • worksheet (Worksheet)

    The sheet that these comments belong to.

Raises:

  • (ArgumentError)
Note:

the author, text and ref options are required

Adds a new comment to the worksheet that owns these comments.

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • author (String)

    The name of the author for this comment

  • text (String)

    The text for this comment

  • ref (Stirng|Cell)

    The cell that this comment is attached to.

Yields:

  • (last)

Raises:

  • (ArgumentError)

A sorted list of the unique authors in the contained comments

The index of this collection in the workbook. Effectively the index of the worksheet.

The part name for this object

The relationships required by this object

serialize the object

Parameters:

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

the vml_drawing that holds the shapes for comments

The worksheet that these comments belong to

Comments is referenced in 0 repositories