Method and system for converting formats of equipment procedure documents
A technology of document format and procedure, which is applied in the field of equipment specification document format conversion, can solve problems such as different operation equipment specification documents, failure of character zoom function, jsp input page, etc., to improve conversion accuracy, reliable design principle, and improve development efficiency effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] Such as figure 1 As shown, a method for converting an equipment specification document format provided in this embodiment includes the following steps:
[0054] Step S1: Upload one or more equipment regulation documents to the system.
[0055] It can be implemented that the document is uploaded using zip compression technology for transmission, and the document can be a Microsoft Office Word document.
[0056] Step S2: Analyze the source file through Jacob, obtain tables, texts, pictures, formulas, special characters, etc. in the document to generate original tag data, and classify and store the pictures in the document to the preset first folder .
[0057] The elements in each page of the document, such as text, images, paths, and shadows, can be rendered into a List collection, and all pages can be processed in a loop.
[0058] Step S3: Filter out invalid tag data from the data in S2, and generate streaming document memory model data.
[0059] Use the Jsoup compon...
Embodiment 2
[0075] Such as figure 2 As shown, a system for format conversion of equipment specification documents provided in this embodiment includes:
[0076] Document uploading module 1, uploading at least one device specification document data to the application server;
[0077] In this module, it is judged whether a file of the specified format is detected;
[0078] Determine whether the read file exceeds the default file capacity, and if it exceeds the default file capacity, compress the document through ZIP compression. Avoid file reading errors and uploads that cannot be uploaded if the file size is too large.
[0079] Document parsing module 2. In this module, the read device specification document is parsed, tables, texts, pictures, formulas, and special characters in the document data are obtained, and original tag data is generated, and pictures in the document data are classified. Store to the pre-set first folder;
[0080] Data filtering module 3, in which the original ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

