Class: Doc2Text::Odt::XmlNodes::Office::DocumentContent

Inherits:
Object
  • Object
show all
Includes:
Node
Defined in:
lib/doc2text/namespaces.rb

Instance Attribute Summary

Attributes included from Node

#attrs, #children, #name, #parent, #prefix

Instance Method Summary collapse

Methods included from Node

#<<, #close, create_node, #eql?, #generic?, #has_text?, included, #initialize, #not_enclosing?, #open, #remove_last_child!, #root?, titleize, #to_s, #xml_name

Instance Method Details

#delete_on_close?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/doc2text/namespaces.rb', line 28

def delete_on_close?
  false # required for testing purposes. After a document has been parsed, some tests could be run against the tree built
end