]> git.sesse.net Git - webpdf/commitdiff
Add support for native OOo.o formats (doh :-) )
authorSteinar H. Gunderson <sesse@samfundet.no>
Sun, 7 Aug 2005 22:12:48 +0000 (22:12 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sun, 7 Aug 2005 22:12:48 +0000 (22:12 +0000)
createpdf.pl
index.html

index 8bece1ce8182857e30952eb6a617c8186c5a3cc6..520f08bc4b269115548d5c75e6d330e7a2142ef2 100755 (executable)
@@ -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;
 
index 7115c48ddc7d599b205d3cb464b109c3526d4a40..268ba2e49b0928b668d7fc4e67c83013b0fba832 100644 (file)
@@ -83,7 +83,8 @@
       <li>BMP (.bmp), PNG (.png), JPEG (.jpg/.jpeg), XPM (.xpm), via <a href="http://www.imagemagick.com">ImageMagick</a>.</li>
       <li>Microsoft Word (.doc), Excel (.xls) and PowerPoint (.ppt), via
         <a href="http://www.openoffice.org">OpenOffice.org</a> (could be
-       slightly sketchy at times, let me know if it's broken).</li>
+       slightly sketchy at times, let me know if it's broken), plus matching native
+       OpenOffice.org formats.</li>
       <li>Lots of different programming-related formats (.c, .pl, .js, etc.),
         via <a href="http://www.vim.org/">Vim</a>.</li>
     </ul>