Method and device for online preview of Excel file
The invention provides a method and a device for online preview of an Excel file. The method comprises the following steps: acquiring a to-be-previewed Excel file from a server according to an Excel file preview request, and analyzing the Excel file; rendering the analyzed Excel file, and displaying...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
10.04.2020
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a method and a device for online preview of an Excel file. The method comprises the following steps: acquiring a to-be-previewed Excel file from a server according to an Excel file preview request, and analyzing the Excel file; rendering the analyzed Excel file, and displaying the rendered Excel file in a file display area which is drawn in a Html5 file in advance; and monitoring the state of a spreadsheet selection area pre-drawn in the Html5 file, and switching the display contents of the file display area when the state changes. According to the method and the device,under the condition of ensuring user data and privacy security, a user can directly preview the Excel form in a webpage without downloading the Excel file, and simple operations such as form switching can be completed in a preview state.
本发明提供了一种Excel文件在线预览的方法及装置,包括:根据Excel文件预览请求从服务器获取待预览的Excel文件并对Excel文件进行解析;将解析后的Excel文件渲染后展示在预先绘制于Html5文件中的文件展示区域中;监测预先绘制于Html5文件中的电子表格选择区域的状态,并在状态变化时切换文件展示区域的的展示内容。本申请能够在保证用户数据和隐私安全的情况下,让 |
---|---|
Bibliography: | Application Number: CN201911189700 |