Class: Doc2Text::Odt::XmlNodes::Text::ListItem
- Inherits:
-
Object
- Object
- Doc2Text::Odt::XmlNodes::Text::ListItem
- 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__1415154_253892949
Instance Attribute Summary
Attributes included from Node
#attrs, #children, #name, #parent, #prefix, #text
Instance Method Summary collapse
Methods included from Doc2Text::Odt::XmlNodes::Text
#fetch_style, #find_style, #initialize
Methods included from Node
#close, create_node, #delete, #eql?, #generic?, #has_text?, included, #initialize, #not_enclosing?, #office_text?, #open, #root?, titleize, #to_s, #xml_name
Instance Method Details
#expand ⇒ Object
179 180 181 182 183 |
# File 'lib/doc2text/odt_xml_namespaces.rb', line 179 def result = "* #{@children.map(&:expand).join.strip.gsub /\n{2,}/, "\n"}\n" delete result.clone end |
#fetch_style? ⇒ Boolean
185 186 187 |
# File 'lib/doc2text/odt_xml_namespaces.rb', line 185 def fetch_style? false end |