Class: Uniword::FindReplace::EndnoteScope
- Defined in:
- lib/uniword/find_replace/endnote_scope.rb
Overview
Endnotes scope: text in word/endnotes.xml. Walks every
endnote entry's paragraphs.
Instance Method Summary collapse
Methods inherited from Scope
Constructor Details
This class inherits a constructor from Uniword::FindReplace::Scope
Instance Method Details
#each_text_node {|text_element, accessor| ... } ⇒ Object
15 16 17 18 19 20 |
# File 'lib/uniword/find_replace/endnote_scope.rb', line 15 def each_text_node entries = @document.endnotes&.endnote_entries return unless entries each_text_in_containers(entries) { |*a| yield(*a) } end |
#name ⇒ Symbol
9 10 11 |
# File 'lib/uniword/find_replace/endnote_scope.rb', line 9 def name :endnotes end |