Class: Odf::Element::Paragraph

Inherits:
Abstract
  • Object
show all
Includes:
AbstractContenteable
Defined in:
lib/odf/element/paragraph.rb

Constant Summary collapse

VALID_OPTIONS =
{}
XML_TAG =
'text:p'.freeze

Instance Attribute Summary

Attributes inherited from Abstract

#parent, #root

Class Method Summary collapse

Methods included from AbstractContenteable

#initialize

Methods inherited from Abstract

#document, #initialize, #valid_options, #xml_tag

Class Method Details

.build(parent, text, options = {}) ⇒ Object



9
10
11
# File 'lib/odf/element/paragraph.rb', line 9

def self.build(parent, text, options = {})
  new(parent, text, options)
end