module OoxmlParser::DocxParagraphHelper

Stuff for help working with paragraph

Public Instance Methods

background_color() click to toggle source

Temp method to return background color Need to be compatible with older versions @return [OoxmlParser::Color]

# File lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_paragraph_helper.rb, line 16
def background_color
  paragraph_properties.shade.to_background_color
end
comment_extend_data() click to toggle source

@return [Nil, CommentExtended] extended data for this comment

# File lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_paragraph_helper.rb, line 7
def comment_extend_data
  return if @paragraph_id.nil?

  root_object.comments_extended.by_id(@paragraph_id)
end