diff options
| author | Randy Morgan <[email protected]> | 2012-07-17 09:30:05 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-07-17 09:30:05 +0900 |
| commit | 40fdb054a0f31a12870d2d12be3928075c738ebf (patch) | |
| tree | 493baeffb6ca578cf438f066bb348a62bc66121d /lib/axlsx/workbook/worksheet/comments.rb | |
| parent | aeb2d164c3db46d4d2d6e05fd34eba4e2193d28a (diff) | |
| download | caxlsx-40fdb054a0f31a12870d2d12be3928075c738ebf.tar.gz caxlsx-40fdb054a0f31a12870d2d12be3928075c738ebf.zip | |
MOAR cleanup for worksheet.
Diffstat (limited to 'lib/axlsx/workbook/worksheet/comments.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/comments.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/axlsx/workbook/worksheet/comments.rb b/lib/axlsx/workbook/worksheet/comments.rb index 0bf703f5..25da9de2 100644 --- a/lib/axlsx/workbook/worksheet/comments.rb +++ b/lib/axlsx/workbook/worksheet/comments.rb @@ -53,6 +53,14 @@ module Axlsx @list.map { |comment| comment.author.to_s }.uniq.sort end + # The relationships required by this object + # @return [Array] + def relationships + [Relationship.new(VML_DRAWING_R, "../#{vml_drawing.pn}"), + Relationship.new(COMMENT_R, "../#{pn}"), + Relationship.new(COMMENT_R_NULL, "NULL")] + end + # serialize the object # @param [String] str # @return [String] |
