JP2014167770A - Information processing apparatus, information processing method, and program - Google Patents
Information processing apparatus, information processing method, and program Download PDFInfo
- Publication number
- JP2014167770A JP2014167770A JP2013040117A JP2013040117A JP2014167770A JP 2014167770 A JP2014167770 A JP 2014167770A JP 2013040117 A JP2013040117 A JP 2013040117A JP 2013040117 A JP2013040117 A JP 2013040117A JP 2014167770 A JP2014167770 A JP 2014167770A
- Authority
- JP
- Japan
- Prior art keywords
- line feed
- feed code
- code
- text area
- line
- 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.)
- Pending
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
本発明は、情報処理装置、情報処理方法及びプログラムに関する。 The present invention relates to an information processing apparatus, an information processing method, and a program.
従来、アプリケーションで文書を編集する際に、図4aの403のように、改行コードを挿入することによって、行間に空きを設け、文書と文書の境目を分かりやすくするということが行われていた。 Conventionally, when a document is edited by an application, a line break code is inserted as shown at 403 in FIG. 4a to provide a space between lines so that the boundary between the documents can be easily understood.
なお、図4aは、文章作成アプリケーションを起動し、その後ユーザが文書を入力した画面である。詳細な説明は後述する。 FIG. 4A is a screen on which a text creation application is started and a user inputs a document after that. Detailed description will be given later.
しかしながら、改行コードを挿入した後に、テキストの増減等によって、図4aの402のように偶然その改行コードがページ(段)の先頭に割り付けられた場合に、ページ(段)の先頭に無意味な余白が生じることがあった。 However, after the line feed code is inserted, if the line feed code is accidentally assigned to the top of the page (column) due to the increase or decrease of the text, etc., as shown in 402 of FIG. Margins sometimes occurred.
しかしながら、その場合に、改行コードを削除して対応すると、後の文字の挿入/削除によってページ(段)の先頭では無くなったときに、行間の空きが無くなるため、再度改行コードの挿入が必要になってしまい、特にページ数や修正回数が多い紙面作成ではユーザにとって操作が煩雑であった。 However, in this case, if the line feed code is deleted and handled, if there is no longer the beginning of the page (column) due to the insertion / deletion of the subsequent character, there will be no space between the lines, so it will be necessary to insert the line feed code again. In particular, the operation is complicated for the user when creating a sheet with a large number of pages and a large number of corrections.
特許文献1は、ページの先頭に改ページがある場合は、当該改ページを無視して出力する仕組みが開示されている。
しかしながら、特許文献1は、改ページを無効にすることしか記載されておらず、改行コードについては従来のような対応をしなければならないため、ユーザにとって操作が煩雑であった。
However,
そこで、このような課題を解消するために、改行コードにあたる部分をすべて改ページにすることが考えられる。 Therefore, in order to solve such a problem, it can be considered that all the parts corresponding to the line feed code are changed to page breaks.
しかしながら、そのような仕組みを用いた場合、図4aのように、1ページに改行コードを挟んで複数の文書を入力することができない。 However, when such a mechanism is used, it is not possible to input a plurality of documents with a line feed code on one page as shown in FIG. 4a.
また、特許文献1は、図形が配置された場合(図形の直後の改行コード・改ページの取り扱い)や、改行コード・改ページが無効後の文字の挿入/削除によって改行コード・改ページがページ(段)の先頭では無くなった場合の処理について開示されていない。
Also, in
本発明の目的は、ユーザが容易に改行コードの動作の変更を行うことができる仕組みを提供することである。 An object of the present invention is to provide a mechanism that allows a user to easily change the operation of a line feed code.
本発明は、文書データを記憶する記憶手段と、前記文書データから改行コードを検出する検出手段と、当該改行コードが、テキストが割り付けられるテキストエリアの先頭にあるかどうかを判断する判断手段と、前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示する表示手段を備え、前記検出手段は、更に、前記表示手段で表示される文書のデータの増減があった場合に、増減があった前記テキストエリアの前記改行コードを検出し、前記判断手段は、更に、前記増減があったテキストエリアの改行コードを検出した場合に、当該改行コードが前記テキストエリアの先頭にあるかどうかを判断し、前記表示手段は、更に、前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示することを特徴とする。 The present invention includes a storage unit that stores document data, a detection unit that detects a line feed code from the document data, a determination unit that determines whether the line feed code is at the head of a text area to which text is allocated, When the line feed code is at the beginning of the text area, the character code next to the line feed code is displayed in a line of the line feed code, and when the line feed code is not at the top of the text area, the line feed code is displayed. Display means for displaying the character code next to the line feed code on the line next to the line feed code, and the detecting means further includes an increase / decrease when there is an increase / decrease in document data displayed on the display means. The line feed code of the text area is detected, and the determination means further detects the line feed code of the text area where the increase / decrease is detected. Whether the line code is at the head of the text area is determined, and when the line feed code is at the head of the text area, the display means further determines the character code next to the line feed code of the line feed code. When the line feed code is not displayed at the head of the text area, the character code next to the line feed code is displayed on the line next to the line feed code.
また、本発明は、文書データを記憶する記憶手段を備えた情報処理装置の制御方法であって、前記情報処理装置の検出手段が、前記文書データから改行コードを検出する検出工程と、前記情報処理装置の判断手段が、当該改行コードが、テキストが割り付けられるテキストエリアの先頭にあるかどうかを判断する判断工程と、前記情報処理装置の表示手段が、前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示する表示工程を備え、前記検出工程は、更に、前記表示手段で表示される文書のデータの増減があった場合に、増減があった前記テキストエリアの前記改行コードを検出し、前記判断工程は、更に、前記増減があったテキストエリアの改行コードを検出した場合に、当該改行コードが前記テキストエリアの先頭にあるかどうかを判断し、前記表示工程は、更に、前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示することを特徴とする。 The present invention is also a method for controlling an information processing apparatus including a storage unit for storing document data, wherein the detection unit of the information processing apparatus detects a line feed code from the document data, and the information A determination step of determining whether the line feed code is at the head of the text area to which the text is allocated; and a display means of the information processing device is configured to determine whether the line feed code is at the head of the text area. If there is, the character code next to the line feed code is displayed in the line of the line feed code, and if the line feed code is not at the beginning of the text area, the character code next to the line feed code is changed to the line feed code. A display step for displaying in the next line of the document, and the detection step further includes an increase / decrease when there is an increase / decrease in document data displayed by the display means. The line feed code of the text area is detected, and the determination step further determines whether the line feed code is at the head of the text area when the line feed code of the text area with the increase / decrease is detected. In the display step, when the line feed code is at the head of the text area, the character code next to the line feed code is displayed in a line of the line feed code, and the line feed code is displayed in the text area. When it is not at the head, the character code next to the line feed code is displayed on the line next to the line feed code.
また、本発明は、文書データを記憶する記憶手段を備えた情報処理装置で読み取り実行可能なプログラムであって、前記情報処理装置を、前記文書データから改行コードを検出する検出手段と、当該改行コードが、テキストが割り付けられるテキストエリアの先頭にあるかどうかを判断する判断手段と、前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示する表示手段として機能させ、前記検出手段は、更に、前記表示手段で表示される文書のデータの増減があった場合に、増減があった前記テキストエリアの前記改行コードを検出し、前記判断手段は、更に、前記増減があったテキストエリアの改行コードを検出した場合に、当該改行コードが前記テキストエリアの先頭にあるかどうかを判断し、前記表示手段は、更に、前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示することを特徴とする。 Further, the present invention provides a program that can be read and executed by an information processing apparatus including a storage unit that stores document data, the information processing apparatus including a detection unit that detects a line feed code from the document data, and the line feed Judgment means for determining whether the code is at the head of the text area to which the text is allocated, and when the line feed code is at the head of the text area, the character code next to the line feed code is changed to the line of the line feed code. When the line feed code is not at the beginning of the text area, the character code next to the line feed code is displayed on the line next to the line feed code, and the detection means Further, when there is an increase or decrease in the document data displayed on the display means, the line feed code in the text area that has been increased or decreased is detected. The determination means further determines whether the line feed code is at the head of the text area when the line feed code of the text area that has increased or decreased is detected, and the display means further includes the line feed code. When the code is at the beginning of the text area, the character code next to the line feed code is displayed in a line of the line feed code, and when the line feed code is not at the beginning of the text area, The next character code is displayed on the line next to the line feed code.
本発明によれば、ユーザが容易に改行コードの動作の変更を行うことができる仕組みを提供することができる。 According to the present invention, it is possible to provide a mechanism that allows a user to easily change the operation of a line feed code.
以下、図面を参照して、本発明の実施形態を詳細に説明する。
<図1の説明>
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<Description of FIG. 1>
図1は、本発明の実施形態に係る情報処理システムの構成図である。 FIG. 1 is a configuration diagram of an information processing system according to an embodiment of the present invention.
図1の情報処理システムでは、PC101、サーバ102が、ネットワーク1を介して接続可能な状態にある。
In the information processing system of FIG. 1, the PC 101 and the server 102 are in a state where they can be connected via the
本実施形態においてPC101は、ネットワーク1にアクセスするためのインターネットブラウザを備えている。また、PC101は、ユーザの操作によって編集されたファイルの情報などをサーバ102に送信する。
In the present embodiment, the PC 101 includes an Internet browser for accessing the
また、本実施形態においてサーバ102は、ファイルの情報の管理を行う。 In the present embodiment, the server 102 manages file information.
<図2によるハードウェア構成の説明> <Description of Hardware Configuration According to FIG. 2>
以下、図2を用いて、図1に示したPC101、サーバ102に適用可能な情報処理装置のハードウェア構成について説明する。 Hereinafter, the hardware configuration of the information processing apparatus applicable to the PC 101 and the server 102 illustrated in FIG. 1 will be described with reference to FIG.
図2は、図1に示したPC101、サーバ102に適用可能な情報処理装置のハードウェア構成を示すブロック図である。 FIG. 2 is a block diagram showing a hardware configuration of an information processing apparatus applicable to the PC 101 and the server 102 shown in FIG.
図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM202あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、各サーバ或いは各PCの実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。
In FIG. 2,
203はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM202あるいは外部メモリ211からRAM203にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。
A
また、205は入力コントローラで、キーボード(KB)209や不図示のマウス等のポインティングデバイス等からの入力を制御する。206はビデオコントローラで、CRTディスプレイ(CRT)210等の表示器への表示を制御する。なお、図2では、CRT210と記載しているが、表示器はCRTだけでなく、液晶ディスプレイ等の他の表示器であってもよい。これらは必要に応じて管理者が使用するものである。
An
207はメモリコントローラで、ブートプログラム,各種の文書作成アプリケーション,フォントデータ,ユーザファイル,編集ファイル,各種データ等を記憶する外部記憶装置(ハードディスク(HD))や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。
A
208は通信I/Fコントローラで、ネットワーク(例えば、図1に示したLAN400)を介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。
A communication I /
なお、CPU201は、例えばRAM203内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、CRT210上での表示を可能としている。また、CPU201は、CRT210上の不図示のマウスカーソル等でのユーザ指示を可能とする。
Note that the
本発明を実現するための後述する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM203にロードされることによりCPU201によって実行されるものである。さらに、上記プログラムの実行時に用いられる定義ファイル及び各種情報テーブル等も、外部メモリ211に格納されており、これらについての詳細な説明も後述する。
<図11の説明>
Various programs to be described later for realizing the present invention are recorded in the
<Description of FIG. 11>
図11は、PC101で文書作成アプリケーションを起動し、PC101のCPU201が実行する制御処理を行うフローチャートの一例を示す図である。
FIG. 11 is a diagram illustrating an example of a flowchart for starting a document creation application on the PC 101 and performing control processing executed by the
ステップS1101において、PC101のCPU201は、ユーザによる最初の指示を受け付ける。ここでいう最初の指示とは、ステップS1102のファイル読込指示または新規作成指示である。
In step S1101, the
ステップS1102において、PC101のCPU201は、ステップS1101でユーザから受け付けた指示が、新規作成指示かファイル読込指示かを判断する。ファイル読込指示であれば、次にステップS1103に進む。新規作成指示であれば、ステップS1105に進む。
In step S1102, the
ステップS1103において、PC101のCPU201は、すでに作成されたファイルがサーバ102の外部メモリ211に記憶されている場合に、それをPC101にダウンロードし、PC101の外部メモリ211に記憶する。
In step S <b> 1103, when the already created file is stored in the
ステップS1104において、PC101のCPU201は、ステップS1103でPC101の外部メモリ211に記憶したファイル(文書データ)を、PC101のCRTディスプレイ(CRT)210に表示する。
In step S1104, the
ステップS1105において、PC101のCPU201は、文章の編集や印刷等の指示をユーザから受け付ける。
In step S <b> 1105, the
ステップS1106において、PC101のCPU201は、改行無効処理を行う。改行無効処理の詳細な説明については、図3〜図10を用いて詳しく説明する。
In step S1106, the
ステップS1107において、PC101のCPU201は、ユーザから終了指示がされたか判断する。終了指示(YES)ならば図11の処理を終了し、そうでなければ(NO)ステップS1105へ進み、再びユーザから文章の編集や印刷等の指示を受け付ける。
In step S1107, the
なお、ステップS1105〜ステップS1107までの処理は、本発明における、表示手段で表示される文書のデータの増減があった場合に、増減があった前記テキストエリアの前記改行コードを検出する検出手段と、増減があったテキストエリアの改行コードを検出した場合に、当該改行コードが前記テキストエリアの先頭にあるかどうかを判断する判断手段と、改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示する表示手段の一例である。
[第1の実施例]
<図3の説明>
Note that the processing from step S1105 to step S1107 includes detection means for detecting the line feed code in the text area where there is an increase / decrease when there is an increase / decrease in document data displayed by the display means in the present invention. When the line feed code of the text area that has increased or decreased is detected, the determination means for determining whether the line feed code is at the head of the text area, and when the line feed code is at the head of the text area, The next character code of the line feed code is displayed on the line of the line feed code, and when the line feed code is not at the beginning of the text area, the character code next to the line feed code is displayed on the line next to the line feed code. It is an example of the display means to display.
[First embodiment]
<Description of FIG. 3>
図3は、PC101で文書作成アプリケーションを起動し、PC101のCPU201が実行する、改行コードを無効にする処理である。
FIG. 3 shows a process of invalidating the line feed code executed by the
ステップS301において、PC101のCPU201は、ユーザの操作によるテキスト(なお、テキストは文書データの一例である)の入力/削除や、属性の変更(文字サイズの変更等の文字割付に影響する変更)を受け付ける。入力後の画面は、例えば図4aの画面である。図4aは、PC101で文書作成アプリケーションを起動した際に、PC101のCRTディスプレイ(CRT)210に表示される画面である。401は、後述する「頁(段)先頭の改行を無効にする」ダイアログである。402と403は改行コードを表し、さらに、403はページの先頭の改行コードを表している。404は本稿でいうページ(1ページ)を表している。
In step S301, the
ステップS302において、PC101のCPU201は、ユーザの操作によって「頁(段)先頭の改行を無効にする」のダイアログがONにされたかどうかを判断する。
In step S <b> 302, the
ステップS302における「頁(段)先頭の改行を無効にする」のダイアログとは、例えば図4aの401である。 The dialog “invalidate line feed at the top of page (column)” in step S302 is 401 in FIG. 4A, for example.
ステップS302で「頁(段)先頭の改行を無効にする」のダイアログがONにされた(YES)と判断された場合は、ステップS303に進む。ステップS302で「頁(段)先頭の改行を無効にする」のダイアログがONにされていない(NO)と判断された場合は、ステップS311へ進む。 If it is determined in step S302 that the “Disable line feed at the top of page (column)” is turned on (YES), the process proceeds to step S303. If it is determined in step S302 that the “Disable line feed at the top of page (column)” is not turned on (NO), the process proceeds to step S311.
ステップS303において、PC101のCPU201は、テキストの入力/削除や、属性の変更(文字サイズの変更等の文字割付に影響する変更)が発生したテキストエリアを先頭から順番に検出し、選択状態にする。ステップS303は、本発明における、文書データの先頭のテキストエリアから順に前記改行コードを検出する検出手段の一例である。
In step S <b> 303, the
ここでいうテキストエリアとは、基本的に、各ページがそれぞれ1つのテキストエリアである。ただし、図4bのように1ページが複数の段組みになっている場合には、各段がそれぞれ1つのテキストエリアとなる。さらに、図6のようにテキストエリアに本文排除オブジェクト601(画像など)が挿入された場合には、本文排除オブジェクト601の次の行からそのページ(段)の最後までが新たにテキストエリアとなる(なお、テキストは文書データの一例である)。 The text area here is basically one text area for each page. However, when one page has a plurality of columns as shown in FIG. 4B, each column is a text area. Further, when a body exclusion object 601 (image or the like) is inserted into the text area as shown in FIG. 6, the text area extends from the next line of the body exclusion object 601 to the end of the page (column). (Note that text is an example of document data).
なお、図4a、図4b、図6及び、後述する図5、図7のテキストエリアに関する情報は、図8のデータテーブルで管理されている。図8の矩形ID801は、ここでいうテキストエリアの番号を示している。例えば、図4bでは、左のページの左の段(407)が矩形ID0001、右の段が矩形ID0002となる。また、領域情報802の「0」は、段(頁)単位で構成されたテキストエリアを表し、「1」は、本文排除オブジェクトによる分断で生じたテキストエリアを表している。本文排除オブジェクトによる分断で生じたテキストエリアとは、図6の本文排除オブジェクト601直後のテキストエリアである。
Note that the information regarding the text areas of FIGS. 4a, 4b, and 6 and FIGS. 5 and 7 to be described later is managed in the data table of FIG. The
図4bは、図4a同様にPC101で文書作成アプリケーションを起動した際に、PC101のCRTディスプレイ(CRT)210に表示される画面である。405は、「頁(段)先頭の改行を無効にする」ダイアログである。406は本稿でいうページ(1ページ)を表している。407は、本稿でいう段(1段)を表している。
FIG. 4B is a screen displayed on the CRT display (CRT) 210 of the PC 101 when the document creation application is activated on the PC 101 as in FIG. 4A.
図5の5−1と5−2の図は、図4a同様にPC101で文書作成アプリケーションを起動した際に、PC101のCRTディスプレイ(CRT)210に表示される画面である。5−1は、図4aの状態で、ユーザの操作によって「頁(段)先頭の改行を無効にする」にチェックが入れられた状態を表す図である。5−2は、5−1の後にユーザによって文字の入力がされた状態を表している。501は、後述するラインフィードが無効となっている、ページの先頭の改行コードを表している。502は、5−1の状態で、ユーザによって文字の入力がされた状態を示している。503は、502の結果ページの先頭でなくなった改行コード501であり、説明の都合上503としている。504は、「頁(段)先頭の改行を無効にする」ダイアログであり、図5のそれぞれの図では、ユーザによって504が選択されているのでボックスにチェックが入っている。505は本稿でいうページ(1ページ)を表している。
5A and 5B are screens displayed on the CRT display (CRT) 210 of the PC 101 when the document creation application is activated on the PC 101 as in FIG. 4A. FIG. 5A is a diagram illustrating a state in which “Disable line feed at the top of page (column)” is checked by a user operation in the state of FIG. 4A. 5-2 represents a state in which characters are input by the user after 5-1.
図6は、図4a同様にPC101で文書作成アプリケーションを起動した際に、PC101のCRTディスプレイ(CRT)210に表示される画面である。601は、本稿でいう本文排除オブジェクトを表し、画像などがこれにあたる。602は、本文排除オブジェクトの直後の改行コードを表す。603は、ページの先頭の改行コードを表す。604は、ページの先頭の改行コードに連続する改行コードを表す。605は本稿でいうページ(1ページ)を表している。606は、「頁(段)先頭の改行を無効にする」ダイアログであり、図6では、ユーザによって606が選択されているのでボックスにチェックが入っている。
FIG. 6 is a screen displayed on the CRT display (CRT) 210 of the PC 101 when the document creation application is activated on the PC 101 as in FIG. 4A. Reference numeral 601 denotes a text exclusion object referred to in this paper, which corresponds to an image or the like.
図7は、図4a同様にPC101で文書作成アプリケーションを起動した際に、PC101のCRTディスプレイ(CRT)210に表示される画面である。7−1は、図6の状態で、ユーザの操作によって「頁(段)先頭の改行を無効にする」にチェックが入れられた状態を表す図である。7−2は、7−1の後にユーザによって文字の入力がされた状態を表している。701は、後述するラインフィードが無効となっている、本文排除オブジェクトの後の改行コードを表している。702は、後述するラインフィードが無効となっている、ページの先頭の改行コードとそれに連続する改行コード(図6の603と604に相当)を表している。703は、7−1の状態で、ユーザによって文字の入力がされた状態を示している。704は、703の結果ページの先頭でなくなった改行コード702であり、説明の都合上704(図6の603と604に相当)としている。705は、本稿でいうページ(1ページ)を表している。
FIG. 7 is a screen displayed on the CRT display (CRT) 210 of the PC 101 when the document creation application is started on the PC 101 as in FIG. FIG. 7A is a diagram illustrating a state in which “Disable line feed at the top of page (column)” is checked by a user operation in the state of FIG. 6. 7-2 represents a state in which characters are input by the user after 7-1.
ステップS304において、PC101のCPU201は、テキストエリアの先頭文字を選択状態にする。
In step S304, the
なお、ステップS304は、本発明における、文書データから改行コードを検出する検出手段の一例である。 Note that step S304 is an example of detection means for detecting a line feed code from document data in the present invention.
ステップS305において、PC101のCPU201は、選択状態にされた文字が改行コードかを判断する。改行コード(YES)ならばステップS306へ進み、改行コードでなければ(NO)ステップS308へ進む。
In step S305, the
なお、ステップS305は、本発明における、改行コードが、テキストが割り付けられるテキストエリアの先頭にあるかどうかを判断する判断手段の一例である。 Step S305 is an example of determination means for determining whether the line feed code is at the head of the text area to which the text is allocated in the present invention.
ステップS305で、改行コードと判断される場合は、例えば、図4aの402や、図6の602、603である。 If it is determined in step S305 that the code is a line feed code, for example, 402 in FIG. 4A and 602 and 603 in FIG.
ステップS306において、PC101のCPU201は、改行コードを無効にする。
In step S306, the
ここでいう無効とは、通常の改行動作で実行される、「ラインフィード(入力位置を次の行へ送るよう指示すること)」や「キャリッジリターン(入力位置を行頭へ戻すように指示すること)」といった制御のうち、ラインフィード、つまり、次の行に送る動作を無効にすることである。例えば、ステップS305で、改行コードと判断された図4aの402や、図6の602、603を無効にすると、402は図5の501となり、602は図7の701となり、603は、図7の702となる。 Invalid here means "line feed (instruct to send the input position to the next line)" or "carriage return (instruct to return the input position to the beginning of the line), which is executed by normal line feed operation. ) "Is to disable the line feed, that is, the operation to send to the next line. For example, if 402 in FIG. 4a or 602 and 603 in FIG. 6 determined to be a line feed code in step S305 is invalidated, 402 becomes 501 in FIG. 5, 602 becomes 701 in FIG. 7, and 603 in FIG. 702.
なお、ステップS306は、本発明における、改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示する表示手段の一例である。 In step S306, when the line feed code is at the head of the text area in the present invention, the character code next to the line feed code is displayed on the line of the line feed code, and the line feed code is displayed in the text area. This is an example of display means for displaying the character code next to the line feed code on the line next to the line feed code when it is not at the head of the line feed code.
ステップS307において、PC101のCPU201は、テキストエリアの次の文字を選択状態にする。ここでいうテキストエリアの次の文字とは、図6の604である。
In step S307, the
ステップS307において、テキストエリアの次の文字を選択状態にすると、ステップS305〜ステップS307までの処理を、ステップS305で改行コードと判断されない(NO)まで繰り返す。 In step S307, if the next character in the text area is selected, the processing from step S305 to step S307 is repeated until it is not determined as a line feed code in step S305 (NO).
ステップS307の処理の後にステップS305で、改行コードと判断される場合は、例えば、図6の604である。また、その後にステップS306の処理を実行すると、図7の702のようになる。 If the line feed code is determined in step S305 after the process in step S307, for example, it is 604 in FIG. Further, when the process of step S306 is subsequently executed, the result becomes 702 in FIG.
ステップS308において、PC101のCPU201は、ステップS305で改行コードと判断されなかった文字(文字コード)以降の改行コードを有効にする。つまり、「改行」の標準動作にする。ステップS308で有効になる改行コードとは、例えば、図4aの403である。
In step S308, the
また、一度ステップS301〜ステップS311までの処理を実行した後に、再びユーザの操作によるテキストの入力/削除や属性の変更(文字サイズの変更等の文字割付に影響する変更)を受け付け、その結果、前回無効にした改行コードがページ(段)の先頭や本文排除オブジェクトの直後でなくなっていた場合の改行コードもステップS308で再び有効になる。例えば、図5の501の状態で、502のようにテキストの入力がユーザによって行われ、501がページの先頭でなくなった場合には、503のように再び改行コードが有効になる。つまり、「改行」の標準動作が実行される。同様に、図7の702の状態で、703のようにテキストの入力がユーザによって行われ、702がページの先頭でなくなった場合には、704のように再び改行コードが有効になる。 In addition, once the processing from step S301 to step S311 is executed, text input / deletion and attribute change (changes that affect character assignment such as change in character size) by user operation are accepted again, and as a result, The line feed code in the case where the line feed code invalidated last time is no longer immediately after the top of the page (column) or the body exclusion object is also validated again in step S308. For example, in the state of 501 in FIG. 5, when the user inputs text as in 502, and 501 is no longer at the top of the page, the line feed code becomes valid again as in 503. That is, the standard operation of “new line” is executed. Similarly, in the state of 702 in FIG. 7, when the user inputs text as in 703 and 702 is no longer at the top of the page, the line feed code becomes valid again as in 704.
ステップS309において、PC101のCPU201は、連結情報リストの矩形IDから次のテキストエリアがあるかを判断する。次のテキストエリアがあれば(YES)、ステップS310へ進み、次のテキストエリアがなければ(NO)、ステップS311へ進む。例えば、図8のデータテーブルを持つファイルの改行無効処理を行っているような場合で、ステップS303で選択状態にされたテキストエリアが図8の矩形ID0003である場合には、次のテキストエリアとは、矩形ID0004である。
In step S309, the
ステップS310において、PC101のCPU201は、次のテキストエリアを選択状態にする。
In step S310, the
ステップS310において、次のテキストエリアを選択状態にすると、ステップS304〜ステップS309までの処理をステップS309で次のテキストエリアがないと判断される(NO)まで繰り返す。 If the next text area is selected in step S310, the processing from step S304 to step S309 is repeated until it is determined in step S309 that there is no next text area (NO).
ステップS311において、PC101のCPU201は、処理後のデータを描画して画面に表示する。
[第2の実施例]
In step S311, the
[Second embodiment]
第2の実施例は、第1の実施例では、ユーザが図4に示す401「頁(段)先頭の改行を無効にする」ダイアログボックスにチェックを入れると、本文オブジェクトの後の改行コードや、先頭行の改行コードに連続する改行コードも一括して無効にされていたが、第2の実施例では、ページ(段)の先頭の改行コードと、本文排除オブジェクトの後の改行コードと、連続する改行コードそれぞれを無効にするかどうか、ユーザが選択できる例である。そのため、ページ(段)の先頭の改行コードと、本文排除オブジェクトの後の改行コードと、連続する改行コードそれぞれを無効にするかどうか、ユーザが選択できる点以外は、第1の実施例と同様であるため、重複する点の説明は省略する。
<図9の説明>
In the second embodiment, in the first embodiment, when the user checks the “Disable line break at the beginning of page (column)”
<Description of FIG. 9>
図9は、PC101で文書作成アプリケーションを起動し、PC101のCPU201が実行する、改行コードを無効にする処理である。
FIG. 9 shows a process of starting a document creation application on the PC 101 and invalidating the line feed code executed by the
ステップS901において、PC101のCPU201は、ユーザの操作によるテキストの入力/削除や、属性の変更(文字サイズの変更等の文字割付に影響する変更)を受け付ける。入力後の画面は、例えば図10の画面である。図10は、PC101で文書作成アプリケーションを起動した際に、PC101のCRTディスプレイ(CRT)210に表示される画面である。図10の詳細な説明は、後述する。
In step S <b> 901, the
ステップS902において、PC101のCPU201は、ユーザの操作によって「頁(段)先頭の改行を無効にする」のダイアログがONにされたかどうかを判断する。
In step S <b> 902, the
ステップS902における「頁(段)先頭の改行を無効にする」のダイアログとは、例えば図10の1001である。 The dialog “invalidate line feed at the top of page (column)” in step S902 is, for example, 1001 in FIG.
ステップS902で「頁(段)先頭の改行を無効にする」のダイアログがONにされた(YES)と判断された場合は、ステップS903に進む。ステップS902で「頁(段)先頭の改行を無効にする」のダイアログがONにされていない(NO)と判断された場合は、ステップS915へ進む。 If it is determined in step S902 that the “Disable line feed at the top of page (column)” is turned on (YES), the process proceeds to step S903. If it is determined in step S902 that the “invalidate line feed at the top of page (column)” is not turned on (NO), the process proceeds to step S915.
ステップS903において、PC101のCPU201は、テキストの入力/削除や、属性の変更(文字サイズの変更等の文字割付に影響する変更)が発生したテキストエリアを選択状態にする。
In step S <b> 903, the
ステップS904において、PC101のCPU201は、ユーザから対象ラジオボタンの設定を受け付けたか判断する。ここでいう対象ラジオボタンの設定とは、図10の1001、1002である。
In step S904, the
図10は、図4a同様にPC101で文書作成アプリケーションを起動した際に、PC101のCRTディスプレイ(CRT)210に表示される画面である。1001は、「頁(段)先頭の改行を無効にする」ダイアログであり、ユーザから1001のダイアログボックスにチェックを入れるように指示されると、1002が表示される。1002は、無効にする改行コードの対象を選択するためのラジオボタンである。「頁(段)」とは、ページの先頭にある改行コードである1005のことである。「排除オブジェクト直後」とは、本文排除オブジェクト1008(画像など)の後の1007の改行コードである。「両方」とは、「頁(段)」と「排除オブジェクト直後」両方のことであり、つまり、1005や1007が無効となる。1003は、例えば、ページ先頭にある改行コード1005に連続する改行コード1006である。1004は、本稿でいうページ(1ページ)を表している。
FIG. 10 is a screen displayed on the CRT display (CRT) 210 of the PC 101 when the document creation application is started on the PC 101 as in FIG. 4A.
ステップS904で、図10の1002の「頁(段)」がユーザによって選択されると、ステップS905へ進み、1002の「本文排除オブジェクト直後」がユーザによって選択されると、ステップS906へ進む。また、1002の「両方」がユーザによって選択されると、ステップS907へ進む。 In step S904, if “page (column)” 1002 in FIG. 10 is selected by the user, the process proceeds to step S905. If “immediately after the text exclusion object” is selected 1002, the process proceeds to step S906. If “both” in 1002 is selected by the user, the process advances to step S907.
ステップS905において、PC101のCPU201は、ステップS903で対象となるテキストエリアが頁(段)なのか、つまり、本文排除オブジェクトの直後以外のテキストエリアか(なお、先頭が改行コードでなくてもよい)、本文排除オブジェクト直後のテキストエリア(先頭が改行コードでなくてもよい)なのかを判断する。ステップS905で、テキストエリアが頁(段)、つまり、本文排除オブジェクトの直後以外のテキストエリアであれば(YES)、ステップS907へ進み、本文排除オブジェクト直後のテキストエリアであれば(NO)、改行を無効にする対象にならないのでステップS913へ進む。
In step S905, the
ステップS906において、PC101のCPU201は、ステップS903で対象となるテキストエリアが頁(段)なのか、つまり、本文排除オブジェクトの直後以外のテキストエリアか(なお、先頭が改行コードでなくてもよい)、本文排除オブジェクト直後のテキストエリア(先頭が改行コードでなくてもよい)なのかを判断する。ステップS906で、本文排除オブジェクト直後のテキストエリアであれば(NO)、ステップS907へ進み、テキストエリアが頁(段)、つまり、本文排除オブジェクトの直後以外のテキストエリアであれば(YES)、改行を無効にする対象にならないのでステップS913へ進む。
In step S906, the
ステップS907において、PC101のCPU201は、ステップS903で選択状態になったテキストエリアの先頭の文字を選択状態にする。
In step S907, the
ステップS908において、PC101のCPU201は、ステップS907で選択状態になったテキストエリアの先頭の文字が改行コードかどうか判断する。ステップS908で、改行コードであれば(YES)、ステップS909へ進み、改行コードでなければ(NO)、ステップS912へ進む。
In step S908, the
ステップS909において、PC101のCPU201は、テキストエリアの先頭の改行コードを無効にする。
In step S909, the
なお、ステップS906〜ステップS909までの処理は、本発明における、文書データからオブジェクトを検出する検出手段と、改行コードが、前記オブジェクト直後の前記テキストエリアの先頭にあるかどうかを判断する判断手段と、改行コードが、前記オブジェクト直後の前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示する表示手段の一例である。 Note that the processing from step S906 to step S909 includes detection means for detecting an object from document data according to the present invention, and determination means for determining whether a line feed code is at the head of the text area immediately after the object. When the line feed code is at the head of the text area immediately after the object, the character code next to the line feed code is displayed on the line of the line feed code.
ステップS910において、PC101のCPU201は、ユーザの操作により、連続する改行を無効(対象)にする指示がなされたかどうかを判断する。連続する改行を無効(対象)にする指示がなされていれば(YES)、ステップS911へ進み、連続する改行を無効(対象)にする指示がなされていなければ(NO)、ステップS912へ進む。ここでいう連続する改行を無効(対象)にする指示とは、ユーザが図10の1003のチェックボックスにチェックを入れることである。
In step S910, the
ステップS911において、PC101のCPU201は、テキストエリアの次の文字を選択状態にする。ここでいうテキストエリアの次の文字とは、例えば、図10の1006である。
In step S911, the
ステップS911において、テキストエリアの次の文字を選択状態にすると、ステップS908〜ステップS911までの処理を、ステップS908で改行コードと判断されない(NO)まで繰り返す。ステップS908〜ステップS911までの処理は、本発明におけるテキストエリアの先頭にある前記改行コードの次の文字コードが改行コードかどうかを判断する判断手段と、テキストエリアの先頭にある改行コードに連続する文字コードが改行コードである場合に、当該連続する改行コードと、当該連続する改行コードの次の行の改行コードでない文字コードとを前記先頭にある改行コードの行に詰めて表示する表示手段の一例である。 When the next character in the text area is selected in step S911, the processing from step S908 to step S911 is repeated until it is not determined as a line feed code in step S908 (NO). The processing from step S908 to step S911 is continuous with the determination means for determining whether the character code next to the line feed code at the beginning of the text area in the present invention is a line feed code, and the line feed code at the beginning of the text area. When the character code is a line feed code, the display means for displaying the continuous line feed code and the character code that is not the line feed code of the line next to the continuous line feed code in the line of the line feed code at the head. It is an example.
ステップS912において、PC101のCPU201は、ステップS908で改行コードと判断されなかった文字(文字コード)以降の改行コードを有効にする。つまり、「改行」の標準動作にする。
In step S912, the
ステップS913において、PC101のCPU201は、連結情報リストの矩形IDから次のテキストエリアがあるかを判断する。次のテキストエリアがあれば(YES)、ステップS914へ進み、次のテキストエリアがなければ(NO)、ステップS915へ進む。例えば、図8のデータテーブルを持つファイルの改行無効処理を行っているような場合で、ステップS303で選択状態にされたテキストエリアが図8の矩形ID0003である場合には、次のテキストエリアとは、矩形ID0004である。
In step S913, the
ステップS914において、PC101のCPU201は、次のテキストエリアを選択状態にする。
In step S914, the
ステップS914において、次のテキストエリアを選択状態にすると、ステップS904〜ステップS914までの処理をステップS913で次のテキストエリアがないと判断される(NO)まで繰り返す。 In step S914, if the next text area is selected, the processing from step S904 to step S914 is repeated until it is determined in step S913 that there is no next text area (NO).
ステップS915において、PC101のCPU201は、処理後のデータを描画して画面に表示する。
In step S915, the
以上、本発明によれば、ユーザが容易に改行コードの動作の変更を行うことができる仕組みを提供することができる。 As described above, according to the present invention, it is possible to provide a mechanism that allows the user to easily change the operation of the line feed code.
また、本実施形態では、PC101でファイルの編集をする仕組みについて説明したが、これに限るものではなく、たとえば、サーバ102やタブレット端末(不図示)で実現することも可能である。 In the present embodiment, the mechanism for editing a file on the PC 101 has been described. However, the present invention is not limited to this. For example, the file can be realized by the server 102 or a tablet terminal (not shown).
タブレット端末で改行コードを無効にする処理を実行する場合は、ユーザにより、タブレット端末のディスプレイに表示されている文書ファイル編集画面の改行コード部分を指で丸く囲む操作がなされた時に、図4の401と同様の内容のダイアログボックスを、改行コード部分を丸く囲む操作がなされた位置周辺に表示する。 When executing the processing for invalidating the line feed code on the tablet terminal, when the user performs an operation to circle the line feed code portion of the document file editing screen displayed on the display of the tablet terminal with a finger, as shown in FIG. A dialog box having the same content as 401 is displayed around the position where the operation for surrounding the line feed code circle is performed.
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。 Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のカード、ROM等を用いることができる。 As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile card, a ROM, or the like can be used.
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。このプログラムコードを読み出し実行可能な情報処理装置(コンピュータ)が前述した実施形態の機能を実現する。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (basic system or operating system) running on the computer based on the instruction of the program code. Needless to say, a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included. An information processing apparatus (computer) that can read and execute the program code realizes the functions of the above-described embodiments.
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion board or function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
PC 101
サーバ 102
PC 101
Server 102
Claims (6)
前記文書データから改行コードを検出する検出手段と、
当該改行コードが、テキストが割り付けられるテキストエリアの先頭にあるかどうかを判断する判断手段と、
前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示する表示手段を備え、
前記検出手段は、更に、前記表示手段で表示される文書のデータの増減があった場合に、増減があった前記テキストエリアの前記改行コードを検出し、
前記判断手段は、更に、前記増減があったテキストエリアの改行コードを検出した場合に、当該改行コードが前記テキストエリアの先頭にあるかどうかを判断し、
前記表示手段は、更に、前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示することを特徴とする情報処理装置。 Storage means for storing document data;
Detecting means for detecting a line feed code from the document data;
A judging means for judging whether or not the line feed code is at the head of the text area to which the text is allocated;
When the line feed code is at the beginning of the text area, the character code next to the line feed code is displayed in a line of the line feed code, and when the line feed code is not at the top of the text area, the line feed code is displayed. A display means for displaying a character code next to the code in a line next to the line feed code;
The detection means further detects the line feed code of the text area that has increased or decreased when the data of the document displayed on the display means has increased or decreased,
The determination means further determines whether or not the line feed code is at the head of the text area when detecting the line feed code of the text area that has increased or decreased,
The display means further displays the character code next to the line feed code in a line of the line feed code when the line feed code is at the top of the text area, and the line feed code is displayed at the top of the text area. If not, the information processing apparatus displays the character code next to the line feed code on the line next to the line feed code.
前記表示手段は、更に、前記テキストエリアの先頭にある改行コードに連続する文字コードが改行コードである場合に、当該連続する改行コードと、当該連続する改行コードの次の行の改行コードでない文字コードとを前記先頭にある改行コードの行に詰めて表示することを特徴とする請求項1または2に記載の情報処理装置。 The determination means further determines whether a character code next to the line feed code at the beginning of the text area is a line feed code,
The display means may further include a character that is not the line feed code of the line following the continuous line feed code and the line feed code following the continuous line feed code when the character code continuous to the line feed code at the head of the text area is a line feed code 3. The information processing apparatus according to claim 1, wherein a code is displayed in a line of a line feed code at the head.
前記判断手段は、更に、前記改行コードが、前記オブジェクト直後の前記テキストエリアの先頭にあるかどうかを判断し、
前記表示手段は、更に、前記改行コードが、前記オブジェクト直後の前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示することを特徴とする請求項1乃至3の何れか1項に記載の情報処理装置。 The detection means further detects an object from the document data,
The determination means further determines whether the line feed code is at the head of the text area immediately after the object,
The display means further displays the character code next to the line feed code in a line of the line feed code when the line feed code is at the head of the text area immediately after the object. The information processing apparatus according to any one of claims 1 to 3.
前記情報処理装置の検出手段が、前記文書データから改行コードを検出する検出工程と、
前記情報処理装置の判断手段が、当該改行コードが、テキストが割り付けられるテキストエリアの先頭にあるかどうかを判断する判断工程と、
前記情報処理装置の表示手段が、前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示する表示工程を備え、
前記検出工程は、更に、前記表示手段で表示される文書のデータの増減があった場合に、増減があった前記テキストエリアの前記改行コードを検出し、
前記判断工程は、更に、前記増減があったテキストエリアの改行コードを検出した場合に、当該改行コードが前記テキストエリアの先頭にあるかどうかを判断し、
前記表示工程は、更に、前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示することを特徴とする制御方法。 A method for controlling an information processing apparatus including a storage unit for storing document data,
A detecting step of detecting a line feed code from the document data by the detecting means of the information processing apparatus;
A determination step in which the determination unit of the information processing apparatus determines whether the line feed code is at the beginning of a text area to which text is allocated;
When the line feed code is at the head of the text area, the display unit of the information processing apparatus displays the character code next to the line feed code in a line of the line feed code, and the line feed code is displayed in the text area. A display step of displaying the character code next to the line feed code on the line next to the line feed code when it is not at the beginning of
The detecting step further detects the line feed code in the text area where there is an increase / decrease when there is an increase / decrease in document data displayed on the display means,
The determination step further determines whether or not the line feed code is at the head of the text area when detecting the line feed code of the text area that has increased or decreased,
In the display step, when the line feed code is at the head of the text area, the character code next to the line feed code is displayed in a line of the line feed code, and the line feed code is displayed at the head of the text area. If not, the control method displays the character code next to the line feed code on the line next to the line feed code.
前記情報処理装置を、
前記文書データから改行コードを検出する検出手段と、
当該改行コードが、テキストが割り付けられるテキストエリアの先頭にあるかどうかを判断する判断手段と、
前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示する表示手段として機能させ、
前記検出手段は、更に、前記表示手段で表示される文書のデータの増減があった場合に、増減があった前記テキストエリアの前記改行コードを検出し、
前記判断手段は、更に、前記増減があったテキストエリアの改行コードを検出した場合に、当該改行コードが前記テキストエリアの先頭にあるかどうかを判断し、
前記表示手段は、更に、前記改行コードが前記テキストエリアの先頭にある場合に、当該改行コードの次の文字コードを当該改行コードの行に詰めて表示し、前記改行コードが前記テキストエリアの先頭にない場合に、当該改行コードの次の文字コードを当該改行コードの次の行に表示することを特徴とするプログラム。
A program that can be read and executed by an information processing apparatus including a storage unit that stores document data,
The information processing apparatus;
Detecting means for detecting a line feed code from the document data;
A judging means for judging whether or not the line feed code is at the head of the text area to which the text is allocated;
When the line feed code is at the beginning of the text area, the character code next to the line feed code is displayed in a line of the line feed code, and when the line feed code is not at the top of the text area, the line feed code is displayed. Function as a display means to display the character code next to the code on the line next to the line feed code,
The detection means further detects the line feed code of the text area that has increased or decreased when the data of the document displayed on the display means has increased or decreased,
The determination means further determines whether or not the line feed code is at the head of the text area when detecting the line feed code of the text area that has increased or decreased,
The display means further displays the character code next to the line feed code in a line of the line feed code when the line feed code is at the top of the text area, and the line feed code is displayed at the top of the text area. If not, a program that displays the character code next to the line feed code on the line next to the line feed code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013040117A JP2014167770A (en) | 2013-02-28 | 2013-02-28 | Information processing apparatus, information processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013040117A JP2014167770A (en) | 2013-02-28 | 2013-02-28 | Information processing apparatus, information processing method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014167770A true JP2014167770A (en) | 2014-09-11 |
Family
ID=51617410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013040117A Pending JP2014167770A (en) | 2013-02-28 | 2013-02-28 | Information processing apparatus, information processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014167770A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016007732A (en) * | 2014-06-23 | 2016-01-18 | 株式会社リコー | Image forming device, image forming system, and image forming method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03130865A (en) * | 1989-10-17 | 1991-06-04 | Fujitsu Ltd | Document processor |
JPH08252900A (en) * | 1995-03-16 | 1996-10-01 | Dainippon Screen Mfg Co Ltd | Composing processor |
JP2001067345A (en) * | 1999-08-30 | 2001-03-16 | Hitachi Ltd | Document preparing device |
-
2013
- 2013-02-28 JP JP2013040117A patent/JP2014167770A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03130865A (en) * | 1989-10-17 | 1991-06-04 | Fujitsu Ltd | Document processor |
JPH08252900A (en) * | 1995-03-16 | 1996-10-01 | Dainippon Screen Mfg Co Ltd | Composing processor |
JP2001067345A (en) * | 1999-08-30 | 2001-03-16 | Hitachi Ltd | Document preparing device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016007732A (en) * | 2014-06-23 | 2016-01-18 | 株式会社リコー | Image forming device, image forming system, and image forming method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20130080979A1 (en) | Explicit touch selection and cursor placement | |
US20150212707A1 (en) | Computer System and Method to View and Edit Documents from an Electronic Computing Device Touchscreen | |
JP2010049431A (en) | Program, method and device for processing information | |
JP2011013866A (en) | Device and method for controlling print, and program | |
JP2020123234A (en) | Information processor, control method, and program thereof | |
JP5949995B2 (en) | Information processing apparatus, information processing method, and program | |
JP5884868B2 (en) | Information processing apparatus, information processing method, and program | |
JP6032250B2 (en) | Program generating apparatus, information processing apparatus, control method, and program | |
JP2014167770A (en) | Information processing apparatus, information processing method, and program | |
JP2008165408A (en) | Information processor, its control method, and program | |
JP2006154954A (en) | Information processor and its control method, and program | |
JP2005135273A (en) | Image processing device, image processing method, and control program | |
JP2020109565A (en) | Display system, control method of display system, display device, and control method of display device | |
JP4347168B2 (en) | Editing apparatus, control method thereof, and program thereof | |
KR20150107392A (en) | Method and apparatus for managing electronic document's merging | |
JP5696474B2 (en) | Information processing apparatus, information processing method, and program | |
JP7475734B1 (en) | Manual creation support device | |
JP5861686B2 (en) | Information processing terminal, control method thereof, and program | |
KR20130016625A (en) | Method and system for selecting paragraph on electronic book environments | |
JP2008269260A (en) | Data processor, data processing method and program | |
JP6939303B2 (en) | Control program | |
JP2006163938A (en) | Information processor and processing method | |
JP6492465B2 (en) | Information processing apparatus, control method thereof, and program | |
JP5838809B2 (en) | Information processing apparatus, information processing method, and computer program | |
JP2006135864A (en) | Electronic album editor, its control method, its program and storage medium storing the program in computer readable manner |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20150410 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160229 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20161101 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20161101 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161206 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170203 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170627 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170825 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20170912 |