aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/odf_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-02-22 19:23:04 -0500
committerRalph Amissah <ralph@amissah.com>2013-02-22 19:23:16 -0500
commit9916bc2ddd1480a3ba35b3a74b766d9acbd34873 (patch)
tree75d53c4d9e951a26d4057c7a1167c96882d29a94 /lib/sisu/v4/odf_format.rb
parentv4: version & changelog (diff)
v4: dal, markup: line across page divider -..- introduced
* an alternative to page breaks -\\- & =\\=, significantly affects pdf & odf * output formats modified to include (pdf, odf, epub, html, plaintext)
Diffstat (limited to 'lib/sisu/v4/odf_format.rb')
-rw-r--r--lib/sisu/v4/odf_format.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sisu/v4/odf_format.rb b/lib/sisu/v4/odf_format.rb
index b86fcb1f..b1eb51ae 100644
--- a/lib/sisu/v4/odf_format.rb
+++ b/lib/sisu/v4/odf_format.rb
@@ -650,6 +650,11 @@ WOK
@t_o.obj='<text:p text:style-name="P_page_break"> </text:p>'
@t_o
end
+ def br_page_line
+ sep='_'
+ @t_o.obj=%{<text:p text:style-name="P_normal">#{sep*60}</text:p>}
+ @t_o
+ end
def obj_sep #center later
sep='--- '
@t_o.obj=%{<text:p text:style-name="P_normal">#{sep*20}</text:p>}