[svn] r5418 - in trunk/tools/unoconv: . tests

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sat May 19 19:57:24 CEST 2007


Author: dag
Date: 2007-05-19 19:57:23 +0200 (Sat, 19 May 2007)
New Revision: 5418

Added:
   trunk/tools/unoconv/tests/
   trunk/tools/unoconv/tests/Makefile
   trunk/tools/unoconv/tests/curriculum-vitae-dag-wieers.odt
Modified:
   trunk/tools/unoconv/unoconv
Log:
Added tests

Added: trunk/tools/unoconv/tests/Makefile
===================================================================
--- trunk/tools/unoconv/tests/Makefile	                        (rev 0)
+++ trunk/tools/unoconv/tests/Makefile	2007-05-19 17:57:23 UTC (rev 5418)
@@ -0,0 +1,15 @@
+all: clean bib doc6 doc95 doc docbook html ooxml pdb pdf psw rtf latex sdw3 sdw4 sdw sxw text txt xhtml
+
+#xml: curriculum-vitae-dag-wieers.txt
+#	asciidoc -b docbook -d article curriculum-vitae-dag-wieers.txt
+
+#odt: xml
+#	rm -f curriculum-vitae-dag-wieers.odt
+#	docbook2odf --params generate.meta=0 curriculum-vitae-dag-wieers.xml
+
+%:
+	-unoconv -f $@ curriculum-vitae-dag-wieers.odt
+#	docbook2pdf -d curriculum-vitae.dsl#print curriculum-vitae-dag-wieers.xml
+
+clean: 
+	rm -f *.{doc,html,pdb,pdf,rtf,xml}

Added: trunk/tools/unoconv/tests/curriculum-vitae-dag-wieers.odt
===================================================================
(Binary files differ)


Property changes on: trunk/tools/unoconv/tests/curriculum-vitae-dag-wieers.odt
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/tools/unoconv/unoconv
===================================================================
--- trunk/tools/unoconv/unoconv	2007-05-19 17:40:19 UTC (rev 5417)
+++ trunk/tools/unoconv/unoconv	2007-05-19 17:57:23 UTC (rev 5418)
@@ -83,7 +83,7 @@
 outputmap.add('doc95', 'doc', 'MS Word 95', 'Microsoft Word 95')
 outputmap.add('docbook', 'xml', 'DocBook File', 'DocBook')
 outputmap.add('html', 'html', 'HTML (StarWriter)', 'HTML Document (OpenOffice.org Writer)')
-outputmap.add('odt', 'odt', 'Open Document Text', 'Open Document Text')
+outputmap.add('odt', 'odt', 'Writer8', 'Open Document Text')
 outputmap.add('ooxml', 'xml', 'MS Word 2003 XML', 'Microsoft Office Open XML')
 outputmap.add('pdb', 'pdb', 'AportisDoc Palm DB', 'AportisDoc (Palm)')
 outputmap.add('pdf', 'pdf', 'writer_pdf_Export', 'PDF - Portable Document Format')




More information about the commits mailing list