CN108614839A - WORD documents based on browser turn html page visualizing editing method and system - Google Patents
WORD documents based on browser turn html page visualizing editing method and system Download PDFInfo
- Publication number
- CN108614839A CN108614839A CN201611147433.5A CN201611147433A CN108614839A CN 108614839 A CN108614839 A CN 108614839A CN 201611147433 A CN201611147433 A CN 201611147433A CN 108614839 A CN108614839 A CN 108614839A
- Authority
- CN
- China
- Prior art keywords
- label
- browser
- html
- control
- word documents
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
Abstract
The present invention provides a kind of, and the WORD documents based on browser turn html page visualizing editing method and system, and this approach includes the following steps:Step 1, imports document, and selection needs the WORD documents converted;Step 2 by WORD document converting to HTML web page files, and is shown in a browser according to pre-defined transformation rule;Step 3 selects required label, pulls label on html web page file corresponding position, and the association attributes of the label are arranged;Step 4 converts thereof into standard html tag and corresponding attribute and event according to type.The present invention realizes WORD documents to the rapid translating of html web page file, and has What You See Is What You Get edit effect, ensure that the front and back consistency of document conversion.
Description
Technical field
The present invention relates to computer information technology field and medicine production control computer fields, and in particular, to
A kind of WORD documents based on browser turn html page visualizing editing method and system.
Background technology
In medicine production, the batch record template for recording production process exists in the form of Word document, traditional mode
It is to print Word document, band to production scene transfers to operating personnel's hand filling.In production process information, electronization
Overall background under, it is desirable that hospital's process control computer system can automatically generate the electronics batch note for meeting that GMP and FDA are required
It records (Electronic Batch Record), realizes to the technological parameter of process of producing product, alarm condition and the processing feelings that transfinite
The real-time tracking of condition and operating personnel record, and facilitate the historical tracking in future, meet GMP propositions:In real time and record faithfully life
Produce the overall process of operation.Existing major part medicine production control computer system is to be based on B/S frameworks, it is therefore desirable to will
The batch record Word document of substantial amounts is converted into html web page, and is edited accordingly.Generally conventional mode has, installation
The related software of Word document can be opened, document is opened and saves as html format, in the html file that this mode produces
Containing a large amount of invalid tags, web page display and further editor are influenced.
Invention content
For the defects in the prior art, the object of the present invention is to provide a kind of, and the WORD documents based on browser turn HTML
Page visualizing editing method and system, the rapid translating of realization WORD documents to html web page file, and there is finding
That is gained edit effect ensure that the front and back consistency of document conversion.
According to an aspect of the present invention, a kind of WORD documents based on browser are provided and turn html page visual edit
Method, which is characterized in that include the following steps:
Step 1, imports document, and selection needs the WORD documents converted;
Step 2, according to pre-defined transformation rule, by WORD document converting to HTML web page files, and in a browser
It shows;
Step 3 selects required label, pulls label on html web page file corresponding position, and the label is arranged
Association attributes;
Step 4 converts thereof into standard html tag and corresponding attribute and event according to type.
Preferably, the pre-defined transformation rule includes rejecting useless label, extracts text and text attribute, extraction
Preferably, the type includes signature label, material issuing label, label of clearing out a gathering place, weighs label, the label that feeds intake, stirring table
Label, time label, data markers.
Preferably, the label provides the mode pulled, is arranged on html page, and double-clicking label control can edit
The association attributes and event of label.
Preferably, flag attribute and event are converted into the label category of standard HTML by the step 4 according to type
Property and event, for browser resolves show.
The present invention also provides a kind of, and the WORD documents based on browser turn html page visual edit system, and feature exists
In the WORD documents based on browser turn html page visual edit system and include:
Document import modul, selection need the WORD documents converted;
Document format conversion module, according to pre-defined transformation rule, by WORD document converting to HTML web page files, and
It shows in a browser;
Label setting and editor module pull label and are arranged on html web page file, and edit the correlation of the label
Attribute;
Conversion module is marked, standard html tag and corresponding attribute are converted thereof into according to type, attribute and event
And event.
Preferably, the transformation rule of the document format conversion module foundation includes rejecting useless label, extract text and
Text attribute extracts table and form attributes, extracts picture and picture attribute.
Preferably, the WORD documents based on browser turn html page visual edit system and provide can be used for
WORD documents are converted into the tool box of html page, including import document control, signature label control, material issuing label control, clear
Field flag control weighs label control, the label control that feeds intake, stirring label control, time label control, data markers control.
Preferably, the signature label control, material issuing label control, label control of clearing out a gathering place, weighing mark control, throw
Material label control, stirring label control, time label control, data markers control provide the mode pulled, are arranged in HTML page
On face.
Compared with prior art, the present invention has following advantageous effect:WORD documents not only greatly improved in the present invention
Turn the efficiency of html web page file, and provide What You See Is What You Get edit effect, ensure that the front and back consistency of document conversion.
WORD documents are turned html page by the present invention by browser, automatically, while can visually be compiled to html page
Volume, WORD documents not only greatly improved and turn the efficiency of html web page file, but also provide What You See Is What You Get edit effect, protect
The front and back consistency of document conversion is demonstrate,proved.
Description of the drawings
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon:
Fig. 1 is that the WORD documents for being based on browser of first embodiment of the invention turn html page visual edit side
The implementing procedure figure of method.
Fig. 2 is that the WORD documents for being based on browser of second embodiment of the invention turn html page visual edit system
The structural schematic diagram of system.
Specific implementation mode
With reference to specific embodiment, the present invention is described in detail.Following embodiment will be helpful to the technology of this field
Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field
For personnel, without departing from the inventive concept of the premise, various modifications and improvements can be made.These belong to the present invention
Protection domain.
As shown in Figure 1, it includes following to turn html page visualizing editing method the present invention is based on the WORD documents of browser
Step:
Step 1, imports document, and selection needs the WORD documents converted.
Step 2, according to pre-defined transformation rule, by WORD document converting to HTML web page files, and in a browser
It shows.
Step 3 selects required label, pulls label on html web page file corresponding position, and the label is arranged
Association attributes.
Step 4 converts thereof into standard html tag and corresponding attribute and event according to type.
Further, the pre-defined transformation rule, including useless label is rejected, text and text attribute are extracted,
Table and form attributes are extracted, picture and picture attribute are extracted.
Further, the type, including signature label, material issuing label, label of clearing out a gathering place, weighing mark, feed intake mark
Note, stirring label, time label, data markers.
Further, the label provides the mode pulled, is arranged on html page, and double-clicking label control can compile
Collect the association attributes and event of label.
Further, the association attributes of the label include bctype, bcoptime, bccmd, bcpostcmd,
Bcsave, bcconfirm, bcparam, bconce.
Further, the dependent event of the label includes matbatchEV, clearEV, weighEV, feedEV,
MixEV, timeEV, tagEV.
Further, the step 4 is converted into the label of standard HTML according to type by flag attribute and event
Attribute and event are shown for browser resolves.
Accordingly, Fig. 2 is that a kind of WORD documents based on browser of the present invention turn html page visual edit system
Structural schematic diagram, described device include:
Document import modul, selection need the WORD documents converted;
Document format conversion module, according to pre-defined transformation rule, by WORD document converting to HTML web page files, and
It shows in a browser;
Label setting and editor module pull label and are arranged on html web page file, and edit the correlation of the label
Attribute;
Conversion module is marked, standard html tag and corresponding attribute are converted thereof into according to type, attribute and event
And event.
Further, the transformation rule of the document format conversion module foundation includes rejecting useless label, extracts text
And text attribute, table and form attributes are extracted, picture and picture attribute are extracted.
Further, the present invention provides the tool boxes that can be used for WORD documents and be converted into html page, including import text
Shelves control, signature label control, material issuing mark control, label control of clearing out a gathering place, weigh label control, the label control that feeds intake, stir
Mark control, time label control, data markers control.
Further, the signature label control, material issuing label control, label control of clearing out a gathering place, weighing mark control, feed intake
It marks control, stirring label control, time label control, data markers control to provide the mode pulled, is arranged in html page
On, the association attributes and event of label can be edited by double-clicking label control.
Further, the signature label control, material issuing label control, label control of clearing out a gathering place, weighing mark control, feed intake
Label control, stirring label control, time label control, data markers control association attributes include bctype, bcoptime,
Bccmd, bcpostcmd, bcsave, bcconfirm, bcparam, bconce.
Further, the dependent event of the label control includes matbatchEV, clearEV, weighEV, feedEV,
MixEV, timeEV, tagEV.
Further, label control property and event are converted into standard by the label conversion module according to type
The tag attributes and event of HTML are shown for browser resolves.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited in above-mentioned
Particular implementation, those skilled in the art can make various deformations or amendments within the scope of the claims, this not shadow
Ring the substantive content of the present invention.
Claims (9)
1. a kind of WORD documents based on browser turn html page visualizing editing method, which is characterized in that including following step
Suddenly:
Step 1, imports document, and selection needs the WORD documents converted;
Step 2 by WORD document converting to HTML web page files, and shows in a browser according to pre-defined transformation rule
Out;
Step 3 selects required label, pulls label on html web page file corresponding position, and the correlation of the label is arranged
Attribute;
Step 4 converts thereof into standard html tag and corresponding attribute and event according to type.
2. the WORD documents according to claim 1 based on browser turn html page visualizing editing method, feature
It is, the pre-defined transformation rule includes rejecting useless label, extracts text and text attribute, extracts table and table
Attribute extracts picture and picture attribute.
3. the WORD documents according to claim 1 based on browser turn html page visualizing editing method, feature
Be, the type include signature label, material issuing label, label of clearing out a gathering place, weigh label, the label that feeds intake, stir mark, when
Between label, data markers.
4. the WORD documents according to claim 1 based on browser turn html page visualizing editing method, feature
It is, the label provides the mode pulled, is arranged on html page, and the correlation of label can be edited by double-clicking label control
Attribute and event.
5. the WORD documents according to claim 1 based on browser turn html page visualizing editing method, feature
It is, flag attribute and event are converted into the tag attributes and event of standard HTML by the step 4 according to type,
It is shown for browser resolves.
6. a kind of WORD documents based on browser turn html page visual edit system, which is characterized in that described based on clear
The WORD documents of device look at turn html page visual edit system and include:
Document import modul, selection need the WORD documents converted;
Document format conversion module, according to pre-defined transformation rule, by WORD document converting to HTML web page files, and clear
It lookes in device and shows;
Label setting and editor module pull label and are arranged on html web page file, and edit the association attributes of the label;
Conversion module is marked, standard html tag and corresponding attribute and thing are converted thereof into according to type, attribute and event
Part.
7. the WORD documents according to claim 6 based on browser turn html page visual edit system, feature
It is, the transformation rule of the document format conversion module foundation includes rejecting useless label, extracts text and text attribute, carries
Table and form attributes are taken, picture and picture attribute are extracted.
8. the WORD documents according to claim 6 based on browser turn html page visual edit system, feature
Be, the WORD documents based on browser turn html page visual edit system provide can be used for WORD documents conversion
At the tool box of html page, including imports document control, signature label control, material issuing label control, label control of clearing out a gathering place, claims
Amount label control, the label control that feeds intake, stirring label control, time label control, data markers control.
9. the WORD documents according to claim 8 based on browser turn html page visual edit system, feature
It is, the signature label control, material issuing label control, label control of clearing out a gathering place, weighing label control, feed intake label control
Part, stirring label control, time label control, data markers control provide the mode pulled, are arranged on html page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611147433.5A CN108614839A (en) | 2016-12-13 | 2016-12-13 | WORD documents based on browser turn html page visualizing editing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611147433.5A CN108614839A (en) | 2016-12-13 | 2016-12-13 | WORD documents based on browser turn html page visualizing editing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108614839A true CN108614839A (en) | 2018-10-02 |
Family
ID=63656708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611147433.5A Pending CN108614839A (en) | 2016-12-13 | 2016-12-13 | WORD documents based on browser turn html page visualizing editing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108614839A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109376346A (en) * | 2018-10-16 | 2019-02-22 | 周金明 | Multiple terminals electronic document editorial management method and system based on label and view |
CN110633251A (en) * | 2019-08-02 | 2019-12-31 | 深圳木成林科技有限公司 | File conversion method and equipment |
CN111143749A (en) * | 2019-12-31 | 2020-05-12 | 中国银行股份有限公司 | Webpage display method, device, equipment and storage medium |
CN111708956A (en) * | 2020-06-15 | 2020-09-25 | 江西金格科技股份有限公司 | Method for editing Office file in web browser based on HTML5 technology |
CN112783957A (en) * | 2019-11-11 | 2021-05-11 | 上海遴睿教育科技有限公司 | Method and system for importing word document format for English reading |
CN116612491A (en) * | 2023-07-17 | 2023-08-18 | 中国电子科技集团公司第十研究所 | ARM kylin WORD file content extraction method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060136353A1 (en) * | 2004-12-16 | 2006-06-22 | Microsoft Corporation | Systems and methods for converting a formatted document to a web page |
CN102662928A (en) * | 2012-03-28 | 2012-09-12 | 福建榕基软件股份有限公司 | Rich text editing method for importing documents and device thereof |
CN102799371A (en) * | 2012-06-29 | 2012-11-28 | 北京奇虎科技有限公司 | Extended data input device and method |
CN103136173A (en) * | 2011-11-29 | 2013-06-05 | 北京建龙重工集团有限公司 | Method converting mass word or excel format form documents into webpages |
CN105095160A (en) * | 2015-07-31 | 2015-11-25 | 河南大学 | Document conversion reading method and system |
CN105630753A (en) * | 2015-12-28 | 2016-06-01 | 中广核核电运营有限公司 | Digitalized regulation upgrading and transformation method and system of nuclear power plant |
CN106168944A (en) * | 2015-05-20 | 2016-11-30 | 柯尼卡美能达株式会社 | Document conversion method |
-
2016
- 2016-12-13 CN CN201611147433.5A patent/CN108614839A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060136353A1 (en) * | 2004-12-16 | 2006-06-22 | Microsoft Corporation | Systems and methods for converting a formatted document to a web page |
CN103136173A (en) * | 2011-11-29 | 2013-06-05 | 北京建龙重工集团有限公司 | Method converting mass word or excel format form documents into webpages |
CN102662928A (en) * | 2012-03-28 | 2012-09-12 | 福建榕基软件股份有限公司 | Rich text editing method for importing documents and device thereof |
CN102799371A (en) * | 2012-06-29 | 2012-11-28 | 北京奇虎科技有限公司 | Extended data input device and method |
CN106168944A (en) * | 2015-05-20 | 2016-11-30 | 柯尼卡美能达株式会社 | Document conversion method |
CN105095160A (en) * | 2015-07-31 | 2015-11-25 | 河南大学 | Document conversion reading method and system |
CN105630753A (en) * | 2015-12-28 | 2016-06-01 | 中广核核电运营有限公司 | Digitalized regulation upgrading and transformation method and system of nuclear power plant |
Non-Patent Citations (1)
Title |
---|
马龙: "理想的HTML文档自动转换工具-HTML TRANSIT", 《中国计算机用户》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109376346A (en) * | 2018-10-16 | 2019-02-22 | 周金明 | Multiple terminals electronic document editorial management method and system based on label and view |
CN109376346B (en) * | 2018-10-16 | 2023-07-18 | 周金明 | Multi-terminal electronic document editing management method and system based on labels and views |
CN110633251A (en) * | 2019-08-02 | 2019-12-31 | 深圳木成林科技有限公司 | File conversion method and equipment |
CN110633251B (en) * | 2019-08-02 | 2022-05-06 | 深圳木成林科技有限公司 | File conversion method and equipment |
CN112783957A (en) * | 2019-11-11 | 2021-05-11 | 上海遴睿教育科技有限公司 | Method and system for importing word document format for English reading |
CN111143749A (en) * | 2019-12-31 | 2020-05-12 | 中国银行股份有限公司 | Webpage display method, device, equipment and storage medium |
CN111708956A (en) * | 2020-06-15 | 2020-09-25 | 江西金格科技股份有限公司 | Method for editing Office file in web browser based on HTML5 technology |
CN116612491A (en) * | 2023-07-17 | 2023-08-18 | 中国电子科技集团公司第十研究所 | ARM kylin WORD file content extraction method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108614839A (en) | WORD documents based on browser turn html page visualizing editing method and system | |
JP4423613B2 (en) | Computerized service manual generating method, computerized service manual generating device, computerized service manual generating program, and recording medium on which the program is recorded | |
US8407585B2 (en) | Context-aware content conversion and interpretation-specific views | |
US7890486B2 (en) | Document creation, linking, and maintenance system | |
CN111259202B (en) | Document structured data embedding method and system | |
Apperley et al. | A bifocal display technique for data presentation | |
CN100543725C (en) | A kind of method for the E-seal location | |
CN103279454A (en) | Document automatic generation method, device and system | |
JPH05282423A (en) | Method for checking frequency in appearance of word in document without decoding document picture | |
JP2005004726A (en) | Electronic service manual creating method, additional data generating method, program for creating electronic service manual, and program for generating additional data | |
CN110956029B (en) | Technical document processing method and system | |
CN104298705A (en) | Converting method of relational data and unstructured data | |
KR101500598B1 (en) | Systems and Methods for Producing XML | |
CN111444230A (en) | Data visualization analysis method based on big data platform | |
WO2006103760A1 (en) | Document conversion use system | |
CN109582928B (en) | PDF report data extraction method and device | |
CN109359202B (en) | Electronic operation and maintenance work order automatic generation method and system based on audio and video recording | |
TWI602069B (en) | System for the generation of technical documentation in electronic format | |
CN102521359B (en) | Interface data file comparison method and device | |
CN111625689B (en) | SVG graph and monitoring information correlation verification method for transformer substation | |
Shiraiwa et al. | Tools to export published datasets together with metadata from IDL/Python/MATLAB and πScope | |
CN112686013A (en) | Cable number head compiling system and method | |
CN105205790B (en) | A kind of method and device visualizing data and structural data synthesising picture | |
CMS Collaboration | Event display and other figures related to a search for a vector-like quark decaying to a top quark and a Higgs boson | |
CN111191423A (en) | Method and system suitable for on-line editing of official document text |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181002 |