The development of a document management system for the intelligent development platform of the Tian Longitudinal Intelligence Development platform to use the document reading series tools, the following describes the function of this set of tools and how to use.
Tian Longitudinal Intelligent Development Platform document Reading series tools include "1-office reader/2-browser/3-HTML5 player/4-Universal player/5-pdf Reader/6-flash Reader" Six, for reading documents in various file formats. Used to open files on the computer or on the phone to read. The mobile side currently only supports opening files with PDF reader and HTML5 player (supported formats are:. Pdf,.doc,.docx,.txt,.xml,.htm,.html,.xls,.xlsx,.ppt,.pptx,.mp3,.mp4,. OGV ,. WebM and various web pages supported image formats such as. Png,.jpg,.gif, etc.). Other file formats to read on the phone, you can first convert to a PDF file after uploading, such as CAD can be converted into a PDF upload to another field, and then use the PDF reader to open the file.
Call Method:
A. Specify the reader to open (specify the reader number)
Method One: Called directly through the file path, such as. /tool/readfile.aspx?typeid= Open Tool number &uid= file path (can be relative path)
Method Two: Call through table data, such as. /tool/readfile.aspx?typeid= Open Tool number &tn= table name &fid= file path field name &id= current record ID
B. Adaptive reader Open (opens according to the extension and its settings)
To open the file in this way, first in the system settings-Basic settings-file format settings in the device various types of file format open mode.
Method One: Called directly through the file path, such as the readfile.aspx?uid= file path (can be a relative path)
Method Two: Call through table data, such as readfile.aspx?tn= table name &fid= file path field name &id= current record ID
Description
1.typeid: Opens the tool style. Package 1-office Reader Open/2-browser open/3-HTML5 player/4-player/5-pdf Reader/6-flash Reader, the following details the open mode supported file format, interface and scope of application.
2. Add the above code to the table custom button and click in the list to open the file. The current record ID is referenced in the list with {0}.
3. When you call the Reading tool in the app, you can set the link button or text to open in the Define table style.
Example:
.. /TOOL/READFILE.ASPX?TYPEID=1&TN=MYTABLE&FID=FILEFIELD&ID={0}
Pop-up box reference code
<a href= ' # ' Onclick=myform ('. /tool/readfile.aspx?typeid=1&tn=mytable&fid=filefield&id={0} ') ></a>
Direct popup new Page reference code
<a href= ". /tool/readfile.aspx?typeid=1&tn=mytable&fid=filefield&id={0} "target= ' _blank ' ></a>
It is generally recommended to open the file directly with a new page popup.
6.1-office Reader:
The client wants to install the plug-in. On the login page, click on "plug-in package" to install.
Open with the Offcie plugin to support formats such as Office documents (. doc,. docx,. xls,. xlsx,. ppt,. pptx), WPS documents, and so on. You can annotate, sign, seal, etc. online.
The interface is as follows:
;
6.2-Graphic Browsing tool:
The client wants to install the plug-in. The installation files are in the installation CD-Backup tool-Browse tool.
The Browse tool opens a document that directly browses more than 450 different document formats (OFFICE/IMAGE/2D/3D/EDA) without the need to install the appropriate editing software, and retains the integrity and confidentiality of the original document, with the flexibility to set read-only, print-save rights, and modify rights. Like what:
2d/3d/eda format: CAD, pro/e, Gerber, odb++, EDIF (Cross-probe, BOM), Mentor Expedition, PADS, OrCAD 3D PCB, Zuken, Cadif Expedition, CADSTAR 7, Pcad Layouts & Schematics, Allegro 15.2, Protel, PADS Power PCB Binary v5 ...
Document Format: Microsoft Word, PDF, WordPerfect, Ami Pro, WordStar ...
Table format: Microsoft Excel, Lotus, Quattro Pro ...
Data format: Fox/dbase, Paradox, Accesse, DataBase ...
Image formats: GIF, CorelDRAW, JPEG, PCX Targa, WMF, WPG, PIC, TIF ...
Compression format: ZIP, ARC, Lharc
The interface is as follows:
;
6.3-HTML5 Player:
No plug-in, directly open through the web, mobile phones can also browse, support MP3, MP4, OGV, WEBM and other HTML5 supported audio and video formats, need to support HTML5 browser use. This tool can be called on the phone side.
The interface is as follows:
6.4-Universal Player:
Play video, flash to plug-ins, pictures do not plug-ins, support the following format file playback.
Images:bmp, GIF, ICO, JPEG, PNG
macromedia:swf
Quicktime:mov (apple format video)
VIDEO:ASF, ASX, AVI, MP4, MPE, MPEG, MPG, WM, WMV, WMX, WVX (client pc to install Microsoft player)
Audio:aif, AIFC, AIFF, AU, M4A, MID, MIDI, MP2, MP3, MPA, RMI, SND, WAV, WAX, WMA
The interface is as follows:
6.5-pdf Reader:
No plug-in, support PDF open online, computer and mobile phone can open, automatically convert the following format document to PDF to open.
. doc,.docx,.txt,.xml,.htm,.html,.xls,.xlsx,.ppt,.pptx
The interface is as follows:
6.6-flash Reader:
To use the Flash plugin, automatically convert the following format document to SWF to open.
. pdf,.doc,.docx,.txt,.xml,.htm,.html,.xls,.xlsx,.ppt,.pptx
The interface is as follows:
Thank you for your attention! More information on the Intelligent rapid Development platform can be downloaded from the following address: http://www.mydev168.cn/mydev/site/page_topic4.aspx
If have the question or the suggestion, also may join my QQ to carry on the communication, QQ653828307
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Rapid development of document management system with the intelligent development platform of Tian-longitudinal