Class: Doc2Text::Odt::XmlNodes::Text::ListItem
- Inherits:
-
Node
- Object
- XmlBasedDocument::XmlNodes::Node
- Node
- Doc2Text::Odt::XmlNodes::Text::ListItem
- Includes:
- Doc2Text::Odt::XmlNodes::Text
- Defined in:
- lib/doc2text/odt/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 inherited from XmlBasedDocument::XmlNodes::Node
#attrs, #children, #name, #parent, #prefix, #text
Instance Method Summary collapse
Methods included from Doc2Text::Odt::XmlNodes::Text
#fetch_style, #find_style, #initialize
Methods inherited from Node
Methods inherited from XmlBasedDocument::XmlNodes::Node
#close, #delete, #eql?, #generic?, #has_text?, inherited, #initialize, #open, #root?, #to_s, #xml_name
Instance Method Details
#expand ⇒ Object
205 206 207 208 209 |
# File 'lib/doc2text/odt/odt_xml_namespaces.rb', line 205 def result = "* #{@children.map(&:expand).join.strip.gsub /\n{2,}/, "\n"}\n" delete result.clone end |
#fetch_style? ⇒ Boolean
211 212 213 |
# File 'lib/doc2text/odt/odt_xml_namespaces.rb', line 211 def fetch_style? false end |