KR102067504B1 - Spreadsheet document editing apparatus for performing an automatic filter function through the creation of a temporary header and operating method thereof - Google Patents

Spreadsheet document editing apparatus for performing an automatic filter function through the creation of a temporary header and operating method thereof Download PDF

Info

Publication number
KR102067504B1
KR102067504B1 KR1020180117472A KR20180117472A KR102067504B1 KR 102067504 B1 KR102067504 B1 KR 102067504B1 KR 1020180117472 A KR1020180117472 A KR 1020180117472A KR 20180117472 A KR20180117472 A KR 20180117472A KR 102067504 B1 KR102067504 B1 KR 102067504B1
Authority
KR
South Korea
Prior art keywords
cells
column
header
data
row
Prior art date
Application number
KR1020180117472A
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 KR1020180117472A priority Critical patent/KR102067504B1/en
Application granted granted Critical
Publication of KR102067504B1 publication Critical patent/KR102067504B1/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/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

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

Disclosed are an apparatus for editing a spreadsheet document executing an automatic filter function through generation of a temporary header and an operating method thereof. When an execution command of an automatic filter function is applied by a user in a situation where a table having one row, into which a field name is not inserted, is generated on a spreadsheet, the apparatus for editing a spreadsheet document can support the user to more conveniently use an automatic filter function in a spreadsheet by applying a filter to a header row after adding a head row, into which the field name is automatically inserted, on the top row of the table.

Description

임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치 및 그 동작 방법{SPREADSHEET DOCUMENT EDITING APPARATUS FOR PERFORMING AN AUTOMATIC FILTER FUNCTION THROUGH THE CREATION OF A TEMPORARY HEADER AND OPERATING METHOD THEREOF}{SPREADSHEET DOCUMENT EDITING APPARATUS FOR PERFORMING AN AUTOMATIC FILTER FUNCTION THROUGH THE CREATION OF A TEMPORARY HEADER AND OPERATING METHOD THEREOF}

본 발명은 스프레드시트에서 제공하는 자동필터 기능에 대한 것이다.The present invention relates to an autofilter function provided by a spreadsheet.

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

이러한 전자 문서 관련 프로그램들로는 기본적인 문서의 작성, 편집 등을 지원하는 워드프로세서, 데이터의 입력, 산술연산, 데이터 관리를 보조하는 스프레드시트, 발표자의 발표를 보조하기 위한 프레젠테이션 프로그램들이 있다.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.

전술한 전자 문서 관련 프로그램들 중에서 스프레드시트는 데이터 관리의 편의를 도모해 주고, 다양한 함수 명령어를 지원함으로써, 사무업무에 많이 활용되고 있다.Among the above-described electronic document related programs, spreadsheets are used for office work because they facilitate data management and support various function instructions.

보통, 사용자들은 스프레드시트를 통해 수식 연산을 수행하고자 하는 경우, 스프레드시트를 구성하는 복수의 셀(cell)들에 대해 함수 명령어나 수식 명령어들을 입력한다. 이렇게, 사용자들이 스프레드시트를 구성하는 복수의 셀들에 함수 명령어나 수식 명령어들을 입력하면, 스프레드시트는 상기 함수 명령어나 수식 명령어들을 기초로 수식 연산을 수행하여 이에 대한 연산 결과를 출력해 준다.In general, when a user wants to perform a mathematical operation through a spreadsheet, the user inputs a function command or a formula command to a plurality of cells constituting the spreadsheet. In this way, when the user inputs a function command or a formula command to a plurality of cells constituting the spreadsheet, the spreadsheet performs a mathematical operation based on the function command or the formula command and outputs the result of the calculation.

또한, 스프레드시트는 사용자가 스프레드시트를 구성하는 복수의 셀들에 데이터를 입력함으로써 필드와 레코드로 구성된 소정의 테이블을 만들 수 있도록 지원한다. 관련해서, 도 1의 도면부호 110에는 스프레드시트를 이용하여 생성한 테이블의 일례가 도시되어 있다. 도 1의 도면부호 110에 도시된 그림을 살펴보면, 스프레드시트에 생성된 테이블은 '학번', '점수', '성명'이라고 기재된 부분과 같이 각 데이터의 종류를 구분하기 위한 열 부분에 해당되는 필드와 도면부호 112로 표시한 '4, 100점, 김가가'와 같이 하나의 데이터 세트인 행 부분에 해당되는 레코드로 구분될 수 있다.In addition, the spreadsheet supports a user to create a predetermined table consisting of fields and records by inputting data into a plurality of cells constituting the spreadsheet. 1 shows an example of a table generated using a spreadsheet. Referring to the diagram shown in FIG. 1, the table generated in the spreadsheet includes fields corresponding to column parts for classifying each type of data, such as 'student number', 'score', and 'name'. And '4, 100 points, Kim Ga-ga', denoted by reference numeral 112, may be divided into records corresponding to a row portion of one data set.

스프레드시트에서 제공하는 대표적인 기능 중 하나인 자동필터 기능은 스프레드시트에 생성되어 있는 테이블을 구성하는 복수의 레코드들을 각 열의 데이터에 기초하여 필터링 가능하도록 하는 기능을 의미한다.The auto filter function, one of the typical functions provided by the spreadsheet, means that a plurality of records constituting the table created in the spreadsheet can be filtered based on the data of each column.

관련해서, 도 1에는 스프레드시트에서 제공하는 자동필터 기능이 구현된 예가 도시되어 있다. 도 1의 도면부호 110에 도시된 그림과 같이, 사용자가 스프레드시트에 생성되어 있는 테이블에 대해 자동필터 기능의 실행 명령을 인가하게 되면, 스프레드시트 문서 편집 장치는 상기 테이블에서 데이터 필드명이 삽입되어 있는 1행(111)에 필터를 적용하여 도면부호 120에 도시된 그림과 같이 각 필드에 필터가 적용되었음을 지시하는 필터아이콘(

Figure 112018097296680-pat00001
)을 표시할 수 있고, 사용자가 1행(111) 중 특정 필드열에 적용되어 있는 필터아이콘을 클릭하면, 도면부호 120에 도시되어 있는 그림과 같이 소정의 필터 설정 창(121)을 표시함으로써, 사용자가 필터 설정 창(121)을 통해 자신이 원하는 레코드들만 필터링할 수 있도록 지원할 수 있다.1 illustrates an example in which an autofilter function provided by a spreadsheet is implemented. As shown in the reference numeral 110 of FIG. 1, when a user applies an execution command of an autofilter function to a table created in a spreadsheet, the spreadsheet document editing apparatus inserts a data field name in the table. Applying a filter to row 1 111 shows a filter icon indicating that a filter has been applied to each field, as shown in 120.
Figure 112018097296680-pat00001
), And when the user clicks the filter icon applied to the specific field column in one row 111, the predetermined filter setting window 121 is displayed as shown in the figure shown by reference numeral 120, thereby May support filtering only records desired by the user through the filter setting window 121.

보통, 사용자들은 스프레드시트를 이용하여 테이블을 생성할 때, 도 1에 도시된 그림과 같이, 1행(111)에 각 열의 데이터가 어떤 종류의 데이터인지를 지시하는 필드명을 삽입하기 때문에 사용자가 자동필터 기능을 실행시키면, 해당 필드명이 삽입된 1행(111)에 필터가 적용되어 사용자가 필드명이 제외된 데이터들만을 필터링할 수 있게 되지만, 사용자가 도 2에 도시된 그림과 같이 테이블을 생성할 때, 각 열의 데이터가 어떤 종류의 데이터인지를 지시하는 필드명을 1행에 삽입하지 않은 경우, 자동필터 기능이 제대로 된 역할을 수행하지 못하는 문제가 발생할 수 있다.Usually, when a user creates a table using a spreadsheet, the user inserts a field name indicating what kind of data is the data in each column in one row 111, as shown in FIG. When the auto filter function is executed, the filter is applied to one row 111 into which the corresponding field name is inserted, so that the user can filter only the data except the field name, but the user creates a table as shown in FIG. In this case, when the field name indicating what kind of data of each column is not inserted in one row, an auto filter function may not play a proper role.

보통, 스프레드시트에서 자동필터 기능을 실행시키면 테이블의 1행에 필터가 적용되기 때문에, 사용자가 도 2의 도면부호 210에 도시된 그림과 같이, 1행(221)에 필드명을 삽입하지 않고, 오로지 데이터들만으로 구성된 테이블을 생성한 경우, 사용자가 상기 테이블에 대해 자동필터 기능을 실행시키면, 스프레드시트 문서 편집 장치는 도 2의 도면부호 220에 도시된 그림과 같이, 1행(221)에 필터를 그대로 적용하게 될 것이고, 이로 인해 사용자는 1행(221)에 삽입된 데이터가 제외된 상태로 필터 기능을 사용할 수밖에 없는 문제에 직면하게 된다.In general, when the automatic filter function is executed in a spreadsheet, the filter is applied to one row of the table, so that the user does not insert a field name in one row 221, as shown by the reference numeral 210 of FIG. In the case of creating a table consisting solely of data, when the user executes the autofilter function on the table, the spreadsheet document editing apparatus filters the filter in one row 221, as shown in FIG. This will be applied as it is, and thus the user is faced with the problem of using the filter function with the data inserted in the first row 221 excluded.

따라서, 1행에 필드명이 삽입되어 있지 않은 테이블이 스프레드시트상에 생성되어 있는 상황에서 사용자에 의해 자동필터 기능의 실행 명령이 인가되는 경우, 상기 테이블의 최상단행에 자동으로 필드명이 삽입된 머리글 행을 추가한 후 머리글 행에 필터를 적용함으로써, 사용자가 스프레드시트에서 자동필터 기능을 보다 편리하게 사용할 수 있도록 지원하기 위한 기술의 연구가 필요하다.Therefore, when the user executes the auto filter function in a situation where a table without field names inserted in one row is generated on a spreadsheet, a header row in which field names are automatically inserted into the top row of the table is provided. After adding the filter to the header row, we need to study the technology to make it easier for users to use the autofilter function in spreadsheets.

본 발명은 1행에 필드명이 삽입되어 있지 않은 테이블이 스프레드시트상에 생성되어 있는 상황에서 사용자에 의해 자동필터 기능의 실행 명령이 인가되는 경우, 상기 테이블의 최상단행에 자동으로 필드명이 삽입된 머리글 행을 추가한 후 머리글 행에 필터를 적용함으로써, 사용자가 스프레드시트에서 자동필터 기능을 보다 편리하게 사용할 수 있도록 지원할 수 있는 스프레드시트 문서 편집 장치 및 그 동작 방법을 제공하고자 한다.According to the present invention, when a table in which a field name is not inserted in one row is generated on a spreadsheet, when a command for executing an autofilter function is authorized by a user, a header in which the field name is automatically inserted in the top row of the table After adding a row and applying a filter to the header row, the present invention provides a spreadsheet document editing device and a method of operating the same, which enables a user to use the autofilter function in a spreadsheet more conveniently.

본 발명의 일실시예에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치는 스프레드시트에 생성되어 있는 테이블에 대해 상기 테이블을 구성하는 복수의 레코드들을 각 열의 데이터에 기초하여 필터링 가능하도록 하는 자동필터 기능의 실행 명령이 인가되면, 상기 테이블을 구성하는 복수의 셀들 중 1행에 위치하는 셀들이 상기 테이블을 구성하는 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 머리글이 삽입된 셀인지 여부를 확인하는 머리글 확인부, 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인되면, 상기 테이블에서 상기 1행의 상단 행에 추가 셀들을 삽입하고, 상기 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 임시 머리글을 생성하여 상기 추가 셀들에 상기 임시 머리글을 삽입하는 임시 머리글 생성부 및 상기 추가 셀들에 상기 임시 머리글이 삽입되면, 상기 추가 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용하는 필터 적용부를 포함한다.According to an embodiment of the present invention, a spreadsheet document editing apparatus that executes an autofilter function by generating a temporary header may include a plurality of records of a table created in a spreadsheet based on data in each column. When an execution command of the autofilter function for enabling filtering is applied, cells located in one row of the plurality of cells constituting the table indicate field names of data inserted into each of the plurality of columns constituting the table. A header check unit for checking whether the header is an inserted cell, if it is determined that the cells located in the first row are not the cells in which the header is inserted, insert additional cells in the upper row of the first row in the table, Generating a temporary header indicating a field name of data inserted in each of the plurality of columns; And a temporary header generator for inserting the temporary header into the additional cells and a filter applying unit for applying a filter according to the execution of the autofilter function to the additional cells when the temporary header is inserted into the additional cells.

또한, 본 발명의 일실시예에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작 방법은 스프레드시트에 생성되어 있는 테이블에 대해 상기 테이블을 구성하는 복수의 레코드들을 각 열의 데이터에 기초하여 필터링 가능하도록 하는 자동필터 기능의 실행 명령이 인가되면, 상기 테이블을 구성하는 복수의 셀들 중 1행에 위치하는 셀들이 상기 테이블을 구성하는 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 머리글이 삽입된 셀인지 여부를 확인하는 단계, 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인되면, 상기 테이블에서 상기 1행의 상단 행에 추가 셀들을 삽입하고, 상기 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 임시 머리글을 생성하여 상기 추가 셀들에 상기 임시 머리글을 삽입하는 단계 및 상기 추가 셀들에 상기 임시 머리글이 삽입되면, 상기 추가 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용하는 단계를 포함한다.In addition, according to an embodiment of the present invention, a method of operating a spreadsheet document editing apparatus that executes an autofilter function by generating a temporary header may include a plurality of records constituting the table with respect to a table created in a spreadsheet. When an execution command of an autofilter function that allows filtering based on data of a column is applied, cells located in one row of a plurality of cells constituting the table may be inserted into each of the plurality of columns constituting the table. Checking whether the header indicating the field name is an inserted cell; if it is determined that the cells located in the first row are not the cells in which the header is inserted, additional cells are added to the upper row of the first row in the table. A temporary header indicating a field name of data inserted into each of the plurality of columns. If the sex and the temporary header is inserted into the step and the additional cells to insert the temporary header added to the cells, and a step of applying a filter in accordance with the execution of the automatic filter function for the additional cells.

본 발명은 1행에 필드명이 삽입되어 있지 않은 테이블이 스프레드시트상에 생성되어 있는 상황에서 사용자에 의해 자동필터 기능의 실행 명령이 인가되는 경우, 상기 테이블의 최상단행에 자동으로 필드명이 삽입된 머리글 행을 추가한 후 머리글 행에 필터를 적용함으로써, 사용자가 스프레드시트에서 자동필터 기능을 보다 편리하게 사용할 수 있도록 지원할 수 있는 스프레드시트 문서 편집 장치 및 그 동작 방법을 제공할 수 있다.According to the present invention, when a table in which a field name is not inserted in one row is generated on a spreadsheet, when a command for executing an autofilter function is authorized by a user, a header in which the field name is automatically inserted in the top row of the table is provided. By adding a filter to the header row after adding the row, you can provide a spreadsheet document editing device and a method of operating the same that can help a user use the autofilter function in a spreadsheet more conveniently.

도 1과 도 2는 스프레드시트에서의 자동필터 기능을 설명하기 위한 도면이다.
도 3은 본 발명의 일실시예에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 구조를 도시한 도면이다.
도 4는 본 발명의 일실시예에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작을 설명하기 위한 도면이다.
도 5는 본 발명의 일실시예에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작 방법을 도시한 순서도이다.
1 and 2 are diagrams for explaining an automatic filter function in a spreadsheet.
3 is a diagram illustrating a structure of a spreadsheet document editing apparatus that executes an autofilter function by generating a temporary header according to an embodiment of the present invention.
4 is a view for explaining an operation of a spreadsheet document editing apparatus that executes an autofilter function by generating a temporary header according to an embodiment of the present invention.
5 is a flowchart illustrating a method of operating a spreadsheet document editing apparatus that executes an autofilter function by generating a temporary header according to an embodiment of the present invention.

이하에서는 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명하기로 한다. 이러한 설명은 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였으며, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 본 명세서 상에서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 사람에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. This description is not intended to limit the invention to the specific embodiments, it should be understood to include all changes, equivalents, and substitutes included in the spirit and scope of the invention. In describing the drawings, similar reference numerals are used for similar components, and unless otherwise defined, all terms used in the present specification, including technical or scientific terms, may be used in the art to which the present invention pertains. It has the same meaning as is commonly understood by someone who has it.

본 문서에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다. 또한, 본 발명의 다양한 실시예들에 있어서, 각 구성요소들, 기능 블록들 또는 수단들은 하나 또는 그 이상의 하부 구성요소로 구성될 수 있고, 각 구성요소들이 수행하는 전기, 전자, 기계적 기능들은 전자회로, 집적회로, ASIC(Application Specific Integrated Circuit) 등 공지된 다양한 소자들 또는 기계적 요소들로 구현될 수 있으며, 각각 별개로 구현되거나 2 이상이 하나로 통합되어 구현될 수도 있다. In this document, when a part "includes" a certain component, it means that it may further include other components, except to exclude other components unless specifically stated otherwise. Further, in various embodiments of the present invention, each component, functional block or means may be composed of one or more subcomponents, and the electrical, electronic and mechanical functions performed by each component are electronic The circuit, integrated circuit, ASIC (Application Specific Integrated Circuit) may be implemented as a variety of known elements or mechanical elements, each may be implemented separately, or two or more may be integrated into one.

한편, 첨부된 블록도의 블록들이나 흐름도의 단계들은 범용 컴퓨터, 특수용 컴퓨터, 휴대용 노트북 컴퓨터, 네트워크 컴퓨터 등 데이터 프로세싱이 가능한 장비의 프로세서나 메모리에 탑재되어 지정된 기능들을 수행하는 컴퓨터 프로그램 인스트럭션들(instructions)을 의미하는 것으로 해석될 수 있다. 이들 컴퓨터 프로그램 인스트럭션들은 컴퓨터 장치에 구비된 메모리 또는 컴퓨터에서 판독 가능한 메모리에 저장될 수 있기 때문에, 블록도의 블록들 또는 흐름도의 단계들에서 설명된 기능들은 이를 수행하는 인스트럭션 수단을 내포하는 제조물로 생산될 수도 있다. 아울러, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 가능한 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 정해진 순서와 달리 실행되는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 실질적으로 동시에 수행되거나, 역순으로 수행될 수 있으며, 경우에 따라 일부 블록들 또는 단계들이 생략된 채로 수행될 수도 있다.On the other hand, the steps of the blocks or flowcharts in the attached block diagrams are computer program instructions that are mounted on a processor or memory of a data processing device such as a general purpose computer, special purpose computer, portable notebook computer, or network computer to perform specified functions. It can be interpreted as meaning. Since these computer program instructions may be stored in a memory provided in a computer device or in a computer readable memory, the functions described in the blocks of the block diagram or the steps of the flowchart are produced as an article containing an instruction means for performing this. May be In addition, each block or step may represent a portion of a module, segment, or code that includes one or more executable instructions for executing a specified logical function (s). It should also be noted that in some alternative embodiments, the functions recited in blocks or steps may be performed in a different order. For example, two blocks or steps shown in succession may be performed substantially concurrently or in reverse order, and in some cases, may be performed with some blocks or steps omitted.

도 3은 본 발명의 일실시예에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 구조를 도시한 도면이다.3 is a diagram illustrating a structure of a spreadsheet document editing apparatus that executes an autofilter function by generating a temporary header according to an embodiment of the present invention.

도 3을 참조하면, 본 발명에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치(310)는 머리글 확인부(311), 임시 머리글 생성부(312) 및 필터 적용부(313)를 포함한다.Referring to FIG. 3, the spreadsheet document editing apparatus 310 for executing an automatic filter function by generating a temporary header according to the present invention includes a header checking unit 311, a temporary header generating unit 312, and a filter applying unit ( 313).

머리글 확인부(311)는 스프레드시트에 생성되어 있는 테이블에 대해 상기 테이블을 구성하는 복수의 레코드들을 각 열의 데이터에 기초하여 필터링 가능하도록 하는 자동필터 기능의 실행 명령이 인가되면, 상기 테이블을 구성하는 복수의 셀들 중 1행에 위치하는 셀들이 상기 테이블을 구성하는 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 머리글이 삽입된 셀인지 여부를 확인한다.The header checking unit 311 configures the table when the execution command of the autofilter function is applied to the table created in the spreadsheet so that the plurality of records constituting the table can be filtered based on the data of each column. It is checked whether the cells located in one row of the plurality of cells are cells in which a header indicating a field name of data inserted in each of the plurality of columns of the table is inserted.

임시 머리글 생성부(312)는 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인되면, 상기 테이블에서 상기 1행의 상단 행에 추가 셀들을 삽입하고, 상기 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 임시 머리글을 생성하여 상기 추가 셀들에 상기 임시 머리글을 삽입한다.When it is confirmed that the cells located in the first row are not the cells into which the header is inserted, the temporary header generation unit 312 inserts additional cells in the upper row of the first row in the table, and in each of the plurality of columns. The temporary header indicating the field name of the inserted data is generated and the temporary header is inserted into the additional cells.

필터 적용부(313)는 상기 추가 셀들에 상기 임시 머리글이 삽입되면, 상기 추가 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용한다.When the temporary header is inserted into the additional cells, the filter applying unit 313 applies a filter according to the execution of the autofilter function to the additional cells.

관련해서, 도 4에 도시된 그림을 참조하여 본 발명에 따른 스프레드시트 문서 편집 장치(310)의 동작을 설명하면 다음과 같다.In relation to this, the operation of the spreadsheet document editing apparatus 310 according to the present invention will be described with reference to the drawing shown in FIG. 4.

우선, 도면부호 410에 도시된 그림과 같이, 스프레드시트상에 테이블이 생성되어 있는 상태에서 자동필터 기능의 실행 명령이 인가되었다고 하는 경우, 머리글 확인부(311)는 상기 테이블을 구성하는 복수의 셀들 중 1행(411)에 위치하는 셀들이 상기 테이블을 구성하는 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 머리글이 삽입된 셀인지 여부를 확인할 수 있다.First, as shown in the figure 410, when the execution command of the automatic filter function is applied in the state that the table is created on the spreadsheet, the header check unit 311 is a plurality of cells constituting the table It is possible to check whether the cells located in the first row 411 are cells in which a header indicating a field name of data inserted into each of the plurality of columns constituting the table is inserted.

만약, 1행(411)에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인되면, 임시 머리글 생성부(312)는 도면부호 420에 도시된 그림과 같이, 상기 테이블에서 1행(411)의 상단 행에 추가 셀들(421)을 삽입하고, 상기 복수의 열들 각각에 삽입되어 있는 데이터의 필드명을 지시하는 임시 머리글을 생성하여 추가 셀들(421)에 상기 임시 머리글을 삽입할 수 있다.If the cells located in the first row 411 are not the cells into which the header is inserted, the temporary header generating unit 312 is the first row 411 in the table, as shown at 420. The additional cells 421 may be inserted into an upper row of the cell, and a temporary header indicating a field name of data inserted into each of the plurality of columns may be generated to insert the temporary headers into the additional cells 421.

이렇게, 추가 셀들(421)에 상기 임시 머리글이 삽입되면, 필터 적용부(313)는 추가 셀들(421)에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용함으로써, 사용자가 필터 설정 창(422)을 통해 자신이 원하는 레코드들만을 필터링할 수 있도록 지원할 수 있다.As such, when the temporary header is inserted into the additional cells 421, the filter applying unit 313 applies the filter according to the execution of the autofilter function to the additional cells 421, thereby allowing the user to set the filter setting window 422. This allows you to filter only the records you want.

이때, 본 발명의 일실시예에 따르면, 머리글 확인부(311)는 스프레드시트에 생성되어 있는 테이블에서 1행에 위치하는 셀들이 머리글이 삽입된 셀인지 여부를 확인하기 위한 동작을 수행하는 구체적인 구성으로, 열 확인부(314), 기준 정보 확인부(315), 서식 정보 확인부(316), 패턴 확인부(317) 및 머리글 판단 확인부(318)를 포함할 수 있다.At this time, according to an embodiment of the present invention, the header check unit 311 is a specific configuration for performing an operation for checking whether the cells located in one row of the table generated in the spreadsheet is a cell in which the header is inserted As such, the apparatus may include a column checker 314, a reference information checker 315, a form information checker 316, a pattern checker 317, and a header determination checker 318.

열 확인부(314)는 상기 1행에 위치하는 셀들 중 어느 하나의 셀인 제1 기준 셀을 선택하고, 상기 복수의 열들 중 상기 제1 기준 셀이 속해있는 제1 기준 열을 확인한다.The column identification unit 314 selects a first reference cell, which is any one of the cells located in the first row, and identifies a first reference column to which the first reference cell belongs among the plurality of columns.

기준 정보 확인부(315)는 상기 제1 기준 셀에 설정되어 있는 서식에 대한 정보인 제1 서식 정보를 확인하고, 상기 제1 기준 셀에 삽입되어 있는 데이터의 문자열을 확인하여 상기 제1 기준 셀에 삽입되어 있는 데이터의 문자열의 패턴을 지시하는 정규표현식(Regular Expression)인 제1 정규표현식을 생성한다.The reference information checking unit 315 checks the first format information which is information on the format set in the first reference cell, and checks the character string of the data inserted in the first reference cell to check the first reference cell. A first regular expression is generated, which is a regular expression indicating a pattern of a string of data inserted into the.

서식 정보 확인부(316)는 상기 제1 기준 열에 포함되어 있는 복수의 제1 셀들 중 상기 제1 기준 셀을 중심으로 기설정된(predetermined) 개수만큼 하단 행에 위치하는 하단 셀들을 확인하고, 상기 하단 셀들에 설정되어 있는 서식 정보를 확인하여 상기 하단 셀들에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 일치하는지 여부를 확인한다.The form information checking unit 316 checks the lower cells positioned in the lower row by a predetermined number of the first reference cells among the plurality of first cells included in the first reference column, and determines the lower cells. The form information set in the cells is checked to determine whether the form information set in the lower cells matches the first form information.

패턴 확인부(317)는 상기 하단 셀들에 삽입되어 있는 데이터의 문자열을 확인하고, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 일치하는지 여부를 확인한다.The pattern checking unit 317 checks a string of data inserted into the lower cells and checks whether the pattern according to the string of data inserted into the lower cells matches the pattern of the string based on the first regular expression. Check it.

머리글 판단 확인부(318)는 상기 하단 셀들에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 모두 일치하고, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 모두 일치하는 것으로 확인된 경우, 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인한다.The header determination checker 318 is a character string based on the first regular expression in which the format information set in the lower cells matches all of the first format information, and the pattern according to the character string of the data inserted in the lower cells. When it is confirmed that all of the patterns match, it is confirmed that the cells located in the first row are not the cells in which the header is inserted.

이때, 본 발명의 일실시예에 따르면, 머리글 판단 확인부(318)는 상기 하단 셀들에 설정되어 있는 서식 정보 중 하나 이상의 서식 정보가 상기 제1 서식 정보와 일치하지 않거나, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴 중 하나 이상의 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 일치하지 않는 것으로 확인된 경우, 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀인 것으로 확인할 수 있다.At this time, according to an embodiment of the present invention, the header determination checker 318 is one or more of the format information set in the lower cells does not match the first format information, or is inserted into the lower cells When it is determined that one or more patterns of the pattern according to the character string of the data do not match the pattern of the character string based on the first regular expression, the cells located in the first row may be identified as the cells in which the header is inserted.

이때, 필터 적용부(313)는 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀인 것으로 확인된 경우, 상기 1행에 위치하는 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용할 수 있다.In this case, when it is confirmed that the cells located in the first row are the cells in which the header is inserted, the filter applying unit 313 may apply a filter according to the execution of the autofilter function to the cells located in the first row. have.

관련해서, 도 4에 도시된 그림을 참조하여 열 확인부(314), 기준 정보 확인부(315), 서식 정보 확인부(316), 패턴 확인부(317) 및 머리글 판단 확인부(318)의 동작을 예를 들어 설명하면 다음과 같다.Relatedly, with reference to the picture shown in FIG. 4, the column checker 314, the reference information checker 315, the format information checker 316, the pattern checker 317, and the header determination checker 318 are provided. The operation is described as an example.

우선, 도면부호 410에 도시된 그림과 같은 테이블이 스프레드시트에 생성되었다고 하는 경우, 열 확인부(314)는 1행(411)에 위치하는 셀들 중 어느 하나의 셀인 제1 기준 셀(412)을 선택하고, 상기 테이블을 구성하는 복수의 열들 중 제1 기준 셀(412)이 속해있는 제1 기준 열(413)을 확인할 수 있다.First, when a table such as the picture shown at 410 is generated in the spreadsheet, the column identification unit 314 selects the first reference cell 412 which is any one of the cells located in the first row 411. The first reference column 413 to which the first reference cell 412 belongs may be checked among the plurality of columns constituting the table.

이때, 열 확인부(314)는 제1 기준 셀(412)을 선택할 때, 1행(411)에 위치하는 셀들 중 특정 셀을 랜덤하게 선택하는 방식으로 제1 기준 셀(412)을 선택할 수도 있고, 사용자로부터 수신된 셀 선택 명령에 기초하여 제1 기준 셀(412)을 선택할 수도 있다.In this case, when selecting the first reference cell 412, the column checker 314 may select the first reference cell 412 by randomly selecting a specific cell among the cells located in the first row 411. The first reference cell 412 may be selected based on the cell selection command received from the user.

기준 정보 확인부(315)는 제1 기준 셀(412)에 설정되어 있는 서식에 대한 정보인 제1 서식 정보를 확인하고, 제1 기준 셀(412)에 삽입되어 있는 데이터의 문자열을 확인하여 제1 기준 셀(412)에 삽입되어 있는 데이터의 문자열의 패턴을 지시하는 정규표현식인 제1 정규표현식을 생성할 수 있다.The reference information checking unit 315 checks the first form information, which is information on the form set in the first reference cell 412, and checks the character string of the data inserted in the first reference cell 412. A first regular expression that is a regular expression that indicates a pattern of a string of data inserted into the first reference cell 412 may be generated.

여기서, 서식 정보란 특정 셀에 적용되어 있는 색상, 글꼴 등과 같은 서식에 대한 정보를 의미하고, 정규표현식이란 '111-222-333'이나 '12345-67890'과 같이 특정한 규칙을 가진 문자열의 집합을 표현하는 데 사용하는 형식 언어를 의미한다. 예컨대, '111-222-333'이라는 패턴의 데이터 문자열에 대한 정규표현식은 '3개의 연속된 숫자-3개의 연속된 숫자-3개의 연속된 숫자'라는 패턴을 나타내는 표현식으로 '/^[0-9]{3}-[0-9]{3}-[0-9]{3}$/'과 같이 나타낼 수 있다.Here, the format information refers to information about the format, such as color and font applied to a specific cell, and the regular expression refers to a set of strings having a specific rule such as '111-222-333' or '12345-67890'. The formal language used to express. For example, a regular expression for a data string with a pattern of '111-222-333' is an expression representing a pattern of 'three consecutive numbers-3 consecutive numbers-3 consecutive numbers' and' / ^ [0- 9] {3}-[0-9] {3}-[0-9] {3} $ / '.

이렇게, 상기 제1 서식 정보가 확인되고, 상기 제1 정규표현식이 생성되면, 서식 정보 확인부(316)는 제1 기준 열(413)에 포함되어 있는 복수의 제1 셀들 중 제1 기준 셀(412)을 중심으로 기설정된 개수만큼 하단 행에 위치하는 하단 셀들을 확인할 수 있다. 여기서, 상기 기설정된 개수를 '3개'라고 한다면, 서식 정보 확인부(316)는 제1 기준 셀(412)을 중심으로 도면부호 410의 그림에서 음영으로 표시되어 있는 3개의 하단 행에 위치하는 하단 셀들(414)을 확인할 수 있다.In this manner, when the first form information is confirmed and the first regular expression is generated, the form information checking unit 316 may include a first reference cell (of the plurality of first cells included in the first reference column 413). The lower cells positioned in the lower row by a preset number based on 412 may be identified. Here, if the predetermined number is '3', the format information checking unit 316 is located in three lower rows which are shaded in the figure 410 around the first reference cell 412. The bottom cells 414 can be seen.

그리고, 서식 정보 확인부(316)는 하단 셀(414)들에 설정되어 있는 서식 정보를 확인하여 하단 셀들(414)에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 일치하는지 여부를 확인할 수 있다. 관련해서, 상기 제1 서식 정보가 '셀의 색상이 빨간색'이라는 서식에 대한 정보라고 하는 경우, 서식 정보 확인부(316)는 하단 셀들(414)에 설정되어 있는 서식 정보도 '셀의 색상이 빨간색'이라는 서식에 대한 정보인지를 확인할 수 있다.The form information checking unit 316 may check the form information set in the lower cells 414 to check whether the form information set in the lower cells 414 matches the first form information. . In relation to this, when the first form information is information on a form in which the color of the cell is red, the form information checking unit 316 also displays the form information set in the lower cells 414 as the color of the cell. You can see if it's information about the red form.

패턴 확인부(317)는 하단 셀들(414)에 삽입되어 있는 데이터의 문자열을 확인하고, 하단 셀들(414)에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 일치하는지 여부를 확인할 수 있다. 관련해서, 상기 제1 정규표현식이 '3개의 연속된 숫자-3개의 연속된 숫자-3개의 연속된 숫자'라는 패턴을 나타내는 표현식이라고 하는 경우, 패턴 확인부(317)는 하단 셀들(414)에 삽입되어 있는 데이터의 문자열에 따른 패턴이 '3개의 연속된 숫자-3개의 연속된 숫자-3개의 연속된 숫자'라는 패턴과 일치하는지 여부를 확인할 수 있다.The pattern checking unit 317 checks the character string of the data inserted into the lower cells 414, and the pattern according to the character string of the data inserted into the lower cells 414 and the pattern of the character string based on the first regular expression. You can check whether they match. In relation to this, when the first regular expression is an expression representing a pattern of 'three consecutive numbers-3 consecutive numbers-3 consecutive numbers', the pattern checker 317 transmits to the lower cells 414. It can be checked whether the pattern according to the inserted character string matches the pattern of 'three consecutive numbers-3 consecutive numbers-3 consecutive numbers'.

그 이후, 머리글 판단 확인부(318)는 하단 셀들(414)에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 모두 일치하고, 하단 셀들(414)에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 모두 일치하는 것으로 확인된 경우, 1행(411)에 위치하는 셀들이 머리글이 삽입된 셀이 아닌 것으로 확인할 수 있다.Subsequently, the header determination checker 318 matches all of the format information set in the lower cells 414 with the first format information, and the pattern according to the character string of the data inserted into the lower cells 414. When it is confirmed that all of the patterns of the string based on the first regular expression match, the cells located in the first row 411 are not the cells into which the header is inserted.

즉, 하단 셀들(414)에 설정되어 있는 서식이 제1 기준 셀(412)의 서식과 모두 일치함과 동시에 하단 셀들(414)에 삽입되어 있는 데이터의 패턴이 제1 기준 셀(412)에 삽입되어 있는 데이터의 패턴과 일치한다면, 제1 기준 셀(412)에 삽입되어 있는 데이터는 제1 기준 열(413)의 다른 데이터들과 동일한 형식을 갖는다고 볼 수 있어서, 제1 기준 셀(412)에 삽입되어 있는 데이터는 제1 기준 열(413)에 삽입되어 있는 데이터의 필드명을 나타내는 머리글이 아닌 개별 데이터라고 보아야 할 것이다. 따라서, 머리글 판단 확인부(318)는 하단 셀들(414)에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 모두 일치하고, 하단 셀들(414)에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 모두 일치하는 것으로 확인된 경우, 1행(411)에 위치하는 셀들 전체가 머리글이 삽입된 셀이 아닌 것으로 확인할 수 있다.That is, the format set in the lower cells 414 matches all the formats of the first reference cell 412 and the pattern of data inserted in the lower cells 414 is inserted into the first reference cell 412. If the data coincides with the data pattern, the data inserted into the first reference cell 412 may be regarded as having the same format as the other data of the first reference column 413. The data inserted into the first reference column 413 should be regarded as individual data rather than a header indicating the field name of the data inserted into the first reference column 413. Accordingly, the header determination checker 318 may match all of the format information set in the lower cells 414 with the first format information, and the pattern according to the character string of the data inserted into the lower cells 414 may be the first. 1 If it is confirmed that all of the pattern of the string based on the regular expression match, it can be confirmed that the entire cells located in the first row 411 is not a cell inserted with a header.

하지만, 하단 셀들(414)에 설정되어 있는 서식 정보 중 하나 이상의 서식 정보가 상기 제1 서식 정보와 일치하지 않거나, 하단 셀들(414)에 삽입되어 있는 데이터의 문자열에 따른 패턴 중 하나 이상의 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 일치하지 않는 것으로 확인된 경우, 제1 기준 셀(412)에 삽입되어 있는 데이터는 제1 기준 열(413)에 삽입되어 있는 다른 데이터들과 다른 형식을 갖는 것으로 볼 수 있고, 이는 결국 제1 기준 셀(412)에 삽입되어 있는 데이터가 제1 기준 열(413)에 삽입되는 일반 데이터가 아니라고 볼 수 있기 때문에, 머리글 판단 확인부(318)는 1행(411)에 위치하는 셀들이 상기 머리글이 삽입된 셀인 것으로 확인할 수 있다.However, one or more of the format information set in the lower cells 414 does not match the first format information, or one or more patterns of the pattern according to the character string of the data inserted into the lower cells 414 are not included. If it is determined that the pattern does not match the pattern of the string based on the first regular expression, the data inserted in the first reference cell 412 has a different format from other data inserted in the first reference column 413. It can be seen that this is because the data inserted in the first reference cell 412 is not general data inserted into the first reference column 413, so that the header determination checker 318 has one row ( The cells located at 411 may be identified as cells inserted with the header.

이때, 1행(411)에 위치하는 셀들이 상기 머리글이 삽입된 셀인 것으로 확인된 경우, 임시 머리글 생성부(312)를 통해 소정의 임시 머리글을 생성할 필요가 없기 때문에 필터 적용부(313)는 1행(411)에 위치하는 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용할 수 있다.In this case, when the cells located in the first row 411 are identified as the cells into which the header is inserted, the filter applying unit 313 does not need to generate a predetermined temporary header through the temporary header generation unit 312. A filter according to the execution of the auto filter function may be applied to the cells located in the first row 411.

본 발명의 일실시예에 따르면, 임시 머리글 생성부(312)는 스프레드시트에 생성되어 있는 테이블에서 1행의 셀들이 머리글이 삽입된 셀이 아닌 것으로 확인되었을 때, 상기 1행의 상단 행에 임시 머리글을 삽입하는 동작을 수행하는 구체적인 구성으로, 제1 임시 머리글 생성부(319), 제2 임시 머리글 생성부(320) 및 제3 임시 머리글 생성부(321)를 포함할 수 있다.According to an embodiment of the present invention, when the temporary header generation unit 312 determines that the cells of one row are not the cells into which the header is inserted in the table generated in the spreadsheet, the temporary header generator 312 temporarily creates the temporary header in the upper row of the first row. As a specific configuration for performing an operation of inserting a header, the first temporary header generator 319, the second temporary header generator 320, and the third temporary header generator 321 may be included.

제1 임시 머리글 생성부(319)는 상기 테이블을 구성하는 복수의 열들 중 각 열을 구성하는 셀들에 기설정된 제1 기준 개수 이상의 동일 단어가 데이터로 삽입되어 있는 적어도 하나의 제1 열이 존재하는 경우, 상기 적어도 하나의 제1 열 각각에 대해 상기 제1 기준 개수 이상으로 삽입되어 있는 동일 단어를 확인한 후 상기 적어도 하나의 제1 열 각각에 대해 확인된 동일 단어를 상기 적어도 하나의 제1 열 각각에 대한 임시 머리글로 생성한다.The first temporary header generation unit 319 may include at least one first column in which the same words equal to or greater than a first reference number preset in the cells constituting each column among the plurality of columns constituting the table are inserted as data. In this case, after confirming the same words inserted in the at least one first reference number for each of the at least one first column, the same words identified for each of the at least one first column are respectively identified in the at least one first column. Create a temporary header for.

관련해서, 상기 제1 기준 개수를 '3개'라고 하고, 상기 테이블을 구성하는 복수의 열들이 1열부터 5열까지 존재한다고 하며, 5개의 열들 중 1열, 2열에서 3개 이상의 셀에 동일 단어가 데이터로 삽입되어 있다고 하는 경우, 제1 임시 머리글 생성부(319)는 상기 테이블을 구성하는 5개의 열들 중 1열, 2열에 3개 이상씩 삽입되어 있는 동일 단어를 각 열에 대한 임시 머리글로 생성할 수 있다.In this regard, the first reference number is referred to as 'three', and a plurality of columns constituting the table are present in columns 1 to 5, and in three or more cells in columns 1 and 2 of the five columns. When the same word is inserted as data, the first temporary header generation unit 319 temporarily inserts the same word inserted in at least three columns in one column and two columns among the five columns constituting the table. Can be generated as

예컨대, 1열에서 '특허'라고 하는 단어가 3개 이상의 셀에 삽입되어 있다고 하는 경우, 제1 임시 머리글 생성부(319)는 1열에 대한 임시 머리글로 '특허'를 생성할 수 있다.For example, when the word 'patent' is inserted in three or more cells in one column, the first temporary header generator 319 may generate 'patent' as a temporary header for one column.

제2 임시 머리글 생성부(320)는 상기 복수의 열들 중 상기 적어도 하나의 제1 열이 제외된 적어도 하나의 제2 열을 구분한 후 상기 적어도 하나의 제2 열 중 각 열을 구성하는 셀들에 기설정된 제2 기준 개수 이상의 동일 데이터 형식을 갖는 데이터가 삽입되어 있는 적어도 하나의 제3 열이 존재하는 경우, 상기 적어도 하나의 제3 열 각각에 대해 상기 제2 기준 개수 이상으로 존재하는 동일 데이터 형식을 확인한 후 상기 적어도 하나의 제3 열 각각에 대해 확인된 동일 데이터 형식을 지시하는 단어를 상기 적어도 하나의 제3 열 각각에 대한 임시 머리글로 생성한다.The second temporary header generator 320 divides at least one second column from which the at least one first column is excluded among the plurality of columns, and then divides the at least one second column into cells constituting each column of the at least one second column. When there is at least one third column into which data having the same data format equal to or greater than a second predetermined reference number is inserted, the same data format existing as greater than or equal to the second reference number for each of the at least one third column After confirming, a word indicating the same data format identified for each of the at least one third column is generated as a temporary header for each of the at least one third column.

관련해서, 전술한 예에서와 같이 1열, 2열에 동일 단어가 임시 머리글로 생성되었다고 하고, 상기 제2 기준 개수가 '4개'라고 하는 경우, 제2 임시 머리글 생성부(320)는 상기 테이블을 구성하는 5개의 열들 중 1열, 2열을 제외한 3열, 4열, 5열을 구분할 수 있고, 3열, 4열, 5열 중 3열, 4열에서 4개 이상의 셀에 동일 데이터 형식을 갖는 데이터가 삽입되어 있다고 하는 경우, 제2 임시 머리글 생성부(320)는 상기 테이블을 구성하는 3열, 4열, 5열 중 3열, 4열에 4개 이상씩 존재하는 동일 데이터 형식을 지시하는 단어를 각 열에 대한 임시 머리글로 생성할 수 있다.In this regard, when the same word is generated as a temporary header in the first column and the second column as in the above-described example, and the second reference number is 'four', the second temporary header generation unit 320 may generate the table. Among the five columns constituting the column, one can distinguish three columns, four columns, and five columns except two columns, and the same data type is used for four or more cells in three columns, four columns, and three columns and four columns. When the data having the data is inserted, the second temporary header generation unit 320 indicates the same data format that exists in four or more columns in three columns, four columns, three columns, four columns, and five columns constituting the table. To create a temporary header for each column.

예컨대, 3열에서 '숫자'라고 하는 데이터 형식을 갖는 데이터가 4개 이상의 셀에 삽입되어 있다고 하는 경우, 제2 임시 머리글 생성부(320)는 3열에 대한 임시 머리글로 '숫자'를 생성할 수 있다.For example, when data having a data type of 'number' in three columns is inserted into four or more cells, the second temporary header generation unit 320 may generate 'number' as a temporary header for three columns. have.

그리고, 제3 임시 머리글 생성부(321)는 상기 복수의 열들 중 상기 적어도 하나의 제1 열 및 상기 적어도 하나의 제3 열을 제외한 나머지 열들 각각에 대해 상기 나머지 열들 각각에 할당되어 있는 상기 스프레드시트상에서의 열 주소를 확인한 후 상기 나머지 열들 각각에 대해 확인된 열 주소를 상기 나머지 열들 각각에 대한 임시 머리글로 생성한다.The third temporary header generation unit 321 is assigned to each of the remaining columns for each of the remaining columns except for the at least one first column and the at least one third column among the plurality of columns. After confirming the column address in the image, a generated column address for each of the remaining columns is generated as a temporary header for each of the remaining columns.

관련해서, 전술한 예에서와 같이 1열, 2열에 동일 단어가 임시 머리글로 생성되었다고 하고, 3열, 4열에 동일 데이터 형식을 지시하는 단어가 임시 머리글로 생성되었다고 하는 경우, 제3 임시 머리글 생성부(320)는 상기 테이블을 구성하는 5개의 열들 중 1열, 2열, 3열, 4열을 제외한 5열을 구분할 수 있고, 5열에 할당되어 있는 스프레드시트상에서의 열 주소를 5열에 대한 임시 머리글로 생성할 수 있다.In this regard, when the same word is generated as a temporary header in columns 1 and 2 as in the above example, and a word indicating the same data format is generated as a temporary header in columns 3 and 4, a third temporary header is generated. The unit 320 may distinguish five columns except one, two, three, and four columns among the five columns constituting the table, and the column address on the spreadsheet assigned to the five columns may be temporarily stored for the five columns. Can be created as a header.

예컨대, 5열에 할당되어 있는 스프레드시트상에서의 열 주소가 'E'라고 하는 경우, 제3 임시 머리글 생성부(321)는 5열에 대한 임시 머리글로 'E'를 생성할 수 있다.For example, when the column address on the spreadsheet assigned to the fifth column is 'E', the third temporary header generator 321 may generate 'E' as the temporary header for the fifth column.

이때, 본 발명의 다른 실시예에 따르면, 제3 임시 머리글 생성부(321)는 5열을 구성하는 셀들에 삽입되어 있는 데이터의 패턴을 확인해서 소정의 제3 기준 개수 이상의 셀들에 동일한 데이터의 패턴을 갖는 데이터가 삽입되어 있는 것으로 확인되는 경우, 해당 데이터 패턴을 지시하는 정보를 5열에 대한 임시 머리글로 생성할 수도 있다. 예컨대, 5열을 구성하는 셀들 중 5개 이상의 셀들에 '123456-1234567'이라는 데이터 패턴을 갖는 데이터가 삽입되어 있다고 하는 경우, 제3 임시 머리글 생성부(321)는 5열에 대한 머리글로 '123456-1234567'이라는 데이터 패턴을 지시하는 정보인 '주민등록번호'라고 하는 임시 머리글을 생성할 수 있다.At this time, according to another embodiment of the present invention, the third temporary header generation unit 321 checks the pattern of the data inserted in the cells constituting the five columns, the pattern of the same data in the cells more than a predetermined third reference number When it is confirmed that the data having the data is inserted, information indicating the data pattern may be generated as a temporary header for five columns. For example, when data having a data pattern of '123456-1234567' is inserted into five or more cells among the cells constituting the five columns, the third temporary header generation unit 321 may use '123456-' as the header for the five columns. 1234567 ', a temporary header called a' resident registration number 'may be generated.

본 명세서에서 스프레드시트 문서 편집 장치(310)를 구성하는 머리글 확인부(311), 임시 머리글 생성부(312), 필터 적용부(313), 열 확인부(314), 기준 정보 확인부(315), 서식 정보 확인부(316), 패턴 확인부(317), 머리글 판단 확인부(318), 제1 임시 머리글 생성부(319), 제2 임시 머리글 생성부(320) 및 제3 임시 머리글 생성부(321)는 특정 인스트럭션을 수행하는 모듈을 의미하기 위해 사용되었으며, 상기 모듈들을 통해 수행되는 인스트럭션들은 스프레드시트 문서 편집 장치(310)에 구비된 프로세서(미도시)에 의해 수행될 수 있는 것으로 이해될 수 있음을 밝혀둔다.Header confirmation unit 311, temporary header generation unit 312, filter applying unit 313, column confirmation unit 314, reference information confirmation unit 315 constituting the spreadsheet document editing apparatus 310 in the present specification; , The form information check unit 316, the pattern check unit 317, the header determination check unit 318, the first temporary header generator 319, the second temporary header generator 320, and the third temporary header generator 321 is used to mean a module that performs a specific instruction, it is to be understood that instructions performed through the modules can be performed by a processor (not shown) provided in the spreadsheet document editing apparatus 310. Let's find out.

도 5는 본 발명의 일실시예에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작 방법을 도시한 순서도이다.5 is a flowchart illustrating a method of operating a spreadsheet document editing apparatus that executes an autofilter function by generating a temporary header according to an embodiment of the present invention.

단계(S510)에서는 스프레드시트에 생성되어 있는 테이블에 대해 상기 테이블을 구성하는 복수의 레코드들을 각 열의 데이터에 기초하여 필터링 가능하도록 하는 자동필터 기능의 실행 명령이 인가되면, 상기 테이블을 구성하는 복수의 셀들 중 1행에 위치하는 셀들이 상기 테이블을 구성하는 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 머리글이 삽입된 셀인지 여부를 확인한다.In step S510, when an execution command of an autofilter function for filtering a plurality of records constituting the table based on data of each column is applied to a table created in a spreadsheet, the plurality of tables constituting the table are applied. It is checked whether the cells located in one row of the cells are cells in which a header indicating a field name of data inserted in each of a plurality of columns of the table is inserted.

단계(S520)에서는 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인되면, 상기 테이블에서 상기 1행의 상단 행에 추가 셀들을 삽입하고, 상기 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 임시 머리글을 생성하여 상기 추가 셀들에 상기 임시 머리글을 삽입한다.In step S520, if it is determined that the cells located in the first row are not the cells into which the header is inserted, the additional cells are inserted in the upper row of the first row in the table, and inserted into each of the plurality of columns. A temporary header indicating a field name of data is generated to insert the temporary header into the additional cells.

단계(S530)에서는 상기 추가 셀들에 상기 임시 머리글이 삽입되면, 상기 추가 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용한다.In operation S530, when the temporary header is inserted into the additional cells, a filter according to the execution of the autofilter function is applied to the additional cells.

이때, 본 발명의 일실시예에 따르면, 단계(S510)에서는 상기 1행에 위치하는 셀들 중 어느 하나의 셀인 제1 기준 셀을 선택하고, 상기 복수의 열들 중 상기 제1 기준 셀이 속해있는 제1 기준 열을 확인하는 단계, 상기 제1 기준 셀에 설정되어 있는 서식에 대한 정보인 제1 서식 정보를 확인하고, 상기 제1 기준 셀에 삽입되어 있는 데이터의 문자열을 확인하여 상기 제1 기준 셀에 삽입되어 있는 데이터의 문자열의 패턴을 지시하는 정규표현식인 제1 정규표현식을 생성하는 단계, 상기 제1 기준 열에 포함되어 있는 복수의 제1 셀들 중 상기 제1 기준 셀을 중심으로 기설정된 개수만큼 하단 행에 위치하는 하단 셀들을 확인하고, 상기 하단 셀들에 설정되어 있는 서식 정보를 확인하여 상기 하단 셀들에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 일치하는지 여부를 확인하는 단계, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열을 확인하고, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 일치하는지 여부를 확인하는 단계 및 상기 하단 셀들에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 모두 일치하고, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 모두 일치하는 것으로 확인된 경우, 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인하는 단계를 포함할 수 있다.At this time, according to an embodiment of the present invention, in step S510, a first reference cell, which is any one of the cells located in the first row, is selected, and the first reference cell among the plurality of columns belongs to the first reference cell. Confirming a first reference column, checking first format information, which is information on a format set in the first reference cell, and checking a character string of data inserted into the first reference cell to identify the first reference cell Generating a first regular expression, which is a regular expression indicating a pattern of a string of data inserted into the first reference expression, by a predetermined number of predetermined centers of the plurality of first cells included in the first reference column; Identifying the lower cells located in the lower row, and checking the format information set in the lower cells so that the format information set in the lower cells matches the first format information. Checking whether the data string is inserted into the lower cells, and whether the pattern according to the string of data inserted into the lower cells matches the pattern of the string based on the first regular expression; And all of the format information set in the lower cells match the first format information, and the pattern according to the character string of the data inserted in the lower cells matches the pattern of the character string based on the first regular expression. If it is confirmed that the cell, located in the first row may include the step of confirming that the header cell is not inserted.

이때, 본 발명의 일실시예에 따르면, 단계(S510)에서는 상기 하단 셀들에 설정되어 있는 서식 정보 중 하나 이상의 서식 정보가 상기 제1 서식 정보와 일치하지 않거나, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴 중 하나 이상의 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 일치하지 않는 것으로 확인된 경우, 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀인 것으로 확인하는 단계를 더 포함할 수 있다.At this time, according to an embodiment of the present invention, in step S510, one or more of the format information set in the lower cells does not match the first format information, or is inserted into the lower cells. If it is determined that one or more patterns of the pattern according to the character string do not match the pattern of the character string based on the first regular expression, the method further includes the step of identifying that the cells located in the first row are cells inserted with the header. Can be.

이때, 단계(S530)에서는 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀인 것으로 확인된 경우, 상기 1행에 위치하는 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용할 수 있다.In this case, in step S530, when it is determined that the cells located in the first row are the cells in which the header is inserted, the filter according to the execution of the autofilter function may be applied to the cells located in the first row.

또한, 본 발명의 일실시예에 따르면, 단계(S520)에서는 상기 복수의 열들 중 각 열을 구성하는 셀들에 기설정된 제1 기준 개수 이상의 동일 단어가 데이터로 삽입되어 있는 적어도 하나의 제1 열이 존재하는 경우, 상기 적어도 하나의 제1 열 각각에 대해 상기 제1 기준 개수 이상으로 삽입되어 있는 동일 단어를 확인한 후 상기 적어도 하나의 제1 열 각각에 대해 확인된 동일 단어를 상기 적어도 하나의 제1 열 각각에 대한 임시 머리글로 생성하는 단계 및 상기 복수의 열들 중 상기 적어도 하나의 제1 열이 제외된 적어도 하나의 제2 열을 구분한 후 상기 적어도 하나의 제2 열 중 각 열을 구성하는 셀들에 기설정된 제2 기준 개수 이상의 동일 데이터 형식을 갖는 데이터가 삽입되어 있는 적어도 하나의 제3 열이 존재하는 경우, 상기 적어도 하나의 제3 열 각각에 대해 상기 제2 기준 개수 이상으로 존재하는 동일 데이터 형식을 확인한 후 상기 적어도 하나의 제3 열 각각에 대해 확인된 동일 데이터 형식을 지시하는 단어를 상기 적어도 하나의 제3 열 각각에 대한 임시 머리글로 생성하는 단계를 포함할 수 있다.Further, according to an embodiment of the present invention, in step S520, at least one first column in which the same word equal to or greater than a first reference number preset in the cells constituting each column of the plurality of columns is inserted as data. If present, the same word inserted for each of the at least one first column or more than the first reference number is checked, and the same word identified for each of the at least one first column is checked. Generating cells as a temporary header for each column, and separating at least one second column from which the at least one first column is excluded from the plurality of columns, and then forming cells in each of the at least one second column When there is at least one third column into which data having the same data format equal to or greater than the second reference number preset is inserted, each of the at least one third column Identify the same data type that exists above the second reference number, and generate a temporary header for each of the at least one third column indicating a same data type identified for each of the at least one third column; It may include the step.

이때, 단계(S520)에서는 상기 복수의 열들 중 상기 적어도 하나의 제1 열 및 상기 적어도 하나의 제3 열을 제외한 나머지 열들 각각에 대해 상기 나머지 열들 각각에 할당되어 있는 상기 스프레드시트상에서의 열 주소를 확인한 후 상기 나머지 열들 각각에 대해 확인된 열 주소를 상기 나머지 열들 각각에 대한 임시 머리글로 생성하는 단계를 더 포함할 수 있다.In this case, in step S520, a column address on the spreadsheet assigned to each of the remaining columns for each of the remaining columns except for the at least one first column and the at least one third column among the plurality of columns may be obtained. After checking, the method may further include generating a identified column address for each of the remaining columns as a temporary header for each of the remaining columns.

이상, 도 5를 참조하여 본 발명의 일실시예에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작 방법은 도 3과 도 4를 이용하여 설명한 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치(310)의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.In the above, the operation method of the spreadsheet document editing apparatus for executing the autofilter function by generating the temporary header according to an embodiment of the present invention has been described with reference to FIG. 5. Here, the operation method of the spreadsheet document editing apparatus for executing the autofilter function by generating the temporary header according to an embodiment of the present invention is to enable the autofilter function by generating the temporary header described with reference to FIGS. 3 and 4. Since it may correspond to the configuration of the operation of the spreadsheet document editing apparatus 310 to be executed, a detailed description thereof will be omitted.

본 발명의 일실시예에 따른 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.According to an embodiment of the present invention, a method of operating a spreadsheet document editing apparatus that executes an automatic filter function by generating a temporary header may be implemented by 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 spreadsheet document editing apparatus for executing the automatic filter function by generating the temporary header according to an embodiment of the present invention is implemented in the form of program instructions that can be executed by various computer means computer readable media Can be recorded. 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.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 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. .

310: 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치
311: 머리글 확인부 312: 임시 머리글 생성부
313: 필터 적용부 314: 열 확인부
315: 기준 정보 확인부 316: 서식 정보 확인부
317: 패턴 확인부 318: 머리글 판단 확인부
319: 제1 임시 머리글 생성부 320: 제2 임시 머리글 생성부
321: 제3 임시 머리글 생성부
310: Spreadsheet document editing device that executes the autofilter function by creating a temporary header
311: header check unit 312: temporary header generation unit
313: filter application unit 314: heat confirmation unit
315: reference information confirmation unit 316: form information confirmation unit
317: pattern check unit 318: header determination check unit
319: First temporary header generator 320: Second temporary header generator
321: third temporary header generator

Claims (12)

스프레드시트에 생성되어 있는 테이블에 대해 상기 테이블을 구성하는 복수의 레코드들을 각 열의 데이터에 기초하여 필터링 가능하도록 하는 자동필터 기능의 실행 명령이 인가되면, 상기 테이블을 구성하는 복수의 셀들 중 1행에 위치하는 셀들이 상기 테이블을 구성하는 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 머리글이 삽입된 셀인지 여부를 확인하는 머리글 확인부;
상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인되면, 상기 테이블에서 상기 1행의 상단 행에 추가 셀들을 삽입하고, 상기 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 임시 머리글을 생성하여 상기 추가 셀들에 상기 임시 머리글을 삽입하는 임시 머리글 생성부; 및
상기 추가 셀들에 상기 임시 머리글이 삽입되면, 상기 추가 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용하는 필터 적용부
를 포함하고,
상기 머리글 확인부는
상기 1행에 위치하는 셀들 중 어느 하나의 셀인 제1 기준 셀을 선택하고, 상기 복수의 열들 중 상기 제1 기준 셀이 속해있는 제1 기준 열을 확인하는 열 확인부;
상기 제1 기준 셀에 설정되어 있는 서식에 대한 정보인 제1 서식 정보를 확인하고, 상기 제1 기준 셀에 삽입되어 있는 데이터의 문자열을 확인하여 상기 제1 기준 셀에 삽입되어 있는 데이터의 문자열의 패턴을 지시하는 정규표현식(Regular Expression)인 제1 정규표현식을 생성하는 기준 정보 확인부;
상기 제1 기준 열에 포함되어 있는 복수의 제1 셀들 중 상기 제1 기준 셀을 중심으로 기설정된(predetermined) 개수만큼 하단 행에 위치하는 하단 셀들을 확인하고, 상기 하단 셀들에 설정되어 있는 서식 정보를 확인하여 상기 하단 셀들에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 일치하는지 여부를 확인하는 서식 정보 확인부;
상기 하단 셀들에 삽입되어 있는 데이터의 문자열을 확인하고, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 일치하는지 여부를 확인하는 패턴 확인부; 및
상기 하단 셀들에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 모두 일치하고, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 모두 일치하는 것으로 확인된 경우, 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인하는 머리글 판단 확인부
를 포함하는 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치.
When an execution command of an autofilter function is applied to a table created in a spreadsheet, a plurality of records constituting the table can be filtered based on data of each column, the first row of the plurality of cells constituting the table is applied. A header checking unit for checking whether or not cells located in the cells are inserted with headers indicating field names of data inserted into each of a plurality of columns constituting the table;
If it is determined that the cells located in the first row are not the cells into which the header is inserted, additional cells are inserted in the upper row of the first row in the table, and field names of data inserted in each of the plurality of columns are inserted. A temporary header generation unit for generating a temporary header indicating and inserting the temporary header into the additional cells; And
When the temporary header is inserted into the additional cells, the filter applying unit for applying a filter according to the execution of the autofilter function for the additional cells
Including,
The header check unit
A column identification unit for selecting a first reference cell, which is any one of the cells located in the first row, and identifying a first reference column to which the first reference cell belongs among the plurality of columns;
Confirm the first format information, which is information on the format set in the first reference cell, and check the character string of the data inserted in the first reference cell to determine the character string of the data inserted in the first reference cell. A reference information checking unit generating a first regular expression which is a regular expression indicating a pattern;
Identifying the lower cells located in the lower row by a predetermined number centering on the first reference cell among the plurality of first cells included in the first reference column, and checking the format information set in the lower cells. A format information verification unit which checks whether or not the format information set in the lower cells matches the first format information;
A pattern checking unit checking a string of data inserted into the lower cells and checking whether a pattern according to the string of data inserted into the lower cells matches a pattern of a string based on the first regular expression; And
Confirm that the format information set in the lower cells matches all of the first format information, and that the pattern according to the character string of the data inserted in the lower cells matches the pattern of the character string based on the first regular expression. , The header determination check unit for confirming that the cells located in the first row are not the cells into which the header is inserted.
Spreadsheet document editing device for executing the autofilter function by creating a temporary header including.
삭제delete 제1항에 있어서,
상기 머리글 판단 확인부는
상기 하단 셀들에 설정되어 있는 서식 정보 중 하나 이상의 서식 정보가 상기 제1 서식 정보와 일치하지 않거나, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴 중 하나 이상의 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 일치하지 않는 것으로 확인된 경우, 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀인 것으로 확인하고,
상기 필터 적용부는
상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀인 것으로 확인된 경우, 상기 1행에 위치하는 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용하는 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치.
The method of claim 1,
The header determination check unit
At least one of the format information set in the lower cells does not match the first format information, or at least one of the patterns according to the character string of the data inserted in the lower cells is based on the first regular expression. If it is confirmed that it does not match the pattern of the string, it is confirmed that the cells located in the first row is the cell inserted with the header,
The filter application unit
When the cells located in the first row are found to be the cells into which the header is inserted, the autofilter function is generated by generating a temporary header that applies a filter according to the execution of the autofilter function to the cells located in the first row. A spreadsheet document editing device running.
제1항에 있어서,
상기 임시 머리글 생성부는
상기 복수의 열들 중 각 열을 구성하는 셀들에 기설정된 제1 기준 개수 이상의 동일 단어가 데이터로 삽입되어 있는 적어도 하나의 제1 열이 존재하는 경우, 상기 적어도 하나의 제1 열 각각에 대해 상기 제1 기준 개수 이상으로 삽입되어 있는 동일 단어를 확인한 후 상기 적어도 하나의 제1 열 각각에 대해 확인된 동일 단어를 상기 적어도 하나의 제1 열 각각에 대한 임시 머리글로 생성하는 제1 임시 머리글 생성부; 및
상기 복수의 열들 중 상기 적어도 하나의 제1 열이 제외된 적어도 하나의 제2 열을 구분한 후 상기 적어도 하나의 제2 열 중 각 열을 구성하는 셀들에 기설정된 제2 기준 개수 이상의 동일 데이터 형식을 갖는 데이터가 삽입되어 있는 적어도 하나의 제3 열이 존재하는 경우, 상기 적어도 하나의 제3 열 각각에 대해 상기 제2 기준 개수 이상으로 존재하는 동일 데이터 형식을 확인한 후 상기 적어도 하나의 제3 열 각각에 대해 확인된 동일 데이터 형식을 지시하는 단어를 상기 적어도 하나의 제3 열 각각에 대한 임시 머리글로 생성하는 제2 임시 머리글 생성부
를 포함하는 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치.
The method of claim 1,
The temporary header generator
When there is at least one first column in which the same words equal to or greater than a predetermined first reference number are inserted into the cells constituting each column of the plurality of columns, data for each of the at least one first column is present. A first temporary header generation unit for generating the same word identified for each of the at least one first column as a temporary header for each of the at least one first column after checking the same word inserted in at least one reference number; And
After identifying at least one second column excluding the at least one first column among the plurality of columns, the same data format equal to or greater than a second reference number preset in the cells constituting each column of the at least one second column. If there is at least one third column into which the data having the data is inserted, the at least one third column is identified after checking the same data format that exists in the at least one second reference number for each of the at least one third column. A second temporary header generation unit generating a word indicating the same data type identified for each of the at least one third column as a temporary header for each of the at least one third column;
Spreadsheet document editing device for executing the autofilter function by creating a temporary header including.
제4항에 있어서,
상기 임시 머리글 생성부는
상기 복수의 열들 중 상기 적어도 하나의 제1 열 및 상기 적어도 하나의 제3 열을 제외한 나머지 열들 각각에 대해 상기 나머지 열들 각각에 할당되어 있는 상기 스프레드시트상에서의 열 주소를 확인한 후 상기 나머지 열들 각각에 대해 확인된 열 주소를 상기 나머지 열들 각각에 대한 임시 머리글로 생성하는 제3 임시 머리글 생성부
를 더 포함하는 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치.
The method of claim 4, wherein
The temporary header generator
The column address on the spreadsheet assigned to each of the remaining columns for each of the remaining columns except for the at least one first column and the at least one third column of the plurality of columns is checked, and then each of the remaining columns is determined. A third temporary header generation unit generating the identified column address as a temporary header for each of the remaining columns
Spreadsheet document editing device to execute the autofilter function by generating a temporary header further comprising.
스프레드시트에 생성되어 있는 테이블에 대해 상기 테이블을 구성하는 복수의 레코드들을 각 열의 데이터에 기초하여 필터링 가능하도록 하는 자동필터 기능의 실행 명령이 인가되면, 상기 테이블을 구성하는 복수의 셀들 중 1행에 위치하는 셀들이 상기 테이블을 구성하는 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 머리글이 삽입된 셀인지 여부를 확인하는 단계;
상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인되면, 상기 테이블에서 상기 1행의 상단 행에 추가 셀들을 삽입하고, 상기 복수의 열들 각각에 삽입되어 있는 데이터들의 필드명을 지시하는 임시 머리글을 생성하여 상기 추가 셀들에 상기 임시 머리글을 삽입하는 단계; 및
상기 추가 셀들에 상기 임시 머리글이 삽입되면, 상기 추가 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용하는 단계
를 포함하고,
상기 머리글이 삽입된 셀인지 여부를 확인하는 단계는
상기 1행에 위치하는 셀들 중 어느 하나의 셀인 제1 기준 셀을 선택하고, 상기 복수의 열들 중 상기 제1 기준 셀이 속해있는 제1 기준 열을 확인하는 단계;
상기 제1 기준 셀에 설정되어 있는 서식에 대한 정보인 제1 서식 정보를 확인하고, 상기 제1 기준 셀에 삽입되어 있는 데이터의 문자열을 확인하여 상기 제1 기준 셀에 삽입되어 있는 데이터의 문자열의 패턴을 지시하는 정규표현식(Regular Expression)인 제1 정규표현식을 생성하는 단계;
상기 제1 기준 열에 포함되어 있는 복수의 제1 셀들 중 상기 제1 기준 셀을 중심으로 기설정된(predetermined) 개수만큼 하단 행에 위치하는 하단 셀들을 확인하고, 상기 하단 셀들에 설정되어 있는 서식 정보를 확인하여 상기 하단 셀들에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 일치하는지 여부를 확인하는 단계;
상기 하단 셀들에 삽입되어 있는 데이터의 문자열을 확인하고, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 일치하는지 여부를 확인하는 단계; 및
상기 하단 셀들에 설정되어 있는 서식 정보가 상기 제1 서식 정보와 모두 일치하고, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 모두 일치하는 것으로 확인된 경우, 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀이 아닌 것으로 확인하는 단계
를 포함하는 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작 방법.
When an execution command of an autofilter function is applied to a table created in a spreadsheet, a plurality of records constituting the table can be filtered based on data of each column, the first row of the plurality of cells constituting the table is applied. Checking whether the cells located are cells in which a header indicating a field name of data inserted in each of a plurality of columns of the table is inserted;
If it is determined that the cells located in the first row are not the cells into which the header is inserted, additional cells are inserted in the upper row of the first row in the table, and field names of data inserted in each of the plurality of columns are inserted. Creating an indication of a temporary header and inserting the temporary header into the additional cells; And
If the temporary header is inserted into the additional cells, applying a filter according to the execution of the autofilter function on the additional cells
Including,
Checking whether the header is an inserted cell
Selecting a first reference cell, which is any one of the cells located in the first row, and identifying a first reference column to which the first reference cell belongs among the plurality of columns;
Confirm the first format information, which is information on the format set in the first reference cell, and check the character string of the data inserted in the first reference cell to determine the character string of the data inserted in the first reference cell. Generating a first regular expression that is a regular expression indicating a pattern;
Identifying the lower cells located in the lower row by a predetermined number centering on the first reference cell among the plurality of first cells included in the first reference column, and checking the format information set in the lower cells. Confirming whether or not the format information set in the lower cells matches the first format information;
Checking a string of data inserted into the lower cells and checking whether a pattern according to a string of data inserted into the lower cells matches a pattern of a string based on the first regular expression; And
Confirm that the format information set in the lower cells matches all of the first format information, and that the pattern according to the character string of the data inserted in the lower cells matches the pattern of the character string based on the first regular expression. If not, confirming that the cells located in the first row is not the cell into which the header is inserted
Operating method of a spreadsheet document editing device to execute the autofilter function by creating a temporary header including.
삭제delete 제6항에 있어서,
상기 머리글이 삽입된 셀인지 여부를 확인하는 단계는
상기 하단 셀들에 설정되어 있는 서식 정보 중 하나 이상의 서식 정보가 상기 제1 서식 정보와 일치하지 않거나, 상기 하단 셀들에 삽입되어 있는 데이터의 문자열에 따른 패턴 중 하나 이상의 패턴이 상기 제1 정규표현식에 기초한 문자열의 패턴과 일치하지 않는 것으로 확인된 경우, 상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀인 것으로 확인하는 단계
를 더 포함하고,
상기 필터를 적용하는 단계는
상기 1행에 위치하는 셀들이 상기 머리글이 삽입된 셀인 것으로 확인된 경우, 상기 1행에 위치하는 셀들에 대해 상기 자동필터 기능의 실행에 따른 필터를 적용하는 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작 방법.
The method of claim 6,
Checking whether the header is an inserted cell
At least one of the format information set in the lower cells does not match the first format information, or at least one of the patterns according to the character string of the data inserted in the lower cells is based on the first regular expression. If it is determined that the pattern does not match the character string, confirming that the cells located in the first row are cells in which the header is inserted.
More,
Applying the filter
When the cells located in the first row are found to be the cells into which the header is inserted, the autofilter function is generated by generating a temporary header that applies a filter according to the execution of the autofilter function to the cells located in the first row. How the spreadsheet document editor works.
제6항에 있어서,
상기 임시 머리글을 삽입하는 단계는
상기 복수의 열들 중 각 열을 구성하는 셀들에 기설정된 제1 기준 개수 이상의 동일 단어가 데이터로 삽입되어 있는 적어도 하나의 제1 열이 존재하는 경우, 상기 적어도 하나의 제1 열 각각에 대해 상기 제1 기준 개수 이상으로 삽입되어 있는 동일 단어를 확인한 후 상기 적어도 하나의 제1 열 각각에 대해 확인된 동일 단어를 상기 적어도 하나의 제1 열 각각에 대한 임시 머리글로 생성하는 단계; 및
상기 복수의 열들 중 상기 적어도 하나의 제1 열이 제외된 적어도 하나의 제2 열을 구분한 후 상기 적어도 하나의 제2 열 중 각 열을 구성하는 셀들에 기설정된 제2 기준 개수 이상의 동일 데이터 형식을 갖는 데이터가 삽입되어 있는 적어도 하나의 제3 열이 존재하는 경우, 상기 적어도 하나의 제3 열 각각에 대해 상기 제2 기준 개수 이상으로 존재하는 동일 데이터 형식을 확인한 후 상기 적어도 하나의 제3 열 각각에 대해 확인된 동일 데이터 형식을 지시하는 단어를 상기 적어도 하나의 제3 열 각각에 대한 임시 머리글로 생성하는 단계
를 포함하는 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작 방법.
The method of claim 6,
Inserting the temporary header is
When there is at least one first column in which the same words equal to or greater than a predetermined first reference number are inserted into the cells constituting each column of the plurality of columns, data for each of the at least one first column is present. Identifying the same words inserted more than one reference number and generating the same words identified for each of the at least one first column as temporary headers for each of the at least one first column; And
After identifying at least one second column excluding the at least one first column among the plurality of columns, the same data format equal to or greater than a second reference number preset in the cells constituting each column of the at least one second column. If there is at least one third column into which the data having the data is inserted, the at least one third column is identified after checking the same data format that exists in the at least one second reference number for each of the at least one third column. Generating as a temporary header for each of the at least one third column a word indicating the same data type identified for each
Operating method of a spreadsheet document editing device to execute the autofilter function by creating a temporary header including.
제9항에 있어서,
상기 임시 머리글을 삽입하는 단계는
상기 복수의 열들 중 상기 적어도 하나의 제1 열 및 상기 적어도 하나의 제3 열을 제외한 나머지 열들 각각에 대해 상기 나머지 열들 각각에 할당되어 있는 상기 스프레드시트상에서의 열 주소를 확인한 후 상기 나머지 열들 각각에 대해 확인된 열 주소를 상기 나머지 열들 각각에 대한 임시 머리글로 생성하는 단계
를 더 포함하는 임시 머리글의 생성을 통해 자동필터 기능을 실행하는 스프레드시트 문서 편집 장치의 동작 방법.
The method of claim 9,
Inserting the temporary header is
The column address on the spreadsheet assigned to each of the remaining columns for each of the remaining columns except for the at least one first column and the at least one third column of the plurality of columns is checked, and then each of the remaining columns is determined. Generating the identified column address as a temporary header for each of the remaining columns
Operating method of the spreadsheet document editing device to execute the autofilter function by generating a temporary header further comprising.
제6항, 제8항, 제9항 또는 제10항 중 어느 한 항의 방법을 수행하는 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium having recorded thereon a program for performing the method of any one of claims 6, 8, 9 or 10. 제6항, 제8항, 제9항 또는 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium for executing the method of any one of claims 6, 8, 9 or 10 in combination with a computer.
KR1020180117472A 2018-10-02 2018-10-02 Spreadsheet document editing apparatus for performing an automatic filter function through the creation of a temporary header and operating method thereof KR102067504B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180117472A KR102067504B1 (en) 2018-10-02 2018-10-02 Spreadsheet document editing apparatus for performing an automatic filter function through the creation of a temporary header and operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180117472A KR102067504B1 (en) 2018-10-02 2018-10-02 Spreadsheet document editing apparatus for performing an automatic filter function through the creation of a temporary header and operating method thereof

Publications (1)

Publication Number Publication Date
KR102067504B1 true KR102067504B1 (en) 2020-01-17

Family

ID=69369874

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180117472A KR102067504B1 (en) 2018-10-02 2018-10-02 Spreadsheet document editing apparatus for performing an automatic filter function through the creation of a temporary header and operating method thereof

Country Status (1)

Country Link
KR (1) KR102067504B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220013070A (en) * 2020-07-24 2022-02-04 주식회사 한글과컴퓨터 Spreadsheet document editing apparatus capable of displaying adjustment controls that match the data notation format of the input data and operating method thereof
CN114416832A (en) * 2022-01-26 2022-04-29 重庆允丰科技有限公司 Method for configuring formula field and report and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060046282A (en) * 2004-07-30 2006-05-17 마이크로소프트 코포레이션 Method, system, and apparatus for exposing workbooks as data sources
KR20080043334A (en) * 2005-09-09 2008-05-16 마이크로소프트 코포레이션 Filtering user interface for a data summary table
KR20110120908A (en) * 2009-02-25 2011-11-04 마이크로소프트 코포레이션 Multi-condition filtering of an interactive summary table
KR20140094524A (en) * 2011-10-31 2014-07-30 마이크로소프트 코포레이션 Slicer elements for filtering tabular data
KR20170038823A (en) * 2014-08-06 2017-04-07 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 Leveraging data searches in a document

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060046282A (en) * 2004-07-30 2006-05-17 마이크로소프트 코포레이션 Method, system, and apparatus for exposing workbooks as data sources
KR20080043334A (en) * 2005-09-09 2008-05-16 마이크로소프트 코포레이션 Filtering user interface for a data summary table
KR20110120908A (en) * 2009-02-25 2011-11-04 마이크로소프트 코포레이션 Multi-condition filtering of an interactive summary table
KR20140094524A (en) * 2011-10-31 2014-07-30 마이크로소프트 코포레이션 Slicer elements for filtering tabular data
KR20170038823A (en) * 2014-08-06 2017-04-07 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 Leveraging data searches in a document

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
J. Usman, Insert Slicer in Pivot Tables & charts - Excel 2010, http://www.addictivetips.com/microsoft-office (2010.03.13) *
Microsoft Excel 2016, WILEY, ISBN: 978-1-11-927299-1 (2016.) 1부. *
Pamphlet on Microsoft Excel 2013 Fundamentals Workshop, Univ. of Pitt., technology.pitt.edu (2015.03.03.) 1부. *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220013070A (en) * 2020-07-24 2022-02-04 주식회사 한글과컴퓨터 Spreadsheet document editing apparatus capable of displaying adjustment controls that match the data notation format of the input data and operating method thereof
KR102466711B1 (en) 2020-07-24 2022-11-15 주식회사 한글과컴퓨터 Spreadsheet document editing apparatus capable of displaying adjustment controls that match the data notation format of the input data and operating method thereof
CN114416832A (en) * 2022-01-26 2022-04-29 重庆允丰科技有限公司 Method for configuring formula field and report and computer storage medium
CN114416832B (en) * 2022-01-26 2022-11-15 重庆允丰科技有限公司 Method for configuring formula field and report and computer storage medium

Similar Documents

Publication Publication Date Title
US10466971B2 (en) Generation of an application from data
US20140164900A1 (en) Appending content with annotation
US11592967B2 (en) Method for automatically indexing an electronic document
US20130144920A1 (en) Creating a configuration file template
CN117668402A (en) System and method for applying layout to document
KR102067504B1 (en) Spreadsheet document editing apparatus for performing an automatic filter function through the creation of a temporary header and operating method thereof
KR102187550B1 (en) Electronic device that can generate a summary preview of an ole object inserted into a document and operating method thereof
JPH08212106A (en) Device and method for supporting system test
KR102583250B1 (en) BOM data editing system and method thereof
KR102076555B1 (en) Spreadsheet document editing apparatus for providing filtering functionality based on data patterns and operating method thereof
KR102375507B1 (en) Electronic device that supports retrieval of objects from document by matching objects and keywords inserted into document and operating method thereof
KR102300444B1 (en) Document editing device to check whether the font applied to the document is a supported font and operating method thereof
KR102466711B1 (en) Spreadsheet document editing apparatus capable of displaying adjustment controls that match the data notation format of the input data and operating method thereof
KR20210085817A (en) System, method and computer program for creating BOM list
KR20210050146A (en) Electronic document editing apparatus that enables the insertion of special characters at specific locations on the electronic document based on the entered characters and operating method thereof
JP2007219682A (en) Information processor, information processing method, and computer program
KR102507482B1 (en) Electronic apparatus which is able to convert the format of annotations inserted into a pdf document fast to the format editable by the application editing tools and then load the annotations, and the operating method thereof
JP2015011685A (en) Business rule management system and business rule management method
KR20190115229A (en) Web-based presentation editing apparatus for quick loading of presentation documents through browser and operating method thereof
KR102010556B1 (en) Apparatus for editing web electric document using asynchronous action and operating method thereof
KR102144343B1 (en) Electronic device for displaying security object on cell of spreadsheet document and operating method thereof
KR102442522B1 (en) Electronic apparatus that recommends shortcut keys according to the editing action input when creating a document and the operating method thereof
KR20230087131A (en) Electronic terminal apparatus which is able to identify personal information included in the image object, which is to be inserted into an electronic document, and the operating method thereof
KR20230149950A (en) Electronic terminal apparatus which provides automatic calculation function for cells selected by a user on a spreadsheet, and the operating method thereof
KR20210126911A (en) Document editing device that hides some shapes by setting dependencies between the shapes inserted in the electronic document and operating method thereof

Legal Events

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