Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.rpmforge.net/svn/trunk/tools/unoconv@5418 60da1e97-ced4-0310-9a99-dd04229c09c9
  • Loading branch information
dag committed May 19, 2007
1 parent 3f19b2f commit 84ad76b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions tests/Makefile
@@ -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}
Binary file added tests/curriculum-vitae-dag-wieers.odt
Binary file not shown.
2 changes: 1 addition & 1 deletion unoconv
Expand Up @@ -83,7 +83,7 @@ outputmap.add('doc6', 'doc', 'MS WinWord 6.0', 'Microsoft Word 6.0')
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')
Expand Down

0 comments on commit 84ad76b

Please sign in to comment.