Module: DocxParagraphHelper

Included in:
OoxmlParser::DocxParagraph
Defined in:
lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_helper.rb

Overview

Stuff for help working with paragraph

Instance Method Summary collapse

Instance Method Details

#comment_extend_dataNil, CommentExtended

Returns extended data for this comment.

Returns:

  • (Nil, CommentExtended)

    extended data for this comment



4
5
6
7
# File 'lib/ooxml_parser/docx_parser/docx_data/document_structure/docx_paragraph/docx_paragraph_helper.rb', line 4

def comment_extend_data
  return if @paragraph_id.nil?
  root_object.comments_extended.by_id(@paragraph_id)
end