Method: IsoDoc::HtmlFunction::Comments#move_comment_link_to_from

Defined in:
lib/isodoc/html_function/comments.rb


109
110
111
112
113
114
115
# File 'lib/isodoc/html_function/comments.rb', line 109

def move_comment_link_to_from(docxml)
  docxml.xpath('//span[@style="MsoCommentReference"][@from]').each do |x|
    attrs = comment_attributes(docxml, x) || next
    move_comment_link_to_from1(x, attrs[:from])
    insert_comment_cont(attrs[:from], x["to"], x["target"])
  end
end