class SiSU_XML_ODF_ODT_Format::FormatObjBreak

Public Class Methods

new(md,t_o) click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 651
def initialize(md,t_o)
  @md,@t_o=md,t_o
end

Public Instance Methods

br_page() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 654
def br_page
  @t_o.obj='<text:p text:style-name="P_page_break"> </text:p>'
  @t_o
end
br_page_line() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 658
def br_page_line
  sep='_'
  @t_o.obj=%{<text:p text:style-name="P_normal">#{sep*60}</text:p>}
  @t_o
end
obj_sep() click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 663
def obj_sep #center later
  sep='--- '
  @t_o.obj=%{<text:p text:style-name="P_normal">#{sep*20}</text:p>}
  @t_o
end