class Odf::Element::TextListItem
Constants
- VALID_OPTIONS
- XML_TAG
Public Class Methods
build(parent, options = {})
click to toggle source
# File lib/odf/element/text_list_item.rb, line 12 def self.build(parent, options = {}) new(parent, options) end
Public Instance Methods
add_heading(text, options = {})
click to toggle source
# File lib/odf/element/text_list_item.rb, line 16 def add_heading(text, options = {}) Odf::Element::Heading.build(self, text, options) end
add_paragraph(text, options = {})
click to toggle source
# File lib/odf/element/text_list_item.rb, line 20 def add_paragraph(text, options = {}) Odf::Element::Paragraph.build(self, text, options) end
add_text_list(options = {})
click to toggle source
# File lib/odf/element/text_list_item.rb, line 24 def add_text_list(options = {}) Odf::Element::TextList.build(self, options) end