JP5735823B2 - Spreadsheet control program, spreadsheet control device, and spreadsheet control method - Google Patents

Spreadsheet control program, spreadsheet control device, and spreadsheet control method Download PDF

Info

Publication number
JP5735823B2
JP5735823B2 JP2011044555A JP2011044555A JP5735823B2 JP 5735823 B2 JP5735823 B2 JP 5735823B2 JP 2011044555 A JP2011044555 A JP 2011044555A JP 2011044555 A JP2011044555 A JP 2011044555A JP 5735823 B2 JP5735823 B2 JP 5735823B2
Authority
JP
Japan
Prior art keywords
line
cell
spreadsheet
selection
row
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011044555A
Other languages
Japanese (ja)
Other versions
JP2012181708A (en
Inventor
清水 亮
亮 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ubiquitous Entertainment Inc
Original Assignee
Ubiquitous Entertainment Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ubiquitous Entertainment Inc filed Critical Ubiquitous Entertainment Inc
Priority to JP2011044555A priority Critical patent/JP5735823B2/en
Publication of JP2012181708A publication Critical patent/JP2012181708A/en
Application granted granted Critical
Publication of JP5735823B2 publication Critical patent/JP5735823B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、スマートフォンやタブレットPCなどのタッチスクリーンを備えたコンピュータで、セルの範囲指定などのスプレッドシートを編集する際の操作を制御するスプレッドシート制御プログラム、スプレッドシート制御装置及びスプレッドシートの制御方法に関するものである。   The present invention relates to a spreadsheet control program, a spreadsheet control device, and a spreadsheet control method for controlling an operation when editing a spreadsheet such as cell range designation on a computer having a touch screen such as a smartphone or a tablet PC. It is about.

PC(パーソナルコンピュータ)の普及に伴い、表計算ソフトによって作成されるスプレッドシートが様々な用途で利用されるようになっている。こうしたスプレッドシートの作成や編集にかかる作業を効率化するために、共通の機能がテンプレートとして提供されるようになっている(例えば、特許文献1の段落0004等参照)。   With the spread of PCs (personal computers), spreadsheets created by spreadsheet software are used for various purposes. A common function is provided as a template in order to improve the efficiency of creating and editing such a spreadsheet (see, for example, paragraph 0004 of Patent Document 1).

一方、近年になって、スプレッドシートはPCのみでなく、スマートフォンやタブレットPCなどコンピュータ機能を備えた携帯型デバイスでも利用されるようになっている。スマートフォンやタブレットPCでは、データの入出力にタッチスクリーンが用いられることが多いが、タッチスクリーン上でスプレッドシートを含めた様々なドキュメントが操作されるようになっていることに対応して、ドキュメントの移動等の操作や、視覚性を改善するための発明が開示されている(例えば、特許文献2参照)。   On the other hand, in recent years, spreadsheets are used not only for PCs but also for portable devices having computer functions such as smartphones and tablet PCs. Smartphones and tablet PCs often use touch screens for data input / output, but in response to the various documents including spreadsheets being operated on touch screens, An invention for improving operations such as movement and visibility (see, for example, Patent Document 2) is disclosed.

特開2010−532535号公報JP 2010-532535 A 特開2010−515978号公報JP 2010-515978 A

特許文献2記載の発明のように、タッチスクリーン上におけるスプレッドシートを含めたドキュメントの操作の快適性が追求されるようになっているが、それらの多くは生成されたドキュメントを表示する際の操作性や視覚性を向上させるためのものである。   As in the invention described in Japanese Patent Application Laid-Open No. H10-228707, comfort of operation of a document including a spreadsheet on a touch screen has been pursued, but most of them are operations for displaying a generated document. It is intended to improve sexuality and visibility.

ドキュメントの作成時や編集時におけるデータ入力の操作性を向上させるために、例えば、タッチスクリーンに表示したキーボードへのタッチで入力を受け付ける方法などが提供されているが、こうしたキーボードによる入力の操作性の改善では、スプレッドシートを対象にした表の編集、例えば、セルの範囲指定、行や列の削除といった操作には対応することができない。セルの範囲指定などのスプレッドシートの編集時における操作についても、タッチスクリーンに固有の視覚性を活かした仕組みが求められるところである。   In order to improve the operability of data input when creating and editing documents, for example, a method of accepting input by touching the keyboard displayed on the touch screen is provided. In the improvement, it is not possible to cope with operations such as editing a table for a spreadsheet, for example, specifying a range of cells and deleting rows and columns. For spreadsheet operations such as cell range specification, there is also a need for a mechanism that takes advantage of the unique visual characteristics of touch screens.

本発明は、このような課題に対応するためになされたものであり、スマートフォンやタブレットPCなどのタッチスクリーンを備えたコンピュータで、セルの範囲指定などのスプレッドシートを編集する際の操作において、タッチスクリーンの視覚性を活かしながら、操作性に優れたスプレッドシート制御プログラム、スプレッドシート制御装置及びスプレッドシートの制御方法を提供することを目的とするものである。   The present invention has been made in order to cope with such a problem. In a computer having a touch screen such as a smartphone or a tablet PC, touch operation is performed in editing a spreadsheet such as cell range designation. An object of the present invention is to provide a spreadsheet control program, a spreadsheet control device, and a spreadsheet control method that are excellent in operability while taking advantage of the visibility of the screen.

本発明にかかる課題を解決する第1の発明は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、前記線検出ステップで検出された線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断ステップと、前記線判断ステップで選択線と判断された選択線によって選択されたセルを特定するセル特定ステップと、前記セル特定ステップで特定されたセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識ステップと、を実行させることを特徴とするスプレッドシート制御プログラムである。   A first invention for solving the problems according to the present invention is a program for controlling a spreadsheet in a computer having a touch screen, wherein the computer draws lines drawn on the spreadsheet displayed on the touch screen. A line detection step to detect, a selection line determination step to determine whether the line detected in the line detection step corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed; A cell specifying step for specifying the cell selected by the selection line determined as the selection line in the line determining step, and a range specification for recognizing the cell specified in the cell specifying step as a cell whose range is specified in the spreadsheet A spreadsheet control program characterized by causing a recognition step to be executed.

第1の発明では、スプレッドシートがウィンドウに開かれた状態で、タッチスクリーンに表示されたスプレッドシート上に2以上のセルを跨いで円や楕円などの線が描画されると、その線を基準にして、線によって囲まれた領域等にあるセルを、入力値やコピーや貼り付け等のために範囲指定がされたセルと認識する。これによって、コンピュータのユーザがタッチスクリーンに指先等で円や楕円といった線を描く操作を行うだけで、スプレッドシートに表示された一部のセルを範囲指定することが可能になり、タッチスクリーンの視覚性と操作性を活かしたスプレッドシート編集のインターフェイスが提供される。   In the first invention, when a line such as a circle or an ellipse is drawn across two or more cells on the spreadsheet displayed on the touch screen in a state where the spreadsheet is opened in the window, the line is used as a reference. Thus, a cell in an area surrounded by a line is recognized as a cell for which a range is designated for input values, copying, pasting, or the like. This makes it possible for a computer user to specify a range of a part of cells displayed on a spreadsheet simply by drawing a line such as a circle or an ellipse with a fingertip on the touch screen. A spreadsheet editing interface that takes advantage of its functionality and operability is provided.

尚、第1の発明において、タッチスクリーンを備えたコンピュータには、タッチスクリーンを操作することでデータの入出力が可能なスマートフォンやタブレットPCなどが該当する。また、本発明において、範囲指定を行うスプレッドシートがどのように作成されたものであるかは特に限定されるものではなく、タッチスクリーンを操作して作成されたものであってもよいし、PC等で作成したファイルをタッチスクリーンに表示したものであってもよい。   In the first invention, a computer equipped with a touch screen corresponds to a smartphone or a tablet PC that can input and output data by operating the touch screen. In the present invention, how a spreadsheet for specifying a range is created is not particularly limited, and may be created by operating a touch screen, or a PC For example, a file created on the touch screen may be displayed.

また、第1の発明は、前記セル特定ステップでは、前記選択線に囲まれた領域を含むセルのうち、各々のセルにおいて前記選択線に囲まれた領域が所定の条件に合致するセルを、前記選択線によって選択されたセルと特定することを特徴とすることもできる。前記セル特定ステップで前記選択線によって選択されたセルを特定するための所定の条件は、前記選択線に囲まれた領域の面積のセル全体の面積に占める比率が所定の閾値を超えるものであることを特徴としてもよい。   In the first aspect of the invention, in the cell specifying step, out of cells including the region surrounded by the selection line, the cell surrounded by the selection line in each cell matches a predetermined condition. The cell selected by the selection line may be specified. The predetermined condition for specifying the cell selected by the selection line in the cell specifying step is that the ratio of the area of the area surrounded by the selection line to the entire cell area exceeds a predetermined threshold. This may be a feature.

第1の発明において、どのような線を選択線と判断し、どのような条件に合致するセルを範囲指定がされたセルと認識するかは特に限定されるものではないが、例えば、上記のように、円や楕円などの選択線に囲まれた領域にあるセルを、範囲指定がされたセルと認識することとすればよい。   In the first invention, there is no particular limitation as to what line is determined as a selection line and what condition is recognized as a cell for which a range has been specified. As described above, a cell in an area surrounded by a selection line such as a circle or an ellipse may be recognized as a cell for which a range has been specified.

尚、ここで選択線に囲まれた領域を判断する際に、選択線が円や楕円に近い形状であったとしても、一部に切れ目が生じていて円や楕円のように閉じた形状とはならない場合も生じ得る。その場合は、切れ目の部分を直線等で結んで閉じた形状にある選択線を仮想して、選択線に囲まれた領域を認識することとすればよく、そのように認識されたケースもここでいう「選択線に囲まれた領域」に含まれるものとする。   Note that when determining the area surrounded by the selection line here, even if the selection line has a shape close to a circle or an ellipse, a part of the line is cut and closed like a circle or an ellipse. There may be cases where it is not possible. In that case, it suffices to recognize the area surrounded by the selection line by imagining the selection line in the closed shape by connecting the cut line with a straight line etc. The case recognized as such is also here It is assumed to be included in the “region surrounded by the selection line”.

また、各々のセルにおいて選択線に囲まれた領域の面積を基準に範囲指定されたセルか否かを判断することとすれば、ユーザの意図に反して線が僅かにかかってしまったセルなどを対象から除外することができる。尚、ここで選択線に囲まれた領域の面積を基準にする場合、その面積の演算は選択線の形状を厳密に読み取って行う必要はなく、例えば、選択線とセルの外枠との交点を直線で結んだ場合の面積を求めるなど、簡易な演算で代用することとしてもよく、そのように演算されたケースもここでいう「選択線に囲まれた領域の面積」に含まれるものとする。い。   In addition, if it is determined whether or not each cell is a cell whose range is specified based on the area of the region surrounded by the selection line, a cell in which the line is slightly applied against the user's intention, etc. Can be excluded from the subject. When the area of the region surrounded by the selection line is used as a reference here, the calculation of the area does not need to be performed by strictly reading the shape of the selection line. For example, the intersection of the selection line and the outer frame of the cell It is also possible to substitute a simple calculation, such as finding the area when connecting the lines with a straight line, and the case of such calculation is also included in the `` area of the area surrounded by the selection line '' here To do. Yes.

さらに、第1の発明は、前記セル特定ステップでは、前記選択線に囲まれた領域を含む全てのセルを、前記選択線によって選択されたセルと特定することを特徴としてもよい。   Furthermore, the first invention may be characterized in that, in the cell specifying step, all cells including a region surrounded by the selection line are specified as cells selected by the selection line.

このように、選択線により囲まれた領域にあるセルを全て範囲指定されたものと判断すれば、簡易な演算で範囲指定がされたセルを特定することができる。   As described above, if it is determined that all the cells in the region surrounded by the selection line are designated as the range, the cell whose range is designated by a simple calculation can be specified.

さらに、第1の発明は、前記セル特定ステップでは、前記選択線が描画された最上行、最下行、最左列、最右列が交わる4つのセルと前記4つのセルにより囲まれたセルを、前記選択線によって選択されたセルと特定することを特徴としてもよい。   Furthermore, in the first invention, in the cell specifying step, four cells intersecting the uppermost row, the lowermost row, the leftmost column, and the rightmost column in which the selection line is drawn, and a cell surrounded by the four cells are displayed. The cell selected by the selection line may be specified.

このように、選択線が描画された上下、左右の両端にある行及び列から四隅にあるセルを決定し、それらのセルから形成される四角形により指定された範囲を認識することとすれば、簡易な演算で範囲指定がされたセルを特定することができる。   In this way, if the cells at the four corners are determined from the rows and columns at the left and right, upper and lower ends where the selection line is drawn, and the range specified by the rectangle formed from those cells is recognized, A cell for which a range has been specified can be identified by a simple calculation.

さらに、第1の発明は、前記セル特定ステップでは、前記選択線が描画されたセルと前記セルにより囲まれたセルを、前記選択線によって選択されたセルと特定することを特徴としてもよい。   Furthermore, the first invention may be characterized in that, in the cell specifying step, a cell in which the selection line is drawn and a cell surrounded by the cell are specified as a cell selected by the selection line.

このように、選択線が描画された全てのセルと、それらのセルに囲まれたセルを範囲指定されたセルとして認識すれば、簡易な演算で範囲指定がされたセルを特定することができる。   In this way, if all cells in which selection lines are drawn and the cells surrounded by those cells are recognized as range-designated cells, the range-designated cells can be identified by simple calculation. .

本発明にかかる課題を解決する第2の発明は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、前記線検出ステップで検出された線が、前記スプレッドシートにセルが表示された領域上を縦断又は横断して描画された所定の条件に合致する削除線に該当するかを判断する削除線判断ステップと、前記削除線判断ステップで削除線と判断された線が、セルが表示された領域上を縦断して描画された場合は前記セルの属する列を、セルが表示された領域上を横断して描画された場合は前記セルの属する行を削除する削除ステップと、を実行させることを特徴とするスプレッドシート制御プログラムである。   A second invention for solving the problems according to the present invention is a program for controlling a spreadsheet in a computer having a touch screen, wherein the computer draws lines drawn on the spreadsheet displayed on the touch screen. The line detection step to detect, and whether the line detected in the line detection step corresponds to a deletion line that matches a predetermined condition drawn vertically or across the area where the cell is displayed on the spreadsheet A deletion line determination step for determining the cell, and if the line determined to be the deletion line in the deletion line determination step is drawn vertically across the area where the cell is displayed, the cell displays the column to which the cell belongs. And a deletion step of deleting a row to which the cell belongs when drawn across the specified area. It is over door control program.

第2の発明は、前記削除線判断ステップにおいて削除線に該当すると判断するための所定の条件は、同一の列又は行に属する複数のセルに対応する領域に描画された線であって、同一の列に属する場合はセルの幅の所定の比率以上の範囲、かつその列の全セル数の所定の数以上のセルにかかる波線であり、同一の行に属する場合はセルの高さの所定の比率以上の範囲、かつその行の全セル数の所定の数以上のセルにかかる波線であることを特徴とすることもできる。   In the second invention, the predetermined condition for determining that it corresponds to the deletion line in the deletion line determination step is a line drawn in an area corresponding to a plurality of cells belonging to the same column or row, and the same If it belongs to the same row, it is a wavy line that covers a range that is equal to or greater than the predetermined ratio of the cell width and that is equal to or greater than the predetermined number of cells in the column, and if it belongs to the same row, the predetermined cell height And a wavy line covering a predetermined number or more of the total number of cells in the row.

このように、第2の発明によると、例えば、タッチスクリーンのウィンドウに表示されたスプレッドシートの行を横断する波線を描けば、その行を削除する処理を実行させることとすれば、スプレッドシートの行や列を削除する機能について、タッチスクリーンの視覚性と操作性を活かしたインターフェイスを提供することができる。   As described above, according to the second invention, for example, if a wavy line that traverses a row of a spreadsheet displayed in a touch screen window is drawn, a process for deleting the row is executed. For the function to delete rows and columns, it is possible to provide an interface that takes advantage of the visual and operability of the touch screen.

本発明にかかる課題を解決する第3の発明は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、前記線検出ステップで検出された線が、前記スプレッドシートにセルが表示された領域上を縦断又は横断して描画された所定の条件に合致する分割線に該当するかを判断する分割線判断ステップと、前記分割線判断ステップで分割線と判断されると、領域上に分割線が描画された1のセルを、前記1のセルに入力されている値を引き継ぐセルを含む2のセルに分割する分割ステップと、を実行させることを特徴とするスプレッドシート制御プログラムである。   A third invention for solving the problems according to the present invention is a program for controlling a spreadsheet in a computer having a touch screen, wherein the computer draws a line drawn on the spreadsheet displayed on the touch screen. The line detection step to detect and whether the line detected in the line detection step corresponds to a dividing line that matches a predetermined condition drawn vertically or across the area where the cell is displayed on the spreadsheet A dividing line determining step for determining the dividing line, and if the dividing line determining step determines that it is a dividing line, a cell in which a dividing line is drawn on a region and a value input to the one cell are inherited And a splitting step for splitting into two cells including the spreadsheet control program.

第3の発明は、前記分割線判断ステップにおいて分割線に該当すると判断するための所定の条件は、同一の列又は行に属する複数のセルに対応する領域に描画された線であって、同一の列に属する場合は列のナンバリングがされたセルから逆側の最端にあるセルまで引かれた直線であり、同一の行に属する場合は行のナンバリングがされたセルから逆側の最端にあるセルまで引かれた直線であることを特徴とすることもできる。   In a third aspect of the invention, the predetermined condition for determining that the dividing line corresponds to the dividing line in the dividing line determining step is a line drawn in a region corresponding to a plurality of cells belonging to the same column or row, and the same Is a straight line drawn from the cell where the column is numbered to the cell at the far end on the opposite side, and if it belongs to the same row, it is the farthest end on the opposite side from the cell where the row is numbered It can also be characterized by a straight line drawn to a certain cell.

このように、第3の発明によると、例えば、タッチスクリーンのウィンドウに表示されたスプレッドシートの行を横断する直線を描けば、その行を分割する処理を実行させることとすれば、スプレッドシートの行や列を分割する機能について、タッチスクリーンの視覚性と操作性を活かしたインターフェイスを提供することができる。   Thus, according to the third invention, for example, if a straight line crossing a row of the spreadsheet displayed in the touch screen window is drawn, the process of dividing the row is executed. An interface that takes advantage of the visual and operability of the touch screen can be provided for the function of dividing rows and columns.

本発明にかかる課題を解決する第4の発明は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択ステップと、前記罫線選択ステップで選択を受け付けた第1の罫線が、隣接する第2の罫線と重なり合う位置に移動されたことを検出すると、前記第1の罫線によって区切られていた2のセルを1のセルに統合するセル統合ステップと、を実行させることを特徴とするスプレッドシート制御プログラムである。   A fourth invention for solving the problems according to the present invention is a program for controlling a spreadsheet in a computer having a touch screen, and the computer uses the ruled lines that divide columns or rows of the spreadsheet displayed on the touch screen. When a ruled line selection step that accepts selection of the first ruled line and the first ruled line that has received the selection in the ruled line selection step is detected to have moved to a position overlapping with the adjacent second ruled line, the first ruled line is divided by the first ruled line. A spreadsheet control program that executes a cell integration step of integrating the two cells into one cell.

このように、第4の発明によると、ユーザが行又は列を区切る罫線をタッチスクリーンのウィンドウ上で移動させる操作を行い、移動させた罫線が隣接する罫線と重なれば、表示されている表の状態同様に隣接している2つのセルを統合することとすれば、スプレッドシートの隣接する行や列を統合する機能について、タッチスクリーンの視覚性と操作性を活かしたインターフェイスを提供することができる。   Thus, according to the fourth invention, the user performs an operation of moving the ruled lines separating the rows or columns on the touch screen window, and if the moved ruled lines overlap with the adjacent ruled lines, the displayed table is displayed. If two adjacent cells are integrated as in the case of, the interface that takes advantage of the visual and operability of the touch screen is provided for the function of integrating adjacent rows and columns in the spreadsheet. it can.

本発明にかかる課題を解決する第5の発明は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択ステップと、前記罫線選択ステップで選択を受け付けた第1の罫線が、隣接する第2の罫線を超える位置に移動されたことを検出すると、前記第1の罫線が縦線であればセルの幅と列のナンバリングを、前記第1の罫線が横線であればセルの高さと行のナンバリングを変更するセル変更ステップと、を実行させることを特徴とするスプレッドシート制御プログラムである。   A fifth invention for solving the problems according to the present invention is a program for controlling a spreadsheet in a computer equipped with a touch screen, and the computer uses the ruled lines to divide columns or rows of the spreadsheet displayed on the touch screen. A ruled line selection step that accepts the selection of the first ruled line, and the first ruled line that has been selected in the ruled line selection step is detected to have moved to a position that exceeds the adjacent second ruled line, the first ruled line is a vertical line If the first ruled line is a horizontal line, a cell changing step for changing the cell height and the row numbering is executed. is there.

このように、第5の発明によると、ユーザが行又は列を区切る罫線をタッチスクリーンのウィンドウ上で移動させる操作を行い、罫線が隣接する罫線を越える位置まで移動された場合には、表示されている表の状態同様にセルの高さや幅とナンバリングを変更することとすれば、スプレッドシートの行の高さや列の幅を調整する機能について、タッチスクリーンの視覚性と操作性を活かしたインターフェイスを提供することができる。   As described above, according to the fifth aspect, when the user performs an operation of moving the ruled lines separating the rows or columns on the touch screen window and the ruled lines are moved to a position exceeding the adjacent ruled lines, they are displayed. If you want to change the cell height, width, and numbering as well as the state of the table you are using, the interface that takes advantage of the touchscreen visibility and operability for the function to adjust the row height and column width of the spreadsheet Can be provided.

本発明にかかる課題を解決する第6の発明は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択ステップと、前記罫線選択ステップで選択を受け付けた罫線が縦線であれば、罫線の上端が列のナンバリングがされた行を超えて移動されたことを検出すると、列のナンバリングがされた行を下方向にずらして行のナンバリングを変更し、前記罫線選択ステップで選択を受け付けた罫線が横線であれば、罫線の左端が行のナンバリングがされた列を超えて移動されたことを検出すると、行のナンバリングがされた列を右方向にずらして列のナンバリングを変更するナンバリング変更ステップと、を実行させることを特徴とするスプレッドシート制御プログラムである。   A sixth invention for solving the problem according to the present invention is a program for controlling a spreadsheet in a computer having a touch screen, and the computer uses the computer to rule out the rows or rows of the spreadsheet displayed on the touch screen. If the ruled line selection step that accepts the selection of the ruled line and the ruled line that has been selected in the ruled line selection step is a vertical line, if it is detected that the upper end of the ruled line has moved beyond the numbered row of the column, If the numbered row is shifted downward to change the numbering of the row, and the ruled line that has been selected in the ruled line selection step is a horizontal line, the left end of the ruled line is moved beyond the numbered column of the line The numbering of the column is changed by shifting the column with the numbered row to the right. A spreadsheet control program, characterized in that to execute a ring change step.

このように、第6の発明によると、ユーザが行又は列を区切る罫線をタッチスクリーンのウィンドウ上で移動させる操作を行い、ナンバリングがされた行や列を越える位置に罫線の端が移動されると、ナンバリングがされた行や列も線をずらした方向にこれにあわせて移動させることとすれば、スプレッドシートの位置をずらして調整する機能について、タッチスクリーンの視覚性と操作性を活かしたインターフェイスを提供することができる。   As described above, according to the sixth aspect of the invention, the user performs an operation of moving the ruled lines separating the rows or columns on the touch screen window, and the ends of the ruled lines are moved to positions beyond the numbered rows and columns. And if the numbered rows and columns are also moved in the direction of shifting the lines, the function of adjusting the position of the spreadsheet by shifting the position has been made use of the visibility and operability of the touch screen. An interface can be provided.

本発明は、本発明にかかるスプレッドシート制御プログラムを備えたスプレッドシート制御装置として特定することもできる。   The present invention can also be specified as a spreadsheet control device provided with the spreadsheet control program according to the present invention.

第1の発明に対応するスプレッドシート制御装置は、データの入出力が可能なタッチスクリーンと、タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出手段と、前記線検出手段が検出した線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断手段と、前記線判断手段が選択線と判断した選択線によって選択されたセルを特定するセル特定手段と、前記セル特定手段が特定したセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識手段と、を備えることを特徴とするスプレッドシート制御装置である。   A spreadsheet control apparatus corresponding to the first invention includes a touch screen capable of inputting / outputting data, a line detection unit for detecting a line drawn on a spreadsheet displayed on the touch screen, and the line detection unit Selection line determining means for determining whether the detected line corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed; and the selection line determined by the line determining means as a selection line Spreadsheet control comprising: cell specifying means for specifying a cell selected by the step; and range designation recognition means for recognizing the cell specified by the cell specifying means as a cell whose range is specified in a spreadsheet. Device.

第2の発明に対応するスプレッドシート制御装置は、データの入出力が可能なタッチスクリーンと、タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出手段と、前記線検出手段が検出した線が、前記スプレッドシートにセルが表示された領域上を縦断又は横断して描画された所定の条件に合致する削除線に該当するかを判断する削除線判断手段と、前記削除線判断手段が削除線と判断した線が、セルが表示された領域上を縦断して描画された場合は前記セルの属する列を、セルが表示された領域上を横断して描画された場合は前記セルの属する行を削除する削除手段と、を備えることを特徴とするスプレッドシート制御装置である。   A spreadsheet control apparatus corresponding to the second invention includes a touch screen capable of inputting / outputting data, a line detection unit for detecting a line drawn on a spreadsheet displayed on the touch screen, and the line detection unit Delete line determination means for determining whether the detected line corresponds to a delete line that matches a predetermined condition drawn vertically or across the area where the cell is displayed on the spreadsheet; and the delete line If the line determined by the determining means as a deletion line is drawn vertically across the area where the cell is displayed, the column to which the cell belongs is drawn across the area where the cell is displayed. A spreadsheet control device comprising: deletion means for deleting a row to which the cell belongs.

第3の発明に対応するスプレッドシート制御装置は、データの入出力が可能なタッチスクリーンと、タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出手段と、前記線検出手段が検出した線が、前記スプレッドシートにセルが表示された領域上を縦断又は横断して描画された所定の条件に合致する分割線に該当するかを判断する分割線判断手段と、前記分割線判断手段が分割線と判断すると、領域上に分割線が描画された1のセルを、前記1のセルに入力されている値を引き継ぐセルを含む2のセルに分割する分割手段と、を備えることを特徴とするスプレッドシート制御装置である。   A spreadsheet control apparatus corresponding to a third invention includes a touch screen capable of inputting / outputting data, a line detection unit for detecting a line drawn on a spreadsheet displayed on the touch screen, and the line detection unit Dividing line determining means for determining whether the detected line corresponds to a dividing line that matches a predetermined condition drawn vertically or across the area where the cell is displayed on the spreadsheet; and the dividing line And a dividing unit that divides one cell in which a dividing line is drawn on a region into two cells including a cell that inherits a value input to the one cell when the determining unit determines that the dividing line is present. This is a spreadsheet control device.

第4の発明に対応するスプレッドシート制御装置は、データの入出力が可能なタッチスクリーンと、タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択手段と、前記罫線選択手段が選択を受け付けた第1の罫線が、隣接する第2の罫線と重なり合う位置に移動されたことを検出すると、前記第1の罫線によって区切られていた2のセルを1のセルに統合するセル統合手段と、を備えることを特徴とするスプレッドシート制御装置である。   A spreadsheet control apparatus corresponding to a fourth invention includes a touch screen capable of inputting / outputting data, ruled line selection means for receiving selection of ruled lines separating rows or rows of the spreadsheet displayed on the touch screen, and the ruled lines When the selection means detects that the first ruled line for which selection has been received has been moved to a position where it overlaps the adjacent second ruled line, the two cells separated by the first ruled line are integrated into one cell. A spreadsheet control device comprising:

第5の発明に対応するスプレッドシート制御装置は、データの入出力が可能なタッチスクリーンと、タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択手段と、前記罫線選択手段が選択を受け付けた第1の罫線が、隣接する第2の罫線を超える位置に移動されたことを検出すると、前記第1の罫線が縦線であればセルの幅と列のナンバリングを、前記第1の罫線が横線であればセルの高さと行のナンバリングを変更するセル変更手段と、を備えることを特徴とするスプレッドシート制御装置である。   A spreadsheet control device corresponding to a fifth invention includes a touch screen capable of inputting / outputting data, ruled line selection means for accepting selection of ruled lines separating columns or rows of the spreadsheet displayed on the touch screen, and the ruled lines When the selection means detects that the first ruled line that has received the selection has been moved to a position exceeding the adjacent second ruled line, if the first ruled line is a vertical line, cell width and column numbering are performed. And a cell changing means for changing the cell number and the row numbering if the first ruled line is a horizontal line.

第6の発明に対応するスプレッドシート制御装置は、データの入出力が可能なタッチスクリーンと、タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択手段と、前記罫線選択手段が選択を受け付けた罫線が縦線であれば、罫線の上端が列のナンバリングがされた行を超えて移動されたことを検出すると、列のナンバリングがされた行を下方向にずらして行のナンバリングを変更し、前記罫線選択手段が選択を受け付けた罫線が横線であれば、罫線の左端が行のナンバリングがされた列を超えて移動されたことを検出すると、行のナンバリングがされた列を右方向にずらして列のナンバリングを変更するナンバリング変更手段と、を備えることを特徴とするスプレッドシート制御装置である。   A spreadsheet control apparatus corresponding to a sixth invention includes a touch screen capable of inputting / outputting data, ruled line selection means for receiving selection of a ruled line separating rows or rows of the spreadsheet displayed on the touch screen, and the ruled line If the ruler that the selection means has accepted is a vertical line, if it is detected that the upper end of the ruled line has moved beyond the column numbered row, the column numbered row is shifted downward. If the numbering of the row is changed and the ruled line selection means accepts the selection, if the ruled line is a horizontal line, the numbering of the row is performed when it is detected that the left end of the ruled line has moved beyond the numbered column of the row. And a numbering changing means for changing the numbering of the column by shifting the column to the right.

尚、本発明にかかるスプレッドシート制御装置は、先に説明した本発明にかかるスプレッドシート制御プログラムの様々な要件を備えるものであってもよい。   In addition, the spreadsheet control apparatus concerning this invention may be provided with various requirements of the spreadsheet control program concerning this invention demonstrated previously.

本発明は、本発明にかかるスプレッドシート制御プログラムによって実行されるスプレッドシートの制御方法として特定することもできる。   The present invention can also be specified as a spreadsheet control method executed by the spreadsheet control program according to the present invention.

第1の発明に対応するスプレッドシートの制御方法は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御する方法であって、前記コンピュータが、タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、前記線検出ステップで検出された線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断ステップと、前記コンピュータが、前記線判断ステップで選択線と判断された選択線によって選択されたセルを特定するセル特定ステップと、前記コンピュータが、前記セル特定ステップで特定されたセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識ステップと、を有することを特徴とするスプレッドシートの制御方法である。   A spreadsheet control method corresponding to the first invention is a method of controlling a spreadsheet in a computer having a touch screen, wherein the computer draws lines drawn on the spreadsheet displayed on the touch screen. A line detection step to detect, a selection line determination step to determine whether the line detected in the line detection step corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed; The computer specifies a cell selected by the selection line determined as the selection line in the line determination step, and the computer specifies the range of cells specified in the cell specification step in a spreadsheet. A range designation recognition step for recognizing a cell that has been changed. It spreads is a control method of the sheet.

第2の発明に対応するスプレッドシートの制御方法は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御する方法であって、前記コンピュータが、タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、前記コンピュータが、前記線検出ステップで検出された線が、前記スプレッドシートにセルが表示された領域上を縦断又は横断して描画された所定の条件に合致する削除線に該当するかを判断する削除線判断ステップと、前記コンピュータが、前記削除線判断ステップで削除線と判断された線が、セルが表示された領域上を縦断して描画された場合は前記セルの属する列を、セルが表示された領域上を横断して描画された場合は前記セルの属する行を削除する削除ステップと、を有することを特徴とするスプレッドシートの制御方法である。   A spreadsheet control method corresponding to the second invention is a method for controlling a spreadsheet in a computer having a touch screen, wherein the computer draws lines drawn on the spreadsheet displayed on the touch screen. A line detection step to detect, and a deletion line that matches a predetermined condition in which the line detected in the line detection step is drawn vertically or across the area where the cell is displayed on the spreadsheet. A deletion line determination step for determining whether the cell corresponds to the cell, and when the computer determines that the line determined as the deletion line in the deletion line determination step is drawn vertically across the area where the cell is displayed, the cell If the column to which the cell belongs is drawn across the area where the cell is displayed, the deletion step of deleting the row to which the cell belongs Is a control method of the spreadsheet, characterized in that it comprises a.

第3の発明に対応するスプレッドシートの制御方法は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御する方法であって、前記コンピュータが、タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、前記コンピュータが、前記線検出ステップで検出された線が、前記スプレッドシートにセルが表示された領域上を縦断又は横断して描画された所定の条件に合致する分割線に該当するかを判断する分割線判断ステップと、前記コンピュータが、前記分割線判断ステップで分割線と判断されると、領域上に分割線が描画された1のセルを、前記1のセルに入力されている値を引き継ぐセルを含む2のセルに分割する分割ステップと、を有することを特徴とするスプレッドシートの制御方法である。   A spreadsheet control method corresponding to a third invention is a method for controlling a spreadsheet in a computer having a touch screen, wherein the computer draws lines drawn on the spreadsheet displayed on the touch screen. A line detection step for detecting, and a line that the computer detects in the line detection step matches a predetermined condition drawn vertically or across a region where cells are displayed on the spreadsheet. A dividing line determining step that determines whether the dividing line is true; and when the computer determines that the dividing line is determined to be a dividing line in the dividing line determining step, a cell in which a dividing line is drawn on an area is changed to the one cell. A splitting step for splitting the input value into two cells including a cell that takes over the input value. It is a control method of.

第4の発明に対応するスプレッドシートの制御方法は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御する方法であって、前記コンピュータが、タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択ステップと、前記コンピュータが、前記罫線選択ステップで選択を受け付けた第1の罫線が、隣接する第2の罫線と重なり合う位置に移動されたことを検出すると、前記第1の罫線によって区切られていた2のセルを1のセルに統合するセル統合ステップと、を有することを特徴とするスプレッドシートの制御方法である。   A spreadsheet control method corresponding to a fourth invention is a method for controlling a spreadsheet in a computer having a touch screen, wherein the computer separates lines or rows of the spreadsheet displayed on the touch screen. A ruled line selection step that accepts the selection of the first ruled line, and the computer detects that the first ruled line that has received the selection in the ruled line selection step has been moved to a position that overlaps the adjacent second ruled line. And a cell integration step of integrating two cells separated by a ruled line into one cell.

第5の発明に対応するスプレッドシートの制御方法は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御する方法であって、前記コンピュータが、タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択ステップと、前記コンピュータが、前記罫線選択ステップで選択を受け付けた第1の罫線が、隣接する第2の罫線を超える位置に移動されたことを検出すると、前記第1の罫線が縦線であればセルの幅と列のナンバリングを、前記第1の罫線が横線であればセルの高さと行のナンバリングを変更するセル変更ステップと、を有することを特徴とするスプレッドシートの制御方法である。   A spreadsheet control method corresponding to a fifth invention is a method for controlling a spreadsheet in a computer having a touch screen, wherein the computer separates the columns or rows of the spreadsheet displayed on the touch screen. A ruled line selection step that accepts the selection of the first ruled line, and the computer detects that the first ruled line that has received the selection in the ruled line selection step has been moved to a position that exceeds the adjacent second ruled line. A cell changing step for changing the cell width and column numbering if the ruled line is a vertical line, and changing the cell height and row numbering if the first ruled line is a horizontal line. This is a control method.

第6の発明に対応するスプレッドシートの制御方法は、タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御する方法であって、前記コンピュータが、タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択ステップと、前記コンピュータが、前記罫線選択ステップで選択を受け付けた罫線が縦線であれば、罫線の上端が列のナンバリングがされた行を超えて移動されたことを検出すると、列のナンバリングがされた行を下方向にずらして行のナンバリングを変更し、前記罫線選択ステップで選択を受け付けた罫線が横線であれば、罫線の左端が行のナンバリングがされた列を超えて移動されたことを検出すると、行のナンバリングがされた列を右方向にずらして列のナンバリングを変更するナンバリング変更ステップと、を有することを特徴とするスプレッドシートの制御方法である。   A spreadsheet control method corresponding to a sixth invention is a method for controlling a spreadsheet in a computer having a touch screen, wherein the computer separates the columns or rows of the spreadsheet displayed on the touch screen. A ruled line selection step that accepts selection, and if the ruled line that has been selected in the ruled line selection step is a vertical line, the computer detects that the upper end of the ruled line has moved beyond the numbered row of the column Then, the numbering of the row is shifted downward to change the numbering of the row, and if the ruled line that has been selected in the ruled line selection step is a horizontal line, the left end of the ruled line indicates the column with the numbered row. When it is detected that the column has been moved beyond, the column with the row numbering is shifted to the right to shift the column number. A method of controlling a spreadsheet and having a a numbering changing step of changing the ring.

尚、本発明にかかるスプレッドシートの制御方法は、先に説明した本発明にかかるスプレッドシート制御プログラムの様々な要件を備えるものであってもよい。   The spreadsheet control method according to the present invention may include various requirements of the spreadsheet control program according to the present invention described above.

本発明によって、スマートフォンやタブレットPCなどのタッチスクリーンを備えたコンピュータで、セルの範囲指定などのスプレッドシートを編集する際の操作において、タッチスクリーンの視覚性を活かしながら、操作性に優れたスプレッドシートの入力インターフェイスが提供される。これによって、スマートフォンやタブレットPCでもスプレッドシートを容易に取り扱うことが可能になり、ユーザの利便性向上が期待できる。   According to the present invention, a spreadsheet having excellent operability while making use of the touch screen's visibility in editing a spreadsheet such as cell range designation on a computer equipped with a touch screen such as a smartphone or tablet PC. An input interface is provided. This makes it possible to easily handle spreadsheets even on smartphones and tablet PCs, and can be expected to improve user convenience.

本発明にかかるスプレッドシート制御プログラムが動作する携帯型デバイスの構成を示す図である。It is a figure which shows the structure of the portable device which the spreadsheet control program concerning this invention operate | moves. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートにセルが設定された状態を示す図である。It is a figure which shows the state by which the cell was set to the spreadsheet by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートのセルにデータを入力する状態を示す図である。It is a figure which shows the state which inputs data into the cell of a spreadsheet by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートにセルの範囲指定が行われた状態を示す図である。It is a figure which shows the state by which the range specification of the cell was performed by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、描画された線から選択されたセルの範囲を認識する第1の例を示す図である。It is a figure which shows the 1st example which recognizes the range of the cell selected from the drawn line by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、描画された線から選択されたセルの範囲を認識する第2の例を示す図である。It is a figure which shows the 2nd example which recognizes the range of the cell selected from the drawn line by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、描画された線から選択されたセルの範囲を認識する第3の例を示す図である。It is a figure which shows the 3rd example which recognizes the range of the cell selected from the drawn line by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートの行を削除するために波線が描画された状態を示す図である。It is a figure which shows the state by which the wavy line was drawn in order to delete the row | line | column of a spreadsheet by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートの行が削除された状態を示す図である。It is a figure which shows the state from which the row | line | column of the spreadsheet was deleted by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートの行及び列を分割するために直線が描画された状態を示す図である。It is a figure which shows the state by which the straight line was drawn in order to divide the row | line | column and column of a spreadsheet by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートの行及び列が分割された状態を示す図である。It is a figure which shows the state by which the row | line | column and column of the spreadsheet were divided | segmented by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートの列幅を変更するために罫線を移動させた状態を示す図である。It is a figure which shows the state which moved the ruled line in order to change the column width of a spreadsheet by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートの列を統合するために罫線を移動させた状態を示す図である。It is a figure which shows the state which moved the ruled line in order to integrate the row | line | column of a spreadsheet by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートの列の位置を変更するために罫線を移動させた状態を示す図である。It is a figure which shows the state which moved the ruled line in order to change the position of the row | line | column of a spreadsheet by the spreadsheet control program concerning this invention. 本発明にかかるスプレッドシート制御プログラムによって、スプレッドシートの列のナンバリングの位置を変更してスプレッドシートの位置をずらすために罫線を移動させた状態を示す図である。It is a figure which shows the state which moved the ruled line in order to change the position of numbering of the row | line | column of a spreadsheet and to shift the position of a spreadsheet by the spreadsheet control program concerning this invention.

本発明を実施するための形態について、図面を用いて以下に詳細に説明する。尚、以下の説明は、本発明の実施形態の一例を示したものであって、本発明はかかる実施形態に限定されるものではない。   Embodiments for carrying out the present invention will be described below in detail with reference to the drawings. The following description shows an example of an embodiment of the present invention, and the present invention is not limited to such an embodiment.

図1は、本発明にかかるスプレッドシート制御プログラムが動作する携帯型デバイスの構成を示している。本発明には、スマートフォンやタブレットPCなどのタッチスクリーン式の携帯型デバイスが用いられるが、本発明を実施するためのハードウェアはこれらのデバイスに限定されるものではなく、タッチスクリーンによりデータの入出力が行われ、スプレッドシートの作成や編集が可能なコンピュータであればよい。   FIG. 1 shows a configuration of a portable device in which a spreadsheet control program according to the present invention operates. In the present invention, touch-screen portable devices such as smartphones and tablet PCs are used. However, hardware for carrying out the present invention is not limited to these devices, and data can be input by touch screen. Any computer capable of outputting and creating and editing a spreadsheet may be used.

携帯型デバイス本体10へのデータの入出力は、タッチスクリーン20とあわせて他の入出力装置を備えるものであってもよいが、タッチスクリーン20を用いて行うことが可能な構成となっている。タッチスクリーン20には、携帯型デバイス本体10での演算結果がスクリーン上に表示されるとともに、指先やペンでスクリーンをタップしたり、線を描画したりすることによって、データの入力が行われる。   Data input / output to / from the portable device body 10 may be provided with another input / output device in addition to the touch screen 20, but is configured to be performed using the touch screen 20. . On the touch screen 20, the calculation result in the portable device body 10 is displayed on the screen, and data is input by tapping the screen with a fingertip or a pen or drawing a line.

携帯型デバイス本体10は、CPU、メインメモリ、HDD等の補助記憶装置を備えたコンピュータである。携帯型デバイス本体10に備えられる入出力制御部11、表計算演算部12はいずれも機能的に特定されるものであって、各々の機能に対応するアプリケーションプログラムが補助記憶装置からメインメモリに読み出され、CPUで演算処理を実行することによって所定の機能が実現される。   The portable device body 10 is a computer including an auxiliary storage device such as a CPU, a main memory, and an HDD. The input / output control unit 11 and the spreadsheet operation unit 12 provided in the portable device body 10 are both functionally specified, and application programs corresponding to the respective functions are read from the auxiliary storage device into the main memory. The predetermined function is realized by executing the arithmetic processing by the CPU.

このうち、表計算演算部12はスプレッドシートの作成、編集等の機能を備えた、一般的な表計算ソフトに対応するものであり、入出力制御部11によってタッチスクリーン20を用いたデータの入出力が行われる。   Of these, the spreadsheet calculation unit 12 corresponds to general spreadsheet software having functions such as spreadsheet creation and editing, and the input / output control unit 11 inputs data using the touch screen 20. Output is done.

入出力制御部11は、表計算演算部12を用いる際のインターフェイスとなるもので、本発明にかかるスプレッドシート制御プログラムに対応するものである。入出力制御部11には、いわゆる「手書きメモ」のアプリケーションに対応する、スプレッドシートを操作するためにタッチスクリーン20に開かれたウィンドウに指先やペンで描画された点や線を認識して表示する機能が備えられていることに加えて、表計算演算部12のインターフェイスとして、セルの設定やセルへの入力値を受け付けて表計算演算部12に引渡す機能や、表計算演算部12によって編集されたスプレッドシートを出力して、タッチスクリーン20に開かれたウィンドウに表示させる機能などが備えられている。   The input / output control unit 11 serves as an interface when the spreadsheet operation unit 12 is used, and corresponds to the spreadsheet control program according to the present invention. The input / output controller 11 recognizes and displays points and lines drawn with a fingertip or pen in a window opened on the touch screen 20 for operating a spreadsheet corresponding to a so-called “handwritten memo” application. In addition to the function of performing the calculation, the interface of the spreadsheet calculation unit 12 accepts the cell setting and the input value to the cell and passes it to the spreadsheet calculation unit 12. A function of outputting the processed spreadsheet and displaying it in a window opened on the touch screen 20 is provided.

データ格納部13には補助記憶装置の所定の記憶領域が割り当てられ、各々のセルへの入力値も含めたスプレッドシートに関するデータが格納されており、スプレッドシートの作成、編集時等にはこれらのデータがメインメモリに読み出されて、スプレッドシートがタッチスクリーン20に開かれたウィンドウに表示される。   A predetermined storage area of the auxiliary storage device is allocated to the data storage unit 13, and data relating to the spreadsheet including the input value to each cell is stored, and when creating or editing the spreadsheet, these data are stored. Data is read into the main memory and the spreadsheet is displayed in a window opened on the touch screen 20.

以上の構成を前提にして、本発明にかかるスプレッドシート制御プログラムの動作について、図2〜図15に示したタッチスクリーンに開かれたウィンドウに表示されるスプレッドシートの例を用いて説明する。   Based on the above configuration, the operation of the spreadsheet control program according to the present invention will be described using an example of a spreadsheet displayed in a window opened on the touch screen shown in FIGS.

本発明にかかるスプレッドシート制御プログラムを用いて、スプレッドシートの作成や編集、値の入力などを行いたい場合には、入出力制御部11に対応するアプリケーションを起動して、スプレッドシートを操作するためのウィンドウをタッチスクリーン20に開く。本発明において、新規のスプレッドシートを作成する方法は特に限定されるものではないが、ここでは入出力制御部11が、タッチスクリーンに描画した線をスプレッドシートの罫線と認識して、スプレッドシートを自動生成する例について説明する。   When the spreadsheet control program according to the present invention is used to create or edit a spreadsheet or input values, the application corresponding to the input / output control unit 11 is activated to operate the spreadsheet. Is opened on the touch screen 20. In the present invention, a method for creating a new spreadsheet is not particularly limited. Here, the input / output control unit 11 recognizes a line drawn on the touch screen as a ruled line of the spreadsheet, and the spreadsheet is created. An example of automatic generation will be described.

新規のスプレッドシートを作成したいユーザは、開かれたウィンドウにスプレッドシートの罫線とするための線を、指先やペンで描画する。描画された線は、その角度によってスプレッドシートの行又は列のいずれかに並行する罫線と認識され、ウィンドウに横又は縦の罫線として表示される。   A user who wants to create a new spreadsheet draws a line to be a ruled line of the spreadsheet in the opened window with a fingertip or a pen. The drawn line is recognized as a ruled line parallel to either the row or the column of the spreadsheet depending on the angle, and is displayed as a horizontal or vertical ruled line in the window.

図2は、ユーザの描画した線から横と縦、それぞれ2本の罫線が表示された状態であるが、複数の罫線の交点によって少なくとも1の四角形が形成されると、ここで表計算演算部12が起動されて、新たなスプレッドシートの作成を開始する。四角形の表示された領域には、新たに作成されたスプレッドシートにおける1のセルが設定され、このセルに対応する行と列のナンバリング(1行目とA列)が行われる。   FIG. 2 shows a state in which two ruled lines are displayed horizontally and vertically from the line drawn by the user. When at least one rectangle is formed by the intersection of a plurality of ruled lines, a spreadsheet calculation unit is used here. 12 is activated to start creating a new spreadsheet. In the rectangular display area, one cell in the newly created spreadsheet is set, and row and column numbering (first row and A column) corresponding to this cell is performed.

設定されるセルの高さと幅、すなわち行の高さと列の幅をどのような値にするかは特に限定されるものではなく、形成された四角形の高さと幅をそのまま用いることとしてもよいし、プログラムにあらかじめ設定されたスプレッドシートの標準フォーマット等の高さと幅に置き換えることとしてもよい。但し、ウィンドウのサイズとの関係でセルのサイズがアンバランスにならないように、設定されるセルの高さと幅には、最大値と最小値を定めておくことが好ましい。   There are no particular limitations on the values of the height and width of the cell to be set, that is, the height of the row and the width of the column, and the height and width of the formed rectangle may be used as they are. The height and width may be replaced with the standard format of the spreadsheet set in advance in the program. However, it is preferable to set a maximum value and a minimum value for the height and width of the set cell so that the cell size does not become unbalanced in relation to the size of the window.

さらに、ユーザがウィンドウに新たに描いた線が、横、縦いずれかの罫線として認識され、新たな四角形が形成されると、その四角形についてもセルが設定され、対応する行や列のナンバリングが追加される。すなわち、スプレッドシートの作成が開始された後に、新たな横線が認識された場合には、その横線によって設定されるセルにより1の行が形成され、スプレッドシートに行を1行追加することになる。新たな縦線が認識された場合には、その縦線によって設定されるセルにより1の列が形成され、スプレッドシートに列を1列追加することになる。   Furthermore, when a line newly drawn on the window is recognized as a horizontal or vertical ruled line and a new quadrangle is formed, a cell is set for the quadrangle, and the corresponding row or column numbering is performed. Added. That is, when a new horizontal line is recognized after the creation of the spreadsheet is started, one row is formed by the cells set by the horizontal line, and one row is added to the spreadsheet. . When a new vertical line is recognized, one column is formed by the cells set by the vertical line, and one column is added to the spreadsheet.

ここで新たな行又は列を追加する際に、行の高さや列の幅(セルの高さや幅)をどのように設定するかは特に限定されるものではない。隣接するセルの高さや幅と同一の値に設定することとしてもよいし、新たに描画された線により形成された四角形の高さや幅が、隣接するセルの高さや幅と一定の範囲を超えて異なる場合には、隣接するセルとは異なる高さや幅を設定することとしてもよい。例えば、隣接するセルの2倍以上の高さ又は幅であれば2倍の高さ又は幅、隣接するセルの2分の1以下の高さ又は幅であれば2分の1の高さ又は幅、それ以外の場合は隣接するセルと同一の高さ又は幅に設定することとしてもよい。   Here, when a new row or column is added, how to set the row height and the column width (cell height and width) is not particularly limited. It may be set to the same value as the height or width of the adjacent cell, or the height or width of the rectangle formed by the newly drawn line exceeds the height and width of the adjacent cell. If they are different from each other, a different height or width from the adjacent cells may be set. For example, if it is more than twice the height or width of an adjacent cell, it is twice the height or width, if it is less than half the height or width of an adjacent cell, or half the height or width Otherwise, the width may be set to the same height or width as the adjacent cells.

図3は、7本の横線と5本の縦線が罫線として認識され、6行×4列のマトリックスのスプレッドシートが作成され、ウィンドウに表示されている状態を示している。このマトリックスを構成する各々の四角形がスプレッドシートのセルに該当し、ウィンドウで1のセルを、タッチスクリーン20をタップする等の操作によって選択すると(図6では「D3」の番地にあるセルを選択)、そのセルにデータを入力できるように、計算機やキーボード、テンキーなどの画面が表示される。   FIG. 3 shows a state where seven horizontal lines and five vertical lines are recognized as ruled lines, and a 6-row × 4-column matrix spreadsheet is created and displayed in a window. Each square constituting this matrix corresponds to a spreadsheet cell, and if one cell is selected in the window by an operation such as tapping the touch screen 20 (the cell at the address “D3” in FIG. 6 is selected). ) A screen such as a calculator, keyboard, or numeric keypad is displayed so that data can be entered into the cell.

ユーザは計算機やキーボードなどの画面をタップ等することによって、セルにデータを入力することができる。入力されたデータは、選択されたセルへの入力値として表計算演算部12に引き渡され、メモリ等に記憶される。   The user can input data into the cell by tapping a screen such as a calculator or a keyboard. The input data is transferred to the spreadsheet unit 12 as an input value to the selected cell and stored in a memory or the like.

本発明において、セルの範囲指定、行や列の削除や分割などの編集を行うスプレッドシートは、これまで説明したようにユーザがタッチスクリーン20に描画した線を認識して生成されるものであってもよいが、このようにして生成されたスプレッドシートに限定されるものではない。例えば、スプレッドシートを編集するウィンドウに、データ格納部13等から読み出したスプレッドシートのテンプレートを読み出して、編集用のウィンドウに表示するものであってもよく、いずれにしても本発明では、タッチスクリーン20に開かれた編集用のウィンドウにスプレッドシートが表示された状態から、タッチスクリーン20を用いた所定の操作を行うことによってスプレッドシートの編集が行われる。   In the present invention, a spreadsheet for performing cell range specification, row or column deletion or division editing is generated by recognizing a line drawn by the user on the touch screen 20 as described above. However, it is not limited to the spreadsheet generated in this way. For example, a spreadsheet template read from the data storage unit 13 or the like may be read into a window for editing a spreadsheet and displayed on the editing window. The spreadsheet is edited by performing a predetermined operation using the touch screen 20 from the state in which the spreadsheet is displayed in the editing window opened at 20.

図3に示した6行×4列のスプレッドシートがウィンドウに表示されている状態で、ユーザがいくつかのセルを選択して範囲を指定したい場合、図4に示したように、範囲を指定したいセルを円や楕円の形状に囲むように、ユーザはタッチスクリーン20に指先やペンで線を描画する。ユーザが描画した線は、図4に示したように、スプレッドシート上に表示される。   When the 6 row x 4 column spreadsheet shown in Fig. 3 is displayed in the window and the user wants to select a range by selecting some cells, specify the range as shown in Fig. 4. The user draws a line on the touch screen 20 with a fingertip or a pen so that the desired cell is surrounded by a circle or an ellipse. The line drawn by the user is displayed on the spreadsheet as shown in FIG.

範囲指定の対象となるセルを選択するための線(選択線)は、2以上のセルに跨るものであることが必要とされるが、どのような形状の線を選択線と判断するかは、特に限定されるものではない。閉じられていない直線や曲線であっても、2以上のセルにかかる線であれば範囲指定の対象と判断することとしてもよいが、通常は円や楕円、四角形のように閉じられた線を対象とすることが考えられる。ユーザが、こうした線をタッチスクリーン20に正確に描画できるとは限らないので、一部に切れ目があっても、その切れ目を結んだ線を仮想して閉じられた線に補正し、範囲指定の対象と判断することとしてもよい。   A line (selection line) for selecting a cell for which a range is to be specified needs to span two or more cells, but what type of line should be determined as a selection line? There is no particular limitation. Even if it is a straight line or curve that is not closed, it may be determined that it is a target for range specification as long as it is a line that covers two or more cells, but normally a closed line such as a circle, ellipse, or quadrilateral is used. It can be considered as a target. Since the user cannot always accurately draw such a line on the touch screen 20, even if there is a break in a part, the line connecting the break is virtually corrected to a closed line, and a range designation is made. It may be determined as a target.

図5の左図は、選択線に囲まれた領域の面積から、範囲指定の対象となるセルを選択する例を示している。図5では、楕円状の選択線に囲まれた領域が9つのセルにかかっているが、各々のセルについて選択線に囲まれた領域の面積を演算し、その面積のセル全体の面積に占める比率が所定の閾値を超えるものであるかを判断する。例えば、閾値を2分の1に設定すると、A1とC3のセルは、選択線に囲まれた領域を含むものの、範囲指定の対象からは除外されることになる(図5の右図)。   The left diagram of FIG. 5 shows an example in which a cell that is a target of range designation is selected from the area of the region surrounded by the selection line. In FIG. 5, the area surrounded by the elliptical selection line covers nine cells. For each cell, the area of the area surrounded by the selection line is calculated and occupies the area of the entire cell. It is determined whether the ratio exceeds a predetermined threshold. For example, when the threshold value is set to ½, the cells A1 and C3 include a region surrounded by the selection line, but are excluded from the range designation target (the right diagram in FIG. 5).

ここで、選択線に囲まれた領域の全てを範囲指定の対象と定義し、A1とC3のセルを含めて範囲指定がされたと判断してもよいが、そうすると、ユーザの意図に反して線が僅かにかかってしまったセルまでも範囲指定の対象に含まれることになってしまう。そうした点を考慮すると、選択線に囲まれた領域が一定の条件に合致するものに限って、範囲指定の対象とすることが好ましい。   Here, it is possible to define that the entire area surrounded by the selection line is the target of the range specification and determine that the range specification including the cells of A1 and C3 has been performed. Even cells that have been slightly covered are included in the range specification target. In consideration of such points, it is preferable that the range is specified only when the area surrounded by the selection line satisfies a certain condition.

尚、ここで選択線に囲まれた領域の面積を基準にして範囲指定の対象とするか否かを判断する場合に、その面積の演算は選択線の形状を厳密に読み取って正確な数値を求めることは必ずしも必要ではなく、例えば、選択線とセルの外枠との交点を直線で結んだ場合に囲まれる領域の面積を求めるなど、簡易な演算で代用することとしてもよい。   Here, when determining whether or not to be a range designation target based on the area of the region surrounded by the selection line, the area calculation is performed by strictly reading the shape of the selection line and calculating an accurate numerical value. It is not always necessary to obtain it. For example, a simple calculation such as obtaining the area of a region surrounded when the intersection of the selection line and the outer frame of the cell is connected by a straight line may be used instead.

図6の左図は、選択線が描画された最上行、最下行、最左列、最右列から、範囲指定の対象となるセルを選択する例を示している。図6では、選択線の最上行は1行目、最下行は3行目、最左列はA列、最右列はC列となっている。そのため、選択線が描画された最上行、最下行、最左列、最右列の交点は、A1、A3、C1、C3の4つのセル(星印で示したセル)となり、これらの4つのセルによって囲まれた四角形内にあるセルが、図6の右図に示したように範囲指定の対象となる。   The left diagram of FIG. 6 shows an example of selecting a cell for which a range is designated from the uppermost row, the lowermost row, the leftmost column, and the rightmost column on which selection lines are drawn. In FIG. 6, the top line of the selection line is the first line, the bottom line is the third line, the leftmost column is the A column, and the rightmost column is the C column. Therefore, the intersections of the top row, the bottom row, the leftmost column, and the rightmost column on which the selection line is drawn are four cells (cells indicated by asterisks) of A1, A3, C1, and C3. The cells in the rectangle surrounded by the cells are the target of range designation as shown in the right diagram of FIG.

図7の左図は、選択線が描画されたセルと、それらのセルにより囲まれたセルを、範囲指定の対象となるセルとして選択する例を示している。図7では、選択線がかかっているセルはA1、A2、A3、B1、B3、C1、C2、C3の8つのセル(星印で示したセル)となり、これらのセルに囲まれたB2のセルとあわせて、図7の右図に示したように9つのセルが範囲指定の対象となる。   The left diagram of FIG. 7 illustrates an example in which cells in which selection lines are drawn and cells surrounded by those cells are selected as cells for which a range is designated. In FIG. 7, the cells to which the selection line is applied are eight cells A1, A2, A3, B1, B3, C1, C2, and C3 (cells indicated by asterisks), and B2 surrounded by these cells. In addition to the cells, nine cells are subject to range designation as shown in the right diagram of FIG.

尚、図6や図7に示した方法だと、選択線に囲まれた領域の面積の演算を必要としないので、図7のように選択線の一部に切れ目があって閉じた楕円となっていない場合であっても、選択線に仮想の線を引くことなく、範囲指定の対象となるセルを特定することができる。   6 and FIG. 7 does not require the calculation of the area of the region surrounded by the selection line, so that the ellipse closed with a part of the selection line as shown in FIG. Even if it is not, it is possible to specify a cell for which a range is designated without drawing a virtual line on the selection line.

また、図5〜図7のいずれの方法においても、タッチスクリーン20に開かれたウィンドウ上のスプレッドシートとユーザが描画した選択線の位置関係を特定することが必要になるが、これらの関係は、スプレッドシートが表示されたタッチスクリーン20における位置と、ユーザが選択線を描画するのに指先やペンでなぞったタッチスクリーン20における位置から、容易に特定することができる。   In any of the methods shown in FIGS. 5 to 7, it is necessary to specify the positional relationship between the spreadsheet on the window opened on the touch screen 20 and the selection line drawn by the user. The position can be easily identified from the position on the touch screen 20 where the spreadsheet is displayed and the position on the touch screen 20 that the user traces with the fingertip or pen to draw the selection line.

以上に説明した例のようにして、タッチスクリーン20に開かれたウィンドウにユーザが所定の選択線を描画することによって、範囲指定の対象となるセルが特定されると、範囲指定がされたセルに関する情報が表計算演算部12に引き渡され、範囲を指定して実行される入力値のコピー、貼り付け、削除などの処理が行われる。   As in the example described above, when a user designates a range selection target by drawing a predetermined selection line in a window opened on the touch screen 20, the range designated cell is specified. Information relating to this is transferred to the spreadsheet operation unit 12, and processing such as copying, pasting, and deleting of input values executed by specifying a range is performed.

図8、図9は、スプレッドシートに波線を描画して行を削除する例を示している。ウィンドウに表示されているスプレッドシートの行や列を削除したい場合、ユーザは削除したい行や列に、行や列を削除するための線と定義された線(削除線)を描画する。図8の例では、削除線を波線と定義し、3行目の行を削除するために、タッチスクリーン20を指先やペンでなぞって波線を描画している。   8 and 9 show examples in which wavy lines are drawn on a spreadsheet and rows are deleted. When deleting a row or column of a spreadsheet displayed in the window, the user draws a line (deletion line) defined as a line for deleting the row or column in the row or column to be deleted. In the example of FIG. 8, the deletion line is defined as a wavy line, and in order to delete the third line, the touch screen 20 is traced with a fingertip or a pen to draw the wavy line.

タッチスクリーン20において、スプレッドシートのいずれかの行又は列に当たる領域に、その行又は列を構成するセルを横断又は縦断する波線が描画されたことが検出されると、波線が描画されたセルを含む行又は列を削除する処理が実行される。すなわち、削除された行や列にあるセルの入力値が消去されるとともに、行が削除された場合は削除された行より下の行を上詰めに、列が削除された場合は削除された列より右の列を左詰めに、行や列のナンバリングの変更と、各々のセルのIDに対応するように入力値をナンバリング変更後の位置に移動する処理が実行される。これらの処理結果は表計算演算部12に引き渡され、スプレッドシートのファイルに反映される。   When it is detected on the touch screen 20 that a wavy line crossing or traversing a cell constituting the row or column is drawn in an area corresponding to any row or column of the spreadsheet, the cell on which the wavy line is drawn is displayed. A process of deleting the included row or column is executed. That is, the input value of the cell in the deleted row or column is deleted, and if the row is deleted, the row below the deleted row is padded to the top, and if the column is deleted, it is deleted A process is executed in which the column to the right of the column is left-justified, the numbering of the row or column is changed, and the input value is moved to the position after the numbering change so as to correspond to the ID of each cell. These processing results are transferred to the spreadsheet unit 12 and reflected in the spreadsheet file.

図9の例では、削除された3行目のセルの入力値がすべて消去され、4行目にあった入力値は3行目に(例えば、「A4」にあった「500」は「A3」に)、6行目にあった入力値は5行目に(例えば、「B6」にあった「900」は「B5」に)、それぞれ移動される。   In the example of FIG. 9, all the input values of the deleted cells in the third row are deleted, and the input values in the fourth row are changed to the third row (for example, “500” in “A4” is “A3”. ”), The input value in the sixth line is moved to the fifth line (for example,“ 900 ”in“ B6 ”is moved to“ B5 ”).

尚、ここで、どのような条件に該当する線が検出されれば削除線に該当する波線と判断するかは特に限定されるものではないが、例えば、同一の行又は列に属する複数のセルに対応する領域に描画された線であること、同一の行に属する場合はセルの高さの所定の比率以上の範囲(例えば、その行にあるセルの高さの2分の1以上にかかっていること)にあり、かつその行の全セル数の所定の数以上のセルにかかっていること(例えば、その行にあるセルの数の2分の1以上のセルにかかっていること)、同一の列に属する場合はセルの幅の所定の比率以上の範囲(例えば、その列にあるセルの幅の2分の1以上にかかっていること)にあり、かつその列の全セル数の所定の数以上のセルにかかっていること(例えば、その列にあるセルの数の2分の1以上のセルにかかっていること)を条件に判断すればよい。   Here, it is not particularly limited to determine a wavy line corresponding to a deletion line if a line corresponding to a condition is detected, but for example, a plurality of cells belonging to the same row or column It is a line drawn in the area corresponding to, and if it belongs to the same row, the range of the cell height is more than a predetermined ratio (for example, more than half of the cell height in that row) ) And over a predetermined number of cells of the total number of cells in the row (for example, over one-half of the number of cells in the row). If they belong to the same column, they are in a range that is equal to or greater than a predetermined ratio of the width of the cells (for example, it is more than half of the width of the cells in the column) and the total number of cells in the column Over a certain number of cells (for example, the number of cells in the column That depends on one or more cells of 2 minutes) may be determined on the condition.

図10、図11は、スプレッドシートに直線を描画して行及び列を分割する例を示している。ウィンドウに表示されているスプレッドシートの行や列を分割したい場合、ユーザは分割したい行や列に、行や列を分割するための線と定義された線(分割線)を描画する。図10の例では、分割線を直線と定義し、3行目の行とB列を分割するために、タッチスクリーン20を指先やペンでなぞって直線を描画している。   10 and 11 show examples in which lines and columns are divided by drawing straight lines on a spreadsheet. When the user wants to divide the row or column of the spreadsheet displayed in the window, the user draws a line (dividing line) defined as a line for dividing the row or column in the row or column to be divided. In the example of FIG. 10, the dividing line is defined as a straight line, and the straight line is drawn by tracing the touch screen 20 with a fingertip or a pen in order to divide the third row and the B column.

タッチスクリーン20において、スプレッドシートのいずれかの行又は列に当たる領域に、その行又は列を構成するセルを横断又は縦断する直線が描画されたことが検出されると、直線が描画されたセルを含む行又は列を分割する処理が実行される。すなわち、分割された行や列では、行が分割された場合は行のナンバリングを変更するとともに、各々のセルのIDに対応するように入力値をナンバリング変更後の位置に移動する処理が実行される。これらの処理結果は表計算演算部12に引き渡され、スプレッドシートのファイルに反映される。   When it is detected on the touch screen 20 that a straight line that crosses or crosses the cells constituting the row or column is drawn in an area corresponding to any row or column of the spreadsheet, the cell in which the straight line is drawn is displayed. A process of dividing the included row or column is executed. That is, in the divided rows and columns, when the rows are divided, the row numbering is changed, and the process of moving the input value to the position after the numbering change is performed so as to correspond to the ID of each cell. The These processing results are transferred to the spreadsheet unit 12 and reflected in the spreadsheet file.

図11の例では、3行目が2つの行に分割され、分割された行は3行目、4行目とナンバリングが行われており、もし「A3」に入力値が存在していた場合には、分割された上段のセル(新たな「A3」)に入力値が引き継がれる。また、分割前の「A4」に入力値が存在していた場合は、表示されている入力値は分割された下段の「A4」の番地のセルに表示位置が移動される。B列も同様に2つの列に分割され、分割された列はB列、C列とナンバリングが行われており、もし「B1」に入力値が存在していた場合には、分割された左側のセル(新たな「B1」)に入力値が引き継がれる。また、分割前の「C1」に入力値が存在していた場合は、表示されている入力値は分割された右側の「C1」の番地のセルに表示位置が移動される。   In the example of FIG. 11, the third line is divided into two lines, and the divided lines are numbered with the third and fourth lines, and an input value exists in “A3”. In this case, the input value is taken over by the divided upper cell (new “A3”). If an input value exists in “A4” before the division, the display position of the displayed input value is moved to the cell at the lower “A4” address. The B column is similarly divided into two columns, and the divided columns are numbered with the B column and the C column. If an input value exists in “B1”, the divided left side is divided. The input value is succeeded to the cell (new “B1”). If an input value exists in “C1” before division, the display position of the displayed input value is moved to the cell at the address “C1” on the right side.

尚、ここで、どのような条件に該当する線が検出されれば分割線に該当する直線と判断するかは特に限定されるものではないが、例えば、同一の行又は列に属する複数のセルに対応する領域に描画された線であって、同一の行に属する場合は行のナンバリングがされたセルから逆側の最右端にあるセルまで引かれた直線であること、同一の列に属する場合は列のナンバリングがされたセルから逆側の最下端にあるセルまで引かれた直線であることを条件に判断すればよい。   Here, it is not particularly limited to determine a line corresponding to the dividing line if a line corresponding to the condition is detected, but for example, a plurality of cells belonging to the same row or column Lines drawn in the area corresponding to, if they belong to the same row, they are straight lines drawn from the cell in which the row is numbered to the cell on the far right of the opposite side, and belong to the same column In this case, the determination may be made on the condition that the line is drawn from the cell in which the numbering of the column is performed to the cell at the lowest end on the opposite side.

また、分割線に該当する直線を厳密に直線であることとすると、操作性に支障が生じると考えられるため、例えば、行を削除する線であれば線のY座標における最大値と最小値の差が一定の範囲内にあること、列を削除する線であれば線のX座標における最大値と最小値の差が一定の範囲内にあることなどを条件に、描画された線が直線と判断することとすればよい。   In addition, if the straight line corresponding to the dividing line is strictly a straight line, it is considered that the operability is hindered. For example, if the line is to be deleted, the maximum and minimum values in the Y coordinate of the line The drawn line is a straight line, provided that the difference is within a certain range, or if the line is to be deleted, the difference between the maximum and minimum values in the X coordinate of the line is within a certain range. Judgment should be made.

図12〜図15は、スプレッドシートの罫線を移動させて、行や列のサイズを調整する例を示している。ウィンドウに表示されているスプレッドシートの行の高さや列の幅などのサイズを調整したい場合、ユーザはサイズを調整したい行や列を区切る罫線を、所定の操作(ウィンドウに罫線を移動させるアイテムのアイコンを表示し、そのアイテムのアイコンを選択した状態で罫線にタッチする操作等)により選択し、ウィンドウ上をドラッグして選択した罫線を移動させる。   12 to 15 show examples of adjusting the size of rows and columns by moving the ruled lines of the spreadsheet. When you want to adjust the size of the spreadsheet row displayed in the window, such as the row height or column width, the user can change the ruled lines separating the rows and columns you want to adjust the size of An icon is displayed, and the item is selected by touching the ruled line while the icon of the item is selected, and the selected ruled line is moved by dragging on the window.

図12〜図14の例では、B列とC列を区切る罫線を選択し、この罫線を右方向に平行移動させている。図12の例に示したように、C列とD列を区切る罫線に到達する前の位置でドラッグをしている指先等がタッチスクリーン20から離れたことが検出され、移動が終了した場合には、その位置に罫線が移動するようにB列とC列の幅を変更する処理が実行される。この処理結果は表計算演算部12に引き渡され、スプレッドシートのファイルに反映される。   In the example of FIGS. 12 to 14, a ruled line separating the B column and the C column is selected, and the ruled line is translated in the right direction. As shown in the example of FIG. 12, when it is detected that the fingertip or the like that is dragging at the position before reaching the ruled line that separates the C column and the D column is separated from the touch screen 20, and the movement is completed Is executed to change the widths of the B and C columns so that the ruled line moves to that position. The processing result is delivered to the spreadsheet unit 12 and reflected in the spreadsheet file.

さらに罫線を移動させて、C列とD列を区切る罫線に重なる位置でドラッグをしている指先等がタッチスクリーン20から離れたことが検出され、移動が終了した場合には、図13の例に示したように、2の列を1の列に統合し、B列の幅を罫線が移動された位置に合わせて変更するとともに(B列の幅は元の幅に戻すこととしてもよい)、これにあわせて統合されたセルの入力値の消去や変更の処理が実行される。この処理結果は表計算演算部12に引き渡され、スプレッドシートのファイルに反映される。   When the ruled line is further moved and it is detected that the fingertip or the like dragging at the position overlapping the ruled line separating the C column and the D column is separated from the touch screen 20, and the movement is completed, the example shown in FIG. As shown in Fig. 2, the two columns are integrated into the first column, and the width of the B column is changed according to the position where the ruled line is moved (the width of the B column may be returned to the original width). In accordance with this, the process of deleting or changing the input value of the integrated cell is executed. The processing result is delivered to the spreadsheet unit 12 and reflected in the spreadsheet file.

2の列を1の列に統合する、すなわち2のセルを1のセルに統合することによって、セルの入力値をどのように扱うかは特に限定されるものではない。例えば、図13の例の場合に、統合前の列にあったセルの入力値を消去することとしてもよいし、C列にあったセルの入力値を消去することとしてもよい。また、入力値が演算式でなければ、セル内で改行してB列にあった入力値とC列にあった入力値を二段書きにして表示することとしてもよい。 There is no particular limitation on how the input values of the cells are handled by integrating two columns into one column, that is, integrating two cells into one cell. For example, in the case of the example of FIG. 13, the input value of the cell in the B column before integration may be deleted, or the input value of the cell in the C column may be deleted. If the input value is not an arithmetic expression, the input value in the B column and the input value in the C column may be displayed in two columns and displayed in a two-line format.

さらに罫線を移動させて、C列とD列を区切る罫線を越える位置でドラッグをしている指先等がタッチスクリーン20から離れたことが検出され、移動が終了した場合には、図14の例に示したように、その位置に罫線が移動するようにB列とC列の幅を変更する処理が実行される。この場合、C列の位置は元のD列のあった位置の一部に移動し、これに伴ってナンバリングやセルの入力値の表示位置も変更される。この処理結果は表計算演算部12に引き渡され、スプレッドシートのファイルに反映される。   When the ruled line is further moved and it is detected that the fingertip or the like dragging at a position exceeding the ruled line separating the C and D columns is separated from the touch screen 20, and the movement is completed, the example shown in FIG. As shown in FIG. 5, the process of changing the widths of the B and C columns so that the ruled line moves to the position is executed. In this case, the position of the C column moves to a part of the original position of the D column, and accordingly, the numbering and the display position of the input value of the cell are also changed. The processing result is delivered to the spreadsheet unit 12 and reflected in the spreadsheet file.

尚、図12〜図14では、選択された罫線が縦線であり、罫線を横方向に平行移動させるケースについて説明したが、選択された罫線が横線であり、罫線を縦方向に平行移動させるケースでは、行の高さの変更、行の統合などが、列についてのケースと同様に実行される。   In FIGS. 12 to 14, the case where the selected ruled line is a vertical line and the ruled line is translated in the horizontal direction has been described. However, the selected ruled line is a horizontal line and the ruled line is translated in the vertical direction. In the case, row height changes, row integration, etc. are performed in the same way as for columns.

図15は、選択した罫線を図12〜図14のように平行移動させるのではなく、罫線を斜め又は罫線上に沿って移動させた状態を示している。選択された罫線が縦線であれば、罫線の上端が列のナンバリングがされた行を越えて移動された位置でドラッグをしている指先等がタッチスクリーン20から離れたことが検出され、移動が終了した場合には、図15の例のように、列のナンバリングがされた行を下方向にずらして行のナンバリングを変更するとともに、セルの入力値の表示位置を変更する処理が実行される。この処理結果は表計算演算部12に引き渡され、スプレッドシートのファイルに反映される。   FIG. 15 shows a state in which the selected ruled line is not translated as shown in FIGS. 12 to 14, but the ruled line is moved obliquely or along the ruled line. If the selected ruled line is a vertical line, it is detected that the fingertip or the like that is dragging at the position where the upper end of the ruled line is moved beyond the row in which the column is numbered is separated from the touch screen 20 and moved. Is completed, the row numbering is shifted downward to change the row numbering, and the display position of the input value of the cell is changed as shown in the example of FIG. The The processing result is delivered to the spreadsheet unit 12 and reflected in the spreadsheet file.

選択された罫線が横線であるケースでも同様に、罫線の左端が行のナンバリングがされた列を越えて移動された位置でドラッグをしている指先等がタッチスクリーン20から離れたことが検出され、移動が終了した場合には、行のナンバリングがされた列を右方向にずらして列のナンバリングを変更するとともに、セルの入力値の表示位置を変更する処理が実行される。この処理結果は表計算演算部12に引き渡され、スプレッドシートのファイルに反映される。   Similarly, in the case where the selected ruled line is a horizontal line, it is detected that the fingertip or the like that is dragging at the position where the left end of the ruled line is moved beyond the row numbered column is separated from the touch screen 20. When the movement is completed, a process of changing the column numbering by shifting the column in which the row is numbered to the right and changing the display position of the input value of the cell is executed. The processing result is delivered to the spreadsheet unit 12 and reflected in the spreadsheet file.

10 携帯型デバイス本体
11 入出力制御部
12 表計算演算部
13 データ格納部
20 タッチスクリーン
DESCRIPTION OF SYMBOLS 10 Portable device main body 11 Input / output control part 12 Spreadsheet calculation part 13 Data storage part 20 Touch screen

Claims (24)

タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、
前記線検出ステップで検出された線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断ステップと、
前記線判断ステップで選択線と判断された選択線に囲まれた領域を含むセルのうち、各々のセルにおいて前記選択線に囲まれた領域が所定の条件に合致するセルを、前記選択線によって選択されたセル特定するセル特定ステップと、
前記セル特定ステップで特定されたセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識ステップと、
を実行させることを特徴とするスプレッドシート制御プログラム。
A program for controlling a spreadsheet in a computer having a touch screen, the computer comprising:
A line detection step for detecting lines drawn on a spreadsheet displayed on the touch screen;
A selection line determination step for determining whether the line detected in the line detection step corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed;
Among the cells including the area surrounded by the selection line determined as the selection line in the line determination step, the cell surrounded by the selection line in each cell matches a predetermined condition by the selection line. a cell identifying step of identifying a selected cell,
A range designation recognition step for recognizing the cell identified in the cell identification step as a cell whose range is designated in a spreadsheet;
A spreadsheet control program characterized in that
前記セル特定ステップで前記選択線によって選択されたセルを特定するための所定の条件は、前記選択線に囲まれた領域の面積のセル全体の面積に占める比率が所定の閾値を超えるものであること
を特徴とする請求項1記載のスプレッドシート制御プログラム。
The predetermined condition for specifying the cell selected by the selection line in the cell specifying step is that the ratio of the area of the area surrounded by the selection line to the entire cell area exceeds a predetermined threshold. The spreadsheet control program according to claim 1 .
タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、
前記線検出ステップで検出された線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断ステップと、
前記線判断ステップで選択線と判断された選択線に囲まれた領域を含む全てのセルを、前記選択線によって選択されたセル特定するセル特定ステップと、
前記セル特定ステップで特定されたセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識ステップと、
を実行させることを特徴とするスプレッドシート制御プログラム。
A program for controlling a spreadsheet in a computer having a touch screen, the computer comprising:
A line detection step for detecting lines drawn on a spreadsheet displayed on the touch screen;
A selection line determination step for determining whether the line detected in the line detection step corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed;
All cells containing a region surrounded by the selection line determines the selected line in the line determination step, a cell identifying step of identifying a selected cell by the selection line,
A range designation recognition step for recognizing the cell identified in the cell identification step as a cell whose range is designated in a spreadsheet;
A spreadsheet control program characterized in that
タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、
前記線検出ステップで検出された線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断ステップと、
前記線判断ステップで選択線と判断された選択線が描画された最上行、最下行、最左列、最右列が交わる4つのセルと前記4つのセルにより囲まれたセルを、前記選択線によって選択されたセル特定するセル特定ステップと、
前記セル特定ステップで特定されたセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識ステップと、
を実行させることを特徴とするスプレッドシート制御プログラム。
A program for controlling a spreadsheet in a computer having a touch screen, the computer comprising:
A line detection step for detecting lines drawn on a spreadsheet displayed on the touch screen;
A selection line determination step for determining whether the line detected in the line detection step corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed;
A cell surrounded by the four cells and the four cells intersecting the uppermost row, the lowermost row, the leftmost column, and the rightmost column in which the selection line determined to be the selection line in the line determination step is drawn. a cell identifying step of identifying a selected cell by,
A range designation recognition step for recognizing the cell identified in the cell identification step as a cell whose range is designated in a spreadsheet;
A spreadsheet control program characterized in that
タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、
前記線検出ステップで検出された線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断ステップと、
前記線判断ステップで選択線と判断された選択線が描画されたセルと前記セルにより囲まれたセルを、前記選択線によって選択されたセル特定するセル特定ステップと、
前記セル特定ステップで特定されたセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識ステップと、
を実行させることを特徴とするスプレッドシート制御プログラム。
A program for controlling a spreadsheet in a computer having a touch screen, the computer comprising:
A line detection step for detecting lines drawn on a spreadsheet displayed on the touch screen;
A selection line determination step for determining whether the line detected in the line detection step corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed;
A cell identifying step of the cell surrounded, identifies the selected cell by the selection line by the selectivity line determines that select line and drawn cell by the line determination step cell,
A range designation recognition step for recognizing the cell identified in the cell identification step as a cell whose range is designated in a spreadsheet;
A spreadsheet control program characterized in that
タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、
前記線検出ステップで検出された線が、前記スプレッドシートのいずれかの列又は行に当たる領域に、その列又は行を構成する複数のセルを縦断又は横断して描画された所定の条件に合致する削除線に該当するかを判断する削除線判断ステップと、
前記削除線判断ステップで削除線と判断された線が、セルが表示された領域上を縦断して描画された場合は前記セルの属する列を、セルが表示された領域上を横断して描画された場合は前記セルの属する行を削除する削除ステップと、
を実行させることを特徴とするスプレッドシート制御プログラム。
A program for controlling a spreadsheet in a computer having a touch screen, the computer comprising:
A line detection step for detecting lines drawn on a spreadsheet displayed on the touch screen;
The line detected in the line detection step matches a predetermined condition drawn in a region corresponding to any column or row of the spreadsheet by vertically or horizontally traversing a plurality of cells constituting the column or row. A deletion line determination step for determining whether the line corresponds to a deletion line;
If the line determined as the deletion line in the deletion line determination step is drawn vertically across the area where the cell is displayed, the column to which the cell belongs is drawn across the area where the cell is displayed. A delete step for deleting the row to which the cell belongs,
A spreadsheet control program characterized in that
前記削除線判断ステップにおいて削除線に該当すると判断するための所定の条件は、同一の列又は行に属する複数のセルに対応する領域に描画された線であって、同一の列に属する場合はセルの幅の所定の比率以上の範囲、かつその列の全セル数の所定の数以上のセルにかかる波線であり、同一の行に属する場合はセルの高さの所定の比率以上の範囲、かつその行の全セル数の所定の数以上のセルにかかる波線であること
を特徴とする請求項6記載のスプレッドシート制御プログラム。
The predetermined condition for determining that it corresponds to the deletion line in the deletion line determination step is a line drawn in an area corresponding to a plurality of cells belonging to the same column or row, and belongs to the same column A wavy line extending over a predetermined ratio of the cell width and a predetermined number of cells of the total number of cells in the column, and when belonging to the same row, a range of a predetermined ratio of the cell height or more, 7. The spreadsheet control program according to claim 6 , wherein the spreadsheet control line is a wavy line covering a predetermined number or more of the total number of cells in the row.
タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出ステップと、
前記線検出ステップで検出された線が、前記スプレッドシートのいずれかの列又は行に当たる領域に、その列又は行を構成するセルを縦断又は横断して描画された所定の条件に合致する分割線に該当するかを判断する分割線判断ステップと、
前記分割線判断ステップで分割線と判断されると、領域上に分割線が描画された列又は行を構成する全てのセルについて、1のセルを、前記1のセルに入力されている値を引き継ぐセルを含む2のセルに分割する分割ステップと、
を実行させることを特徴とするスプレッドシート制御プログラム。
A program for controlling a spreadsheet in a computer having a touch screen, the computer comprising:
A line detection step for detecting lines drawn on a spreadsheet displayed on the touch screen;
A dividing line that matches a predetermined condition drawn in a line vertically or across a cell constituting the column or row in an area corresponding to any column or row of the spreadsheet in which the line detected in the line detecting step corresponds to A dividing line judging step for judging whether or not
When the dividing line is determined to be a dividing line in the dividing line determining step, for all the cells constituting the column or row in which the dividing line is drawn on the region , 1 cell is set to the value input to the 1 cell. A division step of dividing the cell into two cells including the cell to be taken over;
A spreadsheet control program characterized in that
前記分割線判断ステップにおいて分割線に該当すると判断するための所定の条件は、同一の列又は行に属する複数のセルに対応する領域に描画された線であって、同一の列に属する場合は列のナンバリングがされたセルから逆側の最端にあるセルまで引かれた直線であり、同一の行に属する場合は行のナンバリングがされたセルから逆側の最端にあるセルまで引かれた直線であること
を特徴とする請求項8記載のスプレッドシート制御プログラム。
In the dividing line determining step, the predetermined condition for determining that it corresponds to the dividing line is a line drawn in an area corresponding to a plurality of cells belonging to the same column or row, and belongs to the same column It is a straight line drawn from the cell where the column is numbered to the cell at the opposite end, and if it belongs to the same row, it is drawn from the cell where the row is numbered to the cell at the opposite end. The spreadsheet control program according to claim 8 , wherein the spreadsheet control program is a straight line.
タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、
タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択ステップと、
前記罫線選択ステップで選択を受け付けた第1の罫線が、隣接する第2の罫線と重なり合う位置に移動されたことを検出すると、前記第1の罫線によって区切られていた2の列又は行を構成する全てのセルについて、前記第1の罫線によって区切られていた2のセルを1のセルに統合するセル統合ステップと、
を実行させることを特徴とするスプレッドシート制御プログラム。
A program for controlling a spreadsheet in a computer having a touch screen, the computer comprising:
A ruled line selection step for accepting selection of a ruled line separating the columns or rows of the spreadsheet displayed on the touch screen;
When it is detected that the first ruled line that has been selected in the ruled line selection step has been moved to a position where it overlaps with the adjacent second ruled line, two columns or rows separated by the first ruled line are formed. A cell integration step of integrating the two cells separated by the first ruled line into one cell for all the cells to be performed;
A spreadsheet control program characterized in that
タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、
タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択ステップと、
前記罫線選択ステップで選択を受け付けた第1の罫線が、隣接する第2の罫線を超える位置に移動されたことを検出すると、前記第1の罫線が縦線であればセルの幅と列のナンバリングを、前記第1の罫線が横線であればセルの高さと行のナンバリングを変更するセル変更ステップと、
を実行させることを特徴とするスプレッドシート制御プログラム。
A program for controlling a spreadsheet in a computer having a touch screen, the computer comprising:
A ruled line selection step for accepting selection of a ruled line separating the columns or rows of the spreadsheet displayed on the touch screen;
When it is detected that the first ruled line that has been selected in the ruled line selection step has been moved to a position beyond the adjacent second ruled line, if the first ruled line is a vertical line, the cell width and column A cell change step for changing the cell number and row numbering if the first ruled line is a horizontal line;
A spreadsheet control program characterized in that
タッチスクリーンを備えたコンピュータにおいてスプレッドシートを制御するプログラムであって、前記コンピュータに、
タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択ステップと、
前記罫線選択ステップで選択を受け付けた罫線が縦線であれば、罫線の上端が列のナンバリングがされた行を超えて移動されたことを検出すると、列のナンバリングがされた行を下方向にずらして行のナンバリングを変更し、前記罫線選択ステップで選択を受け付けた罫線が横線であれば、罫線の左端が行のナンバリングがされた列を超えて移動されたことを検出すると、行のナンバリングがされた列を右方向にずらして列のナンバリングを変更するナンバリング変更ステップと、
を実行させることを特徴とするスプレッドシート制御プログラム。
A program for controlling a spreadsheet in a computer having a touch screen, the computer comprising:
A ruled line selection step for accepting selection of a ruled line separating the columns or rows of the spreadsheet displayed on the touch screen;
If the ruled line that has been selected in the ruled line selection step is a vertical line, when it is detected that the upper end of the ruled line has moved beyond the numbered row of the column, the row with the numbered column is moved downward. If the line numbering is shifted to change the ruled line selected in the ruled line selection step and the ruled line is a horizontal line, the numbering of the line is detected when it is detected that the left end of the ruled line has moved beyond the numbered column of the line. A numbering change step for changing the numbering of the column by shifting the marked column to the right,
A spreadsheet control program characterized in that
データの入出力が可能なタッチスクリーンと、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出手段と、
前記線検出手段が検出した線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断手段と、
前記線判断手段が選択線と判断した選択線に囲まれた領域を含むセルのうち、各々のセルにおいて前記選択線に囲まれた領域が所定の条件に合致するセルを、前記選択線によって選択されたセル特定するセル特定手段と、
前記セル特定手段が特定したセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識手段と、
を備えることを特徴とするスプレッドシート制御装置。
A touch screen that can input and output data,
A line detection means for detecting a line drawn on a spreadsheet displayed on the touch screen;
Selection line determination means for determining whether the line detected by the line detection means corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed;
Among the cells including the area surrounded by the selection line determined by the line determination means as the selection line, the cell in which the area surrounded by the selection line satisfies a predetermined condition is selected by the selection line. a cell identification means for identifying a cell,
Range designation recognition means for recognizing the cell identified by the cell identification means as a cell whose range is designated in a spreadsheet;
A spreadsheet control device comprising:
前記セル特定手段が前記選択線によって選択されたセルを特定するための所定の条件は、前記選択線に囲まれた領域の面積のセル全体の面積に占める比率が所定の閾値を超えるものであることThe predetermined condition for the cell specifying means to specify the cell selected by the selection line is such that the ratio of the area of the region surrounded by the selection line to the entire cell area exceeds a predetermined threshold. about
を特徴とする請求項13記載のスプレッドシート制御装置。The spreadsheet control device according to claim 13.
データの入出力が可能なタッチスクリーンと、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出手段と、
前記線検出手段が検出した線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断手段と、
前記線判断手段が選択線と判断した選択線に囲まれた領域を含む全てのセルを、前記選択線によって選択されたセル特定するセル特定手段と、
前記セル特定手段が特定したセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識手段と、
を備えることを特徴とするスプレッドシート制御装置。
A touch screen that can input and output data,
A line detection means for detecting a line drawn on a spreadsheet displayed on the touch screen;
Selection line determination means for determining whether the line detected by the line detection means corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed;
All cells including the region surrounded by the selection line, wherein the line determination unit determines that select line, and a cell identification means for identifying a selected cell by the selection line,
Range designation recognition means for recognizing the cell identified by the cell identification means as a cell whose range is designated in a spreadsheet;
A spreadsheet control device comprising:
データの入出力が可能なタッチスクリーンと、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出手段と、
前記線検出手段が検出した線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断手段と、
前記線判断手段が選択線と判断した選択線が描画された最上行、最下行、最左列、最右列が交わる4つのセルと前記4つのセルにより囲まれたセルを、前記選択線によって選択されたセル特定するセル特定手段と、
前記セル特定手段が特定したセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識手段と、
を備えることを特徴とするスプレッドシート制御装置。
A touch screen that can input and output data,
A line detection means for detecting a line drawn on a spreadsheet displayed on the touch screen;
Selection line determination means for determining whether the line detected by the line detection means corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed;
The cell surrounded by the four cells and the four cells intersecting the uppermost row, the lowermost row, the leftmost column, and the rightmost column on which the selection line determined to be the selection line by the line determining means is drawn by the selection line. a cell identification means for identifying a selected cell,
Range designation recognition means for recognizing the cell identified by the cell identification means as a cell whose range is designated in a spreadsheet;
A spreadsheet control device comprising:
データの入出力が可能なタッチスクリーンと、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出手段と、
前記線検出手段が検出した線が、前記スプレッドシートの2以上のセルが表示された領域に跨る所定の選択線に該当するかを判断する選択線判断手段と、
前記線判断手段が選択線と判断した選択線が描画されたセルと前記セルにより囲まれたセルを、前記選択線によって選択されたセル特定するセル特定手段と、
前記セル特定手段が特定したセルをスプレッドシートにおいて範囲指定がされたセルと認識する範囲指定認識手段と、
を備えることを特徴とするスプレッドシート制御装置。
A touch screen that can input and output data,
A line detection means for detecting a line drawn on a spreadsheet displayed on the touch screen;
Selection line determination means for determining whether the line detected by the line detection means corresponds to a predetermined selection line straddling an area where two or more cells of the spreadsheet are displayed;
A cell identification means that a cell surrounded, identifies the selected cell by the selection lines by the selection and line the line determination unit determines that select line is drawn cell cell,
Range designation recognition means for recognizing the cell identified by the cell identification means as a cell whose range is designated in a spreadsheet;
A spreadsheet control device comprising:
データの入出力が可能なタッチスクリーンと、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出手段と、
前記線検出手段が検出した線が、前記スプレッドシートのいずれかの列又は行に当たる領域に、その列又は行を構成する複数のセルを縦断又は横断して描画された所定の条件に合致する削除線に該当するかを判断する削除線判断手段と、
前記削除線判断手段が削除線と判断した線が、セルが表示された領域上を縦断して描画された場合は前記セルの属する列を、セルが表示された領域上を横断して描画された場合は前記セルの属する行を削除する削除手段と、
を備えることを特徴とするスプレッドシート制御装置。
A touch screen that can input and output data,
A line detection means for detecting a line drawn on a spreadsheet displayed on the touch screen;
Deletion in which the line detected by the line detection means matches a predetermined condition drawn vertically or across a plurality of cells constituting the column or row in an area corresponding to any column or row of the spreadsheet A deletion line judging means for judging whether it corresponds to a line;
When the deletion line determining means determines that the line is a deletion line, the line to which the cell belongs is drawn across the area where the cell is displayed. Delete means for deleting the row to which the cell belongs,
A spreadsheet control device comprising:
前記削除線判断手段が削除線に該当すると判断するための所定の条件は、同一の列又は行に属する複数のセルに対応する領域に描画された線であって、同一の列に属する場合はセルの幅の所定の比率以上の範囲、かつその列の全セル数の所定の数以上のセルにかかる波線であり、同一の行に属する場合はセルの高さの所定の比率以上の範囲、かつその行の全セル数の所定の数以上のセルにかかる波線であることThe predetermined condition for determining that the deletion line determination means corresponds to the deletion line is a line drawn in an area corresponding to a plurality of cells belonging to the same column or row, and belongs to the same column A wavy line extending over a predetermined ratio of the cell width and a predetermined number of cells of the total number of cells in the column, and when belonging to the same row, a range of a predetermined ratio of the cell height or more, And a wavy line covering a predetermined number or more of the total number of cells in the row.
を特徴とする請求項18記載のスプレッドシート制御装置。The spreadsheet control device according to claim 18.
データの入出力が可能なタッチスクリーンと、
タッチスクリーンに表示されたスプレッドシート上に描画された線を検出する線検出手段と、
前記線検出手段が検出した線が、前記スプレッドシートのいずれかの列又は行に当たる領域に、その列又は行を構成するセルを縦断又は横断して描画された所定の条件に合致する分割線に該当するかを判断する分割線判断手段と、
前記分割線判断手段が分割線と判断すると、領域上に分割線が描画された列又は行を構成する全てのセルについて、1のセルを、前記1のセルに入力されている値を引き継ぐセルを含む2のセルに分割する分割手段と、
を備えることを特徴とするスプレッドシート制御装置。
A touch screen that can input and output data,
A line detection means for detecting a line drawn on a spreadsheet displayed on the touch screen;
The line detected by the line detection means is a dividing line that matches a predetermined condition drawn vertically or across a cell constituting the column or row in an area corresponding to any column or row of the spreadsheet. Dividing line judging means for judging whether or not,
When the dividing line determining means determines that it is a dividing line, for all the cells constituting the column or row in which the dividing line is drawn on the area , the cell that takes over the value input to the one cell as one cell Dividing means for dividing into two cells including:
A spreadsheet control device comprising:
前記分割線判断手段が分割線に該当すると判断するための所定の条件は、同一の列又は行に属する複数のセルに対応する領域に描画された線であって、同一の列に属する場合は列のナンバリングがされたセルから逆側の最端にあるセルまで引かれた直線であり、同一の行に属する場合は行のナンバリングがされたセルから逆側の最端にあるセルまで引かれた直線であることThe predetermined condition for determining that the dividing line determination means corresponds to the dividing line is a line drawn in an area corresponding to a plurality of cells belonging to the same column or row, and belongs to the same column It is a straight line drawn from the cell where the column is numbered to the cell at the opposite end, and if it belongs to the same row, it is drawn from the cell where the row is numbered to the cell at the opposite end. Be a straight line
を特徴とする請求項20記載のスプレッドシート制御装置。The spreadsheet control device according to claim 20.
データの入出力が可能なタッチスクリーンと、
タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択手段と、
前記罫線選択手段が選択を受け付けた第1の罫線が、隣接する第2の罫線と重なり合う位置に移動されたことを検出すると、前記第1の罫線によって区切られていた2の列又は行を構成する全てのセルについて、前記第1の罫線によって区切られていた2のセルを1のセルに統合するセル統合手段と、
を備えることを特徴とするスプレッドシート制御装置。
A touch screen that can input and output data,
Ruled line selection means for accepting selection of ruled lines separating columns or rows of the spreadsheet displayed on the touch screen;
When it is detected that the first ruled line selected by the ruled line selection means has been moved to a position overlapping with the adjacent second ruled line, two columns or rows delimited by the first ruled line are formed. Cell integration means for integrating two cells separated by the first ruled line into one cell for all the cells to be
A spreadsheet control device comprising:
データの入出力が可能なタッチスクリーンと、
タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択手段と、
前記罫線選択手段が選択を受け付けた第1の罫線が、隣接する第2の罫線を超える位置に移動されたことを検出すると、前記第1の罫線が縦線であればセルの幅と列のナンバリングを、前記第1の罫線が横線であればセルの高さと行のナンバリングを変更するセル変更手段と、
を備えることを特徴とするスプレッドシート制御装置。
A touch screen that can input and output data,
Ruled line selection means for accepting selection of ruled lines separating columns or rows of the spreadsheet displayed on the touch screen;
When it is detected that the first ruled line selected by the ruled line selection means has been moved to a position exceeding the adjacent second ruled line, if the first ruled line is a vertical line, the cell width and the column Cell changing means for changing the numbering of the cell and the numbering of the row if the first ruled line is a horizontal line;
A spreadsheet control device comprising:
データの入出力が可能なタッチスクリーンと、
タッチスクリーンに表示されたスプレッドシートの列又は行を区切る罫線の選択を受け付ける罫線選択手段と、
前記罫線選択手段が選択を受け付けた罫線が縦線であれば、罫線の上端が列のナンバリングがされた行を超えて移動されたことを検出すると、列のナンバリングがされた行を下方向にずらして行のナンバリングを変更し、前記罫線選択手段が選択を受け付けた罫線が横線であれば、罫線の左端が行のナンバリングがされた列を超えて移動されたことを検出すると、行のナンバリングがされた列を右方向にずらして列のナンバリングを変更するナンバリング変更手段と、
を備えることを特徴とするスプレッドシート制御装置。
A touch screen that can input and output data,
Ruled line selection means for accepting selection of ruled lines separating columns or rows of the spreadsheet displayed on the touch screen;
If the ruled line selecting means accepts the selection, if the ruled line is a vertical line, when it is detected that the upper end of the ruled line has moved beyond the numbered row of the column, the numbered row is moved downward. If the numbering of the row is changed and the ruled line selection means accepts the selection, if the ruled line is a horizontal line, the numbering of the row is detected when it is detected that the left end of the ruled line has moved beyond the numbered column of the row. Numbering change means for changing the numbering of the column by shifting the marked column to the right,
A spreadsheet control device comprising:
JP2011044555A 2011-03-01 2011-03-01 Spreadsheet control program, spreadsheet control device, and spreadsheet control method Expired - Fee Related JP5735823B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011044555A JP5735823B2 (en) 2011-03-01 2011-03-01 Spreadsheet control program, spreadsheet control device, and spreadsheet control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011044555A JP5735823B2 (en) 2011-03-01 2011-03-01 Spreadsheet control program, spreadsheet control device, and spreadsheet control method

Publications (2)

Publication Number Publication Date
JP2012181708A JP2012181708A (en) 2012-09-20
JP5735823B2 true JP5735823B2 (en) 2015-06-17

Family

ID=47012849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011044555A Expired - Fee Related JP5735823B2 (en) 2011-03-01 2011-03-01 Spreadsheet control program, spreadsheet control device, and spreadsheet control method

Country Status (1)

Country Link
JP (1) JP5735823B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6025482B2 (en) * 2012-09-28 2016-11-16 富士ゼロックス株式会社 Display control device, image display device, and program
KR20140120564A (en) * 2013-04-03 2014-10-14 케이티하이텔 주식회사 Apparatus and method of providing interface for editing the cell based on the context
CN110427601B (en) * 2019-07-16 2021-05-18 广州视源电子科技股份有限公司 Form processing method and device, intelligent interactive panel and storage medium
JP2022134370A (en) 2021-03-03 2022-09-15 株式会社リコー Display device, display method, and program

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2792260B2 (en) * 1991-04-24 1998-09-03 富士ゼロックス株式会社 Cell matrix recognition device
JP3113747B2 (en) * 1992-10-22 2000-12-04 松下電器産業株式会社 Character recognition device and character recognition method
JPH06175775A (en) * 1992-12-09 1994-06-24 Hitachi Ltd Information processor
JP3287075B2 (en) * 1993-09-08 2002-05-27 ソニー株式会社 Shape input method and device
JPH07160827A (en) * 1993-12-09 1995-06-23 Matsushita Electric Ind Co Ltd Handwritten stroke editing device and method therefor
JP2008023108A (en) * 2006-07-21 2008-02-07 Sharp Corp Electronic inventory tag
JP4974367B2 (en) * 2007-09-14 2012-07-11 株式会社リコー Region dividing method and apparatus, and program
JP5063564B2 (en) * 2008-11-20 2012-10-31 キヤノン株式会社 Information processing apparatus, processing method thereof, and program
JP5650564B2 (en) * 2011-03-01 2015-01-07 株式会社ユビキタスエンターテインメント Spreadsheet control program, spreadsheet control device, and spreadsheet control method

Also Published As

Publication number Publication date
JP2012181708A (en) 2012-09-20

Similar Documents

Publication Publication Date Title
JP5650564B2 (en) Spreadsheet control program, spreadsheet control device, and spreadsheet control method
JP5188132B2 (en) Display method of data processing apparatus
JP5751934B2 (en) Information processing apparatus, information processing method, and program
JP5248696B1 (en) Electronic device, handwritten document creation method, and handwritten document creation program
AU2012309121B2 (en) Formula entry for limited display devices
US20110320978A1 (en) Method and apparatus for touchscreen gesture recognition overlay
JP6201712B2 (en) Drawing creation program, drawing creation method, and information processing apparatus
US10289301B2 (en) Gesture-based selection and manipulation method
WO2012044363A1 (en) Systems and methods to facilitate active reading
KR20140068938A (en) Multi-cell selection using touch input
TWI553435B (en) Program for compiling program
US20110148918A1 (en) Information processing apparatus and control method therefor
KR102075433B1 (en) Handwriting input apparatus and control method thereof
JP5735823B2 (en) Spreadsheet control program, spreadsheet control device, and spreadsheet control method
US20170039167A1 (en) Systems and methods for gesture-based formatting
KR101189112B1 (en) Method for Inputting Hangul in Touch Screen
WO2014192156A1 (en) Electronic device and processing method
EP2669783A1 (en) Virtual ruler for stylus input
KR102551568B1 (en) Electronic apparatus and control method thereof
JP5126247B2 (en) Data input device
KR101433519B1 (en) Apparatus And Method For Inputing Hangul Of Terminal
JP6462519B2 (en) Information processing apparatus, information processing program, and information processing method
KR101522200B1 (en) Method and apparatus for dispalying electronic documents displaying calculation results in one or more calculation result region
US20210349625A1 (en) Using a touch input tool to modify content rendered on touchscreen displays
JP4610200B2 (en) Character input device and character input method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141009

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141024

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141222

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150409

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150417

R150 Certificate of patent or registration of utility model

Ref document number: 5735823

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees