KR102253751B1 - A System for Generating Documents by Integrating Word-Processor and Database and a Method Therefore - Google Patents

A System for Generating Documents by Integrating Word-Processor and Database and a Method Therefore Download PDF

Info

Publication number
KR102253751B1
KR102253751B1 KR1020200133572A KR20200133572A KR102253751B1 KR 102253751 B1 KR102253751 B1 KR 102253751B1 KR 1020200133572 A KR1020200133572 A KR 1020200133572A KR 20200133572 A KR20200133572 A KR 20200133572A KR 102253751 B1 KR102253751 B1 KR 102253751B1
Authority
KR
South Korea
Prior art keywords
data
word processor
loaded
template
file
Prior art date
Application number
KR1020200133572A
Other languages
Korean (ko)
Inventor
손현성
남도현
Original Assignee
주식회사 위키랩
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 주식회사 위키랩 filed Critical 주식회사 위키랩
Priority to KR1020200133572A priority Critical patent/KR102253751B1/en
Application granted granted Critical
Publication of KR102253751B1 publication Critical patent/KR102253751B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/183Tabulation, i.e. one-dimensional positioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The present invention relates to a system for generating a document by interlinking a word processor with a database, and a method therefor. Provided are a document generation system and an operating method thereof. The document generation system comprises: a template loading unit which includes a table, and loads a word processor template including an identifier of the table and an identifier of at least some cells among one or more cells included in the table; a data loading unit which receives one or more pieces of data to be inserted into the table included in the word processor template from a database and loads the received data into a memory; a binding unit which connects the loaded word processor template to the loaded data and generates one or more pieces of metadata; and a file generation unit for generating a word processor file including the data in the word processor template based on the metadata. According to the present invention, the system enables fast and accurate insertion and edition of data.

Description

워드프로세서와 데이터베이스를 연동하여 문서를 생성하는 시스템 및 방법 {A System for Generating Documents by Integrating Word-Processor and Database and a Method Therefore}{A System for Generating Documents by Integrating Word-Processor and Database and a Method Therefore}

본 발명은 워드프로세서와 데이터베이스를 연동하여 문서를 생성하는 시스템 및 방법에 관한 것으로, 보다 상세하게는 데이터베이스에 기재된 데이터들을 이용하여 동일 또는 유사한 포맷의 문서파일을 생성할 때에, 별도의 문서 편집 작업 등이 없이도, 통일성있는 문서를 자동으로 생성할 수 있도록 하는 시스템 및 방법에 관한 것이다.The present invention relates to a system and method for generating a document by linking a word processor and a database, and more particularly, when creating a document file of the same or similar format using data described in the database, a separate document editing operation, etc. Even without this, it relates to a system and method for automatically generating a uniform document.

관공서나 민간기업 등에서 정해진 서식의 문서를 대량 작성하여 출력해야 하는 경우, 워드프로세서 문서 파일의 템플릿을 저장해 두고, 사용자가 워드프로세서를 이용하여 해당 템플릿에 필요한 정보를 채워 넣어 문서를 완성하게 된다.When a large number of documents in a prescribed format are created and printed by government offices or private companies, the template of the word processor document file is saved, and the user fills in the necessary information in the template using a word processor to complete the document.

그러나, 이와 같이 사용자가 직접 데이터를 입력하는 경우에 실수에 의해 데이터가 잘못 입력되는 경우도 있고, 다수의 문서를 제작해야 하는 경우에는 불필요한 반복 작업으로 시간을 소모하게 되는 문제가 있다.However, when the user directly inputs data as described above, there is a problem in that the data is incorrectly inputted by mistake, and when a large number of documents are to be produced, there is a problem in that time is consumed by unnecessary repetitive work.

이에 따라서, 종래기술인 한국등록특허 10-1122629호, "데이터베이스의 데이터를 변환하여 XML 문서를 생성하는 방법"과 같이 데이터베이스에 저장된 데이터를 이용하여 XML 형태의 전자문서를 자동으로 생성하는 기술들이 개발되어 활용되고 있으나, 웹페이지 등에서 정보를 출력하는 경우에는 이와 같은 XML 형태의 데이터를 활용할 수도 있지만, 이는 출력하여 인쇄물 형태로 제작하는데 어려움이 있고, 문서의 일부를 사용자가 직접 편집하고자 하는 것이 매우 어렵다는 문제점이 있었다.Accordingly, technologies for automatically generating an electronic document in XML format using data stored in a database, such as Korean Patent Registration No. 10-1122629, which is a prior art, "How to convert data in a database to generate an XML document" have been developed. Although it is being used, it is possible to use data in XML format when outputting information from a web page, etc., but it is difficult to print it out and produce it in a printed form, and it is very difficult for the user to directly edit a part of the document. There was this.

따라서, 사용자에게 익숙한 워드프로세서를 이용하면서도, 단순한 데이터 입력 작업 등을 반복하지 않고 필요한 문서를 대량으로 정확하게 생성할 수 있도록 하는 방법이 요구된다.Accordingly, there is a need for a method of accurately generating a large amount of necessary documents without repeating simple data input operations, while using a word processor familiar to the user.

한국등록특허 제10-1122629호Korean Patent Registration No. 10-1122629

본 발명은 데이터베이스에 저장된 정보를 워드프로세서 템플릿에 반영하여 복수의 전자문서를 손쉽게 생성할 수 있도록 하는 것을 목적으로 한다.An object of the present invention is to make it possible to easily generate a plurality of electronic documents by reflecting information stored in a database to a word processor template.

본 발명은 표와 셀에 식별자 정보를 부여하고, 이를 기초로 필요한 데이터를 필요한 위치에 삽입하여 문서를 생성할 수 있도록 하는 것을 목적으로 한다.An object of the present invention is to create a document by assigning identifier information to a table and a cell, and inserting necessary data at a required position based on this information.

본 발명은 데이터와 워드프로세서 템플릿을 연동하기 위한 정보를 메타 데이터로 생성하여 문서의 생성 과정 내내 메모리에 상주시키도록 함으로써, 빠르고 정확한 데이터 삽입 및 편집이 가능하도록 하는 것을 목적으로 한다.An object of the present invention is to enable fast and accurate data insertion and editing by generating information for linking data and a word processor template as meta data to reside in a memory throughout the document creation process.

본 발명은 복수 개의 데이터가 삽입되는 경우에 워드프로세서 템플릿의 표를 수정하여 해당 데이터가 삽입될 수 있는 셀을 생성하고, 여기에 데이터를 삽입하도록 하여, 다양한 형태의 데이터도 쉽게 삽입할 수 있도록 하는 것을 목적으로 한다.In the present invention, when a plurality of data is inserted, a table of a word processor template is modified to create a cell into which the corresponding data can be inserted, and the data is inserted thereto, so that various types of data can be easily inserted. It is aimed at.

본 발명은 데이터 삽입 과정에서 생성된 셀과 워드프로세서 템플릿에 포함된 셀을 구분하도록 식별자를 부여함으로써, 입력된 데이터를 삭제하거나 재삽입하는 것이 가능하도록 하는 것을 목적으로 한다.An object of the present invention is to make it possible to delete or reinsert input data by assigning an identifier to distinguish between a cell generated in a data insertion process and a cell included in a word processor template.

이러한 목적을 달성하기 위하여 본 발명의 일실시예에 따른 문서 생성 시스템은 표를 포함하고, 상기 표의 식별자 및 상기 표에 포함된 하나 이상의 셀 중 적어도 일부의 셀의 식별자를 포함하는 워드프로세서 템플릿을 로딩하는 템플릿 로딩부, 상기 워드프로세서 템플릿에 포함된 상기 표에 삽입될 하나 이상의 데이터를 데이터베이스로부터 수신하여 메모리에 로딩하는 데이터 로딩부, 상기 로딩된 워드프로세서 템플릿 및 상기 로딩된 데이터를 연결시키고, 하나 이상의 메타 데이터를 생성하는 바인딩부 및 상기 메타 데이터를 기초로 상기 워드프로세서 템플릿에 상기 데이터를 포함시킨 워드프로세서 파일을 생성하는 파일 생성부를 포함하여 구성될 수 있다.In order to achieve this object, a document generation system according to an embodiment of the present invention loads a word processor template including a table and including an identifier of the table and an identifier of at least some cells among one or more cells included in the table. A template loading unit that receives one or more data to be inserted into the table included in the word processor template and loads it into a memory, and connects the loaded word processor template and the loaded data, and at least one It may include a binding unit for generating meta data and a file generating unit for generating a word processor file including the data in the word processor template based on the meta data.

이 때, 상기 바인딩부는 상기 로딩된 데이터가 삽입될 표의 위치 정보를 포함하는 제1 메타 데이터를 생성하고, 상기 파일 생성부는 상기 제1 메타 데이터를 참조하여 로딩된 하나 이상의 데이터 각각이 삽입될 위치를 결정하고, 결정된 위치에 각각의 데이터를 삽입하여 워드프로세서 파일을 생성할 수 있다.In this case, the binding unit generates first meta data including position information of a table into which the loaded data is to be inserted, and the file generator refers to the first meta data to determine a location where each of the loaded data is to be inserted. It is possible to determine and insert each data in the determined location to generate a word processor file.

또한, 상기 바인딩부는 상기 로딩된 데이터의 표현 형태를 포함하는 제2 메타 데이터를 생성하고, 상기 파일 생성부는 상기 제2 메타 데이터를 참조하여, 상기 결정된 위치에 각각의 데이터를 각각의 표현 형태에 맞게 삽입하여 워드프로세서 파일을 생성할 수 있다.In addition, the binding unit generates second metadata including the expression type of the loaded data, and the file generation unit refers to the second metadata, and stores each data in the determined position according to each expression type. You can insert it to create a word processor file.

또한, 상기 바인딩부는 상기 워드프로세서 템플릿에 포함된 표의 서식 정보를 포함하는 제3 메타 데이터를 생성하고, 상기 파일 생성부는 상기 제3 메타 데이터를 참조하여, 상기 워드프로세서 템플릿에 포함된 표의 서식을 변경하여 상기 워드프로세서 파일을 생성할 수 있다.In addition, the binding unit generates third metadata including format information of a table included in the word processor template, and the file generation unit changes the format of the table included in the word processor template by referring to the third metadata. Thus, the word processor file can be generated.

한편, 상기 워드프로세서 템플릿에 포함된 표는 표의 셀이 변동되지 않고 데이터가 삽입되는 단순표와 표의 셀이 추가되면서 복수의 데이터가 삽입되는 멀티표로 구분되고, 상기 데이터 로딩부는 상기 데이터를 삽입할 표가 멀티표인 경우, 데이터 어레이의 형태로 상기 데이터를 로딩하고, 상기 바인딩부는 상기 데이터 어레이 형태로 로딩된 데이터를 나타내는 메타 데이터를 생성하고, 상기 파일 생성부는 상기 메타 데이터를 참조하여, 상기 워드프로세서 템플릿에서 상기 데이터가 삽입될 표를 수정하고, 상기 수정된 표에 상기 로딩된 데이터를 삽입할 수 있다.Meanwhile, the table included in the word processor template is divided into a simple table into which data is inserted without changing the cells of the table, and a multi table into which a plurality of data is inserted while the cells of the table are added, and the data loading unit is a table into which the data is inserted. When is a multi-table, the data is loaded in the form of a data array, the binding unit generates meta data representing the loaded data in the data array form, and the file generator refers to the meta data, and the word processor In the template, a table into which the data is to be inserted may be modified, and the loaded data may be inserted into the modified table.

이 때, 상기 파일 생성부는 상기 메타 데이터를 참조하여, 상기 데이터 어레이의 길이를 확인하고, 상기 데이터 어레이의 길이에 대응되는 개수만큼 상기 데이터가 삽입될 표의 셀을 추가할 수 있다.In this case, the file generator may check the length of the data array by referring to the meta data, and add cells of the table into which the data is to be inserted by a number corresponding to the length of the data array.

또한, 상기 파일 생성부는 상기 메타 데이터를 참조하여, 상기 추가된 셀에 식별자를 부여하고, 상기 로딩된 데이터 중 상기 식별자에 대응되는 데이터를 상기 식별자에 대응되는 셀에 삽입할 수 있다.In addition, the file generator may assign an identifier to the added cell by referring to the metadata, and insert data corresponding to the identifier among the loaded data into a cell corresponding to the identifier.

또한, 상기 파일 생성부는 상기 워드프로세서 템플릿에 포함되어 있는 셀과 상기 추가된 셀을 구별하여 상기 식별자를 부여하고, 데이터 재삽입 명령이 수신되면, 상기 부여된 식별자를 확인하여 추가된 셀을 제거하고, 상기 메타 데이터를 참고하여, 상기 데이터가 삽입될 표를 다시 수정할 수 있다.In addition, the file generation unit distinguishes the cell included in the word processor template from the added cell and assigns the identifier, and when a data reinsertion command is received, checks the assigned identifier and removes the added cell. , With reference to the metadata, the table into which the data is to be inserted may be modified again.

본 발명에 따르면 데이터베이스에 저장된 정보를 워드프로세서 템플릿에 반영하여 복수의 전자문서를 손쉽게 생성할 수 있다.According to the present invention, it is possible to easily generate a plurality of electronic documents by reflecting information stored in a database to a word processor template.

본 발명에 따르면 표와 셀에 식별자 정보를 부여하고, 이를 기초로 필요한 데이터를 필요한 위치에 삽입하여 문서를 생성할 수 있도록 한다.According to the present invention, identifier information is assigned to a table and a cell, and necessary data is inserted in a required position based on the identifier information so that a document can be generated.

본 발명에 따르면 데이터와 워드프로세서 템플릿을 연동하기 위한 정보를 메타 데이터로 생성하여 문서의 생성 과정 내내 메모리에 상주시키도록 함으로써, 빠르고 정확한 데이터 삽입 및 편집이 가능하도록 한다.According to the present invention, information for linking data and a word processor template is generated as metadata and resides in a memory throughout the document creation process, thereby enabling fast and accurate data insertion and editing.

본 발명에 따르면 복수 개의 데이터가 삽입되는 경우에 워드프로세서 템플릿의 표를 수정하여 해당 데이터가 삽입될 수 있는 셀을 생성하고, 여기에 데이터를 삽입하도록 하여, 다양한 형태의 데이터도 쉽게 삽입할 수 있도록 한다.According to the present invention, when a plurality of data is inserted, the table of the word processor template is modified to create a cell into which the corresponding data can be inserted, and the data is inserted therein, so that various types of data can be easily inserted. do.

본 발명에 따르면 데이터 삽입 과정에서 생성된 셀과 워드프로세서 템플릿에 포함된 셀을 구분하도록 식별자를 부여함으로써, 입력된 데이터를 삭제하거나 재삽입하는 것이 가능하도록 한다.According to the present invention, by assigning an identifier to distinguish between a cell generated in the data insertion process and a cell included in a word processor template, it is possible to delete or reinsert input data.

도 1은 본 발명의 일실시예에 따른 문서 생성 시스템의 구성도를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 문서 생성 시스템에서 워드프로세서 템플릿에 포함된 표의 일례를 도시한 도면이다.
도 3는 본 발명의 일실시예에 따른 문서 생성 시스템에서 워드프로세서 템플릿에 포함된 멀티표의 일례를 도시한 도면이다.
도 4는 본 발명의 일실시예에 따른 문서 생성 시스템에서 데이터베이스로부터 로딩한 데이터의 일례를 도시한 도면이다.
도 5는 본 발명의 일실시예에 따른 문서 생성 시스템에서 데이터가 삽입될 표의 위치 정보를 포함하는 메타 데이터의 일례를 도시한 도면이다.
도 6은 본 발명의 일실시예에 따른 문서 생성 시스템에서 데이터의 표현형태를 나타내는 메타 데이터의 일례를 도시한 도면이다.
도 7은 본 발명의 일실시예에 따른 문서 생성 시스템에서 표의 서식을 포함하는 메타데이터와 그에 따른 서식이 적용된 표의 일례를 도시한 도면이다.
도 8은 본 발명의 일실시예에 따른 문서 생성 방법의 흐름을 도시한 흐름도이다.
1 is a diagram showing the configuration of a document generation system according to an embodiment of the present invention.
2 is a diagram illustrating an example of a table included in a word processor template in a document generation system according to an embodiment of the present invention.
3 is a diagram illustrating an example of a multi-table included in a word processor template in a document generation system according to an embodiment of the present invention.
4 is a diagram illustrating an example of data loaded from a database in a document generation system according to an embodiment of the present invention.
5 is a diagram illustrating an example of metadata including position information of a table into which data is to be inserted in a document generation system according to an embodiment of the present invention.
6 is a diagram illustrating an example of meta data indicating a representation form of data in a document generation system according to an embodiment of the present invention.
7 is a diagram illustrating an example of a table to which metadata including a format of a table is applied and a table to which the format is applied in a document generation system according to an embodiment of the present invention.
8 is a flowchart illustrating a flow of a method for generating a document according to an embodiment of the present invention.

이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략하기로 한다. 또한 본 발명의 실시예들을 설명함에 있어 구체적인 수치는 실시예에 불과하며 이에 의하여 발명의 범위가 제한되지 아니한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In describing the present invention, when it is determined that a detailed description of a related known configuration or function may obscure the subject matter of the present invention, a detailed description thereof will be omitted. Further, in describing the embodiments of the present invention, specific numerical values are only examples, and the scope of the invention is not limited thereby.

본 발명에 따른 문서 생성 시스템은 중앙처리장치(CPU) 및 메모리(Memory, 기억장치)를 구비하고 인터넷 등의 통신망을 통하여 다른 단말기와 연결 가능한 서버의 형태로 구성될 수 있다. 그러나 본 발명이 중앙처리장치 및 메모리 등의 구성에 의해 한정되지는 아니한다.The document generation system according to the present invention may be configured in the form of a server having a central processing unit (CPU) and a memory (memory device) and connectable to other terminals through a communication network such as the Internet. However, the present invention is not limited by the configuration of the central processing unit and the memory.

도 1은 본 발명의 일실시예에 따른 문서 생성 시스템의 구성도를 도시한 도면이다.1 is a diagram showing the configuration of a document generation system according to an embodiment of the present invention.

본 발명의 일실시예에 따른 문서 생성 시스템(101)은 템플릿 로딩부(110), 데이터 로딩부(120), 바인딩부(130) 및 파일 생성부(140)를 포함하여 구성될 수 있으며, 데이터베이스(102)로부터 데이터를 로딩하여 워드프로세서 파일을 생성한다. 이와 같은 구성요소들은 하드웨어로 구현되거나 소프트웨어로 구현되어 하드웨어 상에서 동작하도록 할 수 있으며, 각각 논리적 또는 물리적으로 구분될 수도 있고, 기능적으로 각각의 역할을 수행하며, 논리적 또는 물리적으로 결합된 형태로 구성될 수도 있다.The document generation system 101 according to an embodiment of the present invention may include a template loading unit 110, a data loading unit 120, a binding unit 130, and a file generation unit 140, and a database Data is loaded from (102) and a word processor file is created. These components can be implemented as hardware or software to operate on hardware, and can be separated logically or physically, respectively, functionally, and can be configured in a logical or physically combined form. May be.

본 발명에서 워드프로세서는 한글 워드프로세서, MS-word 등 사용자가 컴퓨터 상에서 전자 문서를 편집할 수 있도록 하는 다양한 툴을 포함할 수 있으며, 프린터를 통해 인쇄물을 제작할 수 있기 때문에, 편집을 통해 종이 문서를 쉽게 생성할 수 있다. 종래의 기술과 달리 본 발명에서는 사용자가 직접 문서를 편집할 수 있는 워드프로세서에 필요한 데이터를 로딩하여 삽입할 수 있도록 함으로써, 정해진 양식을 준수하면서도 필요에 따라 다양한 수정이 가능하도록 하는 것을 특징으로 한다.In the present invention, the word processor may include various tools that allow a user to edit an electronic document on a computer, such as a Korean word processor and MS-word, and since a printed material can be produced through a printer, a paper document can be edited through editing. It can be easily generated. Unlike the conventional technology, the present invention allows a user to load and insert necessary data into a word processor capable of directly editing a document, so that various modifications can be made as necessary while complying with a predetermined format.

템플릿 로딩부(110)는 표를 포함하고, 상기 표의 식별자 및 상기 표에 포함된 하나 이상의 셀 중 적어도 일부의 셀의 식별자를 포함하는 워드프로세서 템플릿을 로딩한다. 워드프로세서 템플릿은 문서의 내용이 기재될 표 등의 양식을 포함하는 워드프로세서 파일일 수 있는데, 워드프로세서의 고유한 포맷으로 제작된 파일을 이용할 수 있어서, 상기 워드프로세서 템플릿을 사용자가 손쉽게 만들고, 여러 사용자가 해당 템플릿의 파일에 필요한 정보를 포함시켜 인쇄하도록 할 수 있다.The template loading unit 110 loads a word processor template including a table and including an identifier of the table and an identifier of at least some cells among one or more cells included in the table. The word processor template may be a word processor file including a form such as a table in which the contents of a document are to be written. Since a file produced in a unique format of a word processor can be used, the user can easily create the word processor template, The user can include the necessary information in the file of the template and print it.

템플릿 로딩부(110)에서 로딩하는 워드프로세서 템플릿의 예로, 공공기관에서 여러 사람들을 대상으로 안내문을 발송하는 경우를 들 수 있는데, 해당 안내문의 기본적인 포맷을 워드프로세서로 생성하고, 안내문을 받을 사람의 정보 등을 표로 만들어 빈 칸으로 둔 것이 워드프로세서 템플릿이 될 수 있다. 본 발명의 문서 생성 시스템(101)은 이와 같은 워드프로세서 템플릿을 로딩하여, 필요한 정보를 필요한 셀에 삽입하여 사용자별 워드프로세서 파일을 생성할 수 있다.As an example of a word processor template loaded by the template loading unit 110, there is a case in which a public institution sends a guide to several people. The basic format of the guide is created with a word processor, and the person who will receive the guide A word processor template can be made with information such as a table and left blank. The document generation system 101 of the present invention can generate a word processor file for each user by loading such a word processor template and inserting necessary information into a required cell.

템플릿 로딩부(110)에서는 파일시스템에 저장된 워드프로세서 템플릿 파일을 메모리에 읽어들여 로딩할 수 있고, 데이터베이스(102) 등에 해당 파일의 내용을 저장해 두고 이를 로딩하는 것도 가능하다. 만일 사용자가 전체적인 템플릿 양식을 수정하고 싶으면, 해당 워드프로세서 템플릿 파일을 수정하면, 그 뒤로 해당 워드프로세서 템플릿을 이용하여 생성되는 문서에 모두 반영될 수 있어, 문서 양식의 일관성과 통일성을 유지할 수 있다.The template loading unit 110 may read and load a word processor template file stored in the file system into the memory, and may store the contents of the corresponding file in the database 102 and load the file. If the user wants to modify the overall template form, if the corresponding word processor template file is modified, it can be reflected in the document created using the corresponding word processor template after that, so that the consistency and unity of the document form can be maintained.

템플릿 로딩부(110)에서 로딩하는 워드프로세서 템플릿은 표를 포함하며, 상기 표는 복수의 셀을 포함하여 구성된다. 상기 표 및 각각의 셀은 자신을 식별하기 위한 식별자를 포함할 수 있는데, 상기 식별자는 문서에 표시되지는 않아 인쇄했을 때 보이지 않도록 속성 정보에 포함될 수 있다. 예를 들어 워드프로세서 한글의 경우, 표 및 셀에 대해 id를 부여할 수 있는데, 이와 같은 정보를 식별자 정보로 활용할 수 있다. 본 발명에서는 사용자가 워드프로세서를 이용하여 손쉽게 문서를 편집하고 이용할 수 있도록 하기 때문에, 워드프로세서에서 제공되는 기능을 최대한 활용하여 표 및 셀을 식별할 수 있도록 한다. 표 및 셀의 식별자 정보는 상기 워드프로세서 템플릿을 작성할 때, 사용자가 직접 입력하도록 할 수 있다.The word processor template loaded by the template loading unit 110 includes a table, and the table includes a plurality of cells. The table and each cell may include an identifier for identifying itself, and the identifier may be included in attribute information so that it is not displayed in a document and is not visible when printed. For example, in the case of Korean word processor, id can be assigned to tables and cells, and such information can be used as identifier information. In the present invention, since a user can easily edit and use a document using a word processor, it is possible to identify tables and cells by maximizing the functions provided by the word processor. Table and cell identifier information may be directly input by a user when creating the word processor template.

템플릿 로딩부(110)에서 로딩되는 워드프로세서 템플릿에 포함되는 표는 셀이 변동되지 않고 데이터가 삽입되는 단순표와 셀이 추가되면서 복수의 데이터가 삽입되는 멀티표로 구분될 수 있는데, 단순표는 사용자의 이름 주소 등과 같이 문서에서 하나의 데이터를 기재하기 위하여 사용되는 표이며, 멀티표는 사용자 구매내역 등과 같이, 사용자별로 데이터의 개수가 달라질 수 있는 복수의 데이터를 기재하기 위하여 사용되는 표이다. 하나의 표에서 단일 데이터를 기재하는 셀과, 복수의 데이터를 기재하는 셀을 모두 포함하도록 구성되는 것도 가능하다.The table included in the word processor template loaded from the template loading unit 110 can be divided into a simple table into which data is inserted without changing cells, and a multi table into which a plurality of data is inserted while cells are added. It is a table used to describe one data in a document, such as a name, address, etc., and a multi-table is a table used to describe a plurality of data whose number of data may vary for each user, such as user purchase details. In one table, it may be configured to include both a cell for describing a single data and a cell for describing a plurality of data.

데이터 로딩부(120)는 상기 워드프로세서 템플릿에 포함된 상기 표에 삽입될 하나 이상의 데이터를 데이터베이스(102)로부터 수신하여 메모리에 로딩한다. 상기 데이터는 앞서 예시에서 설명한 것처럼, 여러 사용자에 대한 안내문인 경우에, 사용자의 이름 등의 개인정보가 포함될 수 있다. 만일 1000명에 대해 이름, 주소 등의 정보가 포함된 안내문을 발송해야 하는 경우, 종래에는 1000개의 파일을 생성하여 인쇄해야 했는데, 본 발명에서는 데이터베이스에 사용자 이름, 주소 정보를 저장해 두고, 하나의 템플릿을 이용하여 1000개의 서로 다른 문서를 생성하여 인쇄하여 출력물을 제작할 수 있게 된다.The data loading unit 120 receives one or more data to be inserted into the table included in the word processor template from the database 102 and loads it into a memory. As described in the above example, the data may include personal information, such as the user's name, in the case of a guide for multiple users. If a notice including information such as names and addresses is to be sent to 1000 people, in the past, 1000 files had to be created and printed. In the present invention, user name and address information are stored in a database, and one template By using, 1000 different documents can be created and printed to produce a printout.

데이터 로딩부(120)에서 데이터베이스(102)로부터 로딩한 데이터는 시스템의 메모리에 로딩되어 워드프로세서 파일 생성이 완료될 때까지 존재할 수 있다. 로딩되는 데이터는 JSON과 같이 컴퓨터 시스템에서 쉽게 활용할 수 있는 포맷으로 메모리에 저장되는 것이 바람직하다.The data loaded from the database 102 by the data loading unit 120 may exist until the word processor file generation is completed by being loaded into a memory of the system. It is desirable that the data to be loaded is stored in memory in a format that can be easily used by computer systems such as JSON.

데이터 로딩부(120)에서 로딩하는 데이터는 주로 텍스트 데이터로 구성되지만, 다양한 형태의 데이터가 될 수 있다. 특히, 상기 워드프로세서 템플릿에 포함되는 표는 표의 셀이 변동되지 않고 데이터가 삽입되는 단순표와, 표의 셀이 추가되면서 복수의 데이터가 삽입되는 멀티표로 구분될 수 있는데, 이와 같은 표의 형태에 따라서, 단순 데이터로 로딩되거나, 복수의 데이터를 구조화시킨 데이터 어레이 형태로 로딩될 수도 있다.The data loaded by the data loading unit 120 is mainly composed of text data, but may be various types of data. In particular, the table included in the word processor template can be divided into a simple table into which data is inserted without changing the cells of the table, and a multi table into which a plurality of data is inserted while the cells of the table are added. It may be loaded as simple data, or may be loaded in the form of a data array in which a plurality of data is structured.

바인딩부(130)는 상기 로딩된 워드프로세서 템플릿 및 상기 로딩된 데이터를 연결시키고, 하나 이상의 메타 데이터를 생성한다. 데이터베이스(102)에 저장된 데이터를 워드프로세서 템플릿에 삽입하여 워드프로세서 파일을 생성하기 위해서는 데이터와 워드프로세서 템플릿 사이를 매핑시켜주는 정보가 필요한데, 이와 같은 정보가 메타 데이터가 된다.The binding unit 130 connects the loaded word processor template and the loaded data, and generates one or more metadata. In order to create a word processor file by inserting the data stored in the database 102 into a word processor template, information for mapping between the data and the word processor template is required, and such information becomes meta data.

바인딩부(130)에서 생성하는 메타 데이터는 로딩된 데이터가 삽입될 표의 위치 정보를 포함하는 제1 메타 데이터, 로딩된 데이터의 표현 형태를 포함하는 제2 메타 데이터, 워드프로세서 템플릿에 포함된 표의 서식 정보를 포함하는 제3 메타 데이터로 구성될 수 있으며, 이 밖에도 데이터와 워드프로세서 템플릿을 연결하기 위한 다양한 메타 데이터가 추가될 수 있다.Meta data generated by the binding unit 130 includes first meta data including position information of the table into which the loaded data is to be inserted, second meta data including the expression form of the loaded data, and the format of the table included in the word processor template. It may be composed of third meta data including information, and in addition, various meta data for linking the data and the word processor template may be added.

바인딩부(130)에서 메타 데이터를 생성하여 메모리에 로딩시켜 두면, 데이터가 삽입되어 나온 문서에 다시 특정 영역 테이블에 새로운 데이터를 삽입하고자 하는 경우, 기존 데이터 영역을 지워야 할 부분을 쉽게 파악할 수 있고, 빠른 속도로 데이터를 새롭게 삽입할 수 있게 되어, 속도 저하를 방지할 수 있다.When the binding unit 130 generates meta data and loads it into the memory, when new data is to be inserted into the specific area table again in the document from which the data has been inserted, it is possible to easily identify the part to be erased from the existing data area. It is possible to insert new data at a high speed, thus preventing a decrease in speed.

바인딩부(130)는 상술한 바와 같이 로딩되는 데이터가 데이터 어레이 형태이고, 삽입되는 표가 멀티표인 경우에는 데이터 어레이 형태의 데이터가 삽입될 것임을 나타내는 정보를 메타 데이터에 포함시킬 수 있고, 복수의 데이터를 삽입하기 위해 추가되는 셀들에 식별자를 부여하기 위하여 필요한 정보를 메타 데이터에 포함시킬 수도 있다.As described above, when the loaded data is in the form of a data array and the inserted table is in a multi-table, the binding unit 130 may include information indicating that data in the data array form will be inserted in the metadata. Information necessary for assigning identifiers to cells added to insert data may be included in the meta data.

파일 생성부(140)는 상기 메타 데이터를 기초로 상기 워드 프로세서 템플릿에 상기 데이터를 포함시킨 워드프로세서 파일을 생성한다. 생성되는 워드프로세서 파일은 일반적인 워드프로세서에서 읽어서 편집할 수 있는 워드프로세서 고유의 포맷으로 생성된 파일일 수도 있으며, DB나 메모리 등에 저장될 수 있도록 해당 정보를 가공한 데이터 형태일 수도 있다.The file generation unit 140 generates a word processor file including the data in the word processor template based on the meta data. The generated word processor file may be a file created in a format unique to a word processor that can be read and edited by a general word processor, or may be a data format processed with corresponding information so that it can be stored in a DB or memory.

파일 생성부(140)는 로딩된 데이터가 삽입될 표의 위치 정보를 포함하는 제1 메타 데이터를 참조하여, 로딩된 하나 이상의 데이터 각각이 삽입될 위치를 결정하고, 결정된 위치에 각각의 데이터를 삽입하여 워드프로세서 파일을 생성할 수 있다.The file generation unit 140 refers to the first metadata including the position information of the table into which the loaded data is to be inserted, determines the position to which each of the loaded data is to be inserted, and inserts each data into the determined position. You can create word processor files.

이 때, 파일 생성부(140)는 데이터가 삽입될 표가 멀티표인 경우에는 상기 제1 메타 데이터를 참조하여, 상기 워드프로세서 템플릿에서 상기 데이터가 삽입될 표(멀티표)를 수정하고, 수정된 표에 상기 로딩된 데이터를 삽입하도록 할 수 있다. 데이터가 삽입될 표를 수정하기 위해서는 먼저 로딩된 데이터를 확인하여, 삽입되기 위해 필요한 셀의 개수를 확인할 수 있는데, 데이터가 3개씩 1세트로 구성되어, 총 5개 세트가 삽입되는 경우라면, 워드프로세서 템플릿에 포함된 해당 데이터가 삽입될 셀 3개를 15개로 늘려 각각의 셀에 데이터가 저장되도록 할 수 있다. 즉, 로딩된 데이터의 데이터 어래이 길이를 확인하고, 이 길이에 대응되는 개수만큼 표의 셀을 추가할 수 있다.In this case, when the table into which data is to be inserted is a multi-table, the file generating unit 140 refers to the first metadata to modify the table (multi-table) into which the data is to be inserted in the word processor template, and The loaded data can be inserted into the table. To modify the table into which data will be inserted, you can first check the loaded data and check the number of cells required to be inserted.If the data consists of one set of three, and a total of five sets are inserted, word The number of cells in which the corresponding data included in the processor template will be inserted can be increased to 15 so that data is stored in each cell. That is, it is possible to check the data array length of the loaded data, and add as many cells of the table as the number corresponding to this length.

이 때, 파일 생성부(140)는 추가된 셀들에 대해서 식별자를 부여하고, 해당 식별자에 대응되는 데이터를 해당 셀에 삽입할 수 있다. 이 때, 부여되는 식별자는 워드프로세서 템플릿에 부여된 문자열 형태의 식별자에 숫자를 추가하는 형태로 구현하는 것이 가장 바람직하며, 이를 통하여, 문서마다 포함되는 데이터의 개수가 다른 경우에도 유연하게 데이터가 포함된 문서를 생성할 수 있다.In this case, the file generator 140 may assign an identifier to the added cells and insert data corresponding to the identifier into the corresponding cell. In this case, it is most preferable to implement the assigned identifier in the form of adding a number to the identifier in the form of a string assigned to the word processor template. Through this, data is flexibly included even when the number of data included in each document is different. Generated documents can be created.

또한, 파일 생성부(140)는 새롭게 추가되는 셀에 식별자를 부여하면서, 워드프로세서 템플릿에 포함되어 있었던 셀과 추가된 셀을 구별하여 식별자를 부여할 수 있다. 예를 들어, 워드프로세서 템플릿에 포함되어 있던 셀의 식별자의 앞에는 구분자로 "#"를 추가하고, 추가되는 셀들의 식별자의 앞에는 구분자로 "$"를 포함시키는 등의 구현이 가능하다. 이는 향후 삽입했던 데이터를 삭제해야 하는 경우에, 원래의 워드프로세서 템플릿으로 되돌려 다시 정상적으로 데이터를 삽입할 수 있도록 하기 위함이다.In addition, while assigning an identifier to a newly added cell, the file generating unit 140 may distinguish between a cell included in the word processor template and an added cell to give the identifier. For example, it is possible to add "#" as a separator in front of the identifier of a cell included in the word processor template, and include "$" as a separator in front of the identifiers of cells to be added. This is to return to the original word processor template so that data can be inserted normally again in case the inserted data needs to be deleted in the future.

파일 생성부(140)는 이와 같이 식별자가 부여된 경우, 데이터 재삽입 명령이 수신되면, 부여된 식별자를 확인하여, 추가된 셀을 제거하고, 상기 메타 데이터를 참고하여 상기 데이터가 삽입될 표를 다시 수정할 수 있다. 예를 들어, 어떤 문서에서 3개의 데이터가 하나의 표에 리스트로 추가되도록 하였는데, 데이터베이스에 변동이 생겨 2개의 데이터를 기재해야 하는 경우라면, 표를 다시 2개의 데이터를 기재할 수 있도록 변경해야 하는데, 이와 같이 원래 템플릿에 포함되어 있던 셀과 추가된 셀을 구분할 수 있도록 구현함으로써, 빠르고 쉽게 이를 구현하도록 할 수 있다.When an identifier is assigned as described above, when a data reinsertion command is received, the file generator 140 checks the assigned identifier, removes the added cell, and refers to the meta data to create a table into which the data is to be inserted. You can modify it again. For example, if a document has 3 data added as a list in one table, but there is a change in the database and 2 data needs to be entered, the table must be changed so that 2 data can be entered again. In this way, it is possible to quickly and easily implement this by implementing so that the cells included in the original template and the added cells can be distinguished.

파일 생성부(140)는 로딩된 데이터의 표현 형태를 포함하는 제2 메타 데이터를 참조하여, 결정된 위치에 각각의 데이터를 각각의 표현 형태에 맞게 삽입하여 워드프로세서 파일을 생성할 수 있다. 상기 표현 형태는 데이터가 표에 어떻게 삽입되는지를 나타내는 것으로, 이를 이용하여 필요한 정보를 정확한 형태로 표에 표현하는 것이 가능하도록 할 수 있다.The file generation unit 140 may generate a word processor file by referring to the second meta data including the expression type of the loaded data, and inserting each data according to each expression type at the determined position. The expression form indicates how data is inserted into a table, and by using this, it is possible to express necessary information in an accurate form in the table.

또한 파일 생성부(140)는 워드프로세서 템플릿에 포함된 표의 서식 정보를 포함하는 제3 메타 데이터를 참조하여, 상기 위드프로세서 템플릿에 포함된 표의 서식을 변경하여 워드프로세서 파일을 생성할 수 있다. 동일한 양식으로 복수의 문서를 생성할 때에, 셀의 배경색, 글자색, 폰트 등의 다양한 서식을 부가할 수 있는데, 사용자가 직접 정해진 규칙에 맞게 이를 반영하는 것은 시간과 노력이 많이 소요되는 작업이다. 따라서, 파일 생성부에서는 이와 같은 다양한 셀의 서식정보를 메타 데이터로 저장해 두고, 일괄적으로 표에 반영할 수 있도록 함으로써, 사용자의 수작업을 최소화하고 통일된 양식으로 문서를 생성하도록 할 수 있다.In addition, the file generation unit 140 may generate a word processor file by changing the format of a table included in the with processor template by referring to third metadata including format information of a table included in the word processor template. When creating multiple documents in the same format, various formats such as cell background color, text color, and font can be added, and it takes a lot of time and effort to reflect this in accordance with the rules set by the user. Accordingly, the file generation unit stores the format information of various cells as meta data and allows them to be reflected in a table collectively, thereby minimizing the user's manual work and creating a document in a unified format.

도 2는 본 발명의 일실시예에 따른 문서 생성 시스템에서 워드프로세서 템플릿에 포함된 표의 일례를 도시한 도면이다.2 is a diagram illustrating an example of a table included in a word processor template in a document generation system according to an embodiment of the present invention.

도면에 도시된 표는 단순 표의 일례로, 파란색으로 표시된 것이 각 셀을 나타내는 식별자가 될 수 있다. 이와 같이 표의 양식을 워드프로세서 템플릿으로 만들어 두고, 각 셀의 식별자에 대응되는 정보를 데이터베이스에서 로딩하여 삽입하게 되면, 동일한 양식으로 여러 문서를 손쉽게 생성하는 것이 가능하게 된다. 또한, 이처럼 생성된 문서는 필요한 경우 사용자가 직접 수작업으로 편집하는 것도 가능해져, 문서 작성에 대한 높은 자유도를 제공할 수 있다.The table shown in the drawing is an example of a simple table, and what is indicated in blue may be an identifier indicating each cell. In this way, if the table form is made into a word processor template and information corresponding to the identifier of each cell is loaded from the database and inserted, it is possible to easily create multiple documents in the same form. In addition, the generated document can be manually edited by the user, if necessary, thereby providing a high degree of freedom for document creation.

도 3는 본 발명의 일실시예에 따른 문서 생성 시스템에서 워드프로세서 템플릿에 포함된 멀티표의 일례를 도시한 도면이다.3 is a diagram illustrating an example of a multi-table included in a word processor template in a document generation system according to an embodiment of the present invention.

도면은 멀티표의 일례를 도시하고 있는데, 위쪽에 표시된 표가 워드프로세서 템플릿에 기재되어 있는 것으로, 여러 개의 데이터가 기재될 부분(f1, f2, f3)에 대해 하나씩의 셀들이 준비되어 있다. 이 때, 데이터베이스에서 로딩한 데이터가 3개의 데이터인 경우에, 도면의 아래 쪽 표와 같이, 해당 부분(f1, f2, f3)을 3개의 줄로 늘려, 총 9개의 셀을 만들고, 각각의 셀에 식별자를 부여하도록 할 수 있다.The drawing shows an example of a multi-table. The table displayed above is described in a word processor template, and one cell is prepared for portions f1, f2, and f3 in which multiple data are to be written. At this time, if the data loaded from the database is 3 data, as shown in the table at the bottom of the drawing, the corresponding part (f1, f2, f3) is increased to 3 lines, creating a total of 9 cells, and in each cell. You can give it an identifier.

도면에서는 f1, f2, f3 각각에 대해, #multi:f1:1, #multi:f2:1, #multi:f3:1 같이 식별자를 부여하고, 그 아래는 $multi:f1:2, $multi:f2:2, $multi:f3:3와 같이 식별자를 부여함으로써, 각각에 들어갈 데이터를 쉽게 식별해 낼 수 있도록 하고 있다. 이와 같은 식별자 부여 방법은 다양한 형태의 변형이 가능하다.In the drawing, for each of f1, f2, and f3, identifiers are assigned, such as #multi:f1:1, #multi:f2:1, #multi:f3:1, and $multi:f1:2, $multi: By assigning identifiers such as f2:2 and $multi:f3:3, data to be entered can be easily identified. This method of assigning an identifier can be modified in various forms.

이 때, 도면의 예에서는 셀들 중에서 원래 워드프로세서 템플릿에 포함되어 있던 셀(위쪽 테이블의 f1, f2, f3)들의 식별자는 "#"으로 시작하도록 부여되고, 그 아래의 2개 줄에 포함되어 있는 새롭게 추가된 셀들은 "$"로 시작되도록 식별자가 부여되었는데, 이와 같이 부여함으로써, 해당 데이터를 다시 재입력하거나 삭제하는 경우에, 워드프로세서 템플릿을 다시 읽어들이지 않고도 구현이 가능하게 된다. 만일 이와 같은 구분이 없다면, 워드프로세서 템플릿을 다시 읽어들여야 하는데, 해당 표 이외의 다른 표에 데이터가 삽입되었거나, 표 이외의 다른 부분을 사용자가 직접 편집한 경우 해당 편집 내용이 없어질 수 있는 문제가 생길 수 있다.In this case, in the example of the drawing, the identifiers of cells (f1, f2, f3 in the upper table) originally included in the word processor template among cells are assigned to start with "#", and are included in the two lines below. The newly added cells are assigned identifiers so that they start with "$". By this assignment, when the corresponding data is re-entered or deleted, it can be implemented without re-reading the word processor template. If there is no such distinction, the word processing template must be read again. If data is inserted in a table other than the table, or if the user edits a part other than the table, the edited content may be lost. Can occur.

도 4는 본 발명의 일실시예에 따른 문서 생성 시스템에서 데이터베이스로부터 로딩한 데이터의 일례를 도시한 도면이다.4 is a diagram illustrating an example of data loaded from a database in a document generation system according to an embodiment of the present invention.

도면에 도시한 바와 같이, 각각의 셀에 기재될 데이터들은 데이터베이스에서 로딩되어 JSON 등 컴퓨터가 쉽게 판독할 수 있는 포맷으로 메모리에 저장될 수 있다. 이 데이터는 최소한 워드프로세서 파일의 생성이 완료되어 모듈이 파일 생성부(140)의 동작이 종료될 때까지 메모리 상에 존재할 수 있다.As shown in the figure, data to be written in each cell may be loaded from a database and stored in a memory in a format that can be easily read by a computer such as JSON. This data may exist in the memory at least until the word processor file generation is completed and the operation of the file generation unit 140 is terminated by the module.

도 5는 본 발명의 일실시예에 따른 문서 생성 시스템에서 데이터가 삽입될 표의 위치 정보를 포함하는 메타 데이터의 일례를 도시한 도면이다.5 is a diagram illustrating an example of metadata including position information of a table into which data is to be inserted in a document generation system according to an embodiment of the present invention.

도면에 도시한 바와 같이, 제1 메타 데이터는 데이터가 삽입될 표의 위치 정보를 저장하여, 표의 어느 행 어느 열에 데이터가 삽입될 것인지를 식별하도록 할 수 있다. 이와 같은 메타 데이터는 해당 정보들을 포함하기만 한다면 다양한 형태로 구현이 가능하며, 역시 JSON 등 컴퓨터가 쉽게 판독할 수 있는 포맷을 가지는 것이 바람직하다.As shown in the figure, the first meta data may store position information of a table into which data is to be inserted, and thus identify which row and column of the table the data is to be inserted. Such metadata can be implemented in various forms as long as it includes the information, and it is desirable to have a format that can be easily read by computers such as JSON.

도 6은 본 발명의 일실시예에 따른 문서 생성 시스템에서 데이터의 표현형태를 나타내는 메타 데이터의 일례를 도시한 도면이다.6 is a diagram illustrating an example of meta data indicating a representation form of data in a document generation system according to an embodiment of the present invention.

도면에 도시된 바와 같이, 제2 메타 데이터는 데이터의 표현형태를 나타내는 정보를 포함할 수 있다. 이를 통해, 데이터의 개수나, 어떤 데이터가 어떻게 삽입될 것인지에 대한 정보를 메모리에 로딩해 두고, 이를 통해 빠르게 문서에 데이터를 삽입하고, 필요한 경우 삭제나 재삽입도 용이하도록 할 수 있다.As shown in the drawing, the second meta data may include information indicating a representation type of data. Through this, information on the number of data or which data is to be inserted and how information is loaded into the memory, and through this, data can be quickly inserted into a document, and if necessary, it is possible to facilitate deletion or reinsertion.

도 7은 본 발명의 일실시예에 따른 문서 생성 시스템에서 표의 서식을 포함하는 메타데이터와 그에 따른 서식이 적용된 표의 일례를 도시한 도면이다.7 is a diagram illustrating an example of a table to which metadata including a format of a table is applied and a table to which the format is applied in a document generation system according to an embodiment of the present invention.

도면의 위쪽에 도시한 것처럼, 각각의 셀의 서식정보를 메타 데이터 형태로 표현하고, 이를 메모리에 로딩시켜 워드프로세서 템플릿에서 생성된 표에 서식을 반영할 수 있다. 웹페이지에서 CSS 형태로 간단하게 서식을 부여할 수 있는 것처럼, 이와 같이 메타 데이터로 손쉽게 서식을 부여할 수 있도록 하여, 사용자가 규칙에 따라 필요한 셀에 필요한 서식을 수작업으로 부여할 필요가 없이 자동으로 서식 부여가 가능하도록 할 수 있다.As shown in the upper part of the drawing, the format information of each cell is expressed in the form of meta data, and the format can be reflected in a table created from a word processor template by loading it into a memory. Just as you can simply format in the form of CSS on a web page, you can easily format it with metadata, so that users don't have to manually assign the necessary formatting to the required cells according to the rules. Formatting can be made possible.

도 8은 본 발명의 일실시예에 따른 문서 생성 방법의 흐름을 도시한 흐름도이다.8 is a flowchart illustrating a flow of a method for generating a document according to an embodiment of the present invention.

이상에서 설명한 문서 생성 시스템(101)은 문서 생성 방법으로 구현되어 실현될 수 있으며, 문서 생성 시스템(101)의 기술적인 사상들을 그대로 적용할 수 있다. 따라서, 이하에서 설명된 내용이 아니더라도, 문서 생성 시스템(101)에서 설명된 기술적 사상은 문서 생성 방법에 그대로 적용이 가능하다.The document generation system 101 described above may be implemented and realized by a document generation method, and the technical ideas of the document generation system 101 may be applied as they are. Therefore, even if the content is not described below, the technical idea described in the document generation system 101 can be applied as it is to the document generation method.

문서 생성 방법은 중앙처리장치와 메모리를 구비하는 문서 생성 시스템(101)의 동작방법을 나타낸 것이다.The document generation method shows an operation method of the document generation system 101 including a central processing unit and a memory.

템플릿 로딩 단계(S801)는 표를 포함하고, 상기 표의 식별자 및 상기 표에 포함된 하나 이상의 셀 중 적어도 일부의 셀의 식별자를 포함하는 워드프로세서 템플릿을 로딩한다. 워드프로세서 템플릿은 문서의 내용이 기재될 표 등의 양식을 포함하는 워드프로세서 파일일 수 있는데, 워드프로세서의 고유한 포맷으로 제작된 파일을 이용할 수 있어서, 상기 워드프로세서 템플릿을 사용자가 손쉽게 만들고, 여러 사용자가 해당 템플릿의 파일에 필요한 정보를 포함시켜 인쇄하도록 할 수 있다.The template loading step (S801) loads a word processor template including a table and including an identifier of the table and an identifier of at least some cells among one or more cells included in the table. The word processor template may be a word processor file including a form such as a table in which the contents of a document are to be written. Since a file produced in a unique format of a word processor can be used, the user can easily create the word processor template, The user can include the necessary information in the file of the template and print it.

템플릿 로딩 단계(S801)에서 로딩하는 워드프로세서 템플릿은 표를 포함하며, 상기 표는 복수의 셀을 포함하여 구성된다. 상기 표 및 각각의 셀은 자신을 식별하기 위한 식별자를 포함할 수 있는데, 상기 식별자는 문서에 표시되지는 않아 인쇄했을 때 보이지 않도록 속성 정보에 포함될 수 있다. 예를 들어 워드프로세서 한글의 경우, 표 및 셀에 대해 id를 부여할 수 있는데, 이와 같은 정보를 식별자 정보로 활용할 수 있다. 본 발명에서는 사용자가 워드프로세서를 이용하여 손쉽게 문서를 편집하고 이용할 수 있도록 하기 때문에, 워드프로세서에서 제공되는 기능을 최대한 활용하여 표 및 셀을 식별할 수 있도록 한다. 표 및 셀의 식별자 정보는 상기 워드프로세서 템플릿을 작성할 때, 사용자가 직접 입력하도록 할 수 있다.The word processor template loaded in the template loading step (S801) includes a table, and the table includes a plurality of cells. The table and each cell may include an identifier for identifying itself, and the identifier may be included in attribute information so that it is not displayed in a document and is not visible when printed. For example, in the case of Korean word processor, id can be assigned to tables and cells, and such information can be used as identifier information. In the present invention, since a user can easily edit and use a document using a word processor, it is possible to identify tables and cells by maximizing the functions provided by the word processor. Table and cell identifier information may be directly input by a user when creating the word processor template.

템플릿 로딩 단계(S801)에서 로딩되는 워드프로세서 템플릿에 포함되는 표는 셀이 변동되지 않고 데이터가 삽입되는 단순표와 셀이 추가되면서 복수의 데이터가 삽입되는 멀티표로 구분될 수 있는데, 단순표는 사용자의 이름 주소 등과 같이 문서에서 하나의 데이터를 기재하기 위하여 사용되는 표이며, 멀티표는 사용자 구매내역 등과 같이, 사용자별로 데이터의 개수가 달라질 수 있는 복수의 데이터를 기재하기 위하여 사용되는 표이다. 하나의 표에서 단일 데이터를 기재하는 셀과, 복수의 데이터를 기재하는 셀을 모두 포함하도록 구성되는 것도 가능하다.The table included in the word processor template loaded in the template loading step (S801) can be divided into a simple table into which data is inserted without changing cells and a multi table into which a plurality of data is inserted as cells are added. It is a table used to describe one data in a document, such as a name, address, etc., and a multi-table is a table used to describe a plurality of data whose number of data may vary for each user, such as user purchase details. In one table, it may be configured to include both a cell for describing a single data and a cell for describing a plurality of data.

데이터 로딩 단계(S802)는 상기 워드프로세서 템플릿에 포함된 상기 표에 삽입될 하나 이상의 데이터를 데이터베이스(102)로부터 수신하여 메모리에 로딩한다. 상기 데이터는 앞서 예시에서 설명한 것처럼, 여러 사용자에 대한 안내문인 경우에, 사용자의 이름 등의 개인정보가 포함될 수 있다.In the data loading step (S802), one or more data to be inserted into the table included in the word processor template are received from the database 102 and loaded into a memory. As described in the above example, the data may include personal information, such as the user's name, in the case of a guide for multiple users.

데이터 로딩 단계(S802)에서 데이터베이스(102)로부터 로딩한 데이터는 시스템의 메모리에 로딩되어 워드프로세서 파일 생성이 완료될 때까지 존재할 수 있다. 로딩되는 데이터는 JSON과 같이 컴퓨터 시스템에서 쉽게 활용할 수 있는 포맷으로 메모리에 저장되는 것이 바람직하다.The data loaded from the database 102 in the data loading step (S802) may exist until the word processor file generation is completed by being loaded into the memory of the system. It is desirable that the data to be loaded is stored in memory in a format that can be easily used by a computer system, such as JSON.

데이터 로딩 단계(S802)에서 로딩하는 데이터는 주로 텍스트 데이터로 구성되지만, 다양한 형태의 데이터가 될 수 있다. 특히, 상기 워드프로세서 템플릿에 포함되는 표는 표의 셀이 변동되지 않고 데이터가 삽입되는 단순표와, 표의 셀이 추가되면서 복수의 데이터가 삽입되는 멀티표로 구분될 수 있는데, 이와 같은 표의 형태에 따라서, 단순 데이터로 로딩되거나, 복수의 데이터를 구조화시킨 데이터 어레이 형태로 로딩될 수도 있다.The data loaded in the data loading step S802 is mainly composed of text data, but may be various types of data. In particular, the table included in the word processor template can be divided into a simple table into which data is inserted without changing the cells of the table, and a multi table into which a plurality of data is inserted while the cells of the table are added. It may be loaded as simple data, or may be loaded in the form of a data array in which a plurality of data is structured.

바인딩 단계(S803)는 상기 로딩된 워드프로세서 템플릿 및 상기 로딩된 데이터를 연결시키고, 하나 이상의 메타 데이터를 생성한다. 데이터베이스(102)에 저장된 데이터를 워드프로세서 템플릿에 삽입하여 워드프로세서 파일을 생성하기 위해서는 데이터와 워드프로세서 템플릿 사이를 매핑시켜주는 정보가 필요한데, 이와 같은 정보가 메타 데이터가 된다.The binding step (S803) connects the loaded word processor template and the loaded data, and generates one or more metadata. In order to create a word processor file by inserting the data stored in the database 102 into a word processor template, information for mapping between the data and the word processor template is required, and such information becomes meta data.

바인딩 단계(S803)에서 생성하는 메타 데이터는 로딩된 데이터가 삽입될 표의 위치 정보를 포함하는 제1 메타 데이터, 로딩된 데이터의 표현 형태를 포함하는 제2 메타 데이터, 워드프로세서 템플릿에 포함된 표의 서식 정보를 포함하는 제3 메타 데이터로 구성될 수 있으며, 이 밖에도 데이터와 워드프로세서 템플릿을 연결하기 위한 다양한 메타 데이터가 추가될 수 있다.Meta data generated in the binding step (S803) includes first meta data including position information of the table into which the loaded data is to be inserted, second meta data including the expression form of the loaded data, and the format of the table included in the word processor template. It may be composed of third meta data including information, and in addition, various meta data for linking the data and the word processor template may be added.

파일 생성 단계(S804)는 상기 메타 데이터를 기초로 상기 워드 프로세서 템플릿에 상기 데이터를 포함시킨 워드프로세서 파일을 생성한다. 생성되는 워드프로세서 파일은 일반적인 워드프로세서에서 읽어서 편집할 수 있는 워드프로세서 고유의 포맷으로 생성된 파일일 수도 있으며, DB나 메모리 등에 저장될 수 있도록 해당 정보를 가공한 데이터 형태일 수도 있다.In the file generation step (S804), a word processor file including the data in the word processor template is generated based on the metadata. The generated word processor file may be a file created in a format unique to a word processor that can be read and edited by a general word processor, or may be a data format processed with corresponding information so that it can be stored in a DB or memory.

파일 생성 단계(S804)는 로딩된 데이터가 삽입될 표의 위치 정보를 포함하는 제1 메타 데이터를 참조하여, 로딩된 하나 이상의 데이터 각각이 삽입될 위치를 결정하고, 결정된 위치에 각각의 데이터를 삽입하여 워드프로세서 파일을 생성할 수 있다.In the file creation step (S804), by referring to the first metadata including position information of the table into which the loaded data is to be inserted, the position to which each of the loaded data is to be inserted is determined, and each data is inserted into the determined position. You can create word processor files.

이 때, 파일 생성 단계(S804)는 데이터가 삽입될 표가 멀티표인 경우에는 상기 제1 메타 데이터를 참조하여, 상기 워드프로세서 템플릿에서 상기 데이터가 삽입될 표(멀티표)를 수정하고, 수정된 표에 상기 로딩된 데이터를 삽입하도록 할 수 있다. 데이터가 삽입될 표를 수정하기 위해서는 먼저 로딩된 데이터를 확인하여, 삽입되기 위해 필요한 셀의 개수를 확인할 수 있는데, 데이터가 3개씩 1세트로 구성되어, 총 5개 세트가 삽입되는 경우라면, 워드프로세서 템플릿에 포함된 해당 데이터가 삽입될 셀 3개를 15개로 늘려 각각의 셀에 데이터가 저장되도록 할 수 있다. 즉, 로딩된 데이터의 데이터 어래이 길이를 확인하고, 이 길이에 대응되는 개수만큼 표의 셀을 추가할 수 있다.In this case, in the file creation step (S804), when the table into which data is to be inserted is a multi-table, a table (multi-table) into which the data is to be inserted is corrected in the word processor template by referring to the first metadata. The loaded data can be inserted into the table. To modify the table into which data will be inserted, you can first check the loaded data and check the number of cells required to be inserted.If the data consists of one set of three, and a total of five sets are inserted, word The number of cells in which the corresponding data included in the processor template will be inserted can be increased to 15 so that data is stored in each cell. That is, it is possible to check the data array length of the loaded data, and add as many cells of the table as the number corresponding to this length.

이 때, 파일 생성 단계(S804)는 추가된 셀들에 대해서 식별자를 부여하고, 해당 식별자에 대응되는 데이터를 해당 셀에 삽입할 수 있다. 이 때, 부여되는 식별자는 워드프로세서 템플릿에 부여된 문자열 형태의 식별자에 숫자를 추가하는 형태로 구현하는 것이 가장 바람직하며, 이를 통하여, 문서마다 포함되는 데이터의 개수가 다른 경우에도 유연하게 데이터가 포함된 문서를 생성할 수 있다.In this case, in the file generation step (S804), identifiers are assigned to the added cells, and data corresponding to the identifier may be inserted into the corresponding cell. In this case, it is most preferable to implement the assigned identifier in the form of adding a number to the identifier in the form of a string assigned to the word processor template. Through this, data is flexibly included even when the number of data included in each document is different. Generated documents can be created.

본 발명에 따른 문서 생성 방법은 애플리케이션으로 구현되거나 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다.The document generation method according to the present invention may be implemented as an application or in the form of program instructions that can be executed through various computer components and recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, and the like alone or in combination.

상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거니와 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다.The program instructions recorded in the computer-readable recording medium may be specially designed and constructed for the present invention, and may be known and usable to those skilled in the computer software field.

컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CDROM, DVD 와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다.Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tapes, optical recording media such as CDROMs and DVDs, magnetic-optical media such as floptical disks. , And a hardware device specially configured to store and execute program instructions such as ROM, RAM, flash memory, and the like.

프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있다.Examples of program instructions include not only machine language codes such as those produced by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform processing according to the present invention.

이상에서는 실시예들을 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있다.Although the above has been described with reference to embodiments, those skilled in the art may variously modify and change the present invention without departing from the spirit and scope of the present invention described in the following claims.

101: 문서 생성 시스템
102; 데이터베이스
110: 템플릿 로딩부 120: 데이터 로딩부
130: 바인딩부 140: 파일 생성부
101: document generation system
102; Database
110: template loading unit 120: data loading unit
130: binding unit 140: file generation unit

Claims (17)

표를 포함하고, 상기 표의 식별자 및 상기 표에 포함된 하나 이상의 셀 중 적어도 일부의 셀의 식별자를 포함하는 워드프로세서 템플릿을 로딩하는 템플릿 로딩부;
상기 워드프로세서 템플릿에 포함된 상기 표에 삽입될 하나 이상의 데이터를 데이터베이스로부터 수신하여 메모리에 로딩하는 데이터 로딩부;
상기 로딩된 워드프로세서 템플릿 및 상기 로딩된 데이터를 연결시키고, 하나 이상의 메타 데이터를 생성하는 바인딩부; 및
상기 메타 데이터를 기초로 상기 워드프로세서 템플릿에 상기 데이터를 포함시킨 워드프로세서 파일을 생성하는 파일 생성부
를 포함하고,
상기 바인딩부는
상기 로딩된 데이터가 삽입될 표의 위치 정보를 포함하는 제1 메타 데이터를 생성하고,
상기 로딩된 데이터의 표현 형태를 포함하는 제2 메타 데이터를 생성하며,
상기 파일 생성부는
상기 제1 메타 데이터를 참조하여 로딩된 하나 이상의 데이터 각각이 삽입될 위치를 결정하고, 상기 제2 메타 데이터를 참조하여, 상기 결정된 위치에 각각의 데이터를 각각의 표현 형태에 맞게 삽입하여 워드프로세서 파일을 생성하는 것
을 특징으로 하는 문서 생성 시스템.
A template loading unit that loads a word processor template including a table and including an identifier of the table and an identifier of at least some of the cells included in the table;
A data loading unit that receives one or more data to be inserted into the table included in the word processor template from a database and loads it into a memory;
A binding unit that connects the loaded word processor template and the loaded data, and generates one or more metadata; And
A file generation unit that generates a word processor file including the data in the word processor template based on the meta data
Including,
The binding part
Generate first metadata including position information of a table into which the loaded data is to be inserted,
Generates second meta data including the expression form of the loaded data,
The file generation unit
A word processor file by referring to the first meta data to determine a location where each of the loaded one or more data is to be inserted, and by referring to the second meta data to insert each data to the determined location according to each expression type To generate
Document generation system, characterized in that.
삭제delete 삭제delete 제1항에 있어서,
상기 바인딩부는
상기 워드프로세서 템플릿에 포함된 표의 서식 정보를 포함하는 제3 메타 데이터를 생성하고,
상기 파일 생성부는
상기 제3 메타 데이터를 참조하여, 상기 워드프로세서 템플릿에 포함된 표의 서식을 변경하여 상기 워드프로세서 파일을 생성하는 것
을 특징으로 하는 문서 생성 시스템.
The method of claim 1,
The binding part
Generate third metadata including format information of a table included in the word processor template,
The file generation unit
Creating the word processor file by changing the format of the table included in the word processor template with reference to the third metadata
Document generation system, characterized in that.
제1항에 있어서,
상기 워드프로세서 템플릿에 포함된 표는 표의 셀이 변동되지 않고 데이터가 삽입되는 단순표와 표의 셀이 추가되면서 복수의 데이터가 삽입되는 멀티표로 구분되고,
상기 데이터 로딩부는
상기 데이터를 삽입할 표가 멀티표인 경우, 데이터 어레이의 형태로 상기 데이터를 로딩하고,
상기 바인딩부는
상기 데이터 어레이 형태로 로딩된 데이터를 나타내는 메타 데이터를 생성하고,
상기 파일 생성부는
상기 메타 데이터를 참조하여, 상기 워드프로세서 템플릿에서 상기 데이터가 삽입될 표를 수정하고, 상기 수정된 표에 상기 로딩된 데이터를 삽입하는 것
을 특징으로 하는 문서 생성 시스템.
The method of claim 1,
The table included in the word processor template is divided into a simple table into which data is inserted without changing the cells of the table, and a multi table into which a plurality of data is inserted while the cells of the table are added,
The data loading unit
When the table into which the data is to be inserted is a multi-table, the data is loaded in the form of a data array,
The binding part
Generate metadata representing data loaded in the data array form,
The file generation unit
Modifying a table into which the data is to be inserted in the word processor template with reference to the meta data, and inserting the loaded data into the modified table
Document generation system, characterized in that.
제5항에 있어서,
상기 파일 생성부는
상기 메타 데이터를 참조하여, 상기 데이터 어레이의 길이를 확인하고, 상기 데이터 어레이의 길이에 대응되는 개수만큼 상기 데이터가 삽입될 표의 셀을 추가하는 것
을 특징으로 하는 문서 생성 시스템.
The method of claim 5,
The file generation unit
Checking the length of the data array with reference to the metadata, and adding cells of the table into which the data is to be inserted as many as the number corresponding to the length of the data array
Document generation system, characterized in that.
제6항에 있어서,
상기 파일 생성부는
상기 메타 데이터를 참조하여, 상기 추가된 셀에 식별자를 부여하고, 상기 로딩된 데이터 중 상기 식별자에 대응되는 데이터를 상기 식별자에 대응되는 셀에 삽입하는 것
을 특징으로 하는 문서 생성 시스템.
The method of claim 6,
The file generation unit
Assigning an identifier to the added cell by referring to the metadata, and inserting data corresponding to the identifier among the loaded data into the cell corresponding to the identifier
Document generation system, characterized in that.
제7항에 있어서,
상기 파일 생성부는
상기 워드프로세서 템플릿에 포함되어 있는 셀과 상기 추가된 셀을 구별하여 상기 식별자를 부여하고,
데이터 재삽입 명령이 수신되면, 상기 부여된 식별자를 확인하여 추가된 셀을 제거하고, 상기 메타 데이터를 참고하여, 상기 데이터가 삽입될 표를 다시 수정하는 것
을 특징으로 하는 문서 생성 시스템.
The method of claim 7,
The file generation unit
The identifier is assigned by distinguishing the cell included in the word processor template from the added cell,
When a data reinsert command is received, the added cell is removed by checking the assigned identifier, and the table into which the data is to be inserted is modified again by referring to the metadata.
Document generation system, characterized in that.
중앙처리장치 및 메모리를 구비하는 문서 생성 시스템의 동작 방법에 있어서,
표를 포함하고, 상기 표의 식별자 및 상기 표에 포함된 하나 이상의 셀 중 적어도 일부의 셀의 식별자를 포함하는 워드프로세서 템플릿을 로딩하는 템플릿 로딩 단계;
상기 워드프로세서 템플릿에 포함된 상기 표에 삽입될 하나 이상의 데이터를 데이터베이스로부터 수신하여 상기 메모리에 로딩하는 데이터 로딩 단계;
상기 로딩된 워드프로세서 템플릿 및 상기 로딩된 데이터를 연결시키고, 하나 이상의 메타 데이터를 생성하는 바인딩 단계; 및
상기 메타 데이터를 기초로 상기 워드프로세서 템플릿에 상기 데이터를 포함시킨 워드프로세서 파일을 생성하는 파일 생성 단계
를 포함하고,
상기 바인딩 단계는
상기 로딩된 데이터가 삽입될 표의 위치 정보를 포함하는 제1 메타 데이터를 생성하고,
상기 로딩된 데이터의 표현 형태를 포함하는 제2 메타 데이터를 생성하며,
상기 파일 생성 단계는
상기 제1 메타 데이터를 참조하여 로딩된 하나 이상의 데이터 각각이 삽입될 위치를 결정하고,
상기 제2 메타 데이터를 참조하여, 상기 결정된 위치에 각각의 데이터를 각각의 표현 형태에 맞게 삽입하여 워드프로세서 파일을 생성하는 것
을 특징으로 하는 문서 생성 방법.
In the method of operating a document generation system having a central processing unit and a memory,
A template loading step of loading a word processor template including a table and including an identifier of the table and an identifier of at least some of the cells included in the table;
A data loading step of receiving one or more data to be inserted into the table included in the word processor template from a database and loading the data into the memory;
A binding step of linking the loaded word processor template and the loaded data, and generating one or more metadata; And
File creation step of generating a word processor file including the data in the word processor template based on the meta data
Including,
The binding step
Generate first metadata including position information of a table into which the loaded data is to be inserted,
Generates second meta data including the expression form of the loaded data,
The file creation step
Determine a position in which each of the loaded one or more data is to be inserted with reference to the first metadata,
Creating a word processor file by inserting each data according to each expression type in the determined position by referring to the second meta data
Document generation method, characterized in that.
삭제delete 삭제delete 제9항에 있어서,
상기 바인딩 단계는
상기 워드프로세서 템플릿에 포함된 표의 서식 정보를 포함하는 제3 메타 데이터를 생성하고,
상기 파일 생성 단계는
상기 제3 메타 데이터를 참조하여, 상기 워드프로세서 템플릿에 포함된 표의 서식을 변경하여 상기 워드프로세서 파일을 생성하는 것
을 특징으로 하는 문서 생성 방법.
The method of claim 9,
The binding step
Generate third metadata including format information of a table included in the word processor template,
The file creation step
Creating the word processor file by changing the format of the table included in the word processor template with reference to the third metadata
Document generation method, characterized in that.
제9항에 있어서,
상기 워드프로세서 템플릿에 포함된 표는 표의 셀이 변동되지 않고 데이터가 삽입되는 단순표와 표의 셀이 추가되면서 복수의 데이터가 삽입되는 멀티표로 구분되고,
상기 데이터 로딩 단계는
상기 데이터를 삽입할 표가 멀티표인 경우, 데이터 어레이의 형태로 상기 데이터를 로딩하고,
상기 바인딩 단계는
상기 데이터 어레이 형태로 로딩된 데이터를 나타내는 메타 데이터를 생성하고,
상기 파일 생성 단계는
상기 메타 데이터를 참조하여, 상기 워드프로세서 템플릿에서 상기 데이터가 삽입될 표를 수정하고, 상기 수정된 표에 상기 로딩된 데이터를 삽입하는 것
을 특징으로 하는 문서 생성 방법.
The method of claim 9,
The table included in the word processor template is divided into a simple table into which data is inserted without changing the cells of the table, and a multi table into which a plurality of data is inserted while the cells of the table are added,
The data loading step
When the table into which the data is to be inserted is a multi-table, the data is loaded in the form of a data array,
The binding step
Generate metadata representing data loaded in the data array form,
The file creation step
Modifying a table into which the data is to be inserted in the word processor template with reference to the meta data, and inserting the loaded data into the modified table
Document generation method, characterized in that.
제13항에 있어서,
상기 파일 생성 단계는
상기 메타 데이터를 참조하여, 상기 데이터 어레이의 길이를 확인하고, 상기 데이터 어레이의 길이에 대응되는 개수만큼 상기 데이터가 삽입될 표의 셀을 추가하는 것
을 특징으로 하는 문서 생성 방법.
The method of claim 13,
The file creation step
Checking the length of the data array with reference to the metadata, and adding cells of the table into which the data is to be inserted as many as the number corresponding to the length of the data array
Document generation method, characterized in that.
제14항에 있어서,
상기 파일 생성 단계는
상기 메타 데이터를 참조하여, 상기 추가된 셀에 식별자를 부여하고, 상기 로딩된 데이터 중 상기 식별자에 대응되는 데이터를 상기 식별자에 대응되는 셀에 삽입하는 것
을 특징으로 하는 문서 생성 방법.
The method of claim 14,
The file creation step
Assigning an identifier to the added cell by referring to the metadata, and inserting data corresponding to the identifier among the loaded data into the cell corresponding to the identifier
Document generation method, characterized in that.
제15항에 있어서,
상기 파일 생성 단계는
상기 워드프로세서 템플릿에 포함되어 있는 셀과 상기 추가된 셀을 구별하여 상기 식별자를 부여하고,
데이터 재삽입 명령이 수신되면, 상기 부여된 식별자를 확인하여 추가된 셀을 제거하고, 상기 메타 데이터를 참고하여, 상기 데이터가 삽입될 표를 다시 수정하는 것
을 특징으로 하는 문서 생성 방법.
The method of claim 15,
The file creation step
The identifier is assigned by distinguishing the cell included in the word processor template from the added cell,
When a data reinsert command is received, the added cell is removed by checking the assigned identifier, and the table into which the data is to be inserted is modified again by referring to the metadata.
Document generation method, characterized in that.
제9, 제12항 내지 제16항 중 어느 한 항의 방법을 실행하기 위한 프로그램을 기록한 기록매체.A recording medium on which a program for executing the method of any one of claims 9, 12 to 16 is recorded.
KR1020200133572A 2020-10-15 2020-10-15 A System for Generating Documents by Integrating Word-Processor and Database and a Method Therefore KR102253751B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200133572A KR102253751B1 (en) 2020-10-15 2020-10-15 A System for Generating Documents by Integrating Word-Processor and Database and a Method Therefore

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200133572A KR102253751B1 (en) 2020-10-15 2020-10-15 A System for Generating Documents by Integrating Word-Processor and Database and a Method Therefore

Publications (1)

Publication Number Publication Date
KR102253751B1 true KR102253751B1 (en) 2021-05-20

Family

ID=76142716

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200133572A KR102253751B1 (en) 2020-10-15 2020-10-15 A System for Generating Documents by Integrating Word-Processor and Database and a Method Therefore

Country Status (1)

Country Link
KR (1) KR102253751B1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020092595A (en) * 2001-06-05 2002-12-12 주식회사유진데이타 A system which creates and manages the legally binding electronic document and the method thereof
KR20080027251A (en) * 2005-05-09 2008-03-26 아마데우스 에스.에이.에스. Dynamic method for generating xml documents from a database
US20080288861A1 (en) * 2007-04-04 2008-11-20 Microsoft Corporation Generating a word-processing document from database content
KR20100110205A (en) * 2009-04-02 2010-10-12 주식회사 디디에이치 System for on line magazine service and method for publishing and distributing electronic documents using the same
KR101122629B1 (en) 2011-11-18 2012-03-09 김춘기 Method for creation of xml document using data converting of database
KR101647765B1 (en) * 2015-03-20 2016-08-12 (주)솔트웍스 System for unitied management of documents

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020092595A (en) * 2001-06-05 2002-12-12 주식회사유진데이타 A system which creates and manages the legally binding electronic document and the method thereof
KR20080027251A (en) * 2005-05-09 2008-03-26 아마데우스 에스.에이.에스. Dynamic method for generating xml documents from a database
US20080288861A1 (en) * 2007-04-04 2008-11-20 Microsoft Corporation Generating a word-processing document from database content
KR20100110205A (en) * 2009-04-02 2010-10-12 주식회사 디디에이치 System for on line magazine service and method for publishing and distributing electronic documents using the same
KR101122629B1 (en) 2011-11-18 2012-03-09 김춘기 Method for creation of xml document using data converting of database
KR101647765B1 (en) * 2015-03-20 2016-08-12 (주)솔트웍스 System for unitied management of documents

Similar Documents

Publication Publication Date Title
KR101169089B1 (en) File formats, methods, and computer program products for representing presentations
RU2348064C2 (en) Method and system of extending functional capacity of insertion for computer software applications
RU2358311C2 (en) Word processing document, stored as single xml file, which can be manipulated by applications which can read xml language
CN100409169C (en) Document processing apparatus and document processing method
US7673235B2 (en) Method and apparatus for utilizing an object model to manage document parts for use in an electronic document
KR101150132B1 (en) Method and system for mapping content between a starting template and a target template
Edhlund et al. Nvivo 11 essentials
US20010051962A1 (en) Presentation customization
KR20060070416A (en) File formats, methods, and computer program products for representing workbooks
RU2322687C2 (en) System and method for providing multiple reproductions of content of documents
US20070174307A1 (en) Graphic object themes
CN102855244B (en) Method and device for file catalogue processing
JP2022547895A (en) User-customized automatic document creation method, device and server therefor
CN101261621B (en) Document processing method and apparatus
US7757165B1 (en) Method and system for deriving and matching local formatting in an electronic document
KR102253751B1 (en) A System for Generating Documents by Integrating Word-Processor and Database and a Method Therefore
US20230267271A1 (en) Auto conversion system and method of manuscript format
US20060095838A1 (en) Object-oriented processing of tab text
US8395793B2 (en) Apparatuses and methods that use a stamp function to register and edit a stamp
KR102581936B1 (en) Method and system for creating web document by applying drag-and-drop input type
JPH05101053A (en) Structured document editing method
JP7440979B1 (en) File sorting system, file sorting method, and file sorting program
CN103713864A (en) Bill output device and bill output method
KR100430828B1 (en) System and method for editing print files automatically and system and method for manufacturing print using the edited print files
CN110457659B (en) Clause document generation method and terminal equipment

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant