1時間前にViewerJSを使い始めました。PDF、ODS、ODT、ODP、TXT、XMLファイルで試してみましたが、PDFとODSしかサポートしていません...他のすべてのファイル形式が開きません。ODT と ODP の場合、読み込み中のファイルが一番上に表示されます...しかし、コンテンツはまったく来ていません。
コード例:
<a href="/ViewerJS/#../Sample.odp">odp</a>
<a href="/ViewerJS/#../Sample_invoice.odt">odt</a>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<a href="/ViewerJS/#../demodoc.pdf">PDF</a>
<a href="/ViewerJS/#../Dev_Windows_Phone_Apps_Getting_Started_Guide.pdf">pdf2</a>
<a href="/ViewerJS/#../sample.ods">ods</a>
<a href="/ViewerJS/#../StockChart.ods">od2</a>
<a href="/ViewerJS/#../Sample.odp">odp</a> <%--loading--%>
<a href="/ViewerJS/#../Sample-Impress-Template_Bern2014_rtryon.odp">odp2</a> <%--loading--%>
<a href="/ViewerJS/#../Sample_invoice.odt">odt</a> <%--loading--%>
<a href="/ViewerJS/#../hotTextInteraction.xml">xml</a> <%--not working--%>
<a href="/ViewerJS/#../qtiplayerCommon.txt">text</a> <%--not working--%>
<br />
<iframe src = "/ViewerJS/#../Sample_invoice.odt" width='400' height='300'></iframe>
</div>
</form>
</body>
</html>
ViewerJS フォルダには以下のものが含まれています。
何かを変更する必要がありますか、それとも問題ですか?
Web ページにドキュメントを表示するために使用できる他のライブラリはありますか? asp.net MVC を使用しています。