diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-07-02 17:41:30 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-07-02 17:41:30 +0100 |
commit | 98e238d8ab123920b8c29afaeb9497ea6d233313 (patch) | |
tree | 257ecc7fbbbffbbabfe0bdf37055102f4047d6ad /lib/sisu/v0/odf.rb | |
parent | * dal, auto-numbering (minor) fix for segments/headings (diff) |
odf problem where project name not included in conf dir
Diffstat (limited to 'lib/sisu/v0/odf.rb')
-rw-r--r-- | lib/sisu/v0/odf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v0/odf.rb b/lib/sisu/v0/odf.rb index 1370f6fa..a5ed30a4 100644 --- a/lib/sisu/v0/odf.rb +++ b/lib/sisu/v0/odf.rb @@ -202,7 +202,7 @@ module SiSU_ODF fn=@md.fn[:manifest] manifest="#{@vz.url_root_http}/#{url}/#{fn}" @@odf[:tail] << %{<text:p text:style-name="P1">Available document outputs: <br /> <<text:a xlink:type="simple" xlink:href="#{manifest}">#{manifest}</text:a>></text:p>} - @@odf[:tail] << '<text:p text:style-name="P1">SiSU: <<text:a xlink:type="simple" xlink:href="http://www.jus.uio.no/lm">www.jus.uio.no/sisu</text:a>> and <<text:a xlink:type="simple" xlink:href="http://www.sisudoc.org">www.sisudoc.org</text:a>></text:p>' + @@odf[:tail] << %{\n<text:p text:style-name="P1">SiSU: <<text:a xlink:type="simple" xlink:href="http://www.jus.uio.no/lm">www.jus.uio.no/sisu</text:a>> and <<text:a xlink:type="simple" xlink:href="http://www.sisudoc.org">www.sisudoc.org</text:a>></text:p>} @@odf[:tail] << "\n</office:text></office:body></office:document-content>" end def heading(para,no) @@ -657,7 +657,7 @@ module SiSU_ODF content << @@odf[:head] content << @@odf[:body] content << @@odf[:metadata] - content << @@odf[:owner_details] if @md.stmp =~/\w+/ #not used? + #content << @@odf[:owner_details] if @md.stmp =~/\w+/ #not used? content << @@odf[:tail] Output.new(content,@md).odf @@odf[:head],@@odf[:body],@@odf[:tail],@@odf[:metadata]=[],[],[],[] |