aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-07-02 17:41:30 +0100
committerRalph Amissah <ralph@amissah.com>2007-07-02 17:41:30 +0100
commit98e238d8ab123920b8c29afaeb9497ea6d233313 (patch)
tree257ecc7fbbbffbbabfe0bdf37055102f4047d6ad
parent* dal, auto-numbering (minor) fix for segments/headings (diff)
odf problem where project name not included in conf dir
-rw-r--r--lib/sisu/v0/odf.rb4
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 /> &lt;<text:a xlink:type="simple" xlink:href="#{manifest}">#{manifest}</text:a>&gt;</text:p>}
- @@odf[:tail] << '<text:p text:style-name="P1">SiSU: &lt;<text:a xlink:type="simple" xlink:href="http://www.jus.uio.no/lm">www.jus.uio.no/sisu</text:a>&gt; and &lt;<text:a xlink:type="simple" xlink:href="http://www.sisudoc.org">www.sisudoc.org</text:a>&gt;</text:p>'
+ @@odf[:tail] << %{\n<text:p text:style-name="P1">SiSU: &lt;<text:a xlink:type="simple" xlink:href="http://www.jus.uio.no/lm">www.jus.uio.no/sisu</text:a>&gt; and &lt;<text:a xlink:type="simple" xlink:href="http://www.sisudoc.org">www.sisudoc.org</text:a>&gt;</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]=[],[],[],[]