amis/packages/ooxml-viewer/index.html
吴多益 ef9ada9783
feat: office-viewer 支持 sdt、footnote、endnote,包名换成 ooxml-viewer (#6509)
* 支持嵌套 sdt

* 初步支持 footnote 和 endnote

* 修复默认展示问题

* 初步支持 footnote 和 endnote

* 换包名
2023-04-03 12:53:44 +08:00

23 lines
657 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>office viewer</title>
<link rel="stylesheet" href="/examples/static/css/app.css" />
</head>
<body>
<div class="columns">
<div class="column file-list" id="fileList">
<button type="button" onclick="downloadDocx()">download</button>
<button type="button" onclick="printDocx()">print</button>
</div>
<div class="column">
<div id="viewer"></div>
</div>
</div>
<script type="module" src="/examples/app.ts"></script>
</body>
</html>