Class: Doc2Text::Odt::XmlNodes::Text::Span
- Inherits:
-
Object
- Object
- Doc2Text::Odt::XmlNodes::Text::Span
- Includes:
- Node, Doc2Text::Odt::XmlNodes::Text
- Defined in:
- lib/doc2text/odt_xml_namespaces.rb
Overview
docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1419264_253892949
Instance Attribute Summary
Attributes included from Node
#attrs, #children, #name, #parent, #prefix, #text
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Doc2Text::Odt::XmlNodes::Text
#fetch_style, #fetch_style?, #find_style, #initialize
Methods included from Node
create_node, #delete, #delete_on_close?, #eql?, #expand, #generic?, #has_text?, included, #initialize, #not_deleted?, #not_enclosing?, #root?, titleize, #to_s, #un_delete, #xml_name
Class Method Details
.style_family ⇒ Object
181 182 183 |
# File 'lib/doc2text/odt_xml_namespaces.rb', line 181 def self.style_family 'text' end |
Instance Method Details
#close ⇒ Object
189 190 191 |
# File 'lib/doc2text/odt_xml_namespaces.rb', line 189 def close @enclosing_style.reverse.join end |
#open ⇒ Object
185 186 187 |
# File 'lib/doc2text/odt_xml_namespaces.rb', line 185 def open @enclosing_style.join end |