From: Steinar H. Gunderson Date: Sun, 7 Aug 2005 22:12:48 +0000 (+0000) Subject: Add support for native OOo.o formats (doh :-) ) X-Git-Url: https://git.sesse.net/?p=webpdf;a=commitdiff_plain;h=feb092ff5ca9312e66e677eca58c0a91732d072e Add support for native OOo.o formats (doh :-) ) --- diff --git a/createpdf.pl b/createpdf.pl index 8bece1c..520f08b 100755 --- a/createpdf.pl +++ b/createpdf.pl @@ -90,7 +90,7 @@ if ($filename =~ /(.*)\.(?:e?ps|pdf)$/i) { print PIPE $buf; } close PIPE; -} elsif ($filename =~ /(.*)\.(doc|xls|ppt)$/i) { +} elsif ($filename =~ /(.*)\.(doc|xls|ppt|sxw|sxc|sxi)$/i) { $outname = "$1.pdf"; my $ext = $2; diff --git a/index.html b/index.html index 7115c48..268ba2e 100644 --- a/index.html +++ b/index.html @@ -83,7 +83,8 @@
  • BMP (.bmp), PNG (.png), JPEG (.jpg/.jpeg), XPM (.xpm), via ImageMagick.
  • Microsoft Word (.doc), Excel (.xls) and PowerPoint (.ppt), via OpenOffice.org (could be - slightly sketchy at times, let me know if it's broken).
  • + slightly sketchy at times, let me know if it's broken), plus matching native + OpenOffice.org formats.
  • Lots of different programming-related formats (.c, .pl, .js, etc.), via Vim.