module OoxmlParser::DocxParagraphHelper
Stuff for help working with paragraph
Public Instance Methods
Source
# 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
Temp method to return background color Need to be compatible with older versions @return [OoxmlParser::Color]
Source
# 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
@return [Nil, CommentExtended] extended data for this comment