WO2011069903A1 - Method and system for on-line editing electronic documents - Google Patents

Method and system for on-line editing electronic documents Download PDF

Info

Publication number
WO2011069903A1
WO2011069903A1 PCT/EP2010/068825 EP2010068825W WO2011069903A1 WO 2011069903 A1 WO2011069903 A1 WO 2011069903A1 EP 2010068825 W EP2010068825 W EP 2010068825W WO 2011069903 A1 WO2011069903 A1 WO 2011069903A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic document
application
format
file format
actions
Prior art date
Application number
PCT/EP2010/068825
Other languages
French (fr)
Inventor
Zhi Bo Zuo
Xin Rang Wang
Original Assignee
International Business Machines Corporation
Ibm United Kingdom Limited
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by International Business Machines Corporation, Ibm United Kingdom Limited filed Critical International Business Machines Corporation
Publication of WO2011069903A1 publication Critical patent/WO2011069903A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/197Version control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The present invention discloses a method for on-line editing an electronic document, the method comprising: converting the electronic document from a first application file format into a file format identifiable to a second application to form a converted electronic document; sending the converted electronic document to the second application; receiving an electronic document edited by the second application; comparing the electronic document edited by the second application with the converted electronic document; determining changes to the electronic document based on the comparison; and generating a sequence of actions identifiable to the first application based on the changes to the electronic document. By recording the changes to the electronic document with actions, on-line edited format information comprising rich format information may be retained and updated, thereby solving the problem of losing format information in the prior art method.

Description

METHOD AND SYSTEM FOR ON-LINE EDITING ELECTRONIC DOCUMENTS
TECHNICAL FIELD
The present invention relates to the field of electronic document processing. In particular, the present invention relates to a method and system for on-line editing electronic documents.
DESCRIPTION OF THE RELATED ART
Traditionally, an electronic document is created and edited by various kinds of document editing software. Electronic document editing software may be, for example, Microsoft® Office®, Open Office®, Lotus® Symphony®, Lotus® Notes®, etc., and support varieties of formats. Such editing software enables creation and saving of an electronic document as well as editing operations such as addition, deletion, and modification to the content of the electronic document. These editing operations are typically called local edition to the electronic document.
With the development of the Internet, an electronic document may be edited by various kinds of browsers, which, for example, may be Internet Explorer®, Mozilla® Firefox®, Apple® Safari®, etc. When performing editing operations to an electronic document created by current electronic document editing software, according to the prior art method, document format conversion is first performed to the electronic document with a format converter, i.e., converting an electronic document created by electronic document editing software from its corresponding file format, for example, doc, odf, etc., into a file format identifiable to a browser, for example, html, xhtml, and xml, etc. After performing the above conversion, a user uses a browser to create and save the electronic document, and directly perform editing operations such as addition, deletion, and modification to the document on the browser. Since editing operations to an electronic document with a browser are generally editing operations to the electronic document in a web manner over the Internet, they are also called electronic document on-line editing. After the user performs edition to the electronic document with a browser, according to the prior art, document format conversion is performed to the electronic document again with the format converter, i.e., converting the electronic document edited through a browser from a browser identifiable file format, for example, html, xhtml, xml, etc., into a rich document format, for example, doc, odf, etc.
However, the above prior art will inevitably cause loss of format information during an online edition process with respect to the electronic document, because a rich document format has its self-defined format set which always includes rich format information, while a file format identifiable to a browser also has its own format set, and the two format sets are generally inconsistent. Since some formats in a file format corresponding to the electronic document editing software are not included in the format set of a document set identifiable to a browser, the format information unidentifiable to the browser will be discarded when an electronic document created by electronic document editing software is converted by a format converter from a file format corresponding to the electronic document editing software into a file format identifiable to the browser. After the user performs edition to the electronic document, such lost format information will be unrecoverable when converting the electronic document from the file format identifiable to the browser back to the file format corresponding to the electronic document editing software.
SUMMARY OF THE INVENTION
Since an on-line edited electronic document would cause loss of format information, a method and a system which are capable of effectively solving the above problem are desired.
According to an aspect of the present invention, there is provided a method for on-line editing an electronic document, comprising: converting the electronic document from a first application file format into a file format identifiable to a second application so as to form a converted electronic document, wherein format information of the first application file format unidentifiable to the second application in the electronic document is retained;
sending the converted electronic document to the second application; receiving an electronic document edited by the second application; comparing the electronic document edited by the second application with the converted electronic document; determining changes to the electronic document based on the above comparison; and generating a sequence of actions identifiable to the first application based on the changes to the electronic document.
According to another aspect of the present invention, converting an electronic document from a first application file format into a file format identifiable to a second application further comprises retaining format information of the first application file format unidentifiable to the second application in the electronic document. Further, the generated sequence of actions, format information of the first application file format unidentifiable to the second application in the electronic document, and the electronic document edited by the second application are stored together; or the generated sequence of actions, format information of the first application file format unidentifiable to the second application in the electronic document, and the converted electronic document are stored together. Still further, the first application performs a sequence of actions to update the changes to the electronic document to the original electronic document, wherein the first application uses the retained format information to update the changes to the electronic document to the original electronic document.
According to a further aspect of the present invention, there is provided a system for on-line editing an electronic document, comprising: a format converter configured to convert the electronic document from a first application file format into a file format identifiable to a second application so as to form a converted electronic document, wherein format information of the first application file format unidentifiable to the second application in the electronic document is retained, and to send the converted electronic document to the second application; a document change comparator configured to receive an electronic document edited by the second application, to compare the electronic document edited by the second application with the converted electronic document, and to determine changes to the electronic document based on the above comparison; and an action sequence generator configured to generate a sequence of actions identifiable to the first application based on the changes to the electronic document.
According to still further aspect of the present invention, converting an electronic document from a first application file format into a file format identifiable to a second application comprises retaining format information of the first application file format unidentifiable to the second application in the electronic document. Further, the sequence of actions generated by an action generator, format information of the first application file format unidentifiable to the second application in the electronic document, and the electronic document edited by the second application are stored together; or the generated sequence of actions, format information of the first application file format unidentifiable to the second application in the electronic document, and the converted electronic document are stored together. Still further, the first application performs a series of actions to update the changes to the electronic document to the original electronic document, wherein the first application uses the retained format information to update the changes to the electronic document to the original electronic document.
By the method and system of the present invention, the format information of the on-line edited electronic document may be retained and updated, thereby solving the problem of format information loss in the prior art method.
BRIEF DESCRIPTION OF THE DRAWINGS Preferred embodiments of the present invention will be described, by way of example only, with reference to the following drawings in which:
Fig. 1 shows a method 100 for on-line editing an electronic apparatus according to an embodiment of the present invention;
Figs. 2a-2c schematically show display results of an electronic document in electronic document editing software and in a browser;
Figs. 3a and 3b schematically show DOM trees of a converted electronic document and of an on-line edited electronic document;
Fig. 4 shows a system 400 for on-line editing an electronic document according to another embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings. For the sake of clarity and conciseness, not all features in a practical embodiment are described in the description. However, it should be understood that many decisions specific to the practical embodiment must be made during the process of developing any such practical embodiment, so as to achieve specific objectives of a developer, for example, conforming to restrictive conditions that are related to the system and business and that may vary with different embodiments. Besides, it should be further understood that though developing wok may possibly be rather complex and time- consuming, this developing work is only a routine task to the skilled in the art benefiting from the disclosure of the present invention.
Here, it should be further noted that in order to improve clarity, only apparatus structures and/or processing steps closely related to the solution according to embodiments of the present invention are shown in the accompanying drawings.
A preferred embodiment of the present invention uses operation actions as a bridge for communicating the two file formats, and as long as the operation actions are identical, formats will not be lost. According to embodiments of the present invention, format information unidentifiable to the browser is retained during the format conversion process, changes to the electronic document made by the on-line edition are recorded using the operation actions supported by the electronic document editing software, and then these operation actions are performed by the electronic document editing software. Thus, format information of the on-line edited electronic document will not be lost.
Now referring to Fig. 1, Fig. 1 shows a method 100 for on-line editing an electronic apparatus according to an embodiment of the present invention. The method 100 of Fig. 1 starts from step 102. Then, the method proceeds to step 104, where the electronic document is converted from a first application file format into a file format identifiable to a second application so as to form a converted electronic document; next, the method proceeds to step 106, where the converted electronic document is sent to the second application; and next, the method proceeds to step 108, where the electronic document edited by the second application is received; and then, the method proceeds to step 110, where the electronic document edited by the second application is compared with the converted electronic document; afterwards, at step 112, changes to the electronic document are determined based on the above comparison; and then, at step 114, a sequence of actions identifiable to the first application is generated based on the changes to the electronic document. Afterwards, the method proceeds to ending at step 116.
Further, according to a method of an embodiment of the present invention, converting an electronic document from a first application file format into a file format identifiable to a second application comprises retaining format information of the first application file format unidentifiable to the second application in the electronic document.
Further, according to a method of an embodiment of the present invention, the generated sequence of actions, format information of the first application file format unidentifiable to the second application in the electronic document, and the electronic document edited by the second application are stored together; or the generated sequence of actions, format information of the first application file format unidentifiable to the second application in the electronic document, and the converted electronic document are stored together. Still further, the first application performs a series of actions to update the changes to the electronic document to the original electronic document, wherein the first application uses the retained format information to update the changes to the electronic document to the original electronic document.
Since embodiments of the present invention can employ a sequence of actions identifiable to the electronic document editing software to record changes to the electronic document by the browser, execution of the sequence of actions by the electronic document editing software enables the changes to the electronic document by the browser to be updated to the electronic document of the file format corresponding to the electronic document editing software. Meanwhile, since the format information of the file format corresponding to the electronic document editing software which is unidentifiable to the browser in the original electronic document is retained, by performing the sequence of actions, the format information of the file format corresponding to the electronic document editing software unidentifiable to the browser in the original electronic document is also updated while the changes to the electronic document by the browser may be updated to the electronic document of the file format corresponding to the electronic document editing software. Therefore, the format information of the file format corresponding to the electronic document editing software unidentifiable to the browser in an on-line edited electronic document will not be lost but may be updated.
Hereinafter, embodiments of the present invention are described with an example taking Microsoft® Word® as the electronic document editing software, a browser as a browser and html file format as the file format identifiable to the browser. It should be understood that the browser and html file format are only for illustrative purposes and should not be regarded as limiting. As to other electronic document editing software, other browsers, and file formats identifiable to other browsers, since they may be obtained by a person of ordinary skill in the art through his/her knowledge on the basis of the present disclosure, they likewise fall into the protection scope of the present invention.
Suppose User I uses Microsoft® Word® to create an electronic document A. User II who has no electronic document editing software wishes to use a browser to perform on-line edition to the electronic document A. Now, User II uses a browser to open the electronic document A. According to a prior art method, the following operations are performed in the background of User II: performing format conversion by a format converter to the electronic document A, i.e., converting the electronic document A from a doc format into, for example, an html format, such that the electronic document A is enabled to be identified by the browser of User II and to be on-line edited. The electronic document A may be divided into two parts: Part I, wherein the format information in this part of the electronic document may be identified by the doc format and html format and may be freely switched between those two file formats; Part II, wherein the format information in this part of the electronic document can only be identified by the doc format, instead of the html format. As previously mentioned, in the prior art method, when the format converter converts the electronic document A from a doc format into an html format, the format information in the doc format which cannot be identified by the browser will be lost, i.e., the format information in Part II will be lost, for example, such information is word flickering, box shadow, etc. According to the prior art method, the format information unidentifiable to the browser in Part II will be lost. Now, embodiments of the present invention will be described with the above example.
According to the prior art method, when User II opens an electronic document A with a browser, the format converter will convert the electronic document A from a doc format into an html format, and at this point, only Part I of the electronic document A is converted, and the obtained converted electronic document is recorded as electronic document B.
Apparently, the electronic document B comprises Part I only. According to embodiments of the present invention, when converting the electronic document A from the doc format into the html format, the format information of the doc format unidentifiable to the html format in the electronic document A is retained, i.e., the format information in Part II. Afterwards, User II performs on-line edition to the electronic document B with a browser, which edition may comprise operations such as addition, deletion or change to the content of the electronic document B and to the format information of the electronic document B. Here, the on-line edited electronic document B is recorded as an electronic document B 1. The changes to the electronic document B by User II are recorded as Part III. Apparently, the electronic document Bl may be expressed as Bl = Part I + Part III.
According to the prior art method, what is obtained by on-line editing the electronic document A is electronic document Bl, namely, Part I + Part III. Then, when the electronic document Bl is converted into a doc format again through the format converter, all the format information unidentifiable to the html format in the original electronic document A will be lost.
According to an embodiment of the present invention, the electronic document edited by the browser is received, i.e., electric document Bl, and the electronic document Bl edited by the browser is compared with the converted electronic document B, i.e., determining changes to the electronic document by comparison, i.e., Part III. According to an embodiment of the present invention, changes to the electronic document are determined by comparing the DOM tree Dl of the electronic document Bl with the DOM tree D of the electronic document B. According to the sequence of DOM tree, starting from the root node, all contents and attributes of respective nodes are compared to determine the differences between Dl and D2, and the determined differences are changes to the electronic documents, i.e., Part III. The determined differences may be addition or deletion of nodes or changes to node attributes; or may be addition, deletion or change of node content.
Then, according to the method of an embodiment of the present invention and based on changes to the electronic document, i.e., Part III, a sequence of actions identifiable to the electronic document editing software (Microsoft® Word® here) is generated.
The reason for the above processing is that Part III is generated through a series of operations by User II on the browser, and if same operations are performed on the electronic document editing software (Microsoft® Word® here), a completely identical Part III will be generated. In other words, Part III is converted into a series of actions (i.e., a sequence of actions) identifiable to the electronic document editing software, and then, the sequence of actions is performed by the electronic document editing software, so Part III will be generated on the electronic document editing software. The above sequence of actions is macro, which is implemented by VBA (Visual Basic® for Applications) in Microsoft® Word®. By converting the changes to the electronic document into macro statements and sending them to the electronic document editing software and then performing these macro statements by the electronic document editing software, changes to the electronic documents are updated to the electronic document A of the file format corresponding to the electronic document editing software. As previously mentioned, since the format information in Part II is retained, the above processed electronic document A will include Part I, Part II, and Part III. Namely, the format information in the original electronic document A will not be lost.
Hereinafter, generation of sequence of actions (macro) will be illustrated with an example.
Suppose there is an electronic document of a rich document format, the electronic document having a table with one row and one column, the table having characters "one cell," wherein the characters "one cell" have character flickering effect. This electronic document is stored using a certain document format, for example, doc format or odf format. Display of this electronic document is shown in Fig. 2a (the word flickering effect is indicated by the content in parentheses).
When User II needs using the browser to perform on-line edition to the electronic document, firstly, the electronic document is converted into the html format by a format converter as follows:
<div class=sld style='position:absolute;top:Opx;left:Opx;
width:554px;height:415px;font-size: 16px;background-color:white;clip:rect(0%, 101 %, 101%, 0%);
visibility:hidden' id="tbll">
<div v:shape="_x0000_s5125" id="coll">
<div class=Tbl style='mso-margin-left-alt:0;position:absolute;top:21.2%;
left:17.68%;width: 12.45%;height:4.33%*, id="celll"><span lang=EN-US style=*font- size:71%;
mso-fareast-language:ZH-CN'>one cell </span>
</div>
</div>
</div>
The above conversion is only performed to format information identifiable to the html format, i.e., Part I. Now, since the html format does not support character flickering effect, its corresponding format information will be retained, i.e., Part II. Display of the converted electronic document B in the browser is shown in Fig. 2b.
The above electronic document B comprises a table, which table only comprises a table cell with characters "one cell" only.
Then, User II on-line edits the converted electronic document B with a browser. Suppose User II performs the following edition to the electronic document B:
1) adding a column to the table, such that the table comprises two table cells; 2) adding characters "adding words" to the original cell table, and modifying all characters to italics;
3) adding characters "newly added cell" in the newly added table cell, and retaining the font as original one.
An electronic document Bl is formed from the electronic document B on-line edited by User II, display of which in the browser is shown in Fig. 2c.
The corresponding html document is as follows:
<div class=sld style='position:absolute;top:Opx;left:Opx;
width:554px;height:415px;font-size: 16px;background-color:white;clip:rect(0%, 101 %, 101%, 0%);
visibility: hidden' id="tbll ">
<div v:shape="_x0000_s5135" id="coll ">
<div class=Tbl style='mso-margin-left-alt:0;position:absolute;top:21.2%;
left: 17.68%;width:41.33%;height:4.33%* id="celll"><span lang=EN-US style=*font- size:71%;
mso-fareast-language:ZH-CN' ><i>one cell, added words </i></span></div>
</div>
<div v:shape="_x0000_s5125" id="col2">
<div class=Tbl style='mso-margin-left-alt:0;position:absolute;top:21.2%;
left:54.33%;width:29.06%;height:4.33%* id="cell2"><span lang=EN-US style=*font- size:71%; mso-fareast-language:ZH-CN'>newly added celll</span></div>
</div>
</div>
Next, according to an embodiment of the present invention, the electronic document B and the electronic document Bl are compared to determine changes to the electronic documents. This comparison may be performed by, for example, generating DOM trees. The DOM trees of the electronic document B and electronic document Bl are shown in Figs. 3a and 3b. As shown in Fig. 3a, the DOM tree of the electronic document B comprises 3 nodes, wherein the root node indicates table 1, i.e., tbl 1, which has a leaf node indicating a first column "col 1" of the table 1, the leaf node further comprising a leaf node indicating a table cell "cell 1" of the first column "col 1". The table cell "cell 1" has attributes such as content, font, color, etc., which are not shown here. Now referring to Fig. 3b, the DOM tree of the electronic document Bl comprises 6 nodes. Compared with the DOM tree in Fig. 3a, the root node comprises two leaf nodes, respectively indicating a first column "col 1" and a second column "col 2" of the table 1, the second column "col 2" further comprising a leaf node indicating a table cell "cell 2" of the second column "col 2." The table cell "cell 2" also has attributes such as content, font, color, etc., which are not shown here. In Fig. 3b, deep grey color is used to indicate changes in DOM trees, wherein "col 2" and "cell 2" are added nodes, content is added to "cell 1," and font is changed (not shown), and content is added to "cell 2" (not shown).
By comparing the DOM trees of the electronic document B and of the electronic document Bl, the following sequence of actions is generated:
@appendText("tbll", "celll", ",adding words")
@makeltalic("tbll", "celll")
@insertcolumnafter("tbll ", "coll ")
@insertcell("tbll", "col2")
@appendText("tbll", "cell2", "newly added cell")
Further, the generated sequence of actions, the format information of the doc format unidentifiable to the browser in the electronic document, and the electric document edited by the browser are stored together, or the generated sequence of actions, the format information of the doc format unidentifiable to the browser in the electronic document, and the converted electronic document are stored together. The electronic document editing software performs the sequence of actions to update changes to the electronic document to the original electronic document, wherein the electronic document editing software updates the changes to the electronic document to the original electronic document with the retained format information. At this point, since the format information of the file format corresponding to the electronic document editing software unidentifiable to the browser in the original electronic document is retained and meanwhile the changes to the electronic document are recorded in the manner of sequence of actions, the format information in the original electronic document will not be lost.
Hereinafter, a system 400 for performing on-line editing an electronic document according to embodiments of the present invention is illustrated with reference to Fig. 3. The system 400 for on-line editing an electronic document according to embodiments of the present invention comprises: a format converter 402 configured to convert the electronic document from a first application file format into a file format identifiable to a second application so as to form a converted electronic document, wherein format information of the first application file format unidentifiable to the second application in the electronic document is retained, and to send the converted electronic document to the second application; a document change comparator 404 configured to receive an electronic document edited by the second application, to compare the electronic document edited by the second application with the converted electronic document, and to determine changes to the electronic document based on the above comparison; and an action sequence generator 406 configured to generate a sequence of actions identifiable to the first application based on the changes to the electronic document.
Further, according to a method of embodiments of the present invention, when converting an electronic document from a first application file format into a file format identifiable to a second application, format information of the first application file format unidentifiable to the second application in the electronic document is retained.
Further, the sequence of actions generated by an action generator, format information of the first application file format unidentifiable to the second application in the electronic document, and the electronic document edited by the second application are stored together, or the generated sequence of actions, format information of the first application file format unidentifiable to the second application in the electronic document, and the converted electronic document are stored together. Still further, the first application performs a series of actions to update the changes to the electronic document to the original electronic document, wherein the first application uses the retained format information to update the changes to the electronic document to the original electronic document.
Similarly, the second application is a browser, and the file format identifiable to the second application is a markup language format, where comparing by the document change comparator the electronic document edited by the second application with the converted electronic document is implemented by comparing the structures of DOM trees. Further, the action sequence generator generates a sequence of actions identifiable to the first application based on changes to the DOM tree structures. The principles have been described above with reference to the preferred embodiments.
However, it should be noted that the skilled in the art would understand that all or any component of the apparatus and all or any step of the method according to the present invention may be implemented in any computing apparatus (including a processor, storage medium, etc.) or in a network of a computing apparatus with hardware, firmware or the combination thereof. This may be realized by the skilled in the art upon reading of the description of the present invention and by using his/her basic programming skills.
Accordingly, the objective of the present invention may also be implemented by running a program or a group of programs on any computing apparatus. The computing apparatus may be a known, universal apparatus. Thus, the objective of the present invention may be implemented merely by a program product including program code implementing the method or apparatus. In other words, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. Apparently, the storage medium may be any known storage medium or any storage medium developed in future.
It should be further noted that in the apparatus and method of the present invention, respective components or respective steps may be decomposable and/or re-combinable. These decompositions and/or re-combinations should be deemed as equivalent solutions of the present invention. Moreover, steps of performing the above series of processing may be, but not necessarily, performed naturally according to the sequence of description according to the time sequence. Some steps may be performed in parallel or separately. Though the present invention and its advantages have been described in detail, it should be understood that various variations, replacements and alterations may be made without departing from the scope of the present invention as limited in the appending claims.
Moreover, terms such as "include," "comprise," or any other variation in the present application are intended to be non-exclusive, such that a process, method, article or apparatus comprising a series of elements comprises not only those elements but also other elements that are not specified, or may further comprise inherent elements of this process, method, article, or apparatus. Without further limitations, an element limited by a phrase "comprising a . . . " does not exclude further existence of other same element in the process, method, article or apparatus of the element.

Claims

1. A method for on-line editing an electronic document, comprising:
converting the electronic document from a first application file format into a file format identifiable to a second application to form a converted electronic document;
sending the converted electronic document to the second application;
receiving an electronic document edited by the second application;
comparing the electronic document edited by the second application with the converted electronic document;
determining changes to the electronic document based on the comparison; and generating a sequence of actions identifiable to the first application based on the changes to the electronic document.
2. The method according to claim 1, wherein:
converting the electronic document from a first application file format into a file format identifiable to a second application to form a converted electronic document further comprises retaining format information, within the electronic document, of the first application file format unidentifiable to the second application.
3. The method according to claim 2, further comprising:
storing together the generated sequence of actions, format information, within the electronic document, of the first application file format unidentifiable to the second application, and the converted electronic document.
4. The method according to claim 2, further comprising:
storing together the generated sequence of actions, format information, within the electronic document, of the first application file format unidentifiable to the second application, and the electronic document edited by the second application.
5. The method according to claim 2, 3, or 4, further comprising:
performing a sequence of actions by the first application to update the changes to the electronic document into the original electronic document, wherein the first application uses the retained format information to update the changes to the electronic document into the original electronic document.
6. The method according to claim 2, 3, or 4, wherein:
a sequence of actions identifiable to the first application is a macro.
7. The method according to claim 2, 3, or 4, wherein:
the second application is a browser, a file format identifiable to the second application being of a markup language format.
8. The method according to claim 7, wherein:
comparing the electronic document edited by the second application with the converted electronic document is implemented by comparing structures of DOM trees.
9. The method according to claim 8, wherein:
a sequence of actions identifiable to the first application are generated based on changes to the DOM tree structures.
10. A system for on-line editing an electronic document, comprising:
a format converter configured to convert the electronic document from a first application file format into a file format identifiable to a second application to form a converted electronic document, and to send the converted electronic document to the second application;
a document change comparator configured to receive an electronic document edited by the second application, to compare the electronic document edited by the second application with the converted electronic document, and to determine changes to the electronic document based on the comparison; and
an action sequence generator configured to generate a sequence of actions identifiable to the first application based on the changes to the electronic document.
11. The system according to claim 10, wherein:
converting the electronic document from a first application file format into a file format identifiable to a second application to form a converted electronic document comprises retaining format information, within the electronic document, of the first application file format unidentifiable to the second application.
12. The system according to claim 11, wherein:
the action sequence generator stores together the sequence of actions generated, format information, within the electronic document, of the first application file format unidentifiable to the second application, and the converted electronic document.
13. The system according to claim 11, wherein:
the action sequence generator stores together the generated sequence of actions, format information, within the electronic document, of the first application file format unidentifiable to the second application, and the electronic document edited by the second application.
14. The method according to claim 11, 12, or 13, wherein:
the first application performs a sequence of actions to update the changes to the electronic document into the original electronic document, wherein the first application uses the retained format information to update the changes to the electronic document into the original electronic document.
15. The method according to claim 11, 12, or 13, wherein:
a sequence of actions identifiable to the first application is a macro.
16. The method according to claim 11, 12, or 13, wherein:
the second application is a browser, a file format identifiable to the second application being of a markup language format.
17. The system according to claim 16, wherein:
the document change comparator comparing the electronic document edited by the second application with the converted electronic document is implemented by comparing structures of DOM trees.
18. The system according to claim 17, wherein:
the action sequence generator generates a sequence of actions identifiable to the first application based on changes to the DOM tree structures.
PCT/EP2010/068825 2009-12-10 2010-12-03 Method and system for on-line editing electronic documents WO2011069903A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009102583390A CN102096661A (en) 2009-12-10 2009-12-10 Method and system for editing electronic document on line
CN200910258339.0 2009-12-10

Publications (1)

Publication Number Publication Date
WO2011069903A1 true WO2011069903A1 (en) 2011-06-16

Family

ID=43733923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2010/068825 WO2011069903A1 (en) 2009-12-10 2010-12-03 Method and system for on-line editing electronic documents

Country Status (2)

Country Link
CN (1) CN102096661A (en)
WO (1) WO2011069903A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112541322A (en) * 2020-12-16 2021-03-23 山东师范大学 Pseudo code automatic formatting method and system based on Word document

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737158B (en) * 2013-03-13 2018-03-13 华为技术有限公司 Network data processing method and device, terminal
JP6308169B2 (en) * 2015-05-20 2018-04-11 コニカミノルタ株式会社 Document conversion program and document conversion method
CN110018984A (en) * 2017-10-31 2019-07-16 北京国双科技有限公司 A kind of conversion method and device of file format
CN109634588B (en) * 2018-12-06 2022-04-08 安徽科大国创软件科技有限公司 Office document online editing method and system compatible with multiple browsers
CN110287462B (en) * 2019-07-01 2023-03-28 上海一者信息科技有限公司 Tracking revision method and system based on browser
CN110674082B (en) * 2019-09-24 2023-03-14 北京字节跳动网络技术有限公司 Method and device for removing online document, electronic equipment and computer readable medium
CN113361239A (en) * 2021-06-01 2021-09-07 北京百度网讯科技有限公司 Document testing method and device, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172113A1 (en) * 2002-03-05 2003-09-11 Cameron Brian A. Synchronization of documents between a server and small devices
US20040230892A1 (en) * 2003-03-17 2004-11-18 Libac Corporation Systems and methods for document project management
US20040268235A1 (en) * 2003-06-26 2004-12-30 International Business Machines Corporation Rich text handling for a web application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172113A1 (en) * 2002-03-05 2003-09-11 Cameron Brian A. Synchronization of documents between a server and small devices
US20040230892A1 (en) * 2003-03-17 2004-11-18 Libac Corporation Systems and methods for document project management
US20040268235A1 (en) * 2003-06-26 2004-12-30 International Business Machines Corporation Rich text handling for a web application

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JACOB J ET AL: "CX-DIFF: a change detection algorithm for XML content and change visualization for WebVigiL", DATA & KNOWLEDGE ENGINEERING, ELSEVIER BV, NL, vol. 52, no. 2, 1 February 2005 (2005-02-01), pages 209 - 230, XP025296541, ISSN: 0169-023X, [retrieved on 20050201], DOI: DOI:10.1016/S0169-023X(04)00102-8 *
YUAN WANG ET AL: "X-Diff: an effective change detection algorithm for XML documents", PROCEEDINGS 19TH. INTERNATIONAL CONFERENCE ON DATA ENGINEERING. (ICDE'2003). BANGALORE, INDIA, MARCH 5 - 8, 2003; [INTERNATIONAL CONFERENCE ON DATA ENGINEERING. (ICDE)], NEW YORK, NY : IEEE, US, vol. CONF. 19, 5 March 2003 (2003-03-05), pages 519 - 530, XP010678765, ISBN: 978-0-7803-7665-6 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112541322A (en) * 2020-12-16 2021-03-23 山东师范大学 Pseudo code automatic formatting method and system based on Word document

Also Published As

Publication number Publication date
CN102096661A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
US10534830B2 (en) Dynamically updating a running page
WO2011069903A1 (en) Method and system for on-line editing electronic documents
US7555707B1 (en) Method and system for data binding in a block structured user interface scripting language
US7197510B2 (en) Method, system and program for generating structure pattern candidates
CN104461484B (en) The implementation method and device of front-end template
US10540416B2 (en) Linking source code to running element
CN108647025A (en) Processing method and processing device, electronics and the storage device of DOM Document Object Model interior joint
US7720814B2 (en) Repopulating a database with document content
US20020035580A1 (en) Computer readable medium containing HTML document generation program
GB2499500A (en) Document merge
CN110333863A (en) A kind of method and device for generating, showing the small routine page
CN108762743A (en) Data table operation code generation method and device
CN106294493A (en) Realize the method and device of document format conversion
US20130124969A1 (en) Xml editor within a wysiwyg application
US20110078165A1 (en) Document-fragment transclusion
JP2001243219A (en) Description structure of html document in incomplete form
CN112527291A (en) Webpage generation method and device, electronic equipment and storage medium
CN111158687A (en) JAVA plug-in interface generation method and device, computer equipment and storage medium
JP2020098596A (en) Method, device and storage medium for extracting information from web page
CN114527979A (en) Method and system for generating multi-end form interactive page
JP2004348341A (en) Structured document processing system, structured document processing method, and program
JP2013218627A (en) Method and device for extracting information from structured document and program
CN110019968B (en) XML file processing method and device
Rönnau et al. Versioning XML-based office documents: An efficient, format-independent, merge-capable approach
US11210454B2 (en) Method for preparing documents written in markup languages while implementing a user interface for dealing with data of an information system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10794926

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10794926

Country of ref document: EP

Kind code of ref document: A1