diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-06-22 01:13:46 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-06-22 01:13:49 -0400 |
commit | f31e286f4a73c5c0f355512b0cb45c6c82088516 (patch) | |
tree | fdf22b179aef9937e7f6a3e71fc6c1e7f0ff9119 /lib/sisu/v5/odf_format.rb | |
parent | vim, ftplugin sisu.vim, c-\ hard wrap lines to line width (moved from c-j) (diff) |
v5: general code cleaningsisu_4.1.5
* propagate back to v4 after testing
Diffstat (limited to 'lib/sisu/v5/odf_format.rb')
-rw-r--r-- | lib/sisu/v5/odf_format.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v5/odf_format.rb b/lib/sisu/v5/odf_format.rb index 8abff36f..018fba83 100644 --- a/lib/sisu/v5/odf_format.rb +++ b/lib/sisu/v5/odf_format.rb @@ -70,12 +70,12 @@ module SiSU_ODF_Format def set_ref_and_display set_ref=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript"><text:reference-mark-start text:name="\1"/><text:reference-mark-end text:name="\1"/></text:span>') disp=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript">[\1]</text:span>') - ocn={ display: disp, set_ref: set_ref } + { display: disp, set_ref: set_ref } end def set_bookmark_and_display set_ref=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript"><text:bookmark-start text:name="\1"/><text:bookmark-end text:name="\1"/></text:span>') disp=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript">[\1]</text:span>') - ocn={ display: disp, set_ref: set_ref } + { display: disp, set_ref: set_ref } end def name @paranum.gsub(/(\d+)/,'<a name="\1"></a>') @@ -225,7 +225,7 @@ module SiSU_ODF_Format end %{<table:table-row>#{@br}} + %{<table:table-cell office:value-type="string">#{@br}} + - %{<text:p text:style-name="#{txt_name_row}">#{@br}} + %{<text:p text:style-name="#{txt_name_row}">#{@br}} + %{#{str}} + %{</text:p>#{@br}} + %{</table:table-cell>#{@br}} + |