Class: SiSU_XML_ODF_ODT_Format::FormatObjBreak
- Inherits:
-
Object
- Object
- SiSU_XML_ODF_ODT_Format::FormatObjBreak
- Defined in:
- lib/sisu/xml_odf_odt_format.rb
Instance Method Summary collapse
- #br_page ⇒ Object
- #br_page_line ⇒ Object
-
#initialize(md, t_o) ⇒ FormatObjBreak
constructor
A new instance of FormatObjBreak.
-
#obj_sep ⇒ Object
center later.
Constructor Details
#initialize(md, t_o) ⇒ FormatObjBreak
Returns a new instance of FormatObjBreak.
653 654 655 |
# File 'lib/sisu/xml_odf_odt_format.rb', line 653 def initialize(md,t_o) @md,@t_o=md,t_o end |
Instance Method Details
#br_page ⇒ Object
656 657 658 659 |
# File 'lib/sisu/xml_odf_odt_format.rb', line 656 def br_page @t_o.obj='<text:p text:style-name="P_page_break"> </text:p>' @t_o end |
#br_page_line ⇒ Object
660 661 662 663 664 |
# File 'lib/sisu/xml_odf_odt_format.rb', line 660 def br_page_line sep='_' @t_o.obj=%{<text:p text:style-name="P_normal">#{sep*60}</text:p>} @t_o end |
#obj_sep ⇒ Object
center later
665 666 667 668 669 |
# File 'lib/sisu/xml_odf_odt_format.rb', line 665 def obj_sep #center later sep='--- ' @t_o.obj=%{<text:p text:style-name="P_normal">#{sep*20}</text:p>} @t_o end |