summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/comments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/workbook/worksheet/comments.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/comments.rb8
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]