amis2/packages/ooxml-viewer/index.html
吴多益 6b749b8b53
feat: Word 支持分页渲染 (#6606)
* 优化分页渲染的支持

* 补充一些注释

* 补充单元测试

* 优化单元测试,减少样式冗余
2023-04-13 21:11:02 +08:00

34 lines
960 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()">dl</button>
<button type="button" onclick="printDocx()">print</button>
<p id="page">
page
<label class="switch">
<input
type="checkbox"
onchange="switchPage(this.checked)"
id="switchPage"
/>
<span class="slider round" id="pageSlider"></span>
</label>
</p>
</div>
<div class="column">
<div id="viewer"></div>
</div>
</div>
<script type="module" src="/examples/app.ts"></script>
</body>
</html>