class SiSU_XML_ODF_ODT_Format::FormatTextObject

Public Class Methods

new(md,t_o) click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 133
def initialize(md,t_o)
  @md,@t_o=md,t_o
  if t_o.is_a?(Hash)
    @txt =t_o[:txt]            || nil
  else
    p t_o.class
    p caller
  end
  rgx=/#{Mx[:en_a_o]}\d+\s+(.+?)#{Mx[:en_a_c]}/
  @txt=@txt.gsub(rgx,'\1') if @txt =~rgx
end

Public Instance Methods

heading_body1() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 147
def heading_body1
end
heading_body2() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 149
def heading_body2
end
heading_body3() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 151
def heading_body3
end
heading_body4() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 153
def heading_body4
end
heading_body5() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 155
def heading_body5
end
heading_body6() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 157
def heading_body6
end
heading_body7() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 159
def heading_body7
end
scr_endnote_body() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 144
def scr_endnote_body
  "<endnote>#{@txt}</endnote> "
end