# OFDView **Repository Path**: crazy_about_programming/ofdview ## Basic Information - **Project Name**: OFDView - **Description**: OFDView是一个采用HTML5、SVG技术构建的OFD版式阅读器,兼容IE、Edge、Chrome、Firefox等主流浏览器,支持在PC、平板和手机上使用。 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 39 - **Created**: 2024-05-07 - **Last Updated**: 2024-05-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # OFDView ## 介绍 **OFDView**是一个采用HTML5、SVG技术构建的OFD版式阅读器。 **OFDView**提供OFD文件打开、预览、打印、翻页、页面缩放等常用操作功能,支持在PC、平板和手机上使用,兼容IE、Edge、Chrome、Firefox等主流浏览器,以及微信、QQ、支付宝等内置浏览器。 ## 效果示例:  ## 快速上手
1.参考“ofdview.html”范例,把“cnofd.css”和“cnofd.umd.min.js”文件引入您的Html文件即可。
2.除了通过页面自带“打开”按钮选择浏览器本地OFD文件外,OFDView提供file参数,用于加载远程OFD文件。如:http://localhost:8080/ofdview.html?file=mytest.ofd
3.OFDView提供scale参数,指定实际大小(1.0),自定义缩放比例(1.5等),或者自适应页面宽度(width)。如:http://localhost:8080/ofdview.html?file=mytest.ofd&scale=width
技术官网/在线演示: http://www.cnofd.cn:18080/
QQ交流群: