[go: up one dir, main page]

WO2018212484A1 - Document editing device for maintaining format of object, and operation method therefor - Google Patents

Document editing device for maintaining format of object, and operation method therefor Download PDF

Info

Publication number
WO2018212484A1
WO2018212484A1 PCT/KR2018/005056 KR2018005056W WO2018212484A1 WO 2018212484 A1 WO2018212484 A1 WO 2018212484A1 KR 2018005056 W KR2018005056 W KR 2018005056W WO 2018212484 A1 WO2018212484 A1 WO 2018212484A1
Authority
WO
WIPO (PCT)
Prior art keywords
document
editing
type document
object type
command
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.)
Ceased
Application number
PCT/KR2018/005056
Other languages
French (fr)
Korean (ko)
Inventor
권상욱
김기봉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hancom Inc
Original Assignee
Hancom Inc
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 Hancom Inc filed Critical Hancom Inc
Publication of WO2018212484A1 publication Critical patent/WO2018212484A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing

Definitions

  • the present invention relates to a technique for maintaining the format of an object on which an editing is not performed in an object-type document when the user edits the object-type document of the original electronic document.
  • These electronic document related programs include word processors that support the creation and editing of basic documents, data entry, arithmetic operations, spreadsheets to assist with data management, and presentation programs to assist presenters.
  • the user may install the aforementioned electronic document related programs directly on the electronic terminal device, and then operate the electronic document related programs to view or create the electronic document. I had to edit.
  • the web-based electronic document service supports various client terminals to access the electronic document service providing server, view the web-based electronic document through a browser, and create and edit the electronic document. It is mainly used by companies and organizations in that it supports simultaneous collaboration on the electronic document in real time.
  • the web-based electronic document service can view, create, and edit electronic documents through a browser mounted on the client terminal as long as it can access the Internet without installing a predetermined electronic document writing program on the client terminal. Because it supports to ensure the mobility of users, individual users are also gradually increasing.
  • web-based electronic document service converts the original electronic document into an object type document such as JavaScript Object Notation (JSON) in order to enable networked client terminals to edit the electronic document through a browser.
  • JSON JavaScript Object Notation
  • the client terminal is operated by converting the object type document into a markup language based document through a browser and then editing the markup language based document.
  • the synchronization between the object type document of the remote server and the object type document of the client terminal may be performed by editing the object type document of the remote server based on the editing instruction from the client terminal based on the editing of the markup language-based document of the user.
  • the object type document of the remote server is edited based on the editing command from the client terminal.
  • the format information of the objects of the object type document of the remote server disappears, and accordingly, the format information of the objects of the original electronic document of the remote server may disappear.
  • the client terminal does not perform editing through the browser.
  • Algorithms need to be introduced to prevent the formatting of objects that do not change on the original electronic document.
  • An apparatus for editing a document and a method of operating the same edit an object type document based on an editing command from a user, and change the object ID of the object that is the target of the editing command in the object type document.
  • Edits an object-type document detects an object whose ID does not match an object whose ID matches the IDs of objects included in the object type document of the original electronic document, among the objects included in the edited object type document, and edits the object type Update the original electronic document based on a document and an object type document of the original electronic document, and format the object corresponding to the matching object among the objects included in the original electronic document in the object type document of the original electronic document.
  • the object of the object corresponding to the unmatched object among the objects included in the original electronic document is set based on the format of the object.
  • the set based on the format of the objects included in the edited object-type document it is intended to make it possible to prevent the non perform editing client terminal via a browser object format to be changed on the original electronic document.
  • An apparatus for maintaining a document format an object for generating first and second object-type documents including objects assigned with IDs by parsing the original electronic document stored in the original electronic document storage unit.
  • Type document generation unit edits the first object type document based on an editing command from a client terminal, and changes the ID of an object that is the object of the editing command in the first object type document.
  • Object type document editing unit for editing the object of the object included in the edited first object-type document ID matching the ID of the objects included in the second object-type document detected as the first object,
  • An object detector for detecting a non-object as a second object and the original electronic document based on the edited first object type document and the second object type document.
  • an original electronic document updater configured based on the format of the second object included in the first object-type document.
  • the operating method of the document editing device for maintaining the format of the object is the first and second object type including the objects assigned the ID by parsing the original electronic document stored in the original electronic document storage unit Generating a document, editing the first object type document based on an editing command from a client terminal, wherein the first object type is changed by changing an ID of an object that is a target of the editing command in the first object type document; Editing a document, detecting an object whose ID matches the IDs of the objects included in the second object type document among the objects included in the edited first object type document as the first object, and not matching the object Detecting as a second object and updating the original electronic document based on the edited first object type document and the second object type document, Sets a format of an object corresponding to the based on a format of an object included in the second object type document matching the first object, and sets a format of an object corresponding to a second object in the edited first object type document. Setting based on the format of the second object
  • An apparatus for editing a document and a method of operating the same edit an object type document based on an editing command from a user, and change the object ID of the object that is the target of the editing command in the object type document.
  • Edits an object-type document detects an object whose ID does not match an object whose ID matches the IDs of objects included in the object type document of the original electronic document, among the objects included in the edited object type document, and edits the object type Update the original electronic document based on a document and an object type document of the original electronic document, and format the object corresponding to the matching object among the objects included in the original electronic document in the object type document of the original electronic document.
  • the object of the object corresponding to the unmatched object among the objects included in the original electronic document is set based on the format of the object.
  • A by setting on the basis of the format of the objects included in the edited object-type document, it is possible to make it possible to prevent the non perform editing client terminal via a browser object format to be changed on the original electronic document.
  • FIG. 1 is a diagram illustrating a structure of a document editing system including a document editing apparatus for maintaining a format of an object according to an embodiment of the present invention.
  • FIG. 2 is a diagram illustrating an operation process of a document editing apparatus maintaining a format of an object according to an embodiment of the present invention.
  • FIG. 3 is a flowchart illustrating a method of operating a document editing apparatus maintaining a format of an object according to an embodiment of the present invention.
  • FIG. 1 is a diagram illustrating a structure of a document editing system 10 including a document editing apparatus 100 that maintains a format of an object according to an embodiment of the present invention.
  • the document editing system 10 includes a document editing apparatus 100 and a client terminal 180 that maintain a format of an object according to an embodiment of the present invention.
  • Original electronic document storage unit 110 object type document generating unit 120, object type document sending unit 130, editing command receiving unit 140, object type document editing unit 150, object detection unit 160 and the original electronic document
  • the update unit 170 is included.
  • FIG. 2 is a diagram illustrating an operation process of a document editing apparatus maintaining a format of an object according to an embodiment of the present invention.
  • the original electronic document storage unit 110 may store the original electronic document 210 having an extension such as "hwp” or "docx”. As illustrated in FIG. 2, text objects called “123” and “456” are inserted into the original electronic document 210.
  • the format information of the objects “123” and “456” included in the original electronic document 210 may be represented as shown in Table 1.
  • the object refers to various contents such as a figure, an image, a table, text, and the like that can be inserted into an electronic document.
  • one object per figure, and in the case of tables one object is used.
  • images, tables, and texts inserted in tables each object is one object.
  • the string of may be an object.
  • the format refers to the color and shape of the object.
  • the font, color, and size of the text may be referred to as a format for the text object.
  • the object is a table
  • the format is included in the table.
  • the color of the cell is the format for the table object.
  • the object type document generating unit 120 may generate the object type documents 220 and 230 by parsing the original electronic document 210 stored in the original electronic document storage unit 110.
  • the object type document may be a key-value format document such as JavaScript Object Notation (JSON).
  • the object type document generating unit 120 does not perform editing compared to the first object type document 220 and the first object type document 220 that are to be edited by the client terminal 180 from the original electronic document 210.
  • the second object type document 230 may be generated to maintain a format of an object that is not.
  • the object type document generation unit 120 may assign IDs to objects.
  • the object type document generator 120 may assign IDs to the objects according to the order in the object type documents 220 and 230 of the objects included in the object type documents 220 and 230. . Accordingly, the objects may have different IDs.
  • the object-type document generating unit 120 as shown in Table 2 below, the first object (ie, "123” and "456") included in the object-type document (220, 230) (that is, , “123”) can be assigned to IDs by assigning 1 as the ID and 2 to the second object (ie, “456”). Accordingly, the objects (ie, “123” and “456”) included in the object type documents 220 and 230 are irrespective of when the object type documents 220 and 230 are generated from the original electronic document 210. The same ID can always be assigned. That is, the objects included in the first object type document 220 may have the same ID as the objects included in the second object type document 230 corresponding thereto.
  • the object "123” is called object 1 and "456" is called object 2.
  • the format information of the objects “123” and “456” included in the object type documents 220 and 230 is the same as the format information of the objects “123” and “456” included in the original electronic document 210.
  • the object type document transmitter 130 transmits the generated first object type document 220 to the client terminal 180. Accordingly, the client terminal 180 converts the received first object type document 220 into a Markup Language-based document through a browser and then performs editing, and based on the edited operation, the document editing device The editing command may be transmitted to 100.
  • the markup language-based document refers to a document composed of a markup language that can be viewed through a browser installed in the client terminal 180 such as Hypertext Markup Language (HTML) or XML (eXtensible Markup Language).
  • the client terminal 180 converts the received first object type document 220 into a markup language-based document through a browser and edits the received information
  • information about a format that is not expressed through the browser may disappear. have.
  • the browser does not support a form called "tilt”
  • the client terminal 180 converts the received first object type document 220 into a markup language-based document through a browser and then edits it
  • information about the "tilt" of the forms for the objects may be lost. Accordingly, editing on a form not intended by the user on the original electronic document can be made.
  • the editing command receiving unit 140 may receive an editing command transmitted from the client terminal 180.
  • the object type document editing unit 150 edits the first object type document 220 based on an editing command from the client terminal 180, and becomes the object of the editing command in the first object type document 220. Change the ID of an object. Accordingly, the objects included in the first object type document 220 may have different IDs from the objects included in the second object type document 230 corresponding to the objects.
  • the object detector 160 removes an object whose ID matches among IDs of the objects included in the second object type document 230 among objects included in the first object type document edited by the object type document editing unit 150. Detects as one object and detects an unmatched object as a second object.
  • the original electronic document updater 170 updates the original electronic document 210 based on the edited first object type document and the second object type document 230.
  • the original electronic document updater 170 reflects the edited matters in the edited first object-type document to the original electronic document 210, and includes the first of the objects included in the original electronic document 210.
  • the format of the object corresponding to the first object is set based on the format of the object included in the second object type document 230 matching the first object, and among the objects included in the original electronic document 210.
  • the original electronic document 210 is updated by setting a format of an object corresponding to a second object based on the format of the second object included in the edited first object type document.
  • the object type document editing unit 150, the object detecting unit 160, and the original electronic document updating unit 170 edit the first object type document 220 and edit the first edited first object.
  • a process of updating the original electronic document based on the object type document will be described.
  • the object type document editing unit 150 determines the ID of the object that is the target of the editing command in the first object type document 220. Change to an ID that does not match the IDs of the objects included in the object type document 230.
  • the object type document editing unit 150 causes the first object type.
  • the ID (ie, id_1) of the first object that is the target of the editing command in the document 220 does not match the ID of the objects included in the second object type document (eg, id_3) as shown in Table 3 below. Can be changed to
  • an object 1 may further be added with an underscore to the format information.
  • you may lose information about a form called "tilt" that your browser does not support. Accordingly, the format information of objects 1 and 2 included in the first object type document 240 edited by the object type document editing unit 150 may be represented as shown in Table 4 below.
  • the ID (ie, id_2) of the second object among the objects included in the edited first object type document 240 is the second object among the objects included in the second object type document 230. Since it matches the ID (ie, id_2), the object detector 160 may detect the second object as the first object. Similarly, the ID (ie, id_3) of the first object among the objects included in the edited first object type document 240 may be set to the ID of any object among the objects included in the second object type document 230. Since there is no match, the object detector 160 may detect the first object as the second object.
  • the original electronic document updater 170 may edit the edited first object type document 240 and the second object type document.
  • the updated original electronic document 245 is generated by updating the original electronic document 210 based on 230.
  • the second object (ie, “456”) included in the updated original electronic document 245 is detected as the first object by the object detector 160 in the edited first object type document 240. Since it corresponds to an object (that is, "456"), the original electronic document updater 170 sets the format of the object 2 to the format of the object included in the second object-type document 230 matching the first object. By setting on the basis, the original electronic document 210 is updated. Similarly, the first object (ie, “123”) included in the updated original electronic document 245 is detected as the second object by the object detector 160 in the edited first object type document 240. Since it corresponds to an object (ie, “123”), the original electronic document updater 170 may format the first object based on the format of the second object included in the edited first object-type document 240. By setting, the original electronic document 210 is updated.
  • the format information of the objects included in the original electronic document 245 updated by the original electronic document updater 170 may be shown in Table 5.
  • the format for the second object not edited by the user may not be changed.
  • the edit command is part of the object Change formatting for an object Command
  • the object type document editing unit 150 sets the some object that is the target of the editing command as a third object, and Set the ID of the third object to an ID that does not match the IDs of the objects included in the second object type document, set the remaining objects to the fourth object, and set the ID of the fourth object to be the target of the editing command. Set the same ID as the object ID.
  • the editing command received by the editing command receiving unit 140 is a format changing command that underlies an object “2” of the first object, as shown in Table 6 below
  • the object “2” of the object 1 that is the target of the editing command does not match the ID of the objects included in the second object type document.
  • An object having an ID eg, id_3 is set, and objects “1” and “3” are set to the same ID (ie, id_1) as ID (ie, id_1) of object 1 that is the target of the editing command. do.
  • an object having an id of id_3 may further have “underscore” added to the format information.
  • the object detection unit ( 160 may detect objects having ids id_1 and id_2 as first objects.
  • the object having an id of id_3 among the objects included in the edited first object type document 250 does not match any of the objects included in the second object type document 230, and thus, the object detector The 160 may detect an object having an id of id_3 as a second object.
  • the original electronic document updater 170 may edit the edited first object type document 250 and the second object type document 230.
  • the original electronic document 255 is generated by updating the original electronic document 210 based on.
  • the objects having the texts “1”, “3” and “456” included in the updated original electronic document 255 are selected by the object detector 160 in the edited first object type document 250. Since it corresponds to objects detected as the first object (that is, objects having IDs id_1 and id_2), the original electronic document updater 170 may have objects having the text “1”, “3” and “456”.
  • the original electronic document 210 is updated by setting the style of the text based on the format of the object included in the second object type document 230 matching the first object.
  • the object having the text “2” included in the updated original electronic document 255 is an object detected by the object detector 160 in the edited first object type document 250 as a second object.
  • the object having an ID of id_3) and the original electronic document updating unit 170 may format the object having the text of “2” with the edited first matching the object having the text of “2”.
  • the original electronic document 210 is updated by setting based on the format of the second object included in the object type document 240.
  • the format information of the objects included in the original electronic document 255 updated by the original electronic document updater 170 may be represented as shown in Table 8.
  • the format of the objects corresponding to the objects having ids id_1 and id_2 not edited by the user may not be changed.
  • the object type document editing unit 150 sets the ID of the object pasted in the first object type document 220 as the target of the copying. Set the same as the ID of the object being created.
  • the object-type document editing unit 150 as shown in Table 9 below.
  • the ID of the object pasted from the first object type document 220 is set to be the same as the ID (ie, id_1) of the first object to be copied.
  • the format information of the pasted object may be the same as the format information of the object No. 1 to be copied.
  • the format information of the objects included in the first object type document 260 edited by the object type document editing unit 150 may be expressed as shown in Table 10 below.
  • the object detector 160 selects all objects as the first object.
  • the original electronic document updating unit 170 updates the original electronic document 210 based on the edited first object type document 260 and the second object type document 230. An updated original electronic document 265 is generated.
  • the objects included in the updated original electronic document 265 correspond to the objects detected as the first object by the object detector 160 in the edited first object type document 260, and thus, the original electronic document 265.
  • the updater 170 updates the original electronic document 210 by setting a format of all objects based on a format of an object included in the second object type document 230 matching the first object.
  • the format information of the objects included in the original electronic document 265 updated by the original electronic document updater 170 may be represented as shown in Table 11.
  • the format of all objects not edited by the user may not be changed.
  • the object type document editing unit 150 identifies the ID of the object that is the target of the editing command in the first object type document 220. The IDs which do not match the IDs of the objects included in the second object type document 230 are set.
  • the object type document editing unit 150 causes the first object type document 220 to be inserted.
  • the ID of the new text object (ie, “789”) that is the target of the editing command is an ID (eg, id_3) that does not match the ID of the objects included in the second object type document as shown in Table 12 below. can be changed.
  • the format information of the new text object may have a default value.
  • the format information of the objects included in the first object type document 270 edited by the object type document editing unit 150 may be represented as shown in Table 13.
  • the object detector 160 may Objects 1 and 2 may be detected as the first object.
  • the ID (ie, id_3) of the new text object among the objects included in the edited first object type document 270 may be set to the ID of any of the objects included in the second object type document 230. Since there is no match, the object detector 160 may detect a new text object as a second object.
  • the original electronic document updater 170 may edit the edited first object type document 270 and the second object type document.
  • the updated original electronic document 275 is generated by updating the original electronic document 210 based on 230.
  • objects 1 and 2 included in the updated original electronic document 275 correspond to objects detected by the object detector 160 as the first object in the edited first object type document 270.
  • the original electronic document updater 170 sets the format of the first and second objects based on the format of the object included in the second object-type document 230 matching the first object. 210 is updated.
  • the new text object included in the updated original electronic document 275 corresponds to the new text object detected by the object detector 160 as the second object in the edited first object type document 270.
  • the original electronic document updater 170 sets the format of the new text object based on the format of the second object included in the edited first object type document 270 matching the new text object. Update document 210.
  • the format information of the objects included in the original electronic document 275 updated by the original electronic document updater 170 may be represented as shown in Table 14.
  • the format for objects 1 and 2 not edited by the user may not be changed.
  • the object to edit the object type document based on the editing command from the user the object of the editing command in the object type document Edit the object type document by changing the ID of the object, and detect an object that does not match an object whose ID matches the IDs of the objects included in the object type document of the original electronic document among the objects included in the edited object type document. And update the original electronic document based on the edited object type document and the object type document of the original electronic document, and format the object corresponding to the matching object among the objects included in the original electronic document.
  • FIG. 3 is a flowchart illustrating a method of operating a document editing apparatus maintaining a format of an object according to an embodiment of the present invention.
  • first and second object-type documents including objects assigned with IDs are generated by parsing the original electronic document stored in the original electronic document storage unit.
  • step S330 the first object type document is edited based on an editing command from a user, and the first object type document is changed by changing an ID of an object that is a target of the editing command in the first object type document. Edit.
  • an object whose ID matches the IDs of the objects included in the second object type document is detected as a first object, and an object that does not match is detected. Detect as a second object.
  • the original electronic document is updated based on the edited first object type document and the second object type document, and the first object matching a format of an object corresponding to the first object to the first object. 2 is set based on the format of the object included in the object-type document, and the format of the object corresponding to the second object is set based on the format of the second object included in the edited first object-type document.
  • step S330 if the editing command is a format change command, the ID of the object that is the target of the editing command in the first object type document is the second object type document. Change to an ID that does not match the ID of the objects in the.
  • the partial Set an object as a third object when the editing of the first object-type document is a format change command for some of the objects included in the editing command, the partial Set an object as a third object, set the ID of the third object to an ID that does not match the IDs of the objects included in the second object type document, set the remaining object to the fourth object, and set the fourth object.
  • the ID of the object to be edited is changed.
  • the paste in the first object-type document is performed.
  • the ID of the object that is the target of the editing command is changed by setting the ID of the object that is the target of the command to the same ID as the ID of the object that is the target of the copy command.
  • step S330 when the new object is inserted into the object type document by the editing command, the object type document editing unit sets the ID of the newly inserted object in the second type. By setting an ID that does not match the IDs of the objects included in the object type document, the ID of the object that is the target of the editing command is changed.
  • An operation method of a document editing apparatus for maintaining a format of an object may be implemented as a computer program stored in a storage medium for execution by combining with a computer.
  • the operating method of the document editing apparatus for maintaining the format of an object may be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium.
  • the computer readable medium may include program instructions, data files, data structures, etc. alone or in combination.
  • Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts.
  • Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks.
  • Magneto-optical media and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like.
  • program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.
  • the hardware device described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

Landscapes

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

Abstract

In a document editing device for maintaining a format of an object and an operation method therefor according to the present invention, an original electronic document is updated on the basis of an edited object type document and an object type document of the original electronic document, a format of an object corresponding to a matching object among objects included in the original electronic document is set on the basis of a format of an object included in the object type document of the original electronic document, and a format of an object corresponding to an unmatching object among the objects included in the original electronic document is set on the basis of a format of an object included in the edited object type document, so that a client terminal can prevent a format of an object, which has not been edited through a browser, from being modified on the original electronic document.

Description

객체의 서식을 유지하는 문서 편집 장치 및 그의 동작 방법Document editing device for maintaining the formatting of an object and its operation method

본 발명은 원본 전자 문서의 객체형 문서에 대한 사용자의 편집 시에 객체형 문서에서 편집이 수행되지 않은 객체의 서식을 유지하기 위한 기법에 대한 것이다.The present invention relates to a technique for maintaining the format of an object on which an editing is not performed in an object-type document when the user edits the object-type document of the original electronic document.

최근, 컴퓨터나 스마트폰 또는 태블릿 PC 등과 같은 전자 단말 장치가 널리 보급됨에 따라 이러한 전자 단말 장치를 이용하여 전자 문서를 열람, 작성, 편집할 수 있도록 하는 다양한 종류의 전자 문서 관련 프로그램들이 출시되고 있다.Recently, as electronic terminal devices such as computers, smart phones, tablet PCs, and the like are widely used, various kinds of electronic document-related programs have been released, which allow users to view, create, and edit electronic documents using such electronic terminal devices.

이러한 전자 문서 관련 프로그램들로는 기본적인 문서의 작성, 편집 등을 지원하는 워드프로세서, 데이터의 입력, 산술연산, 데이터 관리를 보조하는 스프레드시트, 발표자의 발표를 보조하기 위한 프레젠테이션 프로그램들이 있다.These electronic document related programs include word processors that support the creation and editing of basic documents, data entry, arithmetic operations, spreadsheets to assist with data management, and presentation programs to assist presenters.

기존에는 사용자가 전자 단말 장치를 활용해서 전자 문서를 열람, 작성, 편집하기 위해서는 전자 단말 장치에 직접 앞서 언급한 전자 문서 관련 프로그램들을 설치한 후 전자 문서 관련 프로그램들을 구동시켜 전자 문서를 열람하거나 작성 및 편집해야 했었다.Conventionally, in order for a user to view, create, and edit an electronic document using an electronic terminal device, the user may install the aforementioned electronic document related programs directly on the electronic terminal device, and then operate the electronic document related programs to view or create the electronic document. I had to edit.

하지만, 최근에는 초고속 인터넷 환경이 구축되고, 언제 어디에서든지 인터넷에 접속할 수 있도록 하는 무선 인터넷 환경이 구축됨에 따라, 원격지의 서버를 통해서, 클라이언트 단말인 전자 단말 장치에 전자 문서 관련 서비스를 제공함으로써, 사용자가 전자 단말 장치에 소정의 전자 문서 관련 프로그램을 설치하지 않더라도 언제 어디에서든지 전자 문서를 열람, 작성, 편집할 수 있도록 하는 웹 기반의 전자 문서 서비스가 등장하고 있다.However, in recent years, as a high-speed Internet environment has been established, and a wireless Internet environment has been established to allow access to the Internet anytime, anywhere, by providing an electronic document related service to an electronic terminal device as a client terminal through a remote server, There is a web-based electronic document service that allows a user to view, create, and edit an electronic document anytime and anywhere even without installing a predetermined electronic document related program in the electronic terminal device.

이러한 웹 기반의 전자 문서 서비스는 다양한 클라이언트 단말들이 전자 문서 서비스 제공 서버에 접속한 후 브라우저를 통해 웹 기반의 전자 문서를 열람한 후 해당 전자 문서를 작성 및 편집할 수 있도록 지원하며, 다양한 클라이언트 단말들이 상기 전자 문서에 대해서 실시간으로 동시 협업을 수행할 수 있도록 지원한다는 점에서 기업이나 단체 등에서 주로 활용되고 있다.The web-based electronic document service supports various client terminals to access the electronic document service providing server, view the web-based electronic document through a browser, and create and edit the electronic document. It is mainly used by companies and organizations in that it supports simultaneous collaboration on the electronic document in real time.

그리고, 웹 기반의 전자 문서 서비스는 클라이언트 단말에 소정의 전자 문서 작성 프로그램을 설치할 필요 없이, 인터넷에 접속만 할 수 있으면, 클라이언트 단말에 탑재되어 있는 브라우저를 통해서 전자 문서를 열람하고, 작성 및 편집할 수 있도록 지원하기 때문에 사용자의 이동성을 보장할 수 있어, 개인 사용자들도 점차 증가하고 있는 추세이다.The web-based electronic document service can view, create, and edit electronic documents through a browser mounted on the client terminal as long as it can access the Internet without installing a predetermined electronic document writing program on the client terminal. Because it supports to ensure the mobility of users, individual users are also gradually increasing.

보통, 웹 기반의 전자 문서 서비스는 네트워크로 연결된 클라이언트 단말이 브라우저를 통해 전자 문서에 대한 편집을 수행할 수 있도록 지원하기 위해, 원본 전자 문서를 JSON(JavaScript Object Notation)과 같은 객체형 문서로 변환하여 클라이언트 단말로 제공하면, 클라이언트 단말이 브라우저를 통해 상기 객체형 문서를 마크업 언어(Markup Language) 기반 문서로 변환한 후 마크업 언어 기반 문서에 대한 편집을 수행하는 방식으로 운영된다.Usually, web-based electronic document service converts the original electronic document into an object type document such as JavaScript Object Notation (JSON) in order to enable networked client terminals to edit the electronic document through a browser. When provided to the client terminal, the client terminal is operated by converting the object type document into a markup language based document through a browser and then editing the markup language based document.

관련해서, 사용자의 상기 마크업 언어 기반 문서에 대한 편집에 기초한 클라이언트 단말로부터의 편집 명령에 기초하여 원격지 서버의 객체형 문서를 편집함으로써 원격지 서버의 객체형 문서와 클라이언트 단말의 객체형 문서 간에 동기화(Synchronization)하여야 한다.In this regard, the synchronization between the object type document of the remote server and the object type document of the client terminal may be performed by editing the object type document of the remote server based on the editing instruction from the client terminal based on the editing of the markup language-based document of the user. Must be synchronized.

이때, 클라이언트 단말이 브라우저를 통해 편집을 수행할 수 있는 서식의 종류가 원격지 서버의 원본 전자 문서에 설정된 서식의 종류와 다른 경우, 클라이언트 단말로부터의 편집 명령에 기초하여 원격지 서버의 객체형 문서를 편집하는 과정에서, 원격지 서버의 객체형 문서의 객체들의 서식 정보가 사라지며, 이에 따라, 원격지 서버의 원본 전자 문서의 객체들의 서식 정보가 사라질 수 있다.In this case, when the type of the format that the client terminal can perform editing through the browser is different from the type of the format set in the original electronic document of the remote server, the object type document of the remote server is edited based on the editing command from the client terminal. In the process, the format information of the objects of the object type document of the remote server disappears, and accordingly, the format information of the objects of the original electronic document of the remote server may disappear.

따라서, 클라이언트 단말이 브라우저를 통해 편집을 수행할 수 있는 서식의 종류가 원격지 서버의 원본 전자 문서에 설정된 서식의 종류보다 적거나 서식의 종류와 다른 경우에도, 클라이언트 단말이 브라우저를 통해 편집을 수행하지 않은 객체의 서식이 원본 전자 문서 상에서 변경되는 것을 방지하는 알고리즘이 도입될 필요가 있다.Therefore, even if the type of form that the client terminal can edit through the browser is less than or different from the type of the format set in the original electronic document of the remote server, the client terminal does not perform editing through the browser. Algorithms need to be introduced to prevent the formatting of objects that do not change on the original electronic document.

본 발명에 따른 객체의 서식을 유지하는 문서 편집 장치 및 그의 동작 방법은 사용자로부터의 편집 명령에 기초하여 객체형 문서를 편집하되, 객체형 문서에서 편집 명령의 대상이 되는 객체의 아이디를 변경함으로써 객체형 문서를 편집하고, 상기 편집된 객체형 문서에 포함된 객체들 중 아이디가 원본 전자 문서의 객체형 문서에 포함된 객체들의 아이디에 매칭되는 객체와 매칭되지 않는 객체를 검출하고, 편집된 객체형 문서 및 원본 전자 문서의 객체형 문서에 기초하여 상기 원본 전자 문서를 갱신하되, 상기 원본 전자 문서에 포함된 객체들 중 매칭되는 객체에 대응하는 객체의 서식을 원본 전자 문서의 객체형 문서에 포함된 객체의 서식에 기초하여 설정하고, 상기 원본 전자 문서에 포함된 객체들 중 매칭되지 않는 객체에 대응하는 객체의 서식을 상기 편집된 객체형 문서에 포함된 객체의 서식에 기초하여 설정함으로써, 클라이언트 단말이 브라우저를 통해 편집을 수행하지 않은 객체의 서식이 원본 전자 문서 상에서 변경되는 것을 방지하는 것을 가능하게 하고자 한다.An apparatus for editing a document and a method of operating the same according to an embodiment of the present invention edit an object type document based on an editing command from a user, and change the object ID of the object that is the target of the editing command in the object type document. Edits an object-type document, detects an object whose ID does not match an object whose ID matches the IDs of objects included in the object type document of the original electronic document, among the objects included in the edited object type document, and edits the object type Update the original electronic document based on a document and an object type document of the original electronic document, and format the object corresponding to the matching object among the objects included in the original electronic document in the object type document of the original electronic document. The object of the object corresponding to the unmatched object among the objects included in the original electronic document is set based on the format of the object. By the set based on the format of the objects included in the edited object-type document, it is intended to make it possible to prevent the non perform editing client terminal via a browser object format to be changed on the original electronic document.

본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치는 원본 전자 문서 저장부에 저장된 원본 전자 문서를 파싱함으로써 아이디가 할당된 객체들을 포함하는 제1 및 2 객체형 문서를 생성하는 객체형 문서 생성부, 클라이언트 단말로부터의 편집 명령에 기초하여 상기 제1 객체형 문서를 편집하되, 상기 제1 객체형 문서에서 상기 편집 명령의 대상이 되는 객체의 아이디를 변경함으로써 상기 제1 객체형 문서를 편집하는 객체형 문서 편집부, 상기 편집된 제1 객체형 문서에 포함된 객체들 중 아이디가 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되는 객체를 제1 객체로 검출하고, 매칭되지 않는 객체를 제2 객체로 검출하는 객체 검출부 및 상기 편집된 제1 객체형 문서 및 상기 제2 객체형 문서에 기초하여 상기 원본 전자 문서를 갱신하되, 제1 객체에 대응하는 객체의 서식을 상기 제1 객체에 매칭되는 상기 제2 객체형 문서에 포함된 객체의 서식에 기초하여 설정하고, 제2 객체에 대응하는 객체의 서식을 상기 편집된 제1 객체형 문서에 포함된 상기 제2 객체의 서식에 기초하여 설정하는 원본 전자 문서 갱신부를 포함한다.An apparatus for maintaining a document format according to an embodiment of the present invention, an object for generating first and second object-type documents including objects assigned with IDs by parsing the original electronic document stored in the original electronic document storage unit. Type document generation unit edits the first object type document based on an editing command from a client terminal, and changes the ID of an object that is the object of the editing command in the first object type document. Object type document editing unit for editing the object of the object included in the edited first object-type document ID matching the ID of the objects included in the second object-type document detected as the first object, An object detector for detecting a non-object as a second object and the original electronic document based on the edited first object type document and the second object type document. Update a format of the object corresponding to the first object based on the format of the object included in the second object-type document matching the first object, and edit the format of the object corresponding to the second object. And an original electronic document updater configured based on the format of the second object included in the first object-type document.

또한, 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치의 동작 방법은 원본 전자 문서 저장부에 저장된 원본 전자 문서를 파싱함으로써 아이디가 할당된 객체들을 포함하는 제1 및 2 객체형 문서를 생성하는 단계, 클라이언트 단말로부터의 편집 명령에 기초하여 상기 제1 객체형 문서를 편집하되, 상기 제1 객체형 문서에서 상기 편집 명령의 대상이 되는 객체의 아이디를 변경함으로써 상기 제1 객체형 문서를 편집하는 단계, 상기 편집된 제1 객체형 문서에 포함된 객체들 중 아이디가 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되는 객체를 제1 객체로 검출하고, 매칭되지 않는 객체를 제2 객체로 검출하는 단계 및 상기 편집된 제1 객체형 문서 및 상기 제2 객체형 문서에 기초하여 상기 원본 전자 문서를 갱신하되, 제1 객체에 대응하는 객체의 서식을 상기 제1 객체에 매칭되는 상기 제2 객체형 문서에 포함된 객체의 서식에 기초하여 설정하고, 제2 객체에 대응하는 객체의 서식을 상기 편집된 제1 객체형 문서에 포함된 상기 제2 객체의 서식에 기초하여 설정하는 단계를 포함한다.In addition, the operating method of the document editing device for maintaining the format of the object according to an embodiment of the present invention is the first and second object type including the objects assigned the ID by parsing the original electronic document stored in the original electronic document storage unit Generating a document, editing the first object type document based on an editing command from a client terminal, wherein the first object type is changed by changing an ID of an object that is a target of the editing command in the first object type document; Editing a document, detecting an object whose ID matches the IDs of the objects included in the second object type document among the objects included in the edited first object type document as the first object, and not matching the object Detecting as a second object and updating the original electronic document based on the edited first object type document and the second object type document, Sets a format of an object corresponding to the based on a format of an object included in the second object type document matching the first object, and sets a format of an object corresponding to a second object in the edited first object type document. Setting based on the format of the second object included in the.

본 발명에 따른 객체의 서식을 유지하는 문서 편집 장치 및 그의 동작 방법은 사용자로부터의 편집 명령에 기초하여 객체형 문서를 편집하되, 객체형 문서에서 편집 명령의 대상이 되는 객체의 아이디를 변경함으로써 객체형 문서를 편집하고, 상기 편집된 객체형 문서에 포함된 객체들 중 아이디가 원본 전자 문서의 객체형 문서에 포함된 객체들의 아이디에 매칭되는 객체와 매칭되지 않는 객체를 검출하고, 편집된 객체형 문서 및 원본 전자 문서의 객체형 문서에 기초하여 상기 원본 전자 문서를 갱신하되, 상기 원본 전자 문서에 포함된 객체들 중 매칭되는 객체에 대응하는 객체의 서식을 원본 전자 문서의 객체형 문서에 포함된 객체의 서식에 기초하여 설정하고, 상기 원본 전자 문서에 포함된 객체들 중 매칭되지 않는 객체에 대응하는 객체의 서식을 상기 편집된 객체형 문서에 포함된 객체의 서식에 기초하여 설정함으로써, 클라이언트 단말이 브라우저를 통해 편집을 수행하지 않은 객체의 서식이 원본 전자 문서 상에서 변경되는 것을 방지하는 것을 가능하게 할 수 있다.An apparatus for editing a document and a method of operating the same according to an embodiment of the present invention edit an object type document based on an editing command from a user, and change the object ID of the object that is the target of the editing command in the object type document. Edits an object-type document, detects an object whose ID does not match an object whose ID matches the IDs of objects included in the object type document of the original electronic document, among the objects included in the edited object type document, and edits the object type Update the original electronic document based on a document and an object type document of the original electronic document, and format the object corresponding to the matching object among the objects included in the original electronic document in the object type document of the original electronic document. The object of the object corresponding to the unmatched object among the objects included in the original electronic document is set based on the format of the object. A, by setting on the basis of the format of the objects included in the edited object-type document, it is possible to make it possible to prevent the non perform editing client terminal via a browser object format to be changed on the original electronic document.

도 1은 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치를 포함하는 문서 편집 시스템의 구조를 도시한 도면이다.1 is a diagram illustrating a structure of a document editing system including a document editing apparatus for maintaining a format of an object according to an embodiment of the present invention.

도 2는 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치의 동작 과정을 예시한 도면이다.2 is a diagram illustrating an operation process of a document editing apparatus maintaining a format of an object according to an embodiment of the present invention.

도 3은 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치의 동작 방법을 도시한 순서도이다.3 is a flowchart illustrating a method of operating a document editing apparatus maintaining a format of an object according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다. As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. In describing the drawings, similar reference numerals are used for similar elements.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.

이하에서, 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치(100)를 포함하는 문서 편집 시스템(10)의 구조를 도시한 도면이다.1 is a diagram illustrating a structure of a document editing system 10 including a document editing apparatus 100 that maintains a format of an object according to an embodiment of the present invention.

도 1을 참조하면, 문서 편집 시스템(10)은 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치(100)와 클라이언트 단말(180)을 포함하며, 문서 편집 장치(100)는 원본 전자 문서 저장부(110), 객체형 문서 생성부(120), 객체형 문서 송신부(130), 편집 명령 수신부(140), 객체형 문서 편집부(150), 객체 검출부(160) 및 원본 전자 문서 갱신부(170)를 포함한다.Referring to FIG. 1, the document editing system 10 includes a document editing apparatus 100 and a client terminal 180 that maintain a format of an object according to an embodiment of the present invention. Original electronic document storage unit 110, object type document generating unit 120, object type document sending unit 130, editing command receiving unit 140, object type document editing unit 150, object detection unit 160 and the original electronic document The update unit 170 is included.

이하에서는 도 2에 도시된 도면을 참조하여 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치(100)의 구조에 대해 예를 들어 상세히 설명하기로 한다.Hereinafter, a structure of the document editing apparatus 100 that maintains the format of an object according to an embodiment of the present invention will be described in detail with reference to the drawings illustrated in FIG. 2.

도 2는 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치의 동작 과정을 예시한 도면이다.2 is a diagram illustrating an operation process of a document editing apparatus maintaining a format of an object according to an embodiment of the present invention.

원본 전자 문서 저장부(110)는 "hwp"나 "docx" 등의 확장자를 갖는 원본 전자 문서(210)를 저장할 수 있다. 도 2에 예시된 바와 같이, 원본 전자 문서(210)에는 “123” 및 “456”이라고 하는 텍스트 객체가 삽입되어 있다.The original electronic document storage unit 110 may store the original electronic document 210 having an extension such as "hwp" or "docx". As illustrated in FIG. 2, text objects called “123” and “456” are inserted into the original electronic document 210.

여기에서, 원본 전자 문서(210)에 포함된 객체 “123” 및 “456”의 서식 정보는 표 1과 같이 나타낼 수 있다.Here, the format information of the objects “123” and “456” included in the original electronic document 210 may be represented as shown in Table 1.

객체Object 서식Format 123123 “진하게”, “기울임”"Dark", "tilt" 456456 “진하게”, “기울임”, “밑줄”"Dark", "tilt", "underline"

여기서, 객체는 전자 문서에 삽입될 수 있는 도형, 이미지, 표, 텍스트 등과 같은 다양한 콘텐츠들을 의미한다. 도형의 경우 하나의 도형마다 하나의 객체이고, 표의 경우 표가 하나의 객체이며, 표 안에 삽입된 도형, 이미지, 표, 텍스트 등도 각각마다 하나의 객체이고, 텍스트의 경우 서식이 동일한 단어, 소정 길이의 문자열이 하나의 객체일 수 있다. 그리고, 서식은 객체의 색상, 형태 등을 의미하는 것으로, 객체가 텍스트인 경우에는 텍스트의 글꼴, 색상, 크기 등을 텍스트 객체에 대한 서식이라고 할 수 있고, 객체가 표인 경우에는 표에 포함되어 있는 셀의 색상 등이 표 객체에 대한 서식이라고 할 수 있다.Here, the object refers to various contents such as a figure, an image, a table, text, and the like that can be inserted into an electronic document. In the case of figures, one object per figure, and in the case of tables, one object is used.In the case of figures, images, tables, and texts inserted in tables, each object is one object. The string of may be an object. In addition, the format refers to the color and shape of the object. When the object is text, the font, color, and size of the text may be referred to as a format for the text object. When the object is a table, the format is included in the table. The color of the cell is the format for the table object.

객체형 문서 생성부(120)는 원본 전자 문서 저장부(110)에 저장된 원본 전자 문서(210)를 파싱함으로써 객체형 문서(220, 230)를 생성할 수 있다. 여기서, 객체형 문서는 JSON(JavaScript Object Notation)과 같은 키-밸류 포맷(Key-Value Format) 문서일 수 있다.The object type document generating unit 120 may generate the object type documents 220 and 230 by parsing the original electronic document 210 stored in the original electronic document storage unit 110. Here, the object type document may be a key-value format document such as JavaScript Object Notation (JSON).

객체형 문서 생성부(120)는 원본 전자 문서(210)로부터 클라이언트 단말(180)의 편집 대상이 되는 제1 객체형 문서(220) 및 제1 객체형 문서(220)와 비교하여 편집이 수행되지 않은 객체의 서식을 유지하기 위한 제2 객체형 문서(230)를 생성할 수 있다.The object type document generating unit 120 does not perform editing compared to the first object type document 220 and the first object type document 220 that are to be edited by the client terminal 180 from the original electronic document 210. The second object type document 230 may be generated to maintain a format of an object that is not.

이때, 객체형 문서 생성부(120)는 객체들에 아이디를 할당할 수 있다. 예를 들어, 객체형 문서 생성부(120)는 객체형 문서(220, 230)에 포함된 객체들의 객체형 문서(220, 230) 내에서의 순서에 따라, 객체들에 아이디를 할당할 수 있다. 이에 따라, 객체들은 서로 다른 아이디를 가질 수 있다.In this case, the object type document generation unit 120 may assign IDs to objects. For example, the object type document generator 120 may assign IDs to the objects according to the order in the object type documents 220 and 230 of the objects included in the object type documents 220 and 230. . Accordingly, the objects may have different IDs.

예를 들어, 객체형 문서 생성부(120)는, 하기 표 2와 같이, 객체형 문서(220, 230)에 포함된 객체들(즉, “123”과 “456”) 중 첫 번째 객체(즉, “123”)에 대하여 아이디로서 1번을 할당하고, 두 번째 객체(즉, “456”)에 대하여 아이디로서 2번을 할당함으로써 객체들에 아이디를 할당할 수 있다. 이에 따라, 객체형 문서(220, 230)에 포함된 객체들(즉, “123”과 “456”)은 원본 전자 문서(210)로부터 객체형 문서(220, 230)가 생성되는 시점과 관계없이 언제나 동일한 아이디가 할당될 수 있다. 즉, 제1 객체형 문서(220)에 포함된 객체들은 이들에 대응하는 제2 객체형 문서(230)에 포함된 객체들과 동일한 아이디를 가질 수 있다. 이하에서는 객체 “123”을 1번 객체라고 하고, “456”을 2번 객체라고 한다.For example, the object-type document generating unit 120, as shown in Table 2 below, the first object (ie, "123" and "456") included in the object-type document (220, 230) (that is, , “123”) can be assigned to IDs by assigning 1 as the ID and 2 to the second object (ie, “456”). Accordingly, the objects (ie, “123” and “456”) included in the object type documents 220 and 230 are irrespective of when the object type documents 220 and 230 are generated from the original electronic document 210. The same ID can always be assigned. That is, the objects included in the first object type document 220 may have the same ID as the objects included in the second object type document 230 corresponding thereto. Hereinafter, the object "123" is called object 1 and "456" is called object 2.

객체Object 아이디ID 123123 id_1id_1 456456 id_2id_2

여기에서, 객체형 문서(220, 230)에 포함된 객체 “123” 및 “456”의 서식 정보는 원본 전자 문서(210)에 포함된 객체 “123” 및 “456”의 서식 정보와 동일하다.객체형 문서 송신부(130)는 생성된 제1 객체형 문서(220)를 클라이언트 단말(180)로 송신한다. 이에 따라, 클라이언트 단말(180)은 수신된 제1 객체형 문서(220)를 브라우저를 통해 마크업 언어(Markup Language) 기반 문서로 변환한 후 편집을 수행하고, 수행된 편집에 기초하여 문서 편집 장치(100)로 편집 명령을 전송할 수 있다. 여기서, 마크업 언어 기반 문서는 HTML(Hypertext Markup Language)이나 XML(eXtensible Markup Language)과 같은 클라이언트 단말(180)에 설치되어 있는 브라우저를 통해서 열람이 가능한 마크업 언어로 구성된 문서를 의미한다.Here, the format information of the objects “123” and “456” included in the object type documents 220 and 230 is the same as the format information of the objects “123” and “456” included in the original electronic document 210. The object type document transmitter 130 transmits the generated first object type document 220 to the client terminal 180. Accordingly, the client terminal 180 converts the received first object type document 220 into a Markup Language-based document through a browser and then performs editing, and based on the edited operation, the document editing device The editing command may be transmitted to 100. Here, the markup language-based document refers to a document composed of a markup language that can be viewed through a browser installed in the client terminal 180 such as Hypertext Markup Language (HTML) or XML (eXtensible Markup Language).

이때, 클라이언트 단말(180)이 수신된 제1 객체형 문서(220)를 브라우저를 통해 마크업 언어 기반 문서로 변환한 후 편집을 수행하는 경우, 브라우저를 통해 표현되지 않는 서식에 대한 정보들은 사라질 수 있다. 예를 들어, 브라우저가 “기울임”이라는 서식을 지원하지 않는 경우, 클라이언트 단말(180)이 수신된 제1 객체형 문서(220)를 브라우저를 통해 마크업 언어 기반 문서로 변환한 후 편집을 수행하면, 객체들에 대한 서식들 중“기울임”이라는 서식에 대한 정보가 손실될 수 있다. 이에 따라, 원본 전자 문서 상에서 사용자가 의도하지 않은 서식에 대한 편집이 이루어질 수 있다.In this case, when the client terminal 180 converts the received first object type document 220 into a markup language-based document through a browser and edits the received information, information about a format that is not expressed through the browser may disappear. have. For example, if the browser does not support a form called "tilt", when the client terminal 180 converts the received first object type document 220 into a markup language-based document through a browser and then edits it, In this case, information about the "tilt" of the forms for the objects may be lost. Accordingly, editing on a form not intended by the user on the original electronic document can be made.

편집 명령 수신부(140)는 클라이언트 단말(180)이 전송한 편집 명령을 수신할 수 있다.The editing command receiving unit 140 may receive an editing command transmitted from the client terminal 180.

객체형 문서 편집부(150)는 클라이언트 단말(180)로부터의 편집 명령에 기초하여 상기 제1 객체형 문서(220)를 편집하고, 상기 제1 객체형 문서(220)에서 상기 편집 명령의 대상이 되는 객체의 아이디를 변경한다. 이에 따라, 제1 객체형 문서(220)에 포함된 객체들은 이들에 대응하는 제2 객체형 문서(230)에 포함된 객체들과 서로 다른 아이디를 가질 수 있다.The object type document editing unit 150 edits the first object type document 220 based on an editing command from the client terminal 180, and becomes the object of the editing command in the first object type document 220. Change the ID of an object. Accordingly, the objects included in the first object type document 220 may have different IDs from the objects included in the second object type document 230 corresponding to the objects.

객체 검출부(160)는 객체형 문서 편집부(150)에서 편집된 제1 객체형 문서에 포함된 객체들 중 아이디가 상기 제2 객체형 문서(230)에 포함된 객체들의 아이디에 매칭되는 객체를 제1 객체로 검출하고, 매칭되지 않는 객체를 제2 객체로 검출한다.The object detector 160 removes an object whose ID matches among IDs of the objects included in the second object type document 230 among objects included in the first object type document edited by the object type document editing unit 150. Detects as one object and detects an unmatched object as a second object.

원본 전자 문서 갱신부(170)는 상기 편집된 제1 객체형 문서 및 상기 제2 객체형 문서(230)에 기초하여 상기 원본 전자 문서(210)를 갱신한다. 구체적으로, 원본 전자 문서 갱신부(170)는 상기 편집된 제1 객체형 문서에서 편집된 사항들을 상기 원본 전자 문서(210)에 반영하되, 상기 원본 전자 문서(210)에 포함된 객체들 중 제1 객체에 대응하는 객체의 서식을 상기 제1 객체에 매칭되는 상기 제2 객체형 문서(230)에 포함된 객체의 서식에 기초하여 설정하고, 상기 원본 전자 문서(210)에 포함된 객체들 중 제2 객체에 대응하는 객체의 서식을 상기 편집된 제1 객체형 문서에 포함된 상기 제2 객체의 서식에 기초하여 설정함으로써 상기 원본 전자 문서(210)를 갱신한다. The original electronic document updater 170 updates the original electronic document 210 based on the edited first object type document and the second object type document 230. In detail, the original electronic document updater 170 reflects the edited matters in the edited first object-type document to the original electronic document 210, and includes the first of the objects included in the original electronic document 210. The format of the object corresponding to the first object is set based on the format of the object included in the second object type document 230 matching the first object, and among the objects included in the original electronic document 210. The original electronic document 210 is updated by setting a format of an object corresponding to a second object based on the format of the second object included in the edited first object type document.

이하에서는, 구체적인 편집 명령의 예를 들어, 객체형 문서 편집부(150), 객체 검출부(160) 및 원본 전자 문서 갱신부(170)가 제1 객체형 문서(220)를 편집하고, 편집된 제1 객체형 문서에 기초하여 원본 전자 문서를 갱신하는 과정을 설명하기로 한다.Hereinafter, as an example of a specific editing command, the object type document editing unit 150, the object detecting unit 160, and the original electronic document updating unit 170 edit the first object type document 220 and edit the first edited first object. A process of updating the original electronic document based on the object type document will be described.

1. 편집 명령이 서식 변경 명령인 경우1. If the edit command is a format change command

편집 명령 수신부(140)가 수신한 편집 명령이 서식 변경 명령인 경우, 객체형 문서 편집부(150)는 상기 제1 객체형 문서(220)에서 상기 편집 명령의 대상이 되는 객체의 아이디를 상기 제2 객체형 문서(230)에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 변경한다.When the editing command received by the editing command receiving unit 140 is a format changing command, the object type document editing unit 150 determines the ID of the object that is the target of the editing command in the first object type document 220. Change to an ID that does not match the IDs of the objects included in the object type document 230.

도 2에 예시된 바와 같이, 편집 명령 수신부(140)가 수신한 편집 명령이 편집 명령이 1번 객체에 밑줄을 그어라는 서식 변경 명령인 경우, 객체형 문서 편집부(150)에 의해 제1 객체형 문서(220)에서 상기 편집 명령의 대상이 되는 1번 객체의 아이디(즉, id_1)는 하기 표 3과 같이 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디(예컨대, id_3)로 변경될 수 있다.As illustrated in FIG. 2, when the editing command received by the editing command receiving unit 140 is a format change command that the editing command underlines the object 1, the object type document editing unit 150 causes the first object type. The ID (ie, id_1) of the first object that is the target of the editing command in the document 220 does not match the ID of the objects included in the second object type document (eg, id_3) as shown in Table 3 below. Can be changed to

객체Object 아이디ID 123123 id_3id_3 456456 id_2id_2

객체형 문서 편집부(150)의 편집 명령에 기초한 편집 동작에 의해, 1번 객체는 서식 정보에 “밑줄”이 더 추가될 수 있다. 또한, 브라우저가 지원하지 않는 “기울임”이라는 서식에 대한 정보가 손실될 수 있다. 이에 따라, 객체형 문서 편집부(150)에 의해 편집된 제1 객체형 문서(240)에 포함된 1, 2번 객체의 서식 정보는 표 4와 같이 나타낼 수 있다.By the editing operation based on the editing command of the object-type document editing unit 150, an object 1 may further be added with an underscore to the format information. In addition, you may lose information about a form called "tilt" that your browser does not support. Accordingly, the format information of objects 1 and 2 included in the first object type document 240 edited by the object type document editing unit 150 may be represented as shown in Table 4 below.

객체Object 서식Format 123123 “진하게”, “밑줄”"Dark", "underscore" 456456 “진하게”, “밑줄”"Dark", "underscore"

다음으로, 상기 편집된 제1 객체형 문서(240)에 포함된 객체들 중 2번 객체의 아이디(즉, id_2)가 상기 제2 객체형 문서(230)에 포함된 객체들 중 2번 객체의 아이디(즉, id_2)에 매칭되므로, 객체 검출부(160)는 2번 객체를 제1 객체로 검출할 수 있다. 마찬가지로, 상기 편집된 제1 객체형 문서(240)에 포함된 객체들 중 1번 객체의 아이디(즉, id_3)가 상기 제2 객체형 문서(230)에 포함된 객체들 중 어느 객체의 아이디에도 매칭되지 않으므로, 객체 검출부(160)는 1번 객체를 제2 객체로 검출할 수 있다.원본 전자 문서 갱신부(170)는 상기 편집된 제1 객체형 문서(240) 및 상기 제2 객체형 문서(230)에 기초하여 상기 원본 전자 문서(210)를 갱신함으로써, 갱신된 원본 전자 문서(245)를 생성한다.Next, the ID (ie, id_2) of the second object among the objects included in the edited first object type document 240 is the second object among the objects included in the second object type document 230. Since it matches the ID (ie, id_2), the object detector 160 may detect the second object as the first object. Similarly, the ID (ie, id_3) of the first object among the objects included in the edited first object type document 240 may be set to the ID of any object among the objects included in the second object type document 230. Since there is no match, the object detector 160 may detect the first object as the second object. The original electronic document updater 170 may edit the edited first object type document 240 and the second object type document. The updated original electronic document 245 is generated by updating the original electronic document 210 based on 230.

이때, 상기 갱신된 원본 전자 문서(245)에 포함된 2번 객체(즉, “456”)는 상기 편집된 제1 객체형 문서(240)에서 객체 검출부(160)에 의해 제1 객체로 검출된 객체(즉, “456”)에 대응하므로, 원본 전자 문서 갱신부(170)는 2번 객체의 서식을 상기 제1 객체에 매칭되는 상기 제2 객체형 문서(230)에 포함된 객체의 서식에 기초하여 설정함으로써 상기 원본 전자 문서(210)를 갱신한다. 마찬가지로, 상기 갱신된 원본 전자 문서(245)에 포함된 1번 객체(즉, “123”)는 상기 편집된 제1 객체형 문서(240)에서 객체 검출부(160)에 의해 제2 객체로 검출된 객체(즉, “123”)에 대응하므로, 원본 전자 문서 갱신부(170)는 1번 객체의 서식을 상기 편집된 제1 객체형 문서(240)에 포함된 상기 제2 객체의 서식에 기초하여 설정함으로써 상기 원본 전자 문서(210)를 갱신한다.In this case, the second object (ie, “456”) included in the updated original electronic document 245 is detected as the first object by the object detector 160 in the edited first object type document 240. Since it corresponds to an object (that is, "456"), the original electronic document updater 170 sets the format of the object 2 to the format of the object included in the second object-type document 230 matching the first object. By setting on the basis, the original electronic document 210 is updated. Similarly, the first object (ie, “123”) included in the updated original electronic document 245 is detected as the second object by the object detector 160 in the edited first object type document 240. Since it corresponds to an object (ie, “123”), the original electronic document updater 170 may format the first object based on the format of the second object included in the edited first object-type document 240. By setting, the original electronic document 210 is updated.

원본 전자 문서 갱신부(170)에 의해 갱신된 원본 전자 문서(245)에 포함된 객체들의 서식 정보는 표 5와 같이 나타낼 수 있다.The format information of the objects included in the original electronic document 245 updated by the original electronic document updater 170 may be shown in Table 5.

객체Object 서식Format 123123 “진하게”, “밑줄”"Dark", "underscore" 456456 “진하게”, “기울임”, “밑줄”"Dark", "tilt", "underline"

이에 따라, 사용자가 편집하지 않은 2번 객체에 대한 서식이 변경되지 않을 수 있다.Accordingly, the format for the second object not edited by the user may not be changed.

2. 편집 명령이 객체의 일부 2. The edit command is part of the object 개체에 대한 서식 변경Change formatting for an object 명령인 경우Command

편집 명령 수신부(140)가 수신한 편집 명령이 객체의 일부 개체에 대한 서식 변경 명령인 경우, 객체형 문서 편집부(150)는 편집 명령의 대상이 되는 상기 일부 개체를 제3 객체로 설정하고, 상기 제3 객체의 아이디를 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 설정하며, 나머지 개체를 제4 객체로 설정하고, 상기 제4 객체의 아이디를 상기 편집 명령의 대상이 되는 객체의 아이디와 동일한 아이디로 설정한다.When the editing command received by the editing command receiving unit 140 is a format changing command for some objects of the object, the object type document editing unit 150 sets the some object that is the target of the editing command as a third object, and Set the ID of the third object to an ID that does not match the IDs of the objects included in the second object type document, set the remaining objects to the fourth object, and set the ID of the fourth object to be the target of the editing command. Set the same ID as the object ID.

도 2에 예시된 바와 같이, 편집 명령 수신부(140)가 수신한 편집 명령이 편집 명령이 1번 객체 중 “2”라는 개체에 밑줄을 그어라는 서식 변경 명령인 경우, 하기 표 6과 같이, 객체형 문서 편집부(150)에 의해 제1 객체형 문서(220)에서 상기 편집 명령의 대상이 되는 1번 객체의 “2”라는 개체는 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디(예컨대, id_3)를 가지는 객체로 설정되고, “1” 및 “3”이라는 개체는 상기 편집 명령의 대상이 되는 1번 객체의 아이디(즉, id_1)와 동일한 아이디(즉, id_1)로 설정한다.As illustrated in FIG. 2, when the editing command received by the editing command receiving unit 140 is a format changing command that underlies an object “2” of the first object, as shown in Table 6 below, the object In the first object type document 220 by the type document editing unit 150, the object “2” of the object 1 that is the target of the editing command does not match the ID of the objects included in the second object type document. An object having an ID (eg, id_3) is set, and objects “1” and “3” are set to the same ID (ie, id_1) as ID (ie, id_1) of object 1 that is the target of the editing command. do.

객체Object 아이디ID 1One id_1id_1 22 id_3id_3 33 id_1id_1 456456 id_2id_2

객체형 문서 편집부(150)의 편집 명령에 기초한 편집 동작에 의해, id_3라는 아이디를 가지는 객체는 서식 정보에 “밑줄”이 더 추가될 수 있다. 또한, 브라우저가 지원하지 않는 “기울임”이라는 서식에 대한 정보가 손실될 수 있다. 이에 따라, 객체형 문서 편집부(150)에 의해 편집된 제1 객체형 문서(250)에 포함된 객체들의 서식 정보는 표 7과 같이 나타낼 수 있다.By the editing operation based on the editing command of the object-type document editing unit 150, an object having an id of id_3 may further have “underscore” added to the format information. In addition, you may lose information about a form called "tilt" that your browser does not support. Accordingly, the format information of the objects included in the first object type document 250 edited by the object type document editing unit 150 may be represented as shown in Table 7.

객체Object 서식Format 1One “진하게”"thick" 22 “진하게”, “밑줄”"Dark", "underscore" 33 “진하게”"thick" 456456 “진하게”, “밑줄”"Dark", "underscore"

다음으로, 상기 편집된 제1 객체형 문서(250)에 포함된 객체들 중 id_1 및 id_2라는 아이디를 가지는 객체들이 상기 제2 객체형 문서(230)에 포함된 객체들에 매칭되므로, 객체 검출부(160)는 id_1 및 id_2라는 아이디를 가지는 객체들을 제1 객체로 검출할 수 있다. 마찬가지로, 상기 편집된 제1 객체형 문서(250)에 포함된 객체들 중 id_3이라는 아이디를 가지는 객체가 상기 제2 객체형 문서(230)에 포함된 객체들 중 어느 객체에도 매칭되지 않으므로, 객체 검출부(160)는 id_3이라는 아이디를 가지는 객체를 제2 객체로 검출할 수 있다.원본 전자 문서 갱신부(170)는 상기 편집된 제1 객체형 문서(250) 및 상기 제2 객체형 문서(230)에 기초하여 상기 원본 전자 문서(210)를 갱신함으로써, 갱신된 원본 전자 문서(255)를 생성한다.Next, since the objects with id_1 and id_2 among the objects included in the edited first object type document 250 match the objects included in the second object type document 230, the object detection unit ( 160 may detect objects having ids id_1 and id_2 as first objects. Similarly, the object having an id of id_3 among the objects included in the edited first object type document 250 does not match any of the objects included in the second object type document 230, and thus, the object detector The 160 may detect an object having an id of id_3 as a second object. The original electronic document updater 170 may edit the edited first object type document 250 and the second object type document 230. The original electronic document 255 is generated by updating the original electronic document 210 based on.

이때, 상기 갱신된 원본 전자 문서(255)에 포함된 “1”, “3” 및 “456”이라는 텍스트를 가지는 객체들은 상기 편집된 제1 객체형 문서(250)에서 객체 검출부(160)에 의해 제1 객체로 검출된 객체들(즉, id_1 및 id_2라는 아이디를 가지는 객체들)에 대응하므로, 원본 전자 문서 갱신부(170)는 “1”, “3” 및 “456”이라는 텍스트를 가지는 객체들의 서식을 상기 제1 객체에 매칭되는 상기 제2 객체형 문서(230)에 포함된 객체의 서식에 기초하여 설정함으로써 상기 원본 전자 문서(210)를 갱신한다. 마찬가지로, 상기 갱신된 원본 전자 문서(255)에 포함된 “2”이라는 텍스트를 가지는 객체는 상기 편집된 제1 객체형 문서(250)에서 객체 검출부(160)에 의해 제2 객체로 검출된 객체(즉, id_3이라는 아이디를 가지는 객체)에 대응하므로, 원본 전자 문서 갱신부(170)는 “2”이라는 텍스트를 가지는 객체의 서식을 상기 “2”이라는 텍스트를 가지는 객체에 매칭되는 상기 편집된 제1 객체형 문서(240)에 포함된 상기 제2 객체의 서식에 기초하여 설정함으로써 상기 원본 전자 문서(210)를 갱신한다.In this case, the objects having the texts “1”, “3” and “456” included in the updated original electronic document 255 are selected by the object detector 160 in the edited first object type document 250. Since it corresponds to objects detected as the first object (that is, objects having IDs id_1 and id_2), the original electronic document updater 170 may have objects having the text “1”, “3” and “456”. The original electronic document 210 is updated by setting the style of the text based on the format of the object included in the second object type document 230 matching the first object. Similarly, the object having the text “2” included in the updated original electronic document 255 is an object detected by the object detector 160 in the edited first object type document 250 as a second object. That is, the object having an ID of id_3), and the original electronic document updating unit 170 may format the object having the text of “2” with the edited first matching the object having the text of “2”. The original electronic document 210 is updated by setting based on the format of the second object included in the object type document 240.

원본 전자 문서 갱신부(170)에 의해 갱신된 원본 전자 문서(255)에 포함된 객체들의 서식 정보는 표 8과 같이 나타낼 수 있다.The format information of the objects included in the original electronic document 255 updated by the original electronic document updater 170 may be represented as shown in Table 8.

객체Object 서식Format 1One “진하게”, “기울임”"Dark", "tilt" 22 “진하게”, “밑줄”"Dark", "underscore" 33 “진하게”, “기울임”"Dark", "tilt" 456456 “진하게”, “기울임”, “밑줄”"Dark", "tilt", "underline"

이에 따라, 사용자가 편집하지 않은 id_1 및 id_2라는 아이디를 가지는 객체들에 대응하는 객체에 대한 서식이 변경되지 않을 수 있다.Accordingly, the format of the objects corresponding to the objects having ids id_1 and id_2 not edited by the user may not be changed.

3. 편집 명령이 복사 및 3. Edit command to copy and 붙여넣기paste 명령인 경우Command

편집 명령 수신부(140)가 수신한 편집 명령이 복사 및 붙여넣기 명령인 경우, 객체형 문서 편집부(150)는 상기 제1 객체형 문서(220)에서 붙여넣어지는 객체의 아이디를 상기 복사의 대상이 되는 객체의 아이디와 동일하게 설정한다.When the editing command received by the editing command receiving unit 140 is a copying and pasting command, the object type document editing unit 150 sets the ID of the object pasted in the first object type document 220 as the target of the copying. Set the same as the ID of the object being created.

도 2에 예시된 바와 같이, 편집 명령 수신부(140)가 수신한 편집 명령이 편집 명령이 1번 객체를 복사해서 붙여넣으라는 명령인 경우, 하기 표 9와 같이, 객체형 문서 편집부(150)에 의해 제1 객체형 문서(220)에서 붙여넣어지는 객체의 아이디를 상기 복사의 대상이 되는 1번 객체의 아이디(즉, id_1)와 동일하게 설정한다.As illustrated in FIG. 2, when the editing command received by the editing command receiving unit 140 is a command for copying and pasting an object No. 1, the object-type document editing unit 150 as shown in Table 9 below. The ID of the object pasted from the first object type document 220 is set to be the same as the ID (ie, id_1) of the first object to be copied.

객체Object 아이디ID 123123 id_1id_1 456456 id_2id_2 123123 id_1id_1

객체형 문서 편집부(150)의 편집 명령에 기초한 편집 동작에 의해, 붙여넣어지는 객체의 서식 정보는 복사의 대상이 되는 1번 객체의 서식 정보와 동일할 수 있다. 또한, 브라우저가 지원하지 않는 “기울임”이라는 서식에 대한 정보가 손실될 수 있다. 이에 따라, 객체형 문서 편집부(150)에 의해 편집된 제1 객체형 문서(260)에 포함된 객체들의 서식 정보는 표 10과 같이 나타낼 수 있다.By the editing operation based on the editing command of the object type document editing unit 150, the format information of the pasted object may be the same as the format information of the object No. 1 to be copied. In addition, you may lose information about a form called "tilt" that your browser does not support. Accordingly, the format information of the objects included in the first object type document 260 edited by the object type document editing unit 150 may be expressed as shown in Table 10 below.

객체Object 서식Format 123123 “진하게”"thick" 456456 “진하게”, “밑줄”"Dark", "underscore" 123123 “진하게”"thick"

다음으로, 상기 편집된 제1 객체형 문서(260)에 포함된 모든 객체들이 상기 제2 객체형 문서(230)에 포함된 객체들에 매칭되므로, 객체 검출부(160)는 모든 객체들을 제1 객체로 검출할 수 있다.원본 전자 문서 갱신부(170)는 상기 편집된 제1 객체형 문서(260) 및 상기 제2 객체형 문서(230)에 기초하여 상기 원본 전자 문서(210)를 갱신함으로써, 갱신된 원본 전자 문서(265)를 생성한다.Next, since all the objects included in the edited first object type document 260 match objects included in the second object type document 230, the object detector 160 selects all objects as the first object. The original electronic document updating unit 170 updates the original electronic document 210 based on the edited first object type document 260 and the second object type document 230. An updated original electronic document 265 is generated.

이때, 상기 갱신된 원본 전자 문서(265)에 포함된 객체들은 상기 편집된 제1 객체형 문서(260)에서 객체 검출부(160)에 의해 제1 객체로 검출된 객체들에 대응하므로, 원본 전자 문서 갱신부(170)는 모든 객체들의 서식을 상기 제1 객체에 매칭되는 상기 제2 객체형 문서(230)에 포함된 객체의 서식에 기초하여 설정함으로써 상기 원본 전자 문서(210)를 갱신한다.In this case, the objects included in the updated original electronic document 265 correspond to the objects detected as the first object by the object detector 160 in the edited first object type document 260, and thus, the original electronic document 265. The updater 170 updates the original electronic document 210 by setting a format of all objects based on a format of an object included in the second object type document 230 matching the first object.

원본 전자 문서 갱신부(170)에 의해 갱신된 원본 전자 문서(265)에 포함된 객체들의 서식 정보는 표 11과 같이 나타낼 수 있다.The format information of the objects included in the original electronic document 265 updated by the original electronic document updater 170 may be represented as shown in Table 11.

객체Object 서식Format 123123 “진하게”, “기울임”"Dark", "tilt" 456456 “진하게”, “기울임”, “밑줄”"Dark", "tilt", "underline" 123123 “진하게”, “기울임”"Dark", "tilt"

이에 따라, 사용자가 편집하지 않은 모든 객체에 대한 서식이 변경되지 않을 수 있다.Accordingly, the format of all objects not edited by the user may not be changed.

4. 편집 명령이 새로운 객체의 삽입 4. Edit command inserts new object 명령인 경우Command

편집 명령 수신부(140)가 수신한 편집 명령이 새로운 객체의 삽입 명령인 경우, 객체형 문서 편집부(150)는 상기 제1 객체형 문서(220)에서 상기 편집 명령의 대상이 되는 객체의 아이디를 상기 제2 객체형 문서(230)에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 설정한다.When the editing command received by the editing command receiving unit 140 is an inserting command of a new object, the object type document editing unit 150 identifies the ID of the object that is the target of the editing command in the first object type document 220. The IDs which do not match the IDs of the objects included in the second object type document 230 are set.

도 2에 예시된 바와 같이, 편집 명령 수신부(140)가 수신한 편집 명령이 편집 명령이 새로운 텍스트 객체를 삽입하라는 삽입 명령인 경우, 객체형 문서 편집부(150)에 의해 제1 객체형 문서(220)에서 상기 편집 명령의 대상이 되는 새로운 텍스트 객체(즉, “789”)의 아이디는 하기 표 12와 같이 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디(예컨대, id_3)로 변경될 수 있다.As illustrated in FIG. 2, when the editing command received by the editing command receiving unit 140 is an inserting command for inserting a new text object, the object type document editing unit 150 causes the first object type document 220 to be inserted. ), The ID of the new text object (ie, “789”) that is the target of the editing command is an ID (eg, id_3) that does not match the ID of the objects included in the second object type document as shown in Table 12 below. can be changed.

객체Object 아이디ID 123123 id_1id_1 456456 id_2id_2 789789 id_3id_3

객체형 문서 편집부(150)의 편집 명령에 기초한 편집 동작에 의해, 새로운 텍스트 객체의 서식 정보는 디폴트값을 가질 수 있다. 또한, 브라우저가 지원하지 않는 “기울임”이라는 서식에 대한 정보가 손실될 수 있다. 이에 따라, 객체형 문서 편집부(150)에 의해 편집된 제1 객체형 문서(270)에 포함된 객체들의 서식 정보는 표 13과 같이 나타낼 수 있다.By the editing operation based on the editing command of the object type document editing unit 150, the format information of the new text object may have a default value. In addition, you may lose information about a form called "tilt" that your browser does not support. Accordingly, the format information of the objects included in the first object type document 270 edited by the object type document editing unit 150 may be represented as shown in Table 13.

객체Object 서식Format 123123 “진하게”"thick" 456456 “진하게”, “밑줄”"Dark", "underscore" 789789 “진하게”"thick"

다음으로, 상기 편집된 제1 객체형 문서(270)에 포함된 객체들 중 1, 2번 객체들이 상기 제2 객체형 문서(230)에 포함된 객체들에 매칭되므로, 객체 검출부(160)는 1, 2번 객체들을 제1 객체로 검출할 수 있다. 마찬가지로, 상기 편집된 제1 객체형 문서(270)에 포함된 객체들 중 새로운 텍스트 객체의 아이디(즉, id_3)가 상기 제2 객체형 문서(230)에 포함된 객체들 중 어느 객체의 아이디에도 매칭되지 않으므로, 객체 검출부(160)는 새로운 텍스트 객체를 제2 객체로 검출할 수 있다.원본 전자 문서 갱신부(170)는 상기 편집된 제1 객체형 문서(270) 및 상기 제2 객체형 문서(230)에 기초하여 상기 원본 전자 문서(210)를 갱신함으로써, 갱신된 원본 전자 문서(275)를 생성한다.Next, since objects 1 and 2 of the objects included in the edited first object type document 270 match objects included in the second object type document 230, the object detector 160 may Objects 1 and 2 may be detected as the first object. Similarly, the ID (ie, id_3) of the new text object among the objects included in the edited first object type document 270 may be set to the ID of any of the objects included in the second object type document 230. Since there is no match, the object detector 160 may detect a new text object as a second object. The original electronic document updater 170 may edit the edited first object type document 270 and the second object type document. The updated original electronic document 275 is generated by updating the original electronic document 210 based on 230.

이때, 상기 갱신된 원본 전자 문서(275)에 포함된 1, 2번 객체는 상기 편집된 제1 객체형 문서(270)에서 객체 검출부(160)에 의해 제1 객체로 검출된 객체들에 대응하므로, 원본 전자 문서 갱신부(170)는 1, 2번 객체의 서식을 상기 제1 객체에 매칭되는 상기 제2 객체형 문서(230)에 포함된 객체의 서식에 기초하여 설정함으로써 상기 원본 전자 문서(210)를 갱신한다. 마찬가지로, 상기 갱신된 원본 전자 문서(275)에 포함된 새로운 텍스트 객체는 상기 편집된 제1 객체형 문서(270)에서 객체 검출부(160)에 의해 제2 객체로 검출된 새로운 텍스트 객체에 대응하므로, 원본 전자 문서 갱신부(170)는 새로운 텍스트 객체의 서식을 상기 새로운 텍스트 객체에 매칭되는 상기 편집된 제1 객체형 문서(270)에 포함된 상기 제2 객체의 서식에 기초하여 설정함으로써 상기 원본 전자 문서(210)를 갱신한다.In this case, objects 1 and 2 included in the updated original electronic document 275 correspond to objects detected by the object detector 160 as the first object in the edited first object type document 270. The original electronic document updater 170 sets the format of the first and second objects based on the format of the object included in the second object-type document 230 matching the first object. 210 is updated. Similarly, the new text object included in the updated original electronic document 275 corresponds to the new text object detected by the object detector 160 as the second object in the edited first object type document 270. The original electronic document updater 170 sets the format of the new text object based on the format of the second object included in the edited first object type document 270 matching the new text object. Update document 210.

원본 전자 문서 갱신부(170)에 의해 갱신된 원본 전자 문서(275)에 포함된 객체들의 서식 정보는 표 14와 같이 나타낼 수 있다.The format information of the objects included in the original electronic document 275 updated by the original electronic document updater 170 may be represented as shown in Table 14.

객체Object 서식Format 123123 “진하게”, “기울임”"Dark", "tilt" 456456 “진하게”, “기울임”, “밑줄”"Dark", "tilt", "underline" 789789 “진하게”"thick"

이에 따라, 사용자가 편집하지 않은 1, 2번 객체에 대한 서식이 변경되지 않을 수 있다. Accordingly, the format for objects 1 and 2 not edited by the user may not be changed.

상술한 바와 같은 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치에 따르면, 사용자로부터의 편집 명령에 기초하여 객체형 문서를 편집하되, 객체형 문서에서 편집 명령의 대상이 되는 객체의 아이디를 변경함으로써 객체형 문서를 편집하고, 상기 편집된 객체형 문서에 포함된 객체들 중 아이디가 원본 전자 문서의 객체형 문서에 포함된 객체들의 아이디에 매칭되는 객체와 매칭되지 않는 객체를 검출하고, 편집된 객체형 문서 및 원본 전자 문서의 객체형 문서에 기초하여 상기 원본 전자 문서를 갱신하되, 상기 원본 전자 문서에 포함된 객체들 중 매칭되는 객체에 대응하는 객체의 서식을 원본 전자 문서의 객체형 문서에 포함된 객체의 서식에 기초하여 설정하고, 상기 원본 전자 문서에 포함된 객체들 중 매칭되지 않는 객체에 대응하는 객체의 서식을 상기 편집된 객체형 문서에 포함된 객체의 서식에 기초하여 설정함으로써, 클라이언트 단말이 브라우저를 통해 편집을 수행하지 않은 객체의 서식이 원본 전자 문서 상에서 변경되는 것을 방지하는 것을 가능하게 할 수 있다.According to the document editing apparatus for maintaining the format of the object according to an embodiment of the present invention as described above, the object to edit the object type document based on the editing command from the user, the object of the editing command in the object type document Edit the object type document by changing the ID of the object, and detect an object that does not match an object whose ID matches the IDs of the objects included in the object type document of the original electronic document among the objects included in the edited object type document. And update the original electronic document based on the edited object type document and the object type document of the original electronic document, and format the object corresponding to the matching object among the objects included in the original electronic document. Set based on the format of the object included in the object type document, and to the unmatched object among the objects included in the original electronic document By setting the format of the corresponding object based on the format of the object included in the edited object type document, it is possible to prevent the client terminal from changing the format of the object on which the editing has not been performed through the browser on the original electronic document. It can be done.

도 3은 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치의 동작 방법을 도시한 순서도이다.3 is a flowchart illustrating a method of operating a document editing apparatus maintaining a format of an object according to an embodiment of the present invention.

단계(S310)에서는 원본 전자 문서 저장부에 저장된 원본 전자 문서를 파싱함으로써 아이디가 할당된 객체들을 포함하는 제1 및 2 객체형 문서를 생성한다.In operation S310, first and second object-type documents including objects assigned with IDs are generated by parsing the original electronic document stored in the original electronic document storage unit.

단계(S330)에서는 사용자로부터의 편집 명령에 기초하여 상기 제1 객체형 문서를 편집하되, 상기 제1 객체형 문서에서 상기 편집 명령의 대상이 되는 객체의 아이디를 변경함으로써 상기 제1 객체형 문서를 편집한다.In step S330, the first object type document is edited based on an editing command from a user, and the first object type document is changed by changing an ID of an object that is a target of the editing command in the first object type document. Edit.

단계(S350)에서는 상기 편집된 제1 객체형 문서에 포함된 객체들 중 아이디가 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되는 객체를 제1 객체로 검출하고, 매칭되지 않는 객체를 제2 객체로 검출한다.In operation S350, among the objects included in the edited first object type document, an object whose ID matches the IDs of the objects included in the second object type document is detected as a first object, and an object that does not match is detected. Detect as a second object.

단계(S370)에서는 상기 편집된 제1 객체형 문서 및 상기 제2 객체형 문서에 기초하여 상기 원본 전자 문서를 갱신하되, 제1 객체에 대응하는 객체의 서식을 상기 제1 객체에 매칭되는 상기 제2 객체형 문서에 포함된 객체의 서식에 기초하여 설정하고, 제2 객체에 대응하는 객체의 서식을 상기 편집된 제1 객체형 문서에 포함된 상기 제2 객체의 서식에 기초하여 설정한다.In operation S370, the original electronic document is updated based on the edited first object type document and the second object type document, and the first object matching a format of an object corresponding to the first object to the first object. 2 is set based on the format of the object included in the object-type document, and the format of the object corresponding to the second object is set based on the format of the second object included in the edited first object-type document.

이때, 본 발명의 일실시예에 따르면, 단계(S330)에서는 상기 편집 명령이 서식 변경 명령인 경우, 상기 제1 객체형 문서에서 상기 편집 명령의 대상이 되는 객체의 아이디를 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 변경한다.At this time, according to an embodiment of the present invention, in step S330, if the editing command is a format change command, the ID of the object that is the target of the editing command in the first object type document is the second object type document. Change to an ID that does not match the ID of the objects in the.

이때, 본 발명의 일실시예에 따르면, 단계(S330)에서는 상기 제1 객체형 문서를 편집하는 단계는 상기 편집 명령이 객체에 포함된 개체들 중 일부 개체에 대한 서식 변경 명령인 경우, 상기 일부 개체를 제3 객체로 설정하고, 상기 제3 객체의 아이디를 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 설정하고, 나머지 개체를 제4 객체로 설정하고, 상기 제4 객체의 아이디를 상기 편집 명령의 대상이 되는 객체의 아이디와 동일한 아이디로 설정함으로써, 상기 편집 명령의 대상이 되는 객체의 아이디를 변경한다.In this case, according to an embodiment of the present invention, in the step S330, when the editing of the first object-type document is a format change command for some of the objects included in the editing command, the partial Set an object as a third object, set the ID of the third object to an ID that does not match the IDs of the objects included in the second object type document, set the remaining object to the fourth object, and set the fourth object. By setting the ID of the object to the same ID as that of the object to be edited, the ID of the object to be edited is changed.

이때, 본 발명의 일실시예에 따르면, 단계(S330)에서는 상기 제1 객체형 문서를 편집하는 단계는 상기 편집 명령이 복사 명령 및 붙여넣기 명령인 경우, 상기 제1 객체형 문서에서 상기 붙여넣기 명령의 대상이 되는 객체의 아이디를 상기 복사 명령의 대상이 되는 객체의 아이디와 동일한 아이디로 설정함으로써, 상기 편집 명령의 대상이 되는 객체의 아이디를 변경한다.In this case, according to an embodiment of the present invention, in the step S330, in the editing of the first object-type document, when the editing command is a copy command and a paste command, the paste in the first object-type document is performed. The ID of the object that is the target of the editing command is changed by setting the ID of the object that is the target of the command to the same ID as the ID of the object that is the target of the copy command.

이때, 본 발명의 일실시예에 따르면, 단계(S330)에서는 상기 객체형 문서 편집부는 상기 편집 명령에 의해 새로운 객체가 상기 객체형 문서에 삽입된 경우, 상기 새롭게 삽입된 객체의 아이디를 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 설정함으로써, 상기 편집 명령의 대상이 되는 객체의 아이디를 변경한다.In this case, according to an embodiment of the present invention, in step S330, when the new object is inserted into the object type document by the editing command, the object type document editing unit sets the ID of the newly inserted object in the second type. By setting an ID that does not match the IDs of the objects included in the object type document, the ID of the object that is the target of the editing command is changed.

이상, 도 3을 참조하여 본 발명의 일실시예에 객체의 서식을 유지하는 문서 편집 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치의 동작 방법의 동작 방법은 도 1과 도 2를 이용하여 설명한 객체의 서식을 유지하는 문서 편집 장치(100)의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.In the above, with reference to FIG. 3, an operation method of the document editing apparatus for maintaining the format of an object has been described. Here, the operation method of the operation method of the document editing apparatus for maintaining the format of the object according to an embodiment of the present invention to the operation of the document editing apparatus 100 for maintaining the format of the object described with reference to Figs. Since it may correspond to the configuration for a more detailed description thereof will be omitted.

본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.An operation method of a document editing apparatus for maintaining a format of an object according to an embodiment of the present invention may be implemented as a computer program stored in a storage medium for execution by combining with a computer.

또한, 본 발명의 일실시예에 따른 객체의 서식을 유지하는 문서 편집 장치의 동작 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.In addition, the operating method of the document editing apparatus for maintaining the format of an object according to an embodiment of the present invention may be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. In the present invention as described above has been described by the specific embodiments, such as specific components and limited embodiments and drawings, but this is provided to help a more general understanding of the present invention, the present invention is not limited to the above embodiments. For those skilled in the art, various modifications and variations are possible from these descriptions.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be limited to the described embodiments, and all the things that are equivalent to or equivalent to the claims as well as the following claims will belong to the scope of the present invention. .

Claims (12)

원본 전자 문서 저장부에 저장된 원본 전자 문서를 파싱함으로써 아이디가 할당된 객체들을 포함하는 제1 및 2 객체형 문서를 생성하는 객체형 문서 생성부;An object type document generation unit configured to generate first and second object type documents including objects to which an ID is assigned by parsing the original electronic document stored in the original electronic document storage unit; 클라이언트 단말로부터의 편집 명령에 기초하여 상기 제1 객체형 문서를 편집하되, 상기 제1 객체형 문서에서 상기 편집 명령의 대상이 되는 객체의 아이디를 변경함으로써 상기 제1 객체형 문서를 편집하는 객체형 문서 편집부;An object type for editing the first object type document based on an editing command from a client terminal, wherein the first object type document is edited by changing an ID of an object that is a target of the editing command in the first object type document. A document editing unit; 상기 편집된 제1 객체형 문서에 포함된 객체들 중 아이디가 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되는 객체를 제1 객체로 검출하고, 매칭되지 않는 객체를 제2 객체로 검출하는 객체 검출부; 및Among the objects included in the edited first object type document, an object whose ID matches the IDs of the objects included in the second object type document is detected as the first object, and an unmatched object is detected as the second object. An object detector; And 상기 편집된 제1 객체형 문서 및 상기 제2 객체형 문서에 기초하여 상기 원본 전자 문서를 갱신하되, 제1 객체에 대응하는 객체의 서식을 상기 제1 객체에 매칭되는 상기 제2 객체형 문서에 포함된 객체의 서식에 기초하여 설정하고, 제2 객체에 대응하는 객체의 서식을 상기 편집된 제1 객체형 문서에 포함된 상기 제2 객체의 서식에 기초하여 설정하는 원본 전자 문서 갱신부Update the original electronic document based on the edited first object type document and the second object type document, and format a format of an object corresponding to the first object to the second object type document that matches the first object type document. An original electronic document updater that sets based on a format of an included object and sets a format of an object corresponding to a second object based on a format of the second object included in the edited first object type document 를 포함하는 객체의 서식을 유지하는 문서 편집 장치.Document editing device for maintaining the formatting of the object containing. 제1항에 있어서,The method of claim 1, 상기 객체형 문서 편집부는 상기 편집 명령이 서식 변경 명령인 경우, 상기 제1 객체형 문서에서 상기 편집 명령의 대상이 되는 객체의 아이디를 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 변경하는When the editing command is a format change command, the object type document editing unit does not match the ID of the object that is the target of the editing command in the first object type document to the ID of the objects included in the second object type document. Change to id 객체의 서식을 유지하는 문서 편집 장치.Document editing device that preserves the formatting of objects. 제2항에 있어서,The method of claim 2, 상기 객체형 문서 편집부는 상기 편집 명령이 객체에 포함된 개체들 중 일부 개체에 대한 서식 변경 명령인 경우, 상기 일부 개체를 제3 객체로 설정하고, 상기 제3 객체의 아이디를 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 설정하고, 나머지 개체를 제4 객체로 설정하고, 상기 제4 객체의 아이디를 상기 편집 명령의 대상이 되는 객체의 아이디와 동일한 아이디로 설정함으로써, 상기 편집 명령의 대상이 되는 객체의 아이디를 변경하는 When the editing command is a format change command for some of the objects included in the object, the object type document editing unit sets the some object as a third object, and sets the ID of the third object as the second object type. By setting the IDs that do not match the IDs of the objects included in the document, setting the remaining objects as the fourth objects, and setting the IDs of the fourth objects to the same IDs as the IDs of the objects to be edited. Changing the ID of the object that is the target of the editing command 객체의 서식을 유지하는 문서 편집 장치.Document editing device that preserves the formatting of objects. 제3항에 있어서,The method of claim 3, 상기 객체형 문서 편집부는 상기 편집 명령이 복사 명령 및 붙여넣기 명령인 경우, 상기 제1 객체형 문서에서 상기 붙여넣기 명령의 대상이 되는 객체의 아이디를 상기 복사 명령의 대상이 되는 객체의 아이디와 동일한 아이디로 설정함으로써, 상기 편집 명령의 대상이 되는 객체의 아이디를 변경하는 When the editing command is a copy command and a paste command, the object type document editing unit may have an ID of an object that is the target of the paste command in the first object type document equal to the ID of an object that is the target of the copy command. By setting the ID, the ID of the object that is the target of the editing command is changed. 객체의 서식을 유지하는 문서 편집 장치.Document editing device that preserves the formatting of objects. 제4항에 있어서,The method of claim 4, wherein 상기 객체형 문서 편집부는 상기 편집 명령에 의해 새로운 객체가 상기 객체형 문서에 삽입된 경우, 상기 새롭게 삽입된 객체의 아이디를 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 설정함으로써, 상기 편집 명령의 대상이 되는 객체의 아이디를 변경하는When the new object is inserted into the object type document by the editing command, the object type document editing unit sets the ID of the newly inserted object to an ID that does not match the ID of the objects included in the second object type document. By changing the ID of the object that is the target of the editing command 객체의 서식을 유지하는 문서 편집 장치.Document editing device that preserves the formatting of objects. 원본 전자 문서 저장부에 저장된 원본 전자 문서를 파싱함으로써 아이디가 할당된 객체들을 포함하는 제1 및 2 객체형 문서를 생성하는 단계;Parsing the original electronic document stored in the original electronic document storage to generate first and second object type documents including objects to which an ID is assigned; 클라이언트 단말로부터의 편집 명령에 기초하여 상기 제1 객체형 문서를 편집하되, 상기 제1 객체형 문서에서 상기 편집 명령의 대상이 되는 객체의 아이디를 변경함으로써 상기 제1 객체형 문서를 편집하는 단계;Editing the first object type document based on an editing command from a client terminal, and editing the first object type document by changing an ID of an object that is a target of the editing command in the first object type document; 상기 편집된 제1 객체형 문서에 포함된 객체들 중 아이디가 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되는 객체를 제1 객체로 검출하고, 매칭되지 않는 객체를 제2 객체로 검출하는 단계; 및Among the objects included in the edited first object type document, an object whose ID matches the IDs of the objects included in the second object type document is detected as the first object, and an unmatched object is detected as the second object. Making; And 상기 편집된 제1 객체형 문서 및 상기 제2 객체형 문서에 기초하여 상기 원본 전자 문서를 갱신하되, 제1 객체에 대응하는 객체의 서식을 상기 제1 객체에 매칭되는 상기 제2 객체형 문서에 포함된 객체의 서식에 기초하여 설정하고, 제2 객체에 대응하는 객체의 서식을 상기 편집된 제1 객체형 문서에 포함된 상기 제2 객체의 서식에 기초하여 설정하는 단계Update the original electronic document based on the edited first object type document and the second object type document, and format a format of an object corresponding to the first object to the second object type document that matches the first object type document. Setting based on a format of an included object, and setting a format of an object corresponding to a second object based on a format of the second object included in the edited first object type document. 를 포함하는 객체의 서식을 유지하는 문서 편집 장치의 동작 방법.Method of operation of the document editing device to maintain the format of the object containing. 제6항에 있어서,The method of claim 6, 상기 제1 객체형 문서를 편집하는 단계는 상기 편집 명령이 서식 변경 명령인 경우, 상기 제1 객체형 문서에서 상기 편집 명령의 대상이 되는 객체의 아이디를 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 변경하는In the editing of the first object type document, when the editing command is a format change command, an ID of an object that is a target of the editing command in the first object type document may be determined by using the object included in the second object type document. Change to an ID that does not match the ID 객체의 서식을 유지하는 문서 편집 장치의 동작 방법.How a document editing device works to preserve the formatting of objects. 제7항에 있어서,The method of claim 7, wherein 상기 제1 객체형 문서를 편집하는 단계는 상기 편집 명령이 객체에 포함된 개체들 중 일부 개체에 대한 서식 변경 명령인 경우, 상기 일부 개체를 제3 객체로 설정하고, 상기 제3 객체의 아이디를 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 설정하고, 나머지 개체를 제4 객체로 설정하고, 상기 제4 객체의 아이디를 상기 편집 명령의 대상이 되는 객체의 아이디와 동일한 아이디로 설정함으로써, 상기 편집 명령의 대상이 되는 객체의 아이디를 변경하는 In the editing of the first object type document, when the editing command is a format change command for some of the objects included in the object, the partial object is set as a third object, and the ID of the third object is set. Set an ID that does not match the IDs of the objects included in the second object type document, set the remaining objects as the fourth object, and set the ID of the fourth object equal to the ID of the object that is the target of the editing command. By setting the ID, the ID of the object that is the target of the editing command is changed. 객체의 서식을 유지하는 문서 편집 장치의 동작 방법.How a document editing device works to preserve the formatting of objects. 제8항에 있어서,The method of claim 8, 상기 제1 객체형 문서를 편집하는 단계는 상기 편집 명령이 복사 명령 및 붙여넣기 명령인 경우, 상기 제1 객체형 문서에서 상기 붙여넣기 명령의 대상이 되는 객체의 아이디를 상기 복사 명령의 대상이 되는 객체의 아이디와 동일한 아이디로 설정함으로써, 상기 편집 명령의 대상이 되는 객체의 아이디를 변경하는 In the editing of the first object-type document, when the editing command is a copy command and a paste command, an ID of an object that is a target of the paste command in the first object-type document becomes a target of the copy command. Changing the ID of the object that is the target of the editing command by setting the same ID as the object ID 객체의 서식을 유지하는 문서 편집 장치의 동작 방법.How a document editing device works to preserve the formatting of objects. 제9항에 있어서,The method of claim 9, 상기 객체형 문서 편집부는 상기 편집 명령에 의해 새로운 객체가 상기 객체형 문서에 삽입된 경우, 상기 새롭게 삽입된 객체의 아이디를 상기 제2 객체형 문서에 포함된 객체들의 아이디에 매칭되지 않는 아이디로 설정함으로써, 상기 편집 명령의 대상이 되는 객체의 아이디를 변경하는When the new object is inserted into the object type document by the editing command, the object type document editing unit sets the ID of the newly inserted object to an ID that does not match the ID of the objects included in the second object type document. By changing the ID of the object that is the target of the editing command 객체의 서식을 유지하는 문서 편집 장치의 동작 방법.How a document editing device works to preserve the formatting of objects. 제6항 내지 제10항 중 어느 한 항의 방법을 컴퓨터로 하여금 수행하도록 하는 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer readable recording medium having recorded thereon a program for causing a computer to perform the method of any one of claims 6 to 10. 제6항 내지 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium for executing the method of any one of claims 6 to 10 in combination with a computer.
PCT/KR2018/005056 2017-05-15 2018-05-02 Document editing device for maintaining format of object, and operation method therefor Ceased WO2018212484A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020170059929A KR101774257B1 (en) 2017-05-15 2017-05-15 Document editing apparatus for maintaining style of object and operating method thereof
KR10-2017-0059929 2017-05-15

Publications (1)

Publication Number Publication Date
WO2018212484A1 true WO2018212484A1 (en) 2018-11-22

Family

ID=59924338

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/005056 Ceased WO2018212484A1 (en) 2017-05-15 2018-05-02 Document editing device for maintaining format of object, and operation method therefor

Country Status (2)

Country Link
KR (1) KR101774257B1 (en)
WO (1) WO2018212484A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102013620B1 (en) * 2017-11-28 2019-08-23 주식회사 한글과컴퓨터 Web based document editing server for changing template of web based document and operating method thereof
KR101991306B1 (en) * 2018-04-13 2019-06-20 주식회사 한글과컴퓨터 Apparatus for changing object property of figure based on conditional form and operating method thereof
KR102053075B1 (en) * 2018-05-17 2019-12-06 주식회사 한글과컴퓨터 Apparatus for editing electric document and operating method thereof
KR102067495B1 (en) * 2018-06-04 2020-01-17 주식회사 한글과컴퓨터 System for editing electronic document and operating method thereof
KR102144351B1 (en) * 2018-11-05 2020-08-13 주식회사 한글과컴퓨터 Electronic terminal device supporting easy undo processing of electronic document and operating method thereof
KR102168323B1 (en) * 2018-12-13 2020-10-21 주식회사 한글과컴퓨터 Electronic terminal apparatus for document editing to handle synchronization of format attribute between objects inserted in a document and operating method thereof
KR102187543B1 (en) * 2019-02-07 2020-12-07 주식회사 한글과컴퓨터 Electronic terminal device for processing web-based document editing in cooperation with a document editing server and operating method thereof
KR102300417B1 (en) * 2019-06-18 2021-09-09 주식회사 한글과컴퓨터 Electronic device that enable automatic matching of chart areas and legend areas in chart images embedded in electronic document and operating method thereof
KR102566908B1 (en) * 2021-03-11 2023-08-14 주식회사 한글과컴퓨터 Electronic terminal device for generating object guide frame on the page of a presentation document, and the opreating method thereof
KR102639463B1 (en) * 2021-06-07 2024-02-22 (주)현대엠아이비인터내셔널 Method for sharing memo of web page using matching common id information
KR102531310B1 (en) * 2022-12-22 2023-05-10 류장근 Web based spreadsheets service providing apparatus and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010055959A (en) * 1999-12-13 2001-07-04 오길록 Storing and recovering apparatus and method of sgml/xml entities for information reuse in document management system
KR20010110671A (en) * 2000-01-31 2001-12-13 엑스엠엘시티즈 인코포레이티드 Method and apparatus for generating structured documents for various presentation
KR20020050295A (en) * 2000-03-17 2002-06-26 아끼구사 나오유끼 Computer-readable recorded medium on which document creating program is recorded, document creating system, and document creating method
KR20060077559A (en) * 2004-12-30 2006-07-05 주식회사 엔리치텍 Method of producing document form using meta file and recording medium storing program that can execute this method on computer
US20130138733A1 (en) * 2011-11-25 2013-05-30 Matthias Heinrich Universal collaboration adapter for web editors

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7188309B2 (en) 2002-06-28 2007-03-06 Microsoft Corporation Resolving document object collisions
KR101485788B1 (en) 2014-03-28 2015-01-26 주식회사 한글과컴퓨터 Screen division rendering based electronic document display apparatus and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010055959A (en) * 1999-12-13 2001-07-04 오길록 Storing and recovering apparatus and method of sgml/xml entities for information reuse in document management system
KR20010110671A (en) * 2000-01-31 2001-12-13 엑스엠엘시티즈 인코포레이티드 Method and apparatus for generating structured documents for various presentation
KR20020050295A (en) * 2000-03-17 2002-06-26 아끼구사 나오유끼 Computer-readable recorded medium on which document creating program is recorded, document creating system, and document creating method
KR20060077559A (en) * 2004-12-30 2006-07-05 주식회사 엔리치텍 Method of producing document form using meta file and recording medium storing program that can execute this method on computer
US20130138733A1 (en) * 2011-11-25 2013-05-30 Matthias Heinrich Universal collaboration adapter for web editors

Also Published As

Publication number Publication date
KR101774257B1 (en) 2017-09-04

Similar Documents

Publication Publication Date Title
WO2018212484A1 (en) Document editing device for maintaining format of object, and operation method therefor
WO2018004025A1 (en) Document collaboration device supporting simultaneous style editing of entity, and method for operating same
WO2018026033A1 (en) Document collaboration support apparatus for supporting simultaneous editing of document and operating method thereof
KR101859775B1 (en) Sharable distributed dictionary for applications
WO2021045547A1 (en) Method for automatically creating user-customized document, and device and server for same
US8903710B2 (en) Synchro translation verification test for software applications
WO2018004020A1 (en) Device and method for verifying matching of simultaneous edits for markup language-based document
CN111294232B (en) Computer system for multiple document editor
CN105468137A (en) Electronic device and method for multi-modal fusion
WO2018004021A1 (en) Device for supporting collaboration for co-editing electronic document, and method for operating same
WO2016032080A1 (en) Chart conversion system using metadata and method therefor
WO2020215680A1 (en) Method and apparatus for automatically generating pojo class, and storage medium and computer device
WO2018194323A1 (en) Client terminal device for supporting editing of web document and operating method thereof
WO2017204368A1 (en) Web-based spreadsheet service providing device and method
WO2018212485A1 (en) Client terminal device capable of pasting external content with respect to web document according to style attribute supported by web document editing tool and operation method thereof
US10282174B2 (en) Software layout processing localization
WO2013028009A2 (en) Smart office system, server for operation, and operation method
CN112783482B (en) Visual form generation method, device, equipment and storage medium
WO2018212486A1 (en) Device for synchronizing combination character of markup language-based document, and operating method thereof
WO2016032267A1 (en) Responsive web page generation method for converting document into responsive web page
CN105279032B (en) A method and device for synchronizing interface message and javaBean
WO2018169168A1 (en) Electronic document management system and method for providing user-specific translation dictionaries
WO2018004027A1 (en) Web-based electronic document service device capable of authenticating for document editing, and method for operating same
KR102013620B1 (en) Web based document editing server for changing template of web based document and operating method thereof
CN115237619A (en) Text copy control method, device, equipment and storage medium

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: 18801591

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: 18801591

Country of ref document: EP

Kind code of ref document: A1