class Odf::Element::DrawTextBox

Constants

VALID_OPTIONS
XML_TAG

Public Class Methods

build(parent, options = {}) click to toggle source
# File lib/odf/element/draw_text_box.rb, line 17
def self.build(parent, options = {})
  new(parent, options)
end

Public Instance Methods

add_frame(options = {}) click to toggle source
# File lib/odf/element/draw_text_box.rb, line 21
def add_frame(options = {}) 
  Odf::Element::DrawFrame.build(self, options)
end
add_heading(text, options = {}) click to toggle source
# File lib/odf/element/draw_text_box.rb, line 25
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/draw_text_box.rb, line 29
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/draw_text_box.rb, line 33
def add_text_list(options = {})
  Odf::Element::TextList.build(self, options)
end