add doc format support

Though I don't like doc at all.
This commit is contained in:
Qingping Hou
2012-04-24 20:37:16 +08:00
parent eca9ec4877
commit dbb49505f1
5 changed files with 9 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ function openFile(filename)
reader = DJVUReader
elseif file_type == "pdf" or file_type == "xps" or file_type == "cbz" then
reader = PDFReader
elseif file_type == "epub" or file_type == "txt" or file_type == "rtf" or file_type == "htm" or file_type == "html" or file_type == "fb2" or file_type == "chm" or file_type == "mobi" then
elseif file_type == "epub" or file_type == "txt" or file_type == "rtf" or file_type == "htm" or file_type == "html" or file_type == "fb2" or file_type == "chm" or file_type == "mobi" or file_type == "doc" then
reader = CREReader
end
if reader then