JP4890051B2 - Browser screen display device and program therefor - Google Patents
Browser screen display device and program therefor Download PDFInfo
- Publication number
- JP4890051B2 JP4890051B2 JP2006053614A JP2006053614A JP4890051B2 JP 4890051 B2 JP4890051 B2 JP 4890051B2 JP 2006053614 A JP2006053614 A JP 2006053614A JP 2006053614 A JP2006053614 A JP 2006053614A JP 4890051 B2 JP4890051 B2 JP 4890051B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- browser screen
- text
- value
- areas
- 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
Links
Images
Description
本発明は、データ入力可能な複数の領域を有するブラウザ画面内から該複数の領域のデータを一括して他アプリケーションへコピーし、また、他アプリケーションからブラウザ画面内の複数の領域へデータを一括してペーストすることが可能なブラウザ画面の表示装置およびそのためのプログラムに関する。 The present invention collectively copies data in a plurality of areas from a browser screen having a plurality of areas into which data can be input, and batches the data from other applications to a plurality of areas in the browser screen. The present invention relates to a browser screen display device that can be pasted and a program therefor.
今日広く使用されているコンピュータのディスプレイユニットの画面上に表示されるW.W.W.(World Wide Web)等を用いたWEBブラウザ画面(以下、ブラウザ画面と記す)にコピー&ペースト操作によりデータを貼り付ける操作を行う場合、ブラウザ画面内のデータ入力可能な領域である項目の数だけ項目毎にコンピュータ内部メモリであるクリップボードを介して、他アプリケーションで作成されたテキストデータをコピーしたり、ブラウザ画面から他アプリケーションへペーストしたりする操作を繰り返し実行することで、ブラウザ画面全体のデータの入力(貼り付け操作)を完了させている。 Displayed on the screen of a display unit of a computer widely used today. W. W. When pasting data using a copy and paste operation on a WEB browser screen (hereinafter referred to as the browser screen) using (World Wide Web) etc., only the number of items in the browser screen where data can be entered For each item, you can copy the text data created by another application or paste it from the browser screen to the other application via the clipboard, which is the internal memory of the computer. The input (paste operation) has been completed.
特許文献1には、ユーザが指定したフォントの色やサイズ等でブラウザ画面上のテキストデータを変更する技術が開示されている。その際、テキストデータのDOM(Document Object Model)のフォントに関するパラメータを更新することでブラウザ画面上に表示されたテキストデータの変更を実現している。より詳しくは、ユーザの編集要求を検出し(601)、要求された編集を保存し(602)、編集要求を代用のものに置換えるとともにDOMを更新し(603)、更新されたDOMにアクセスし(604)、ユーザの編集要求にしたがってDOMを修正する(605)。このように、特許文献1によれば、DOMを直接変更することでブラウザ画面が変更される。
ブラウザ画面内の項目数が多いと、項目毎にコピー&ペーストを繰り返し操作する必要があるので次のような問題が生じる。
(1)項目数が多いと操作が面倒であり操作に時間がかかる。
(2)項目数が多い程コピー&ペースト操作時の転記等による操作ミスが発生しやすい。
特許文献1に記載の技術は、DOMを直接変更することでブラウザ画面を変更する一般的技術を述べているものであって、このような問題については何ら考慮していない。
したがって、本発明は上記問題を解決し、データ入力可能な複数の領域(項目)を有するブラウザ画面内からデータを一括してコピーし、ブラウザ画面内へデータを一括してペーストすることが可能なブラウザ画面の表示装置、そのためのコピー方法、ペースト方法およびそのためのプログラムを提供することを目的とする。
If the number of items in the browser screen is large, the following problems arise because it is necessary to repeat copy and paste for each item.
(1) If there are many items, operation will be troublesome and operation will take time.
(2) The greater the number of items, the easier it is to make operational mistakes due to transcription during copy and paste operations.
The technique described in
Therefore, the present invention solves the above-described problem, and can copy data from a browser screen having a plurality of areas (items) where data can be input and paste the data into the browser screen at once. It is an object of the present invention to provide a browser screen display device, a copy method, a paste method, and a program therefor.
ブラウザプログラム内部では、ブラウザ画面の表示画面データはHTMLの解析結果であるオブジェクト(DOM:Document Object Model)として保持されている。ブラウザ画面上での表示項目毎の貼り付け操作でも、このオブジェクトの値が変更されることで表示項目の値が変わる仕組みになっている。 Inside the browser program, the display screen data of the browser screen is held as an object (DOM: Document Object Model) that is an analysis result of HTML. Even in the pasting operation for each display item on the browser screen, the value of the display item is changed by changing the value of this object.
そこで、一括コピー時には、ブラウザ画面のオブジェクト構造からデータ入力可能な複数の領域、すなわち項目を導出し、導出した複数の項目内に設定された項目毎のデータを順次記憶部に格納する。一括ペースト時には、予め他アプリケーションで作成し、または一括コピー時に、記憶部に格納した項目毎のデータを読取り、読取ったデータをブラウザ画面のオブジェクト構造の項目内に順次入力することで、ブラウザ画面全体のデータの入力(貼り付け操作)を完了させる仕組みを考えた。 Therefore, at the time of batch copying, a plurality of areas, that is, items in which data can be input are derived from the object structure of the browser screen, and data for each item set in the plurality of derived items is sequentially stored in the storage unit. When batch pasting, the entire browser screen is created by reading the data for each item that has been created in advance by another application or batch copying, and sequentially entering the read data into the object structure items of the browser screen. I thought about a mechanism to complete the data input (paste operation).
上記目的を達成する表示装置は、データ入力可能な複数のテキスト領域を有するブラウザ画面をHTMLに基づき表示する表示装置において、前記複数のテキスト領域に入力すべきデータを、テキスト領域単位に区切り文字で区切られたテキストデータとして記憶部に記憶する手段と、前記記憶部に記憶された前記テキストデータを前記区切り文字で区切られたテキスト領域単位ごとに順番にテーブルに格納する手段と、
前記ブラウザ画面を表示させるHTMLのオブジェクトを解析し、前記オブジェクトを上位階層からたどってエレメントオブジェクトの階層に到達したとき前記エレメントオブジェクトが所定のプロパティを有する場合、前記複数のテキスト領域の一つと判定することにより前記複数のテキスト領域を検出して、前記検出された複数のテキスト領域を検出された順番に前記テーブルに対応させる手段と、前記複数のテキスト領域が検出されるごとに、前記テーブルに格納されたテキスト領域単位のテキストデータを順次転記する手段と、を備える。
Viewing device achieve the above object, separated in a display device for displaying on the basis of the browser screen in HTML with a plurality of text areas possible data input, data to be input to the plurality of text areas, the text area units Means for storing in the storage unit as text data delimited by characters, means for storing the text data stored in the storage unit in a table in order for each text area unit delimited by the delimiters;
When the HTML object that displays the browser screen is analyzed and the object object has a predetermined property when the object is traced from an upper hierarchy and reaches the element object hierarchy, it is determined as one of the plurality of text areas. Means for detecting the plurality of text regions and corresponding the detected plurality of text regions to the table in the detected order, and storing the plurality of text regions in the table each time the plurality of text regions are detected. Means for sequentially transferring the text data in units of text areas.
本発明によれば、ブラウザ画面上に含まれる複数の表示項目全体の値に対して、一括してペーストを行うことができる。
また、本発明によれば、ブラウザ画面上に含まれる複数の表示項目全体の値を、一括してコピーすることもできる。
例えば、本発明とEXCEL等のスプレッドシートとを組み合わせることで、スプレッドシート一行分のデータとブラウザ画面上の複数の表示項目との間でコピー&ペーストを行うことができるので、ブラウザ画面内の項目毎の転記作業と比べて転記作業の効率を大幅に向上させることができる。
ADVANTAGE OF THE INVENTION According to this invention, it can paste collectively with respect to the value of the whole some display item contained on a browser screen.
In addition, according to the present invention, it is also possible to copy the values of all of the plurality of display items included on the browser screen in a batch.
For example, by combining the present invention and a spreadsheet such as EXCEL, it is possible to copy and paste between data for one row of the spreadsheet and a plurality of display items on the browser screen. Compared with every posting work, the efficiency of the posting work can be greatly improved.
また、アプリケーションプログラムがクリップボードやスプレッドシートとの間でコピー&ペーストを行う機能を設けたものか否かに関係なく、「お気に入り」や「ブックマーク」といったウェブサイトのURL(Uniform Resource Location)を記憶しておく機能をブックマークレットというスクリプトにより遂行し、一括コピーまたは一括ペーストを実行するプログラムのURLを記憶しておくので、必要が生じる度に毎回プログラムを入力するのでなく、必要に応じてブラウザの「お気に入り」や「ブックマーク」で先に記憶したURLを指定して一括コピーまたは一括ペーストのプログラムを実行することで、一括コピーまたは一括ペーストの操作を遂行できる。 Regardless of whether the application program has a function for copying and pasting data from the clipboard or spreadsheet, the URL (Uniform Resource Location) of websites such as “Favorites” and “Bookmarks” is stored. This function is performed by a script called bookmarklet, and the URL of the program that executes batch copy or batch paste is stored, so that instead of inputting the program every time it is necessary, the browser " The batch copy or paste operation can be performed by specifying the URL previously stored in “Favorites” or “Bookmark” and executing the batch copy or paste program.
以下、添付図面を参照しつつ本発明の実施形態を詳細に説明する。
図1は本発明の一実施形態に係る表示装置で表示されるブラウザ画面の一例を示す図である。図1にはウィンドウの枠100内に、特定の製品の故障に関する情報の記録簿のブラウザ画面が示されている。データ入力が可能な領域101〜106と不能な領域とがある。これらのデータ入力可能な領域は項目と呼ばれる。したがってブラウザ画面上の項目以外の領域がデータ入力不能な領域である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a diagram showing an example of a browser screen displayed on a display device according to an embodiment of the present invention. FIG. 1 shows a browser screen for a record book of information relating to a failure of a specific product in a
項目には1行分のデータを入力できるtextと呼ばれる項目101〜105と複数行のデータを入力できるtextareaと呼ばれる項目106とがある。1つのブラウザ画面はスクロール操作で上下左右に移動して視認できる表示領域全てを含む。
本発明はブラウザ画面内の各項目に入力されたデータを一括してコピーし、ブラウザ画面内の各項目へデータを一括してペーストすることのできるブラウザ画面の表示装置を提供する。
The items include
The present invention provides a browser screen display device that can collectively copy data input to each item in the browser screen and paste the data in a batch to each item in the browser screen.
図2はブラウザプログラムが内部的に保持している表示画面データのオブジェクトの構造を示す図である。図2において四角形で示すものがオブジェクトである。各オブジェクトはプロパティ(属性)と呼ばれる項目の集合とメソッドと呼ばれるプログラムの集合から構成されている。例えば下記(1)のタグ(<>で括った付加情報を埋め込んだ特殊な文字列)は、エレメントオブジェクトで、2つのプロパティ(属性)、typeプロパティおよびvalueプロパティと1つのonclickメソッドとから構成される。
<inputtype=“button”value=“入力”onclick=“func()”> … (1)
FIG. 2 is a diagram showing the structure of an object of display screen data held internally by the browser program. In FIG. 2, the object indicated by a rectangle is an object. Each object is composed of a set of items called properties (attributes) and a set of programs called methods. For example, the tag (1) below (a special character string embedded with additional information enclosed in <>) is an element object, and is composed of two properties (attributes), a type property and a value property, and one onclick method. The
<Inputtype = “button” value = “input” onclick = “func ()”> (1)
オブジェクトの実体はポインタであり、上位階層のプロパティから下位階層のプロパティをポイントしている。プロパティは数値や文字の他、ポインタにもなる。 The substance of the object is a pointer, and points from the property of the upper layer to the property of the lower layer. Properties can be pointers in addition to numbers and characters.
図2に示すように、基本的なオブジェクトの構造は、ウィンドウオブジェクト201の下に単数または複数のフレームオブジェクト21i(i=1〜r):(第1階層)と、各フレームオブジェクトの下に共通のドキュメントオブジェクト220:(第2階層)と、ドキュメントオブジェクト220の下に単数または複数のフォームオブジェクト23j(j=1〜s):(第3階層)と、各フォームオブジェクトの下に単数または複数のエレメントオブジェクト24k(k=1〜t):(第4階層)とで構成される。ここで、i、j、k、r、sおよびtは正の整数であり、rはフレームオブジェクトの数、sはフォームの数、tはエレメントの数をそれぞれ示す。以下、それぞれウィンドウオブジェクトをウィンドウ、フレームオブジェクトをフレーム、ドキュメントオブジェクトをドキュメント、フォームオブジェクトをフォーム、エレメントオブジェクトをエレメントと記す。
As shown in FIG. 2, the basic object structure is common to one or
ウィンドウは、ドキュメント、単数または複数のフレーム、ドキュメント(再帰)の第1パターンと、ドキュメント、単数または複数のフォームおよび単数または複数のエレメントからなる第2パターンとの二つのパターンから構成される。オブジェクトの値はエレメントの第4階層に格納される。
フレーム、フォーム、エレメントはそれぞれ名前を付けて識別する。
なお、フォームは表示装置からサーバに送信可能なひとかたまりのデータであり、ひとかたまりのデータはサブミットというボタン操作でサーバに送信される。
The window is composed of two patterns: a document, one or more frames, a first pattern of the document (recursive), and a second pattern of the document, one or more forms and one or more elements. The value of the object is stored in the fourth layer of the element.
Each frame, form, and element is identified by a name.
The form is a group of data that can be transmitted from the display device to the server, and the group of data is transmitted to the server by a button operation called “submit”.
図3は図2に示すオブジェクト構造におけるフレームの説明図である。ウィンドウは単数または複数のフレームに分割できる。図3に示す例ではウィンドウ300はウィンドウの垂直方向または水平方向に分割された4つのフレーム301〜304から構成されている。
FIG. 3 is an explanatory diagram of frames in the object structure shown in FIG. The window can be divided into one or more frames. In the example illustrated in FIG. 3, the
図4は本発明による一括コピー処理のフローチャートである。ステップ401では図6を用いて詳細を後述する一括コピー処理を実行する。ステップ402ではステップ401の一括コピー処理で作成した配列内のデータを文字列に変換し、変換した文字列をクリップボード内に書込む。クリップボードに書き込まれたデータは、他アプリケーションから自由に参照することが可能になり、クリップボードのデータを他アプリケーションへコピーすることか可能になる。
FIG. 4 is a flowchart of batch copy processing according to the present invention. In
ここで、クリップボードについて説明する。コピー&ペーストはクリップボードを介して実行される。クリップボードはコンピュータ内部のメモリである。クリップボードのデータを複数に分割するためには目印が必要である。本実施形態では目印としてタブコードを用いる。タブコードはワードプロセッサや表計算やメモ帳といったテキストエディタにも用いられているので、タブコードを用いればこれらのテキストエディタと互換性をもたせることができる。なお、目印として、タブコードの代わりに特別な文字や改行コード等を用いてもよい。 Here, the clipboard will be described. Copy and paste is performed via the clipboard. The clipboard is a memory inside the computer. A mark is necessary to divide the clipboard data into multiple pieces. In this embodiment, a tab code is used as a mark. Tab codes are also used in text editors such as word processors, spreadsheets, and notepads, so if tab codes are used, compatibility with these text editors can be achieved. As a mark, a special character or a line feed code may be used instead of the tab code.
図5はコピー&ペースト用の記憶部を示す図であり、(A)はデータを蓄積しておく配列を示す図であり、(B)はクリップボードを示す図である。図5(A)に示す配列(テーブル)において、各行には1ブラウザ画面内の全項目に入力されるデータ全てが格納される。したがって、第1行が第1ブラウザ画面に対応し、第2行が第2ブラウザ画面に対応するように、n個のブラウザ画面に対するn行分のデータが図5(A)に示す配列に格納できる。図5(B)に示すクリップボードには、図5(A)に示す配列の第1行目のデータa1、b1、c1、d1、…、m1を項目毎のデータをタブコード(改行マーク)↓で区切った図5(B)に示すような文字列に変換した後、入力される。 FIG. 5 is a diagram showing a storage unit for copy and paste, (A) is a diagram showing an array for storing data, and (B) is a diagram showing a clipboard. In the array (table) shown in FIG. 5A, all data input to all items in one browser screen are stored in each row. Therefore, n rows of data for n browser screens are stored in the array shown in FIG. 5A so that the first row corresponds to the first browser screen and the second row corresponds to the second browser screen. it can. In the clipboard shown in FIG. 5B, the data a1, b1, c1, d1,..., M1 in the first row of the array shown in FIG. After being converted into a character string as shown in FIG.
なお、図1に示すブラウザ画面内の項目に入力されたデータは、図5(A)の配列の第1行にコピーした場合、項目101、102、103、104、105が順にa1、b1、c1、d1、e1に相当する。
1 is copied to the first row of the array in FIG. 5A, the
図6は図4に示す一括コピー処理の詳細フローチャートである。この一括コピー処理はコンピュータを備えた表示装置に格納したプログラムを実行することによるものである。この一括コピー処理は、前述の表示画面データであるオブジェクトをドキュメントの階層からたどってエレメントの階層に到達したときにvalue(値)を読取り、配列に追加する処理(ステップ608)を行う。 FIG. 6 is a detailed flowchart of the batch copy process shown in FIG. This batch copy processing is performed by executing a program stored in a display device equipped with a computer. In this batch copy process, when the object which is the display screen data is traced from the document hierarchy and reaches the element hierarchy, a value (value) is read and added to the array (step 608).
次に、プログラムの起動方法について以下に説明する。プログラムはjavascriptを利用する。ブラウザのアドレスバー(通常はURLを入力する場所)の先頭から、「javascript:」で始まるプログラムを入力することで、プログラムが起動される。ここから起動されたプログラムは現在表示中のHTMLの一部、すなわちブラウザ自身の一部であるため、クロスサイトスクリプティングなどのチェックにかからないというメリットがある。換言すれば、ブラウザがもっている他からの操作に対するセキュリティ上の恐怖に対する防御策によりチェックされて操作(ここではプログラムの実行)を不能にすることから回避されるというメリットがある。 Next, a method for starting the program will be described below. The program uses javascript. The program is started by inputting a program beginning with “javascript:” from the top of the browser address bar (usually where the URL is input). Since the program started from here is a part of the currently displayed HTML, that is, a part of the browser itself, there is an advantage that the check such as the cross-site scripting is not performed. In other words, there is a merit that it is avoided by disabling the operation (execution of the program in this case) by being checked by the defense against the security fear against the other operation of the browser.
これより一括コピー処理について説明する。
先ず、ステップ601ではフレームの数iを0にセットする。
ステップ602ではフレームの数iがi<rか否かを判定し、判定結果がYESのときはステップ603に進みNOのときは終了する。これによりフレームの数iがrになるまでフレーム毎にステップ603〜611の処理が実行される。
The batch copy process will now be described.
First, in
In
ステップ603ではフォームの数jを0にセットする。
ステップ604ではフォームの数jがj<sか否かを判定し、判定結果がYESのときはステップ605に進みNOのときはステップ611に進む。これによりフォームの数jがsになるまでフォーム毎にステップ605〜610の処理が実行される。
In
In
ステップ605ではエレメントの数kを0にセットする。
ステップ606ではエレメントの数kがk<tか否かを判定し、判定結果がYESのときはステップ607に進みNOのときはステップ610に進む。これによりエレメントの数kがtになるまでエレメント毎にステップ607〜609の処理が実行される。
In
In
図7はtypeの種類の具体例を示す図である。図7に示すようにvalue(値)を有するtypeの種類にはtext、password、textarea、radio、checkbox、select−one、select−multiple、button、submit、reset、hidden、等のプロパティ(属性)がある。ここで、typeは属性であり、textの属性値は東京であり、passwordの属性値は*****であり、textareaの属性値はローマ↓、ナポリである。select−one、select−multipleは1つのデータが選択されたものである。button、submit、resetは、value(値)であり、ボタン、サブミット、リセットは書込み不能な領域である。hiddenはデータ入力可能な領域(項目)であり、この領域には入力されたデータが隠されて視認できない状態になっている。 FIG. 7 is a diagram showing a specific example of the type. As shown in FIG. 7, the types of values having values (values) include properties (attributes) such as text, password, textarea, radio, checkbox, select-one, select-multiple, button, submit, reset, hidden, and the like. is there. Here, type is an attribute, the attribute value of text is Tokyo, the attribute value of password is ***, and the attribute value of textarea is Rome ↓ or Naples. In select-one and select-multiple, one data is selected. “button”, “submit”, and “reset” are values (values), and buttons, submit, and reset are non-writable areas. Hidden is an area (item) in which data can be input. In this area, input data is hidden and cannot be visually recognized.
再び図6のフローチャートに戻る。
ステップ607ではtypeの種類がvalue(値)を有するtext、password、textarea、radio、checkbox、select−one、select−multiple、button、submit、reset、hidden、等の何れかであると判定されたときはステップ608に進み、typeの種類がvalue(値)を有するtext、password、textarea、radio、checkbox、select−one、select−multiple、button、submit、reset、hidden、等の何れでもないと判定されたとき、すなわちtypeの種類がvalue(値)を有するものでないと判定されたときはステップ609に進む。
Returning again to the flowchart of FIG.
In
ステップ608では図8を用いて詳細を後述するようにvalue(値)を配列に追加する。具体的には、図4のステップ402で書込んだ図5(A)に示す配列の第1行目のデータを作成するため、配列の第1行目に先頭から順にvalue(値)を追加する。具体的には、図5(A)に示す配列の第1行目に先頭から順にvalue(値)a1、b1、c1、d1、…、m1を書込む。この処理はtype毎に異なることがある。例えば、図7に示すradioやcheckboxのオン/オフは数値の1/0で表すなどの書き換えを伴う。
In
ステップ609ではエレメントの数kをk+1にする。
ステップ610ではフォームの数jをj+1にする。
ステップ611ではフレームの数iをi+1にする。
In
In
In
図8は図6に示すステップ608の詳細フローチャートである。
ステップ607でtypeの種類がtextと判定されたときは、ステップ608−1に進み、value(値)を配列に追加する。
ステップ607でtypeの種類がpasswordと判定されたときは、ステップ608−2に進み、value(値)を配列に追加する。
ステップ607でtypeの種類がtextareaと判定されたときは、ステップ608−3に進み、value(値)を配列に追加する。
FIG. 8 is a detailed flowchart of
If it is determined in
If it is determined in
If it is determined in
ステップ607でtypeの種類がradioと判定されたときは、不図示のステップ608−4に進み、value(値)を配列に追加する。
ステップ607でtypeの種類がcheckboxと判定されたときは、不図示のステップ608−5に進み、value(値)を配列に追加する。
If the type is determined to be radio in
If it is determined in
ステップ607でtypeの種類がselect−oneと判定されたときは、不図示のステップ608−6に進み、value(値)を配列に追加する。
ステップ607でtypeの種類がselect−multipleと判定されたときは、不図示のステップ608−7に進み、value(値)を配列に追加する。
If it is determined in
If it is determined in
ステップ607でtypeの種類がbuttonと判定されたときは、不図示のステップ608−8に進み、value(値)を配列に追加する。
ステップ607でtypeの種類がsubmitと判定されたときは、不図示のステップ608−9に進み、value(値)を配列に追加する。
ステップ607でtypeの種類がresetと判定されたときは、不図示のステップ608−10に進み、value(値)を配列に追加する。
If it is determined in
If it is determined in
If it is determined in
ステップ607でtypeの種類がhiddenと判定されたときは、ステップ608−11に進み、value(値)を配列に追加する。
If it is determined in
図9は本発明による一括ペースト処理のフローチャートである。本処理に先立ち、予め、他アプリケーションによって被ペーストデータ(テキストデータ)が生成され、該データがクリップボード上にコピーされているものとする。ステップ901ではクリップボード内の文字列を配列内に書込む。具体的には、クリップボード内の文字列(図5(B)に示すa1、b1、c1、d1、…、m1)を図5(A)に示す配列の第1行目に書込む。ステップ902では一括ペースト処理を実行する。
FIG. 9 is a flowchart of batch paste processing according to the present invention. Prior to this processing, it is assumed that data to be pasted (text data) is generated in advance by another application and the data is copied onto the clipboard. In
図10は図9に示す一括ペースト処理の詳細フローチャートである。この一括ペースト処理はコンピュータを備えた表示装置に格納したプログラムを実行することによるものである。この一括ペースト処理は、先にクリップボードに格納したvalue(値)を読取り、配列の先頭データをvalue(値)に追加する処理(ステップ608)を行う。ドキュメントの階層からたどってエレメントの階層に到達したときにvalue(値)を書き換える処理(ステップ608)を行う。 FIG. 10 is a detailed flowchart of the batch paste process shown in FIG. This batch paste processing is performed by executing a program stored in a display device equipped with a computer. In the batch paste process, the value (value) previously stored in the clipboard is read and the first data of the array is added to the value (value) (step 608). A process of rewriting value (value) is performed when the element hierarchy is reached by following the document hierarchy (step 608).
先ず、ステップ1001ではフレームの数iを0にセットする。
ステップ1002ではフレームの数iがi<rか否かを判定し、判定結果がYESのときはステップ1003に進みNOのときは終了する。これによりフレームの数iがrになるまでフレーム毎にステップ1003〜1011の処理が実行される。
First, in
In
ステップ1003ではフォームの数jを0にセットする。
ステップ1004ではフォームの数jがj<sか否かを判定し、判定結果がYESのときはステップ1005に進みNOのときはステップ1011に進む。これによりフォームの数jがsになるまでフォーム毎にステップ1005〜1010の処理が実行される。
In
In
ステップ1005ではエレメントの数kを0にセットする。
ステップ1006ではエレメントの数kがk<tか否かを判定し、判定結果がYESのときはステップ1007に進みNOのときはステップ1010に進む。これによりエレメントの数kがtになるまでエレメント毎にステップ1007〜1009の処理が実行される。
In
In
ステップ1007ではtypeの種類がvalue(値)を有するtext、password、textarea、radio、checkbox、select−one、select−multiple、button、submit、reset、hidden、等の何れかであると判定されたときはステップ1008に進み、typeの種類がvalue(値)を有するtext、password、textarea、radio、checkbox、select−one、select−multiple、button、submit、reset、hidden、等の何れでもないと判定されたとき、すなわちtypeの種類がvalue(値)を有するものでないと判定されたときはステップ1009に進む。
In
ステップ1008ではクリップボード内の文字列をvalue(値)に転記する。具体的には、図9のステップ901で書込んだ図5(A)に示す配列の第1行目のデータを、先頭から順にvalue(値)に転記する。
ステップ1009ではエレメントの数kをk+1にする。
ステップ1010ではフォームの数jをj+1にする。
ステップ1011ではフレームの数iをi+1にする。
In
In
In
In
以上説明した本発明の一括コピーおよび一括ペーストは、フレームに名前を付けて識別すればブラウザ画面単位だけでなく、フレーム単位でも一括コピーおよび一括ペーストできる。 The batch copy and batch paste of the present invention described above can be batch copied and pasted not only in browser screen units but also in frame units if a frame is named and identified.
(付記1)
データ入力可能な複数の領域を有するブラウザ画面の表示装置において、
前記ブラウザ画面内におけるデータ入力可能な複数の領域に入力されたデータを検出する手段と、
前記検出する手段により検出された前記データを検出する毎にテーブル内に格納する手段と、
前記テーブル内に格納された前記データの値を文字列に変換して記憶部に保存する手段と、
を備えることを特徴とする表示装置。(1)
(Appendix 1)
In a browser screen display device having a plurality of areas where data can be input,
Means for detecting data input in a plurality of areas where data can be input in the browser screen;
Means for storing each of the data detected by the detecting means in a table;
Means for converting the value of the data stored in the table into a character string and storing it in a storage unit;
A display device comprising: (1)
(付記2)
前記検出する手段により検出されるデータは、前記ブラウザ画面のオブジェクト構造を辿ってエレメント階層から得られるデータであることを特徴とする
付記1に記載の表示装置。
(Appendix 2)
The display device according to
(付記3)
データ入力可能な複数の領域を有するブラウザ画面の表示装置において、
前記ブラウザ画面内におけるデータ入力可能な複数の領域に入力すべきデータを記憶部に保存する手段と、
前記記憶部に保存された前記データの文字列をテーブル内に格納する手段と、
前記ブラウザ画面内におけるデータ入力可能な複数の領域を検出する手段と、
前記検出する手段により検出された前記複数の領域に、該領域を検出する毎に前記テーブル内に格納された前記データの文字列を順次転記する手段と、
を備えたことを特徴とする表示装置。(2)
(Appendix 3)
In a browser screen display device having a plurality of areas where data can be input,
Means for storing in a storage unit data to be input to a plurality of areas where data can be input in the browser screen;
Means for storing a character string of the data stored in the storage unit in a table;
Means for detecting a plurality of areas where data can be input in the browser screen;
Means for sequentially transferring a character string of the data stored in the table to the plurality of areas detected by the detecting means each time the area is detected;
A display device comprising: (2)
(付記4)
前記検出する手段により検出される領域は、前記ブラウザ画面のオブジェクト構造を辿ってエレメント階層から得られるデータであることを特徴とする
付記3に記載の表示装置。
(Appendix 4)
The display device according to
(付記5)
データ入力可能な複数の領域を有するブラウザ画面の表示装置における該ブラウザ画面からデータをコピーする方法において、
前記ブラウザ画面内におけるデータ入力可能な複数の領域に入力されたデータを検出するステップと、
前記検出するステップにより検出された前記データを検出する毎にテーブル内に格納するステップと、
前記テーブル内に格納された前記データの値を文字列に変換して記憶部に保存するステップと、
を備えたことを特徴とするブラウザ画面からのデータのコピー方法。
(Appendix 5)
In a method of copying data from the browser screen in a browser screen display device having a plurality of areas into which data can be input,
Detecting data input in a plurality of areas where data can be input in the browser screen;
Storing in the table every time the data detected by the detecting step is detected;
Converting the value of the data stored in the table into a character string and storing it in a storage unit;
A method of copying data from a browser screen, characterized by comprising:
(付記6)
データ入力可能な複数の領域を有するブラウザ画面の表示装置における該ブラウザ画面へデータをペーストする方法において、
前記ブラウザ画面内におけるデータ入力可能な複数の領域に入力すべきデータを記憶部に保存するステップと、
前記記憶部に保存された前記データの文字列をテーブル内に格納するステップと、
前記ブラウザ画面内におけるデータ入力可能な複数の領域を検出するステップと、
前記検出するステップにより検出された前記複数の領域に、該領域を検出する毎に前記テーブル内に格納された前記データの文字列を順次転記するステップと、
を備えたことを特徴とするブラウザ画面へのデータのペースト方法。
(Appendix 6)
In a method of pasting data to the browser screen in a browser screen display device having a plurality of areas where data can be input,
Storing data to be input in a plurality of areas where data can be input in the browser screen in a storage unit;
Storing a character string of the data stored in the storage unit in a table;
Detecting a plurality of areas where data can be input in the browser screen;
Sequentially transferring a character string of the data stored in the table to the plurality of areas detected by the detecting step each time the area is detected;
A method for pasting data onto a browser screen, characterized by comprising:
(付記7)
データ入力可能な複数の領域を有するブラウザ画面の表示装置における該ブラウザ画面からデータをコピーするプログラムであって、
前記ブラウザ画面内におけるデータ入力可能な複数の領域に入力されたデータを検出するステップと、
前記検出するステップにより検出された前記データを検出する毎にテーブル内に格納するステップと、
前記テーブル内に格納された前記データの値を文字列に変換して記憶部に保存するステップと、
をコンピュータに実行させることを特徴とするプログラム。(3)
(Appendix 7)
A program for copying data from the browser screen in a browser screen display device having a plurality of areas into which data can be input,
Detecting data input in a plurality of areas where data can be input in the browser screen;
Storing in the table every time the data detected by the detecting step is detected;
Converting the value of the data stored in the table into a character string and storing it in a storage unit;
A program that causes a computer to execute. (3)
(付記8)
データ入力可能な複数の領域を有するブラウザ画面の表示装置における該ブラウザ画面へデータをペーストするプログラムであって、
前記ブラウザ画面内におけるデータ入力可能な複数の領域に入力すべきデータを記憶部に保存するステップと、
前記記憶部に保存された前記データの文字列をテーブル内に格納するステップと、
前記ブラウザ画面内におけるデータ入力可能な複数の領域を検出するステップと、
前記検出するステップにより検出された前記複数の領域に、該領域を検出する毎に前記テーブル内に格納された前記データの文字列を順次転記するステップと、
をコンピュータに実行させることを特徴とするプログラム。
(Appendix 8)
A program for pasting data to the browser screen in a browser screen display device having a plurality of areas into which data can be input,
Storing data to be input in a plurality of areas where data can be input in the browser screen in a storage unit;
Storing a character string of the data stored in the storage unit in a table;
Detecting a plurality of areas where data can be input in the browser screen;
Sequentially transferring a character string of the data stored in the table to the plurality of areas detected by the detecting step each time the area is detected;
A program that causes a computer to execute.
100、201、300 ウィンドウ
101〜106 項目
211、21i、21r、301〜304 フレーム
220 ドキュメント
231、23j、23s フォーム
241、24k、24t エレメント
100, 201, 300 Window 101-106
Claims (1)
前記複数のテキスト領域に入力すべきデータを、テキスト領域単位に区切り文字で区切られたテキストデータとして記憶部に記憶する手段と、
前記記憶部に記憶された前記テキストデータを前記区切り文字で区切られたテキスト領域単位ごとに順番にテーブルに格納する手段と、
前記ブラウザ画面を表示させるHTMLのオブジェクトを解析し、前記オブジェクトを上位階層からたどってエレメントオブジェクトの階層に到達したとき前記エレメントオブジェクトが所定のプロパティを有する場合、前記複数のテキスト領域の一つと判定することにより前記複数のテキスト領域を検出して、前記検出された複数のテキスト領域を検出された順番に前記テーブルに対応させる手段と、
前記複数のテキスト領域が検出されるごとに、前記テーブルに格納されたテキスト領域単位のテキストデータを順次転記する手段と、
を備えることを特徴とする表示装置。 In a display device that displays a browser screen having a plurality of text areas into which data can be input based on HTML ,
Means for storing data to be input to the plurality of text areas in the storage unit as text data delimited by delimiters in units of text areas;
Means for sequentially storing the text data stored in the storage unit in a table for each text area unit delimited by the delimiter ;
When the HTML object that displays the browser screen is analyzed and the object object has a predetermined property when the object is traced from an upper hierarchy and reaches the element object hierarchy, it is determined as one of the plurality of text areas. and means for corresponding to the plurality of text areas to detect, said table in the order in which the detected the detected plurality of text regions by,
Means for sequentially transferring the text data in units of text areas stored in the table each time the plurality of text areas are detected;
A display device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006053614A JP4890051B2 (en) | 2006-02-28 | 2006-02-28 | Browser screen display device and program therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006053614A JP4890051B2 (en) | 2006-02-28 | 2006-02-28 | Browser screen display device and program therefor |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007233630A JP2007233630A (en) | 2007-09-13 |
JP4890051B2 true JP4890051B2 (en) | 2012-03-07 |
Family
ID=38554171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006053614A Expired - Fee Related JP4890051B2 (en) | 2006-02-28 | 2006-02-28 | Browser screen display device and program therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4890051B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007094818A (en) | 2005-09-29 | 2007-04-12 | Internatl Business Mach Corp <Ibm> | Batch copy and paste method, device and computer program for a plurality of pieces of data |
JP5349778B2 (en) * | 2007-09-20 | 2013-11-20 | キヤノン株式会社 | Information processing apparatus, information processing method, program thereof, and storage medium |
JP5511016B2 (en) * | 2011-04-04 | 2014-06-04 | Necシステムテクノロジー株式会社 | Document creation device, document creation method, and program |
JP6033369B2 (en) * | 2015-06-24 | 2016-11-30 | キヤノン株式会社 | Information processing apparatus, information processing method, program thereof, and storage medium |
JP6511598B2 (en) * | 2016-07-22 | 2019-05-15 | 益満 大 | Program and information processing system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05210674A (en) * | 1992-01-30 | 1993-08-20 | Nec Corp | Merging data generation system for merging |
JPH06131153A (en) * | 1992-10-16 | 1994-05-13 | Just Syst Corp | Method and device for processing information |
JP3696896B2 (en) * | 1993-07-20 | 2005-09-21 | キヤノン株式会社 | Document processing apparatus and method |
JP2002207724A (en) * | 2000-12-30 | 2002-07-26 | Toshiba Corp | Device for preparing document |
US7426496B2 (en) * | 2004-03-03 | 2008-09-16 | Microsoft Corporation | Assisted form filling |
JP3935889B2 (en) * | 2004-02-27 | 2007-06-27 | シャープ株式会社 | Data processing apparatus, data processing method, data processing program, and recording medium on which data processing program is recorded |
-
2006
- 2006-02-28 JP JP2006053614A patent/JP4890051B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2007233630A (en) | 2007-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11562099B1 (en) | Sanitization of content displayed by web-based applications | |
US9836385B2 (en) | Cross-browser web application testing tool | |
US20110296322A1 (en) | Markup Based Extensibility for User Interfaces | |
US10049095B2 (en) | In-context editing of output presentations via automatic pattern detection | |
EP1815321A2 (en) | A method of displaying data in a table | |
CN104156307A (en) | Browser compatibility detecting method and system | |
CN110275705A (en) | Generate method, apparatus, equipment and the storage medium for preloading page code | |
JP4890051B2 (en) | Browser screen display device and program therefor | |
CN107943466B (en) | Database access statement generation method, device and equipment | |
CN111797336A (en) | Webpage parsing method and device, electronic equipment and medium | |
IL226027A (en) | Bidirectional text checker and method | |
CN109933751B (en) | Image-text drawing method and device, computer-readable storage medium and computer equipment | |
CN106155654B (en) | Method and device for shielding webpage operation and electronic equipment | |
CN105743736A (en) | Automated testing method and system | |
CN111800492A (en) | Method and device for marking characters in web page, computer equipment and storage medium | |
CN105005472A (en) | Method and device for displaying Uygur characters on WEB | |
Krause | Introducing Bootstrap 4 | |
KR101649822B1 (en) | Apparatus and method for building web-page | |
CN112558957B (en) | Method and device for generating webpage form, electronic equipment and readable storage medium | |
CN115905759A (en) | Barrier-free webpage generation method, device, medium and equipment | |
CN109669799B (en) | Error reporting control method, device and storage medium | |
CN113515682A (en) | Data crawling method and device, computer equipment and storage medium | |
JP5579086B2 (en) | Check sheet registration system | |
Chang et al. | W-Revised: An amazing tool for creating customized websites | |
US7669118B2 (en) | Method, system and program for providing page with plurality of code portions in browser markup language |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080704 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101207 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110207 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110614 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110812 |
|
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: 20111206 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111214 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141222 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |