JP2013047861A - Document management system, image forming device, and program - Google Patents

Document management system, image forming device, and program Download PDF

Info

Publication number
JP2013047861A
JP2013047861A JP2011185419A JP2011185419A JP2013047861A JP 2013047861 A JP2013047861 A JP 2013047861A JP 2011185419 A JP2011185419 A JP 2011185419A JP 2011185419 A JP2011185419 A JP 2011185419A JP 2013047861 A JP2013047861 A JP 2013047861A
Authority
JP
Japan
Prior art keywords
electronic document
area
line
writing
document
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.)
Granted
Application number
JP2011185419A
Other languages
Japanese (ja)
Other versions
JP5742590B2 (en
Inventor
Keisuke Teramoto
啓介 寺元
Hiroaki Kubo
広明 久保
Masasane Yamada
匡実 山田
Kosuke Oshima
功資 大島
Yoshiaki Shibuta
義明 渋田
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies 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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2011185419A priority Critical patent/JP5742590B2/en
Publication of JP2013047861A publication Critical patent/JP2013047861A/en
Application granted granted Critical
Publication of JP5742590B2 publication Critical patent/JP5742590B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique which can suppress disarrangement in a positional correlation between written information and surrounding characters for outputting an electronic document to which the written information is added.SOLUTION: A document management system comprises an electronic document acquisition unit, a written area extraction unit, a number of character adjustment unit, and a print preview image generation unit. The written area extraction unit extracts a written area WA1 from an electronic document. The number of character adjustment unit adjusts the number of character per line in the electronic document by changing the number of characters per line in a non-written area NA according to print output settings, on the other hand, without changing the number of characters per line in the written area WA1 for the number of characters per line when written information WR1 is written. The print preview image generation unit generates a print preview image of the electronic document adjusted by the number of character adjustment unit.

Description

本発明は、文書管理システムおよびそれに関連する技術に関する。   The present invention relates to a document management system and related techniques.

電子書籍装置においては、電子書籍(電子文書)を単に表示するだけでなく、当該電子書籍に対するユーザからの各種の書き込み情報を表示することが可能な技術が存在する。例えば、特許文献1には、ユーザからの操作入力に応じて電子書籍に対する各種の書き込み情報(下線、マーキング、および取消線等)の書き込みを受け付けて、当該書き込み情報を当該電子書籍に重畳して表示することが可能な電子書籍装置が記載されている。   In the electronic book device, there is a technique capable of displaying not only an electronic book (electronic document) but also various kinds of writing information from the user with respect to the electronic book. For example, Patent Literature 1 accepts writing of various writing information (underline, marking, strikethrough, etc.) on an electronic book in response to an operation input from the user, and superimposes the writing information on the electronic book. An electronic book device that can be displayed is described.

特開2005−141488号公報JP 2005-141488 A

ところで、電子文書が出力(表示出力および印刷出力等)される場合においては、出力設定(表示出力設定および印刷出力設定等)に応じて当該電子文書の一行当たりの文字数(以下、「一行当たりの文字数」とも称する)が調整される。たとえば、電子文書が画面に表示出力される場合においては、画面サイズ等の表示出力設定に応じて上記一行当たりの文字数が調整される。一方、電子文書が用紙に印刷出力される場合においては、用紙サイズ等の印刷出力設定に応じて上記一行当たりの文字数が調整される。このように、電子文書が出力される場合においては、上記「一行当たりの文字数」は、常に同じ値であるとは限らず、むしろ、異なる値である可能性が高い。   By the way, when an electronic document is output (display output, print output, etc.), the number of characters per line of the electronic document (hereinafter referred to as “per line”) according to output settings (display output settings, print output settings, etc.). Also referred to as “number of characters”). For example, when an electronic document is displayed and output on a screen, the number of characters per line is adjusted according to display output settings such as a screen size. On the other hand, when the electronic document is printed on paper, the number of characters per line is adjusted according to the print output setting such as paper size. Thus, when an electronic document is output, the above “number of characters per line” is not always the same value, but rather is likely to be a different value.

また、上述したように、電子文書に対する書き込み情報の書き込みが行われることが有り、書き込み情報が付加された電子文書が出力される場合も存在する。換言すれば、書き込み情報が付加された電子文書の出力用データが生成され、当該出力用データに基づいて出力動作が行われる場合が存在する。   In addition, as described above, writing information may be written on the electronic document, and there is a case where the electronic document to which the writing information is added is output. In other words, there is a case where output data of an electronic document to which writing information is added is generated and an output operation is performed based on the output data.

しかしながら、書き込み情報が付加された電子文書の出力用データが生成される場合においては、当該電子文書の一行当たりの文字数が出力設定(新たな表示出力設定あるいは印刷出力設定等)に応じて変更されるため、当該書き込み情報とその付近の文字との相対的な位置関係が崩れるという問題が有る。たとえば、ユーザによる手書きの書き込み情報が電子文書に書き込まれている場合において、当該電子文書の一行当たりの文字数が新たな表示出力設定に応じて変更されると、当該手書きの書き込み情報とその付近の文字との両者の相対的な位置関係が崩れ、当該両者の関係が判り難くなる。   However, when the output data of the electronic document to which the writing information is added is generated, the number of characters per line of the electronic document is changed according to the output setting (new display output setting or print output setting). Therefore, there is a problem that the relative positional relationship between the written information and the nearby characters is broken. For example, when handwritten writing information by a user is written in an electronic document, if the number of characters per line of the electronic document is changed according to a new display output setting, the handwritten writing information and the vicinity thereof The relative positional relationship between the character and the character collapses, making it difficult to understand the relationship between the two.

そこで、この発明の課題は、書き込み情報が付加された電子文書の出力にあたって、当該書き込み情報とその付近の文字との相対的な位置関係が崩れることを抑制することが可能な技術を提供することにある。   Accordingly, an object of the present invention is to provide a technique capable of suppressing the relative positional relationship between the writing information and the characters in the vicinity thereof from being destroyed when outputting an electronic document to which writing information is added. It is in.

上記課題を解決すべく、請求項1の発明は、文書管理システムであって、書き込み情報が付加された電子文書を出力対象文書として取得する取得手段と、前記書き込み情報の書き込み対象領域を含む範囲を第1の領域として前記電子文書から抽出する抽出手段と、前記電子文書の出力設定に応じて前記電子文書における各行の文字数を調整する調整手段と、前記調整手段による調整後の前記電子文書の出力用データを生成する生成手段と、を備え、前記調整手段は、前記第1の領域以外の領域である第2の領域の一行当たりの文字数を前記電子文書の出力設定に応じて変更する一方、前記第1の領域の一行当たりの文字数を前記書き込み情報の書き込み時点における一行当たりの文字数に対して変更することなく、前記電子文書における各行の文字数を調整することを特徴とする。   In order to solve the above-mentioned problem, the invention of claim 1 is a document management system, and includes an acquisition means for acquiring an electronic document to which write information is added as an output target document, and a range including a write target area of the write information. Extracting from the electronic document as a first area, adjusting means for adjusting the number of characters in each line in the electronic document according to the output setting of the electronic document, and adjustment of the electronic document after the adjustment by the adjusting means Generating means for generating output data, wherein the adjusting means changes the number of characters per line in the second area, which is an area other than the first area, according to the output setting of the electronic document. , Each line in the electronic document without changing the number of characters per line in the first area with respect to the number of characters per line at the time of writing the writing information. And adjusting the number of characters.

請求項2の発明は、請求項1の発明に係る文書管理システムであって、前記抽出手段は、前記書き込み時点における前記電子文書の複数の行のうち第1の行から第2の行までを包含する領域を前記第1の領域として抽出し、前記第1の行は、前記電子文書を構成する一連の文字列のうち前記書き込み対象領域における先頭の文字を含む行の直前の行であり、前記第2の行は、前記電子文書を構成する一連の文字列のうち前記書き込み対象領域における末尾の文字を含む行の直後の行であることを特徴とする。   A second aspect of the present invention is the document management system according to the first aspect of the present invention, wherein the extracting means includes a first line to a second line among a plurality of lines of the electronic document at the time of writing. An area to be included is extracted as the first area, and the first line is a line immediately before a line including a first character in the writing target area in a series of character strings constituting the electronic document, The second line is a line immediately after a line including a last character in the writing target area in a series of character strings constituting the electronic document.

請求項3の発明は、請求項1の発明に係る文書管理システムであって、前記抽出手段は、前記書き込み対象領域に対応する段落を包含する領域を前記第1の領域として抽出することを特徴とする。   A third aspect of the present invention is the document management system according to the first aspect of the present invention, wherein the extracting means extracts an area including a paragraph corresponding to the writing target area as the first area. And

請求項4の発明は、請求項1の発明に係る文書管理システムであって、前記調整手段による調整後の前記電子文書のページ画像を出力する出力手段、をさらに備え、前記出力手段は、前記第1の領域における過去の複数の書き込み情報に関するリストを前記ページ画像内の余白領域に重畳して出力することを特徴とする。   The invention of claim 4 is the document management system according to the invention of claim 1, further comprising output means for outputting a page image of the electronic document after adjustment by the adjustment means, wherein the output means comprises the A list of a plurality of past writing information in the first area is output by being superimposed on a blank area in the page image.

請求項5の発明は、請求項4の発明に係る文書管理システムにおいて、前記書き込み情報は、第1の書き込み情報であり、前記出力手段は、前記リストの中から選択される一の書き込み情報である第2の書き込み情報を前記第1の書き込み情報に代えて前記第1の領域に重畳して出力することを特徴とする。   According to a fifth aspect of the present invention, in the document management system according to the fourth aspect of the invention, the write information is first write information, and the output means is one write information selected from the list. It is characterized in that some second write information is superposed on the first area and output instead of the first write information.

請求項6の発明は、請求項1の発明に係る文書管理システムにおいて、前記調整手段は、前記電子文書の各行の行末に改行コードが存在する場合には、前記第1の領域においては各行の行末に存在する改行コードを削除せず、前記第2の領域においては各行の行末に存在する改行コードのうち、各文の末尾に存在する改行コード以外の改行コードを削除することを特徴とする。   According to a sixth aspect of the present invention, in the document management system according to the first aspect of the present invention, the adjustment means includes a line feed code at the end of each line of the electronic document. A line feed code other than the line feed code existing at the end of each sentence is deleted from the line feed codes existing at the end of each line in the second area without deleting the line feed code existing at the end of the line. .

請求項7の発明は、請求項6の発明に係る文書管理システムにおいて、前記各文の末尾に存在する改行コードは、句点および/またはピリオドに続く改行コードであることを特徴とする。   According to a seventh aspect of the present invention, in the document management system according to the sixth aspect of the present invention, the line feed code existing at the end of each sentence is a line feed code following a period and / or a period.

請求項8の発明は、a)書き込み情報が付加された電子文書を出力対象文書として取得するステップと、b)前記書き込み情報の書き込み対象領域を含む範囲を第1の領域として前記電子文書から抽出するステップと、c)前記第1の領域以外の領域である第2の領域の一行当たりの文字数を前記電子文書の出力設定に応じて変更する一方、前記第1の領域の一行当たりの文字数を前記書き込み情報の書き込み時点における一行当たりの文字数に対して変更することなく、前記電子文書における各行の文字数を調整するステップと、d)前記調整手段によって調整された前記電子文書の出力用データを生成するステップと、をコンピュータに実行させるためのプログラムであることを特徴とする。   The invention according to claim 8 is: a) obtaining an electronic document to which writing information is added as an output target document; and b) extracting a range including the writing target area of the writing information from the electronic document as a first area. C) changing the number of characters per line in the second area, which is an area other than the first area, according to the output setting of the electronic document, while changing the number of characters per line in the first area. Adjusting the number of characters in each line in the electronic document without changing the number of characters per line at the time of writing the writing information; and d) generating data for output of the electronic document adjusted by the adjusting means And a step for causing a computer to execute the step.

請求項9の発明は、画像形成装置であって、書き込み情報が付加された電子文書を出力対象文書として取得する取得手段と、前記書き込み情報の書き込み対象領域を含む範囲を第1の領域として前記電子文書から抽出する抽出手段と、前記電子文書の出力設定に応じて前記電子文書における各行の文字数を調整する調整手段と、前記調整手段による調整後の前記電子文書の出力用データを生成する生成手段と、を備え、前記調整手段は、前記第1の領域以外の領域である第2の領域の一行当たりの文字数を前記電子文書の出力設定に応じて変更する一方、前記第1の領域の一行当たりの文字数を前記書き込み情報の書き込み時点における一行当たりの文字数に対して変更することなく、前記電子文書における各行の文字数を調整することを特徴とする。   The invention of claim 9 is an image forming apparatus, wherein an acquisition means for acquiring an electronic document to which write information is added as an output target document, and a range including the write target area of the write information as the first area Extraction means for extracting from the electronic document, adjustment means for adjusting the number of characters in each line in the electronic document according to the output setting of the electronic document, and generation for generating data for output of the electronic document after adjustment by the adjustment means And the adjustment means changes the number of characters per line in the second area, which is an area other than the first area, according to the output setting of the electronic document, The number of characters per line in the electronic document is adjusted without changing the number of characters per line to the number of characters per line at the time of writing the writing information. To.

請求項1ないし請求項9に記載の発明によれば、第1の領域以外の領域である第2の領域の一行当たりの文字数が前記電子文書の出力設定に応じて変更される一方、第1の領域の一行当たりの文字数が書き込み情報の書き込み時点における一行当たりの文字数に対して変更されることなく、電子文書における各行の文字数が調整される。そのため、書き込み情報が付加された電子文書の出力にあたって、当該書き込み情報と当該電子文書の第1の領域内の文字との相対的な位置関係が崩れることを抑制することが可能である。   According to the first to ninth aspects of the invention, the number of characters per line in the second area, which is an area other than the first area, is changed according to the output setting of the electronic document, while the first area The number of characters per line in the electronic document is adjusted without changing the number of characters per line in the area of the area in the electronic document. Therefore, when outputting an electronic document to which writing information is added, it is possible to prevent the relative positional relationship between the writing information and characters in the first area of the electronic document from being broken.

特に、請求項2に記載の発明によれば、書き込み時点における電子文書の複数の行のうち第1の行から第2の行までを包含する領域が第1の領域として抽出される。そのため、書き込み情報が、当該第1の行および/または当該第2の行との関係を示している場合であっても、当該関係が判り難くなることを抑制することが可能である。   In particular, according to the second aspect of the present invention, a region including the first row to the second row among the plurality of rows of the electronic document at the time of writing is extracted as the first region. Therefore, even if the write information indicates a relationship with the first row and / or the second row, it is possible to suppress the relationship from becoming difficult to understand.

また特に、請求項4に記載の発明によれば、第1の領域における過去の複数の書き込み情報に関するリストがページ画像の余白領域に重畳して出力されるので、ユーザは、第1の領域に書き込まれた複数の過去の書き込み情報を知ることが可能である。   In particular, according to the fourth aspect of the present invention, since a list of a plurality of past writing information in the first area is superimposed on the margin area of the page image, the user can place the list in the first area. It is possible to know a plurality of past writing information written.

また特に、請求項5に記載の発明によれば、リストの中から選択される一の書き込み情報である第2の書き込み情報が第1の書き込み情報に代えて第1の領域に重畳して出力される。そのため、ユーザは、第1の領域に付加された過去の書き込み情報をも閲覧することが可能である。   In particular, according to the fifth aspect of the present invention, the second write information, which is one write information selected from the list, is output by being superimposed on the first area instead of the first write information. Is done. Therefore, the user can also browse past writing information added to the first area.

また特に、請求項6に記載の発明によれば、電子文書の各行の行末に改行コードが存在する場合には、第1の領域においては各行の行末に存在する改行コードが削除されず、第2の領域においては各行の行末に存在する改行コードのうち、各文の末尾に存在する改行コード以外の改行コードが削除される。そのため、改行コードの影響を受けることなく、第2の領域の一行当たりの文字数を適切に調整することが可能である。   In particular, according to the invention described in claim 6, when there is a line feed code at the end of each line of the electronic document, the line feed code existing at the end of each line is not deleted in the first area, In the area 2, line feed codes other than the line feed code existing at the end of each sentence are deleted from the line feed codes existing at the end of each line. Therefore, the number of characters per line in the second area can be appropriately adjusted without being affected by the line feed code.

第1実施形態に係る文書管理システムの概略図である。1 is a schematic diagram of a document management system according to a first embodiment. 画像形成装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus. 携帯情報端末のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a portable information terminal. 携帯情報端末の構成を示すブロック図である。It is a block diagram which shows the structure of a portable information terminal. 管理テーブルを示す概念図である。It is a conceptual diagram which shows a management table. 画像形成装置の動作を示すフローチャートである。3 is a flowchart illustrating an operation of the image forming apparatus. 携帯情報端末の操作パネルに表示される電子文書を示す図である。It is a figure which shows the electronic document displayed on the operation panel of a portable information terminal. 印刷プレビュー画像を示す図である。It is a figure which shows a print preview image. 第2実施形態に係る印刷プレビュー画像を示す図である。It is a figure which shows the print preview image which concerns on 2nd Embodiment. 管理テーブルを示す概念図である。It is a conceptual diagram which shows a management table. 印刷プレビュー画像の生成動作を示すフローチャートである。6 is a flowchart illustrating a print preview image generation operation. 印刷プレビュー画像を示す図である。It is a figure which shows a print preview image. 携帯情報端末の操作パネルに表示される電子文書を示す図である。It is a figure which shows the electronic document displayed on the operation panel of a portable information terminal. 携帯情報端末の操作パネルに表示される電子文書を示す図である。It is a figure which shows the electronic document displayed on the operation panel of a portable information terminal. 携帯情報端末の操作パネルに表示される電子文書を示す図である。It is a figure which shows the electronic document displayed on the operation panel of a portable information terminal.

以下、本発明の実施形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<1.第1実施形態>
<1−1.システム構成および印刷プレビュー画像の生成フロー>
図1は、第1実施形態に係る文書管理システム1を示す概略図である。
<1. First Embodiment>
<1-1. System configuration and print preview image generation flow>
FIG. 1 is a schematic diagram showing a document management system 1 according to the first embodiment.

図1に示すように、文書管理システム1は、画像形成装置10と携帯情報端末30とサーバ50とを備える。これらの装置群10,30,50は、それぞれ、ネットワーク(たとえば、LAN(Local Area Network))NWを介して互いに接続されており、データを互いに送受信することが可能である。   As shown in FIG. 1, the document management system 1 includes an image forming apparatus 10, a portable information terminal 30, and a server 50. These device groups 10, 30, and 50 are connected to each other via a network (for example, a LAN (Local Area Network)) NW, and can transmit and receive data to and from each other.

この文書管理システム1は、後に詳しく説明するように、書き込み情報WR1が付加された電子文書ED1(図7参照)の印刷プレビュー画像(PPI(Print Preview Image ))PV1(図8参照)を生成する。   As will be described later in detail, the document management system 1 generates a print preview image (PPI (Print Preview Image)) PV1 (see FIG. 8) of the electronic document ED1 (see FIG. 7) to which the write information WR1 is added. .

以下、印刷プレビュー画像PV1の生成フローについての概要を簡単に説明する。   Hereinafter, an outline of the generation flow of the print preview image PV1 will be briefly described.

まず、携帯情報端末30は、サーバ50から電子文書ED1を取得して操作パネルPNに当該電子文書ED1を表示する。この後、ユーザの手書きによる書き込み情報WR1が書き込まれると、携帯情報端末30は、当該書き込み情報WR1を当該電子文書ED1に重畳して表示する(図7参照)。さらに、書き込み情報WR1が付加された電子文書ED1の表示中に印刷プレビュー画像PV1の生成指示が受け付けられると、携帯情報端末30は、画像形成装置10に対して印刷プレビュー画像PV1の生成要求(以下、単に画像生成要求とも称する)DMを送信する。同時に、携帯情報端末30は、サーバ50から取得した電子文書ED1のデータDT(印刷プレビュー画像PV1の生成に用いられるデータ)をも画像形成装置10に送信する。   First, the portable information terminal 30 acquires the electronic document ED1 from the server 50 and displays the electronic document ED1 on the operation panel PN. Thereafter, when the writing information WR1 written by the user's handwriting is written, the portable information terminal 30 displays the writing information WR1 superimposed on the electronic document ED1 (see FIG. 7). Further, when a print preview image PV1 generation instruction is received during display of the electronic document ED1 to which the write information WR1 is added, the portable information terminal 30 requests the image forming apparatus 10 to generate the print preview image PV1 (hereinafter referred to as “print preview image PV1”). DM, which is also simply referred to as an image generation request). At the same time, the portable information terminal 30 also transmits the data DT (data used for generating the print preview image PV1) of the electronic document ED1 acquired from the server 50 to the image forming apparatus 10.

画像形成装置10は、画像生成要求DMを受信すると、携帯情報端末30から送信されてきた電子文書ED1のデータDT等に基づいて、印刷プレビュー画像PV1(詳細には、その画像データ)を生成する。この後、画像形成装置10は、印刷プレビュー画像PV1を携帯情報端末30へ送信する。なお、この実施形態では、印刷出力および印刷プレビュー表示出力においては、書き込み情報WR1の書き込み時点での表示出力(図7参照)とは異なる出力設定(特に「一行あたりの文字数」)が用いられるものとする。また、後に詳しく説明するように、画像形成装置10は、印刷プレビュー画像PV1を生成する際にサーバ50内の管理テーブルTB1をも利用する。   Upon receiving the image generation request DM, the image forming apparatus 10 generates a print preview image PV1 (specifically, image data thereof) based on the data DT of the electronic document ED1 transmitted from the portable information terminal 30. . Thereafter, the image forming apparatus 10 transmits the print preview image PV1 to the portable information terminal 30. In this embodiment, in the print output and the print preview display output, output settings (particularly “number of characters per line”) different from the display output at the time of writing of the write information WR1 (see FIG. 7) are used. And As will be described in detail later, the image forming apparatus 10 also uses the management table TB1 in the server 50 when generating the print preview image PV1.

携帯情報端末30は、印刷プレビュー画像PV1(詳細には、その画像データ)を受信すると、操作パネルPNに当該印刷プレビュー画像PV1を表示する。   When the portable information terminal 30 receives the print preview image PV1 (specifically, the image data), the portable information terminal 30 displays the print preview image PV1 on the operation panel PN.

<1−2.画像形成装置の構成>
次に、画像形成装置10の構成について説明する。画像形成装置10は、印刷プレビュー画像PV1(図8参照)の生成等を行う装置である。ここでは、画像形成装置10は、MFP(Multi-Functional Peripheral )として構成されているものとする。当該MFPは、スキャナ機能、プリンタ機能、コピー機能およびデータ通信機能などを備える装置(複合機とも称する)である。
<1-2. Configuration of image forming apparatus>
Next, the configuration of the image forming apparatus 10 will be described. The image forming apparatus 10 is an apparatus that generates a print preview image PV1 (see FIG. 8). Here, it is assumed that the image forming apparatus 10 is configured as an MFP (Multi-Functional Peripheral). The MFP is a device (also referred to as a multifunction device) having a scanner function, a printer function, a copy function, a data communication function, and the like.

図2は、画像形成装置10の構成を示す図である。図2に示すように、画像形成装置10は、画像読取部2、印刷出力部3、通信部4、格納部5およびコントローラ9等を備えており、これらの各部を複合的に動作させることによって、各種の機能を実現する。   FIG. 2 is a diagram illustrating a configuration of the image forming apparatus 10. As shown in FIG. 2, the image forming apparatus 10 includes an image reading unit 2, a print output unit 3, a communication unit 4, a storage unit 5, a controller 9, and the like. Realize various functions.

画像読取部2は、画像形成装置10の所定の位置に載置された原稿を光学的に読み取って、当該原稿の画像データ(原稿画像とも称する)を生成する処理部である。   The image reading unit 2 is a processing unit that optically reads a document placed at a predetermined position of the image forming apparatus 10 and generates image data (also referred to as a document image) of the document.

印刷出力部3は、対象画像に関する画像データに基づいて紙などの各種の媒体に画像を印刷出力する出力部である。   The print output unit 3 is an output unit that prints an image on various media such as paper based on image data related to the target image.

通信部4は、ネットワークNWを介したネットワーク通信が可能である。このネットワーク通信では、TCP/IP(Transmission Control Protocol / Internet Protocol)およびFTP(File Transfer Protocol)等の各種のプロトコルが利用され、当該ネットワーク通信を利用することによって、画像形成装置1は、所望の相手先との間で各種のデータを授受することが可能である。   The communication unit 4 can perform network communication via the network NW. In this network communication, various protocols such as TCP / IP (Transmission Control Protocol / Internet Protocol) and FTP (File Transfer Protocol) are used, and by using the network communication, the image forming apparatus 1 is connected to a desired partner. Various data can be exchanged with the destination.

記憶部5は、ハードディスクドライブ(HDD)および不揮発性メモリ等の格納装置で構成される。   The storage unit 5 includes a storage device such as a hard disk drive (HDD) and a nonvolatile memory.

コントローラ9は、画像形成装置10を統括的に制御する制御部であり、CPUと、各種の半導体メモリ(RAMおよびROM等)とを備えて構成される。コントローラ9の制御下において各種の処理部が動作することによって、画像形成装置10の各種の機能が実現される。コントローラ9は、CPUにおいて、ROM(例えば、EEPROM等)内に格納されている所定のソフトウエアプログラム(以下、単にプログラムとも称する)PG1を実行することによって、各種の処理部を実現する。なお、プログラムPG1は、ネットワークを介してダウンロードされてインストールされてもよく、あるいは、読み取り可能な所定の記録媒体(例えばUSBメモリ(ポータブルメモリ)等)によって提供されてもよい。   The controller 9 is a control unit that comprehensively controls the image forming apparatus 10 and includes a CPU and various semiconductor memories (such as a RAM and a ROM). Various functions of the image forming apparatus 10 are realized by operating various processing units under the control of the controller 9. The controller 9 implements various processing units by executing a predetermined software program (hereinafter also simply referred to as a program) PG1 stored in a ROM (for example, EEPROM) in the CPU. The program PG1 may be downloaded and installed via a network, or may be provided by a predetermined readable recording medium (for example, a USB memory (portable memory)).

具体的には、コントローラ9は、電子文書取得部11、書き込み領域抽出部13、文字数調整部15および印刷プレビュー画像生成部17等を含む各種の処理部を実現する。   Specifically, the controller 9 realizes various processing units including an electronic document acquisition unit 11, a writing area extraction unit 13, a character number adjustment unit 15, a print preview image generation unit 17, and the like.

電子文書取得部11は、携帯情報端末30から送信されてきた電子文書ED1を出力対象文書(ここでは、プレビュー表示出力対象文書)として取得する処理部である。   The electronic document acquisition unit 11 is a processing unit that acquires the electronic document ED1 transmitted from the portable information terminal 30 as an output target document (here, a preview display output target document).

書き込み領域抽出部13は、電子文書ED1に対する書き込み情報WR1の書き込み対象領域を含む範囲(矩形範囲)を書き込み領域WA1(図7参照)として電子文書ED1から抽出する処理部である。   The writing area extraction unit 13 is a processing unit that extracts a range (rectangular range) including a writing target area of the writing information WR1 for the electronic document ED1 from the electronic document ED1 as a writing area WA1 (see FIG. 7).

文字数調整部15は、印刷用紙サイズ等の印刷出力設定に応じて、電子文書ED1における各行の文字数を調整する処理部である。   The character number adjusting unit 15 is a processing unit that adjusts the number of characters in each line in the electronic document ED1 in accordance with the print output setting such as the print paper size.

印刷プレビュー画像生成部17は、電子文書ED1の出力用データ(表示出力用データ)として印刷プレビュー画像PV1(詳細には、その画像データ)を生成する処理部である。   The print preview image generation unit 17 is a processing unit that generates a print preview image PV1 (specifically, image data thereof) as output data (display output data) of the electronic document ED1.

<1−3.携帯情報端末の構成>
次に、携帯情報端末30の構成について説明する。携帯情報端末30は、画像形成装置10に対して印刷プレビュー画像PV1の生成要求(画像生成要求)DMを行う端末である。携帯情報端末30は、たとえば、携帯型のパーソナルコンピュータ、パーソナルデータアシスタント端末(PDA装置)、あるいは携帯電話等の各種の装置として構成される。
<1-3. Configuration of portable information terminal>
Next, the configuration of the portable information terminal 30 will be described. The portable information terminal 30 is a terminal that issues a print preview image PV1 generation request (image generation request) DM to the image forming apparatus 10. The portable information terminal 30 is configured as various devices such as a portable personal computer, a personal data assistant terminal (PDA device), or a cellular phone.

図3は、携帯情報端末30のハードウェア構成を示す図である。   FIG. 3 is a diagram illustrating a hardware configuration of the portable information terminal 30.

図3に示すように、携帯情報端末30は、CPU31、記憶部(半導体メモリ(RAM等)およびハードディスクドライブ等)32、通信部33、表示部35、および入力部36を備えて構成される。   As illustrated in FIG. 3, the portable information terminal 30 includes a CPU 31, a storage unit (semiconductor memory (such as a RAM) and a hard disk drive) 32, a communication unit 33, a display unit 35, and an input unit 36.

携帯情報端末30は、表示部35としての機能(表示出力機能)と入力部36としての機能(操作入力機能)とを兼ね備えた操作パネル(液晶タッチスクリーン等)PN(図1参照)を有している。携帯情報端末30は、各種の情報を操作パネルPNに表示してユーザに提供するとともに、操作パネルPNを用いてユーザからの操作入力を受け付けることができる。   The portable information terminal 30 has an operation panel (liquid crystal touch screen or the like) PN (see FIG. 1) having both a function as a display unit 35 (display output function) and a function as an input unit 36 (operation input function). ing. The portable information terminal 30 can display various types of information on the operation panel PN and provide the information to the user, and can accept an operation input from the user using the operation panel PN.

また、携帯情報端末30は、CPU31等を用いてプログラムPG2を実行することによって様々な機能を実現する。ここでは、プログラムPG2は、可搬性の記録媒体(USBメモリ等)に記録されており、当該記憶媒体を介して携帯情報端末30にインストールされる。なお、携帯情報端末30は、各種可搬性の記録媒体(USBメモリ等)を読み取る機能を有している。また、プログラムPG2は、ネットワークを介して携帯情報端末30内にダウンロードされてインストールされるようにしてもよい。   Moreover, the portable information terminal 30 implement | achieves various functions by running program PG2 using CPU31 grade | etc.,. Here, the program PG2 is recorded on a portable recording medium (USB memory or the like), and is installed in the portable information terminal 30 via the storage medium. The portable information terminal 30 has a function of reading various portable recording media (USB memory or the like). The program PG2 may be downloaded and installed in the portable information terminal 30 via a network.

図3は、プログラムPG2の実行により携帯情報端末30において実現される処理部を示す機能ブロック図である。   FIG. 3 is a functional block diagram showing a processing unit realized in the portable information terminal 30 by executing the program PG2.

具体的には、携帯情報端末30は、電子文書取得部41と表示制御部43と入力制御部45とを備える。   Specifically, the portable information terminal 30 includes an electronic document acquisition unit 41, a display control unit 43, and an input control unit 45.

電子文書取得部41は、サーバ50から電子文書ED1を取得する処理部である。具体的には、電子文書取得部41は、ユーザからの操作入力に応じて操作パネルPNに表示する電子文書ED1をサーバ50から取得する。   The electronic document acquisition unit 41 is a processing unit that acquires the electronic document ED1 from the server 50. Specifically, the electronic document acquisition unit 41 acquires from the server 50 the electronic document ED1 to be displayed on the operation panel PN in response to an operation input from the user.

表示制御部43は、操作パネルPNにおける表示内容を制御する処理部である。具体的には、表示制御部43は、電子文書取得部41により取得した電子文書ED1を操作パネルPNに表示する。   The display control unit 43 is a processing unit that controls display contents on the operation panel PN. Specifically, the display control unit 43 displays the electronic document ED1 acquired by the electronic document acquisition unit 41 on the operation panel PN.

入力制御部45は、ユーザからの各種の操作入力を受け付ける処理部である。具体的には、入力制御部45は、電子文書ED1に対する書き込み情報WR1等を受け付ける。   The input control unit 45 is a processing unit that accepts various operation inputs from the user. Specifically, the input control unit 45 receives write information WR1 and the like for the electronic document ED1.

<1−4.サーバの構成>
次に、サーバ50の構成について説明する。サーバ50は、電子文書ED1および当該電子文書ED1に対する書き込み情報WR1等を管理する装置である。サーバ50は、たとえば、CPUおよび半導体メモリ等を有する一般的なコンピュータシステムとして構成される。
<1-4. Server configuration>
Next, the configuration of the server 50 will be described. The server 50 is a device that manages the electronic document ED1 and write information WR1 for the electronic document ED1. The server 50 is configured as a general computer system having, for example, a CPU and a semiconductor memory.

サーバ50は、通信部を備えて構成されており、画像形成装置10および携帯情報端末30との間で互いにデータを送受信することが可能である。   The server 50 is configured to include a communication unit, and can send and receive data to and from the image forming apparatus 10 and the portable information terminal 30.

また、サーバ50は、記憶部を備えて構成されており、電子文書ED1および当該電子文書ED1に対する書き込み情報WR1等を記憶する。このサーバ50の記憶部には、書き込み情報WR1等に関する各種情報(後述)を管理する管理テーブルTB1(図5参照)も記憶されている。ここでは、説明を簡単化するため、サーバ50の記憶部には、1つの電子文書ED1と当該電子文書ED1に対する1つの書き込み情報WR1のみが記憶されている状況を想定する。   The server 50 includes a storage unit, and stores the electronic document ED1, write information WR1 for the electronic document ED1, and the like. The storage unit of the server 50 also stores a management table TB1 (see FIG. 5) that manages various types of information (described later) regarding the write information WR1 and the like. Here, in order to simplify the description, it is assumed that the storage unit of the server 50 stores only one electronic document ED1 and one write information WR1 for the electronic document ED1.

図5に示すように、管理テーブルTB1には、「電子文書ID」、「電子文書名」、「書き込みID」、「ユーザ名」、「書き込み開始位置」、「書き込み終了位置」、「書き込み年月日」、および「一行当たりの文字数」等の各種情報が記録されている。   As shown in FIG. 5, the management table TB1 includes “electronic document ID”, “electronic document name”, “write ID”, “user name”, “write start position”, “write end position”, “write year”. Various information such as “month and day” and “number of characters per line” are recorded.

「電子文書ID」には、電子文書EDに付与される識別番号が記録される。ここでは、「電子文書ID」として、電子文書ED1に付与される識別番号「001」が記録されている。   In the “electronic document ID”, an identification number assigned to the electronic document ED is recorded. Here, the identification number “001” assigned to the electronic document ED1 is recorded as the “electronic document ID”.

「電子文書名」には、電子文書EDのファイル名称が記録される。ここでは、「電子文書名」として、電子文書ED1のファイル名称「aaa」が記録されている。   In “electronic document name”, the file name of the electronic document ED is recorded. Here, the file name “aaa” of the electronic document ED1 is recorded as the “electronic document name”.

「書き込みID」には、電子文書EDに対する書き込み情報WRに付与される識別番号が記録される。ここでは、「書き込みID」として、電子文書ED1に対する書き込み情報WR1に付与される識別番号「0001」が記録されている。   In “Write ID”, an identification number given to the write information WR for the electronic document ED is recorded. Here, the identification number “0001” given to the write information WR1 for the electronic document ED1 is recorded as the “write ID”.

「ユーザ名」には、電子文書EDに対する書き込み情報WRの書き込みを行ったユーザの名前が記録される。ここでは、「ユーザ名」として、電子文書ED1に対する書き込み情報WR1の書き込みを行ったユーザUAの名前「UA」が記録されている。   In “user name”, the name of the user who has written the write information WR to the electronic document ED is recorded. Here, as the “user name”, the name “UA” of the user UA who has written the write information WR1 to the electronic document ED1 is recorded.

「書き込み開始位置」には、電子文書EDを構成する一連の文字列のうち、当該電子文書EDに対する書き込み情報WRの書き込み対象領域における先頭の文字の位置(詳細には、電子文書EDの先頭文字を起点とする文字順位数(電子文書EDの先頭からの文字数))が記録される。ここでは、「書き込み開始位置」として、電子文書ED1に対する書き込み情報WR1の書き込み対象領域における先頭の文字MJ1(図7参照)の位置「95」が記録されている。   In the “writing start position”, the position of the first character in the writing target area of the writing information WR for the electronic document ED in the series of character strings constituting the electronic document ED (specifically, the first character of the electronic document ED) The number of character rankings starting from (number of characters from the beginning of the electronic document ED)) is recorded. Here, as the “write start position”, the position “95” of the first character MJ1 (see FIG. 7) in the write target area of the write information WR1 for the electronic document ED1 is recorded.

「書き込み終了位置」には、電子文書EDを構成する一連の文字列のうち、当該電子文書EDに対する書き込み情報WRの書き込み対象領域における末尾の文字の位置(詳細には、電子文書EDの先頭文字を起点とする文字順位数(電子文書EDの先頭からの文字数))が記録される。ここでは、「書き込み終了位置」として、電子文書ED1に対する書き込み情報WR1の書き込み対象領域における末尾の文字MJ2(図7参照)の位置「98」が記録されている。   In the “writing end position”, the position of the last character in the writing target area of the writing information WR for the electronic document ED in the series of character strings constituting the electronic document ED (specifically, the first character of the electronic document ED) The number of character rankings starting from (number of characters from the beginning of the electronic document ED)) is recorded. Here, the position “98” of the last character MJ2 (see FIG. 7) in the write target area of the write information WR1 for the electronic document ED1 is recorded as the “write end position”.

「書き込み年月日」には、電子文書EDに対する書き込み情報WR1の書き込みが行われた年月日が記録される。ここでは、「書き込み年月日」として、電子文書ED1に対する書き込み情報WR1の書き込みが行われた年月日「20110801」が記録されている。   In “Writing Date”, the date of writing of the writing information WR1 to the electronic document ED is recorded. Here, the date “2011801” when the writing information WR1 was written to the electronic document ED1 is recorded as “writing date”.

「一行当たりの文字数」には、書き込みWRの書き込み時点における一行当たりの文字数が記録される。ここでは、「一行当たりの文字数」として、電子文書ED1に対する書き込みWR1の書き込み時点における一行当たりの文字数「13」が記録されている。   In “number of characters per line”, the number of characters per line at the time of writing of the write WR is recorded. Here, as the “number of characters per line”, the number of characters “13” per line at the time of writing the write WR1 to the electronic document ED1 is recorded.

<1−5.動作>
次に、画像形成装置10の動作について説明する。図6は、画像形成装置10による印刷プレビュー画像PV1の生成動作を示すフローチャートである。
<1-5. Operation>
Next, the operation of the image forming apparatus 10 will be described. FIG. 6 is a flowchart showing an operation of generating the print preview image PV1 by the image forming apparatus 10.

画像形成装置10は、携帯情報端末30から画像生成要求DMを受信したか否かを常時監視している(ステップS10)。   The image forming apparatus 10 constantly monitors whether or not the image generation request DM is received from the portable information terminal 30 (step S10).

画像形成装置10が画像生成要求DMを受信すると(ステップS10でYES)、電子文書取得部11は、画像生成要求DMとともに送信されてきた電子文書ED1のデータDTを取得する(ステップS11)。   When the image forming apparatus 10 receives the image generation request DM (YES in step S10), the electronic document acquisition unit 11 acquires the data DT of the electronic document ED1 transmitted together with the image generation request DM (step S11).

この後、画像形成装置10は、管理テーブルTB1を参照して、電子文書ED1に対して書き込み情報WR1が存在するか否かを判定する(ステップS12)。ここでは、電子文書ED1に対する書き込み情報WR1が存在するので(ステップS12でYES)、処理はステップS14に進む。なお、仮に電子文書ED1に対して書き込み情報WR1が存在しない場合には(ステップS12でNO)、処理はステップS13に進む。そして、文字数調整部15は、印刷出力設定に応じて電子文書ED1の各行の文字数を一律に変更する(ステップS13)換言すれば、文字数変更部15は、電子文書ED1の折り返し位置を一律に変更する。   Thereafter, the image forming apparatus 10 refers to the management table TB1 and determines whether or not the write information WR1 exists for the electronic document ED1 (step S12). Here, since the write information WR1 for the electronic document ED1 exists (YES in step S12), the process proceeds to step S14. If the writing information WR1 does not exist for the electronic document ED1 (NO in step S12), the process proceeds to step S13. Then, the character number adjusting unit 15 uniformly changes the number of characters in each line of the electronic document ED1 according to the print output setting (step S13). In other words, the character number changing unit 15 uniformly changes the folding position of the electronic document ED1. To do.

ステップS14においては、書き込み領域抽出部13は、書き込み情報WR1の書き込み対象領域を含む矩形範囲を書き込み領域WA1として抽出する(図7参照)。なお、図7においては、書き込み情報WR1は、文字を囲む矩形形状図形と当該矩形形状図形の内部から直前の行を指し示す上向き矢印とで構成されている。ただし、これに限定されず、書き込み情報WR1は、その他の種々の図形および/または文字等を備えて構成されてもよい。   In step S14, the writing area extracting unit 13 extracts a rectangular area including the writing target area of the writing information WR1 as the writing area WA1 (see FIG. 7). In FIG. 7, the write information WR1 is composed of a rectangular figure surrounding the character and an upward arrow pointing to the previous line from the inside of the rectangular figure. However, the present invention is not limited to this, and the write information WR1 may be configured to include other various figures and / or characters.

具体的には、書き込み領域抽出部13は、サーバ50内の管理テーブルTB1にアクセスして、書き込み情報WR1の書き込み開始位置と書き込み終了位置とを取得するとともに、一行当たりの文字数を取得する。   Specifically, the write area extraction unit 13 accesses the management table TB1 in the server 50, acquires the write start position and write end position of the write information WR1, and acquires the number of characters per line.

そして、書き込み範囲抽出部13は、書き込み開始位置に対応する文字MJ1を含む行の直前の行を特定するとともに、書き込み終了位置に対応する文字MJ2を含む行の直後の行を特定する。   Then, the writing range extraction unit 13 specifies a line immediately before the line including the character MJ1 corresponding to the writing start position and specifies a line immediately after the line including the character MJ2 corresponding to the writing end position.

詳細には、書き込み範囲抽出部13は、まず、書き込み開始位置および一行当たりの文字数等に基づいて、書き込み情報WR1の書き込み時点における複数の行のうち文字MJ1を含む行の直前の行を特定する。図3に示すように、この実施形態では、書き込み開始位置に「95」が記録され且つ一行当たりの文字数に「13」が記録されていることなどから、文字MJ1は、第1ページの8行目に含まれることが判る。したがって、書き込み範囲抽出部13は、文字MJ1を含む行の直前の行として第1ページの7行目を特定する。   Specifically, the writing range extraction unit 13 first identifies the line immediately before the line including the character MJ1 among the plurality of lines at the time of writing of the writing information WR1, based on the writing start position, the number of characters per line, and the like. . As shown in FIG. 3, in this embodiment, since “95” is recorded at the writing start position and “13” is recorded as the number of characters per line, the character MJ1 is represented by 8 lines on the first page. It can be seen that it is contained in the eyes. Therefore, the writing range extraction unit 13 specifies the seventh line of the first page as the line immediately before the line including the character MJ1.

つぎに、書き込み範囲抽出部13は、書き込み終了位置および一行当たりの文字数等に基づいて、書き込み情報WR1の書き込み時点における複数の行のうち文字MJ2を含む行の直後の行を特定する。図3に示すように、この実施形態では、書き込み開始位置に「98」が記録され且つ一行当たりの文字数に「13」が記録されていることなどから、文字MJ2は、文字MJ1と同様に第1ページの8行目に含まれることが判る。したがって、書き込み範囲抽出部13は、文字MJ2を含む行の直後の行として第1ページの9行目を特定する。   Next, the writing range extraction unit 13 specifies a line immediately after the line including the character MJ2 among the plurality of lines at the time of writing of the writing information WR1, based on the writing end position, the number of characters per line, and the like. As shown in FIG. 3, in this embodiment, since “98” is recorded at the writing start position and “13” is recorded as the number of characters per line, the character MJ2 is the same as the character MJ1. It can be seen that it is included in the eighth line of one page. Therefore, the writing range extraction unit 13 specifies the ninth line of the first page as the line immediately after the line including the character MJ2.

この後、書き込み範囲抽出部13は、書き込み情報WR1の書き込み時点における複数の行のうち文字MJ1を含む行の直前の行である第1ページの7行目から文字MJ2を含む行の直後の行である第1ページの9行目までを包含する領域を書き込み領域WA1として抽出する(図7参照)。   Thereafter, the writing range extraction unit 13 immediately after the line including the character MJ2 from the seventh line of the first page, which is the line immediately before the line including the character MJ1 among the plurality of lines at the time of writing the write information WR1. An area including up to the ninth line of the first page is extracted as a writing area WA1 (see FIG. 7).

なお、文字MJ1は、電子文書ED1を構成する一連の文字列のうち書き込み情報WR1の書き込み対象領域に重複する文字列の先頭の文字である。また、文字MJ2は、電子文書ED1を構成する一連の文字列のうち書き込み情報WR1の書き込み対象領域に重複する文字列の末尾の文字である。   Note that the character MJ1 is the first character of the character string that overlaps the write target area of the write information WR1 in the series of character strings that constitute the electronic document ED1. The character MJ2 is the last character of the character string that overlaps the write target area of the write information WR1 in the series of character strings that constitute the electronic document ED1.

書き込み領域WA1が抽出されると、文字数調整部15は、当該書き込み領域WA1以外の範囲(以下、非書き込み領域NAともいう)(図7および図8参照)における電子文書ED1の一行当たりの文字数を印刷出力設定に応じて調整する(ステップS15)。   When the writing area WA1 is extracted, the character number adjusting unit 15 calculates the number of characters per line of the electronic document ED1 in a range other than the writing area WA1 (hereinafter also referred to as a non-writing area NA) (see FIGS. 7 and 8). Adjustment is made according to the print output setting (step S15).

具体的には、文字数調整部15は、印刷出力設定に応じて非書き込み領域NAにおける電子文書ED1の一行当たりの文字数を変更する。詳細には、文字数調整部15は、非書き込み領域NAにおける一行当たり文字数を書き込み情報WR1の書き込み時点における一行当たりの文字数「13文字」から印刷出力設定に応じた「20文字」(図8参照)に変更する。換言すれば、文字数調整部15は、非書き込み領域NAにおける各行の折り返し位置を印刷出力設定に応じて変更する。   Specifically, the character number adjusting unit 15 changes the number of characters per line in the electronic document ED1 in the non-writing area NA according to the print output setting. Specifically, the character number adjusting unit 15 sets the number of characters per line in the non-writing area NA from “13 characters” per line at the time of writing the write information WR1 to “20 characters” according to the print output setting (see FIG. 8). Change to In other words, the character number adjusting unit 15 changes the wrapping position of each line in the non-writing area NA according to the print output setting.

これに対して、文字数調整部15は、書き込み領域WA1における電子文書ED1の一行当たりの文字数を書き込み情報WR1の書き込み時点における一行当たりの文字数に対して変更しない。詳細には、文字数調整部15は、書き込み情報WR1の書き込み時点における一行当たりの文字数である「13文字」を維持する(図8参照)。換言すれば、文字数調整部15は、書き込み領域WA1における各行の折り返し位置を書き込み情報WR1の書き込み時点における各行の折り返し位置に対して変更しない。   In contrast, the character number adjusting unit 15 does not change the number of characters per line of the electronic document ED1 in the writing area WA1 with respect to the number of characters per line at the time of writing the write information WR1. Specifically, the character number adjusting unit 15 maintains “13 characters”, which is the number of characters per line when the write information WR1 is written (see FIG. 8). In other words, the character number adjusting unit 15 does not change the folding position of each line in the writing area WA1 with respect to the folding position of each line when the writing information WR1 is written.

なお、ここでは、電子文書ED1に対して単一の書き込み情報WR1が存在し、当該書き込み情報WR1のみに対して上記ステップS14の処理が行われる場合を例示している。仮に電子文書ED1に対して複数の書き込み情報WR1,WR2,...が存在する場合には、ステップS14における上記の処理が当該複数の書き込み情報WR1,WR2,...に対してそれぞれ行われ、その後、ステップS15の処理が行われればよい。   Here, a case where a single write information WR1 exists for the electronic document ED1, and the process of step S14 is performed only for the write information WR1 is illustrated. If there are a plurality of pieces of write information WR1, WR2,... For the electronic document ED1, the above-described processing in step S14 is performed on the plurality of pieces of write information WR1, WR2,. Then, the process of step S15 should just be performed.

この後、画像形成装置10は、電子文書ED1に対する第nの書き込み領域WAnを当該電子文書EDの先頭から末尾に向けて検索する(ステップS16)。まず、値nに「1」が設定され、画像形成装置10は、最初(1番目)の書き込み領域WA1を検索する。   Thereafter, the image forming apparatus 10 searches for the nth writing area WAn for the electronic document ED1 from the beginning to the end of the electronic document ED (step S16). First, “1” is set to the value n, and the image forming apparatus 10 searches the first (first) writing area WA1.

1番目の書き込み領域WA1が見つかると(ステップS16でYES)、画像形成装置10は、当該書き込み領域WA1が2ページに及ぶ(ページを跨ぐ)か否かを判定する(ステップS17)。   When the first writing area WA1 is found (YES in step S16), the image forming apparatus 10 determines whether or not the writing area WA1 covers two pages (straddles the page) (step S17).

ここで、書き込み領域WA1が2ページに及ばない(ページを跨がない)と判定されると(ステップS17でNO)、処理はステップS19を経てステップS16に戻る。なお、ステップS19では、値nをインクリメントする処理が行われる。   Here, if it is determined that the writing area WA1 does not reach two pages (no page crossing) (NO in step S17), the process returns to step S16 via step S19. In step S19, a process of incrementing the value n is performed.

一方、書き込み領域WA1が2ページに及ぶ(ページを跨ぐ)と判定されると(ステップS17でYES)、画像形成装置10は、書き込み領域WA1が2ページに及ばないように電子文書ED1のレイアウトを調整する(ステップS18)。具体的には、画像形成装置10は、書き込み領域WA1が2ページのうちの後のページの先頭に位置するように、電子文書ED1のレイアウトを調整する。この後、処理はステップS19を経てステップS16に戻る。   On the other hand, if it is determined that the writing area WA1 covers two pages (strides across pages) (YES in step S17), the image forming apparatus 10 changes the layout of the electronic document ED1 so that the writing area WA1 does not cover two pages. Adjust (step S18). Specifically, the image forming apparatus 10 adjusts the layout of the electronic document ED1 so that the writing area WA1 is positioned at the head of the subsequent page of the two pages. Thereafter, the process returns to step S16 via step S19.

ここでは、書き込み領域WA1は2ページに及ばず(ページを跨がず)、処理はステップS17から直接ステップS19に進み、その後ステップS16に戻る。   Here, the writing area WA1 does not reach two pages (does not cross the page), and the process directly proceeds from step S17 to step S19, and then returns to step S16.

ステップS19を経てステップS16に戻ると、画像形成装置10は、次の(2番目)の書き込み領域WA2を検索する(ステップS16)。   After returning to step S16 via step S19, the image forming apparatus 10 searches for the next (second) writing area WA2 (step S16).

ここでは、書き込み範囲WA1以外の書き込み範囲は存在しないため、2番目以降の書き込み領域WA2等は存在しないと判定され(ステップS16でNO)、処理はステップS20に進む。なお、仮に2番目の書き込み領域WA2が存在すると判定されると(ステップS16でYES)、当該書き込み領域WA2に対して上述したステップS17以降の処理が行われる。   Here, since there is no write range other than the write range WA1, it is determined that the second and subsequent write areas WA2 and the like do not exist (NO in step S16), and the process proceeds to step S20. If it is determined that the second write area WA2 exists (YES in step S16), the process from step S17 described above is performed on the write area WA2.

ステップS20においては、印刷プレビュー画像生成部17は、文字数調整部15による調整後の電子文書EDの書き込み領域WA1に書き込み情報WR1を重畳した画像(印刷プレビュー画像PV1)の画像データを生成する。   In step S20, the print preview image generation unit 17 generates image data of an image (print preview image PV1) in which the writing information WR1 is superimposed on the writing area WA1 of the electronic document ED adjusted by the character number adjustment unit 15.

なお、上述したように、印刷プレビュー画像PV1(詳細には、その画像データ)は、画像形成装置10から携帯情報端末30へと転送される。そして、携帯情報端末30は、印刷プレビュー画像PV1を操作パネルPNに表示出力する。詳細には、携帯情報端末30(表示出力部43)は、印刷プレビュー画像PV1の画像データを用いて操作パネルPNに印刷プレビュー画像PV1(詳細には、そのページ画像)(図8参照)を表示出力する。図8に示すように、印刷プレビュー画像PV1においては、電子文書ED1の第1ページ目のページ画像が表示される。   As described above, the print preview image PV1 (specifically, the image data) is transferred from the image forming apparatus 10 to the portable information terminal 30. Then, the portable information terminal 30 displays and outputs the print preview image PV1 on the operation panel PN. Specifically, the portable information terminal 30 (display output unit 43) displays the print preview image PV1 (specifically, its page image) (see FIG. 8) on the operation panel PN using the image data of the print preview image PV1. Output. As shown in FIG. 8, in the print preview image PV1, the page image of the first page of the electronic document ED1 is displayed.

以上の動作によれば、非書き込み領域NAの一行当たりの文字数が印刷出力設定に応じて変更される一方、書き込み領域WA1の一行当たりの文字数は書き込み情報WR1の書き込み時点における一行当たりの文字数に対して変更されることなく、電子文書ED1における各行の文字数が調整される。そのため、書き込み情報WR1が付加された電子文書ED1の印刷プレビュー画像PV1を生成する場合において、当該電子文書ED1の書き込み領域WA1内の文字と当該書き込み情報WR1(詳細には、文字を囲む矩形状図形等)との両者の相対的な位置関係を崩さずに、当該印刷プレビュー画像PV1を生成することが可能である。端的に言えば、書き込み情報WR1の付近における相対的な位置関係が崩れることを抑制できる。   According to the above operation, the number of characters per line in the non-writing area NA is changed according to the print output setting, while the number of characters per line in the writing area WA1 is relative to the number of characters per line at the time of writing the write information WR1. The number of characters in each line in the electronic document ED1 is adjusted without being changed. Therefore, when the print preview image PV1 of the electronic document ED1 to which the writing information WR1 is added is generated, the characters in the writing area WA1 of the electronic document ED1 and the writing information WR1 (specifically, a rectangular figure surrounding the characters) The print preview image PV1 can be generated without destroying the relative positional relationship between the print preview image PV1 and the like. In short, it is possible to suppress the relative positional relationship in the vicinity of the write information WR1 from being broken.

また、書き込み領域WA1の一行当たりの文字数のみが書き込み情報WR1の書き込み時点における一行当たりの文字数に対して変更されないため、単に電子文書ED1全体の一行当たりの文字数が変更される場合に比べて、印刷プレビュー画像PV1に生じる余白部分を低減することが可能である。特に、当該印刷プレビュー画像PV1に基づいて印刷出力する場合には、印刷用紙を有効に活用することも可能である。   Further, since only the number of characters per line in the writing area WA1 is not changed with respect to the number of characters per line at the time of writing the write information WR1, printing is performed as compared with the case where the number of characters per line of the entire electronic document ED1 is simply changed. It is possible to reduce a margin portion generated in the preview image PV1. In particular, when printing out based on the print preview image PV1, it is possible to effectively use printing paper.

また、書き込み情報WR1の開始位置に対応する文字MJ1を含む行の直前の行から書き込み情報WR1の終了位置に対応する文字MJ2を含む行の直後の行までを包含する範囲が書き込み領域WA1として抽出される(図6のステップS14)。そのため、書き込み情報WR1が当該直前の行および/または当該直後の行との関係を示している場合において、当該関係が判り難くなることを抑制することが可能である。   Further, a range including the line immediately before the line including the character MJ1 corresponding to the start position of the write information WR1 to the line immediately after the line including the character MJ2 corresponding to the end position of the write information WR1 is extracted as the write area WA1. (Step S14 in FIG. 6). Therefore, when the write information WR1 indicates a relationship with the immediately preceding row and / or the immediately following row, it is possible to suppress the relationship from becoming difficult to understand.

仮に、書き込み領域WA1の抽出が、文字MJ1を含む行の直前の行から開始されるのではなく、文字MJ1を含む行から開始される場合(たとえば、文字MJ1を含む行のみが書き込み領域WA1として抽出される場合)を想定する。この場合には、文字MJ1を含む行の直前の行は、非書き込み領域NAに該当し、当該非書き込み領域NAにおける「一行当たりの文字数」が印刷出力設定に従って調整される。そのため、文字MJ1を含む行の直前の行の各文字の行内位置が変更され、書き込み領域WA1内の上向き矢印は、書き込み情報WR1の書き込み時点において本来指し示していた内容(詳細には、上記矩形形状図形の直前の行の特定位置の文字等)とは異なる内容を指し示すことがある、という問題が存在する。   If the extraction of the writing area WA1 is not started from the line immediately before the line including the character MJ1, but is started from the line including the character MJ1 (for example, only the line including the character MJ1 is set as the writing area WA1. Assuming that In this case, the line immediately before the line including the character MJ1 corresponds to the non-writing area NA, and the “number of characters per line” in the non-writing area NA is adjusted according to the print output setting. Therefore, the in-line position of each character in the line immediately before the line including the character MJ1 is changed, and the upward arrow in the write area WA1 indicates the content originally pointed at the time of writing the write information WR1 (in detail, the rectangular shape described above) There is a problem that the content may be different from a character at a specific position in the line immediately before the figure.

これに対して、本実施形態では、上述したように、文字MJ1を含む行の直前の行から文字MJ2を含む行の直後の行までを包含する領域が書き込み領域WA1として抽出されるので、当該直前の行の一行当たりの文字数が変更されない。したがって、書き込み情報WR1に上向き矢印が含まれる場合において、当該上向き矢印は、書き込み情報WR1の書き込み時点において本来指し示していた内容を確実に指し示すことが可能である。   On the other hand, in the present embodiment, as described above, since the area including the line immediately before the line including the character MJ1 to the line immediately after the line including the character MJ2 is extracted as the writing area WA1, The number of characters per line in the previous line is not changed. Therefore, when the write information WR1 includes an upward arrow, the upward arrow can reliably indicate the content originally indicated at the time of writing of the write information WR1.

なお、ここでは、図7に示すように書き込み情報WR1の一部が上向き矢印で構成される場合を例示したが、これに限定されず、図15に示すように書き込み情報WR1の一部が下向き矢印で構成されるようにしてもよい。当該下向き矢印は、たとえば、文字MJ1等を囲む矩形形状図形の内部から、当該矩形形状図形の直後の行を指し示す図形である。上記のような範囲が書き込み領域WA1として抽出されることによれば、このような場合においても、当該直後の行の「一行当たりの文字数」が変更されない。したがって、当該下向き矢印は、書き込み情報WR1の書き込み時点において本来指し示していた内容(詳細には、当該矩形形状図形の直後の行の特定位置の文字等)を確実に指し示すことが可能である。   Here, the case where a part of the write information WR1 is configured with an upward arrow as shown in FIG. 7 is illustrated, but the present invention is not limited to this, and a part of the write information WR1 is downward as shown in FIG. You may make it comprise with an arrow. The downward arrow is, for example, a graphic indicating the line immediately after the rectangular graphic from the inside of the rectangular graphic surrounding the character MJ1 or the like. By extracting such a range as the writing area WA1, even in such a case, the “number of characters per line” of the line immediately after that is not changed. Therefore, the downward arrow can reliably indicate the content originally pointed at the time of writing the write information WR1 (specifically, the character at a specific position in the line immediately after the rectangular figure).

同様に、上向き矢印および下向き矢印の双方が書き込み情報WR1に含まれる場合においても、上記のような範囲が書き込み領域WA1として抽出されることによれば、書き込み情報WR1と当該書き込み情報WR1が指し示す先の文字との対応関係が良好に保持される。   Similarly, even when both the upward arrow and the downward arrow are included in the write information WR1, by extracting the range as described above as the write area WA1, the write information WR1 and the destination indicated by the write information WR1 Correspondence with the characters is well maintained.

このように、上記のような範囲が書き込み領域WA1として抽出されることによれば、書き込み領域WA1内の上向き矢印および/または下向き矢印等が本来指し示していた内容(詳細には、直前の行および/または直後の行等)を確実に指し示すことが可能である。   As described above, when the above range is extracted as the write area WA1, the contents originally indicated by the upward arrow and / or the downward arrow in the write area WA1 (specifically, the previous line and (Or the next line etc.) can be reliably pointed to.

また、上記実施形態においては、書き込み領域WA1が2ページ及ぶ(ページを跨ぐ)と判定されると、当該書き込み領域WA1が当該2ページのうちの後のページの先頭に位置するように、電子文書ED1のレイアウトが調整される(図6のステップS18)。これによれば、書き込み領域WA1における書き込み情報WR1を適切に表示することが可能である。   Further, in the above embodiment, when it is determined that the writing area WA1 extends over two pages (strikes across pages), the electronic document is set so that the writing area WA1 is positioned at the head of the subsequent page of the two pages. The layout of ED1 is adjusted (step S18 in FIG. 6). According to this, it is possible to appropriately display the write information WR1 in the write area WA1.

<2.第2実施形態>
第2実施形態は、第1実施形態の変形例である。以下では、第1実施形態との相違点を中心に説明する。
<2. Second Embodiment>
The second embodiment is a modification of the first embodiment. Below, it demonstrates centering on difference with 1st Embodiment.

この第2実施形態では、書き込み領域WA1の周辺に発生する余白(以下、余白領域SAとも称する)に過去の書き込み情報WR2,WR3に関する書き込みリストLTを表示する印刷プレビュー画像PV2(図9参照)が生成される場合を例示する。   In the second embodiment, a print preview image PV2 (see FIG. 9) that displays a writing list LT related to past writing information WR2 and WR3 in a margin (hereinafter also referred to as a margin area SA) generated around the writing area WA1. The case where it produces | generates is illustrated.

この第2実施形態では、書き込み領域WA1における過去の複数の書き込み情報WR2,WR3に関するリストLTを印刷プレビュー画像PV1(図8参照)の余白領域SAに重畳した画像が印刷プレビュー画像PV2(図9参照)として生成される場合を例示する。   In the second embodiment, an image obtained by superimposing a list LT relating to a plurality of past write information WR2 and WR3 in the write area WA1 on a margin area SA of the print preview image PV1 (see FIG. 8) is a print preview image PV2 (see FIG. 9). ) Is generated as an example.

さらに、この第2実施形態では、印刷プレビュー画像PV2に表示される書き込みリストLTの中からユーザによって過去の書き込み情報WR2が選択されると、新たな画像(以下、履歴閲覧用画像とも称する)PV3が生成され表示される場合を例示する。履歴閲覧用画像PV3は、当該過去の書き込み情報WR2が元の書き込み情報WR1に代えて表示される画像である。   Furthermore, in the second embodiment, when past write information WR2 is selected by the user from the write list LT displayed on the print preview image PV2, a new image (hereinafter also referred to as history browsing image) PV3 is displayed. The case where is generated and displayed is illustrated. The history browsing image PV3 is an image in which the past writing information WR2 is displayed instead of the original writing information WR1.

図10は、この第2実施形態において、サーバ50に記憶される管理テーブルTB2を示す図である。この管理テーブルTB2には、電子文書ED1に対する書き込み情報WR1に関する各種情報に加え、書き込み領域WA1における過去の書き込み情報WR2,WR3等に関する各種情報が記憶されている。具体的には、管理テーブルTB2の一行目には、書き込み情報WR3に関する各種情報が記録されている。また、管理テーブルTB2の二行目には、書き込み情報WR2に関する各種情報が記録されている。さらに、管理テーブルTB2の三行目には、書き込み情報WR1に関する各種情報が記録されている。なお、書き込み情報WR1〜WR3のうち、書き込み情報WR1が最も新しく、書き込み情報WR3が最も古い。   FIG. 10 is a diagram showing a management table TB2 stored in the server 50 in the second embodiment. This management table TB2 stores various information related to past write information WR2, WR3, etc. in the write area WA1, in addition to various information related to the write information WR1 for the electronic document ED1. Specifically, various information related to the write information WR3 is recorded in the first row of the management table TB2. In the second row of the management table TB2, various information related to the write information WR2 is recorded. Further, various information related to the write information WR1 is recorded in the third row of the management table TB2. Of the write information WR1 to WR3, the write information WR1 is the newest and the write information WR3 is the oldest.

以下、この第2実施形態に係る画像形成装置10の動作について説明する。   Hereinafter, the operation of the image forming apparatus 10 according to the second embodiment will be described.

この第2実施形態においては、図6に示すフローチャートのステップS20の処理が上記第1実施形態と相違する。具体的には、この第2実施形態では、ステップS20において、図11に示すフローチャートの処理が実行される。なお、図11は、画像形成装置10が印刷プレビュー画像PV2を生成する処理手順を示すフローチャートである。   In the second embodiment, the process of step S20 in the flowchart shown in FIG. 6 is different from that of the first embodiment. Specifically, in the second embodiment, the process of the flowchart shown in FIG. 11 is executed in step S20. FIG. 11 is a flowchart illustrating a processing procedure in which the image forming apparatus 10 generates the print preview image PV2.

まず、画像形成装置10は、書き込み領域WA1の周辺に基準領域AL(次述)を上回る大きさの余白領域SA(図9参照)が存在するか否かを判定する(ステップS201)。基準領域ALは、書き込みリストLTの表示に必要な最小限の基準領域である。   First, the image forming apparatus 10 determines whether or not there is a blank area SA (see FIG. 9) larger than the reference area AL (described below) around the writing area WA1 (step S201). The reference area AL is a minimum reference area necessary for displaying the writing list LT.

基準領域ALを上回る大きさの余白領域SAが書き込み領域WA1の周辺に存在すると判定されると(ステップS201でYES)、画像形成装置10は、サーバ50内の管理テーブルTB2にアクセスして、当該書き込み領域WA1に対する過去の書き込み情報WR2,WR3に関する情報(詳細には、ユーザ名および書き込み日時)を取得する(ステップS202)。この後、印刷プレビュー画像生成部17は、余白領域SAに書き込みリストLTを重畳した画像を印刷プレビュー画像PV2として生成する(ステップS203)。   If it is determined that a blank area SA larger than the reference area AL exists around the writing area WA1 (YES in step S201), the image forming apparatus 10 accesses the management table TB2 in the server 50, and Information on the past write information WR2 and WR3 for the write area WA1 (specifically, the user name and the write date / time) is acquired (step S202). Thereafter, the print preview image generation unit 17 generates an image in which the writing list LT is superimposed on the margin area SA as the print preview image PV2 (step S203).

なお、書き込みリストLTには、図9に示すように、過去の書き込み情報WR2に対応する項目TM1と過去の書き込み情報WR3に対応する項目TM2とが表示される。項目TM1は、過去の書き込み情報WR2に関するユーザ名(「UA」)と書き込み年月日(「20110308」)とで構成される文字列(「UA 20110308」)である。また、項目TM2は、過去の書き込み情報WR3に関するユーザ名(「UB」)と書き込み年月日(20110205)とで構成される文字列(「UB 20110205」)である。   In the write list LT, as shown in FIG. 9, an item TM1 corresponding to the past write information WR2 and an item TM2 corresponding to the past write information WR3 are displayed. The item TM1 is a character string (“UA 201110308”) composed of the user name (“UA”) and the writing date (“201110308”) regarding the past writing information WR2. The item TM2 is a character string (“UB 201110205”) composed of the user name (“UB”) and the writing date (201110205) regarding the past writing information WR3.

一方、基準領域ALを上回る大きさの余白領域SAが書き込み領域WA1の周辺に存在しないと判定されると(ステップS201でNO)、印刷プレビュー画像生成部17は、上記第1実施形態と同様に、印刷プレビュー画像PV1(図8参照)を生成する(ステップS204)。   On the other hand, if it is determined that no blank area SA larger than the reference area AL exists around the writing area WA1 (NO in step S201), the print preview image generating unit 17 performs the same as in the first embodiment. Then, the print preview image PV1 (see FIG. 8) is generated (step S204).

なお、ここでは、余白領域SAの大きさが基準領域ALの大きさを上回る状況を想定し、ステップS203において、印刷プレビュー画像PV2が生成されるものとする。   Here, assuming that the size of the blank area SA exceeds the size of the reference area AL, it is assumed that the print preview image PV2 is generated in step S203.

以上のように、ステップS20の処理が行われる。   As described above, the process of step S20 is performed.

また、印刷プレビュー画像PV2は、画像形成装置10から携帯情報端末30へと転送され、当該携帯情報端末30の操作パネルPNに表示される。そして、携帯情報端末30は、印刷プレビュー画像PV2内の書き込みリストLTに対するユーザからの操作入力を待機する待機状態WS(不図示)に移行する。   The print preview image PV2 is transferred from the image forming apparatus 10 to the portable information terminal 30 and displayed on the operation panel PN of the portable information terminal 30. Then, the portable information terminal 30 shifts to a standby state WS (not shown) that waits for an operation input from the user with respect to the writing list LT in the print preview image PV2.

さらに、上記待機状態WSにおいて書き込みリストLTの中から過去の書き込み情報WR2に対応する項目TM1(図9参照)が選択されると、携帯情報端末30は、履歴閲覧用画像PV3の生成要求を画像形成装置10に送信する。   Further, when the item TM1 (see FIG. 9) corresponding to the past writing information WR2 is selected from the writing list LT in the standby state WS, the portable information terminal 30 issues a request for generating the history browsing image PV3 as an image. Transmit to the forming apparatus 10.

画像形成装置10は、履歴閲覧用画像PV3の生成要求を受信すると、印刷プレビュー画像PV1で表示される書き込み情報WR1を過去の書き込み情報WR2に代えた画像を履歴閲覧用画像PV3(図12参照)として生成する。   Upon receiving the request for generating the history browsing image PV3, the image forming apparatus 10 replaces the writing information WR1 displayed in the print preview image PV1 with the past writing information WR2 as a history browsing image PV3 (see FIG. 12). Generate as

履歴閲覧用画像PV3は、画像形成装置10から携帯情報端末30へと転送され、当該携帯情報端末30の操作パネルPNに表示される。   The history browsing image PV3 is transferred from the image forming apparatus 10 to the portable information terminal 30 and displayed on the operation panel PN of the portable information terminal 30.

なお、ここでは、書き込みリストLTの中から項目TM1が選択されて、当該項目TM1に対応する過去の書き込み情報WR2を書き込み情報WR1に代えて表示する履歴閲覧用画像PV3が生成される場合を例示したが、これに限定されない。例えば、当該書き込みリストLTの中から項目TM2が選択されて、当該項目TM2に対応する過去の書き込み情報WR3を書き込み情報WR1に代えて表示する履歴閲覧用画像が生成されるようにしてもよい。   Here, the case where the item TM1 is selected from the writing list LT and the history browsing image PV3 for displaying the past writing information WR2 corresponding to the item TM1 instead of the writing information WR1 is generated is illustrated. However, it is not limited to this. For example, the item TM2 may be selected from the writing list LT, and a history browsing image that displays past writing information WR3 corresponding to the item TM2 instead of the writing information WR1 may be generated.

以上の動作によれば、余白領域SAに対して過去の複数の書き込み情報WR2,WR3に関するリストLTが重畳して表示され生成されるので、ユーザは、第1の領域で行われた過去の複数の書き込みを知ることが可能である。   According to the above operation, the list LT related to the past plural pieces of write information WR2 and WR3 is superimposed and displayed on the blank area SA, so that the user can perform the past plural performed in the first area. It is possible to know the writing of.

また、リストLTの中から選択された書き込み情報WR2を書き込み情報WR1に代えて表示する履歴閲覧用画像PV3が生成されるので、ユーザは、書き込み領域WA1に対する過去の書き込み情報WR2をも閲覧することが可能である。   Further, since the history browsing image PV3 for displaying the writing information WR2 selected from the list LT instead of the writing information WR1 is generated, the user also browses the past writing information WR2 for the writing area WA1. Is possible.

<3.変形例等>
以上、この発明の実施の形態について説明したが、この発明は上記説明した内容のものに限定されるものではない。
<3. Modified example>
Although the embodiments of the present invention have been described above, the present invention is not limited to the contents described above.

たとえば、上記各実施形態においては、書き込み開始位置の文字MJ1を含む行の直前の行から書き込み終了位置の文字MJ2を含む行の直後の行までを包含する領域が書き込み領域WA1として抽出される場合を例示したが、これに限定されず、書き込み情報WR1の書き込み対象領域に対応する段落を包含する領域が書き込み領域WA1として抽出されるようにしてもよい(図13参照)。   For example, in each of the above embodiments, a region including the line immediately before the line including the character MJ1 at the write start position to the line immediately after the line including the character MJ2 at the write end position is extracted as the write area WA1. However, the present invention is not limited to this, and an area including a paragraph corresponding to the writing target area of the writing information WR1 may be extracted as the writing area WA1 (see FIG. 13).

また、上記各実施形態においては、電子文書ED1と管理テーブルTB(TB1,TB2)との両者がサーバ50の記憶部に記憶される場合を例示したが、これに限定されず、当該両者のいずれか一方または双方が画像形成装置10の格納部5に記憶されるようにしてもよい。   Moreover, in each said embodiment, although the case where both the electronic document ED1 and management table TB (TB1, TB2) were memorize | stored in the memory | storage part of the server 50 was illustrated, it is not limited to this, Either one or both may be stored in the storage unit 5 of the image forming apparatus 10.

また、上記各実施形態においては、図6のフローチャートの処理の全部を画像形成装置10が行う場合を例示したが、これに限定されず、図6のフローチャートの処理の一部または全部をサーバ50が行うようにしてもよい。   Further, in each of the above embodiments, the case where the image forming apparatus 10 performs all of the processing of the flowchart of FIG. 6 is illustrated, but the present invention is not limited thereto, and part or all of the processing of the flowchart of FIG. May be performed.

また、上記各実施形態では、書き込み時点における一行当たりの文字数(詳細には、13文字)が別の固定値(詳細には、20文字)に変更される場合を例示したが、これに限定されない。例えば、書き込み時点における一行当たりの文字数がフォントの拡大/縮小あるいは余白領域の変更等に応じて変更されるようにしてもよい。このような場合においても、電子文書ED1の書き込みWA1内の文字と当該書き込み情報WR1との両者の相対的な位置関係を崩さずに、当該印刷プレビュー画像PV1を生成することが可能である。   In each of the above embodiments, the case where the number of characters per line (specifically, 13 characters) at the time of writing is changed to another fixed value (specifically, 20 characters) is exemplified, but the present invention is not limited to this. . For example, the number of characters per line at the time of writing may be changed according to enlargement / reduction of the font or change of the blank area. Even in such a case, the print preview image PV1 can be generated without destroying the relative positional relationship between the characters in the writing WA1 of the electronic document ED1 and the writing information WR1.

また、上記各実施形態においては、電子文書ED1の出力用データとして出力用の最終的なデータである印刷プレビュー画像PV(PV1〜PV3)が画像形成装置10から携帯情報端末30に送信される場合を例示したが、これに限定されない。例えば、電子文書ED1の出力用データとして出力用の中間的なデータ(書き込み情報WR1の書き込み開始位置および書き込み終了位置等の数値データを含む中間データ等)が画像形成装置10或いはサーバ50から携帯情報端末30に送信されるようにしてもよい。このような場合においても、携帯情報端末30は、送信されてきた出力用の中間的なデータに基づいて、印刷プレビュー画像PVを操作パネルPNに表示出力することが可能である。   In each of the above embodiments, the print preview image PV (PV1 to PV3), which is final output data, is transmitted from the image forming apparatus 10 to the portable information terminal 30 as output data for the electronic document ED1. However, the present invention is not limited to this. For example, intermediate data for output (intermediate data including numerical data such as a write start position and a write end position of the write information WR1) as output data of the electronic document ED1 is transmitted from the image forming apparatus 10 or the server 50 to the portable information. It may be transmitted to the terminal 30. Even in such a case, the portable information terminal 30 can display and output the print preview image PV on the operation panel PN based on the transmitted intermediate data for output.

また、上記各実施形態では、携帯情報端末30にて電子文書ED1に関する画像が表示出力される場合を例示したが、これに限定されず、画像形成装置10にて当該電子文書ED1に関する画像が印刷出力されるようにしてもよい。このように、「出力」は、「表示出力」に限定されず「印刷出力」であってもよい。また、このような場合においては、電子文書ED1の表示出力用データに代えて印刷出力用データが生成されるようにすればよい。そして、画像形成装置10(印刷出力部3)は、印刷出力用データに基づいて、電子文書ED1に関する画像を印刷出力すればよい。   Further, in each of the above embodiments, the case where an image related to the electronic document ED1 is displayed and output on the portable information terminal 30 is exemplified, but the present invention is not limited to this, and the image forming apparatus 10 prints an image related to the electronic document ED1. It may be output. Thus, “output” is not limited to “display output”, and may be “print output”. In such a case, print output data may be generated instead of the display output data of the electronic document ED1. Then, the image forming apparatus 10 (print output unit 3) may print out an image related to the electronic document ED1 based on the print output data.

また、上記各実施形態においては、電子文書ED1が横書きの文書である場合を例示したが、これに限定されず、電子文書ED1が縦書きの文書である場合にも、上記の思想を適用することが可能である。   Further, in each of the above embodiments, the case where the electronic document ED1 is a horizontally written document has been exemplified. However, the present invention is not limited to this, and the above idea is applied even when the electronic document ED1 is a vertically written document. It is possible.

また、上記各実施形態では、電子文書ED1の各行の行末に改行コードが存在しない場合において、非書き込み領域NA1の一行当たりの文字数が変更される場合を例示したが、これに限定されない。たとえば、図14に示すように、電子文書ED1の各行の行末に改行コードCEが存在する場合において、非書き込み領域NA1の一行当たりの文字数が変更されるようにしてもよい。   In each of the above embodiments, the case where the number of characters per line in the non-writing area NA1 is changed when there is no line feed code at the end of each line of the electronic document ED1 is exemplified, but the present invention is not limited to this. For example, as shown in FIG. 14, when a line feed code CE exists at the end of each line of the electronic document ED1, the number of characters per line in the non-writing area NA1 may be changed.

以下では、このような変形例について説明する。   Below, such a modification is demonstrated.

図6のステップS15において、画像形成装置10は、予め電子文書ED1の各行の行末に改行コードCEが埋め込まれているか否かを判定する。電子文書EDの各行の行末に改行コードCEが埋め込まれていないと判定された場合には、上記各実施形態と同様の処理が行われる。一方、電子文書EDの各行の行末に改行コードCEが埋め込まれていると判定された場合には、次述の処理が行われる。   In step S15 of FIG. 6, the image forming apparatus 10 determines in advance whether or not a line feed code CE is embedded at the end of each line of the electronic document ED1. When it is determined that the line feed code CE is not embedded at the end of each line of the electronic document ED, the same processing as in the above embodiments is performed. On the other hand, when it is determined that the line feed code CE is embedded at the end of each line of the electronic document ED, the following processing is performed.

具体的には、書き込み領域WA1に関しては、文字数調整部15は、各行の行末の改行コードCE10を削除せず、「一行あたりの文字数」を変更することなく維持する。   Specifically, for the writing area WA1, the character number adjusting unit 15 maintains the “number of characters per line” without changing the line feed code CE10 at the end of each line.

一方、非書き込み領域NAに関しては、文字数調整部15は、各行の行末の改行コードの一部(次述)を削除する。詳細には、文字数調整部15は、非書き込み領域NAにおける各行の行末の改行コードのうち、各文の末尾に存在する改行コード(句点および/またはピリオドに続く改行コード)CE22以外の改行コードCE21を削除する。すなわち、各行の行末位置(折り返し位置)に便宜的に挿入されていた改行コードCE21を削除し、文末の(本来の)改行コードCE22を削除せずに残す。その後、文字数調整部15は、「一行あたりの文字数」を出力設定(印刷出力設定等)に応じて変更する。   On the other hand, for the non-writing area NA, the character number adjusting unit 15 deletes a part of the line feed code (described below) at the end of each line. Specifically, the character number adjusting unit 15 includes a line feed code CE21 other than the line feed code (line feed code following a period and / or period) CE22 existing at the end of each sentence among the line feed codes at the end of each line in the non-writing area NA. Is deleted. That is, the line feed code CE21 inserted for convenience is deleted at each line end position (folding position), and the (original) line feed code CE22 at the end of the sentence is left without being deleted. Thereafter, the character number adjusting unit 15 changes the “number of characters per line” according to the output setting (print output setting or the like).

これによれば、当該改行コードCEの影響を受けることなく、非書き込み領域NAの一行当たりの文字数を適切に調整することが可能である。   According to this, it is possible to appropriately adjust the number of characters per line in the non-writing area NA without being affected by the line feed code CE.

AL 基準領域
CE(CE10,CE21,CE22) 改行コード
DM 生成要求
LT リスト
MJ1,MJ2 文字
NA 非書き込み領域
PV1,PV2,PV3 印刷プレビュー画像
SA 余白領域
TB1,TB2 管理テーブル
WA1,WA2 書き込み領域
WS 待機状態
AL reference area CE (CE10, CE21, CE22) line feed code DM generation request LT list MJ1, MJ2 characters NA non-writing area PV1, PV2, PV3 print preview image SA margin area TB1, TB2 management table WA1, WA2 writing area WS standby state

Claims (9)

文書管理システムであって、
書き込み情報が付加された電子文書を出力対象文書として取得する取得手段と、
前記書き込み情報の書き込み対象領域を含む範囲を第1の領域として前記電子文書から抽出する抽出手段と、
前記電子文書の出力設定に応じて前記電子文書における各行の文字数を調整する調整手段と、
前記調整手段による調整後の前記電子文書の出力用データを生成する生成手段と、
を備え、
前記調整手段は、前記第1の領域以外の領域である第2の領域の一行当たりの文字数を前記電子文書の出力設定に応じて変更する一方、前記第1の領域の一行当たりの文字数を前記書き込み情報の書き込み時点における一行当たりの文字数に対して変更することなく、前記電子文書における各行の文字数を調整することを特徴とする文書管理システム。
A document management system,
An acquisition means for acquiring an electronic document to which writing information is added as an output target document;
Extracting means for extracting from the electronic document a range including a writing target area of the writing information as a first area;
Adjusting means for adjusting the number of characters in each line in the electronic document according to the output setting of the electronic document;
Generating means for generating data for output of the electronic document after adjustment by the adjusting means;
With
The adjusting means changes the number of characters per line of the second area, which is an area other than the first area, according to the output setting of the electronic document, while changing the number of characters per line of the first area. A document management system, wherein the number of characters in each line in the electronic document is adjusted without changing the number of characters per line at the time of writing of the writing information.
請求項1に記載の文書管理システムであって、
前記抽出手段は、前記書き込み時点における前記電子文書の複数の行のうち第1の行から第2の行までを包含する領域を前記第1の領域として抽出し、
前記第1の行は、前記電子文書を構成する一連の文字列のうち前記書き込み対象領域における先頭の文字を含む行の直前の行であり、
前記第2の行は、前記電子文書を構成する一連の文字列のうち前記書き込み対象領域における末尾の文字を含む行の直後の行であることを特徴とする文書管理システム。
The document management system according to claim 1,
The extraction unit extracts, as the first area, an area including a first line to a second line among a plurality of lines of the electronic document at the time of writing,
The first line is a line immediately before a line including a first character in the writing target area in a series of character strings constituting the electronic document,
The document management system according to claim 2, wherein the second line is a line immediately after a line including a last character in the writing target area in a series of character strings constituting the electronic document.
請求項1に記載の文書管理システムであって、
前記抽出手段は、前記書き込み対象領域に対応する段落を包含する領域を前記第1の領域として抽出することを特徴とする文書管理システム。
The document management system according to claim 1,
The extraction unit extracts a region including a paragraph corresponding to the writing target region as the first region.
請求項1に記載の文書管理システムであって、
前記調整手段による調整後の前記電子文書のページ画像を出力する出力手段、
をさらに備え、
前記出力手段は、前記第1の領域における過去の複数の書き込み情報に関するリストを前記ページ画像内の余白領域に重畳して出力することを特徴とする文書管理システム。
The document management system according to claim 1,
Output means for outputting a page image of the electronic document after adjustment by the adjustment means;
Further comprising
The document management system, wherein the output unit superimposes a list of a plurality of past writing information in the first area on a blank area in the page image.
請求項4に記載の文書管理システムにおいて、
前記書き込み情報は、第1の書き込み情報であり、
前記出力手段は、前記リストの中から選択される一の書き込み情報である第2の書き込み情報を前記第1の書き込み情報に代えて前記第1の領域に重畳して出力することを特徴とする文書管理システム。
The document management system according to claim 4,
The write information is first write information,
The output means outputs second write information, which is one piece of write information selected from the list, superimposed on the first area instead of the first write information. Document management system.
請求項1に記載の文書管理システムにおいて、
前記調整手段は、前記電子文書の各行の行末に改行コードが存在する場合には、前記第1の領域においては各行の行末に存在する改行コードを削除せず、前記第2の領域においては各行の行末に存在する改行コードのうち、各文の末尾に存在する改行コード以外の改行コードを削除することを特徴とする文書管理システム。
The document management system according to claim 1,
When the line feed code exists at the end of each line of the electronic document, the adjusting means does not delete the line feed code existing at the end of each line in the first area, and each line in the second area. A document management system for deleting a line feed code other than the line feed code existing at the end of each sentence from the line feed code existing at the end of each line.
請求項6に記載の文書管理システムにおいて、
前記各文の末尾に存在する改行コードは、句点および/またはピリオドに続く改行コードであることを特徴とする文書管理システム。
The document management system according to claim 6,
A document management system, wherein a line feed code existing at the end of each sentence is a line feed code following a period and / or a period.
a)書き込み情報が付加された電子文書を出力対象文書として取得するステップと、
b)前記書き込み情報の書き込み対象領域を含む範囲を第1の領域として前記電子文書から抽出するステップと、
c)前記第1の領域以外の領域である第2の領域の一行当たりの文字数を前記電子文書の出力設定に応じて変更する一方、前記第1の領域の一行当たりの文字数を前記書き込み情報の書き込み時点における一行当たりの文字数に対して変更することなく、前記電子文書における各行の文字数を調整するステップと、
d)前記調整手段によって調整された前記電子文書の出力用データを生成するステップと、
をコンピュータに実行させるためのプログラム。
a) obtaining an electronic document to which writing information is added as an output target document;
b) extracting a range including a writing target area of the writing information from the electronic document as a first area;
c) While changing the number of characters per line of the second area, which is an area other than the first area, according to the output setting of the electronic document, the number of characters per line of the first area is changed Adjusting the number of characters in each line in the electronic document without changing the number of characters per line at the time of writing;
d) generating output data of the electronic document adjusted by the adjusting means;
A program that causes a computer to execute.
画像形成装置であって、
書き込み情報が付加された電子文書を出力対象文書として取得する取得手段と、
前記書き込み情報の書き込み対象領域を含む範囲を第1の領域として前記電子文書から抽出する抽出手段と、
前記電子文書の出力設定に応じて前記電子文書における各行の文字数を調整する調整手段と、
前記調整手段による調整後の前記電子文書の出力用データを生成する生成手段と、
を備え、
前記調整手段は、前記第1の領域以外の領域である第2の領域の一行当たりの文字数を前記電子文書の出力設定に応じて変更する一方、前記第1の領域の一行当たりの文字数を前記書き込み情報の書き込み時点における一行当たりの文字数に対して変更することなく、前記電子文書における各行の文字数を調整することを特徴とする画像形成装置。
An image forming apparatus,
An acquisition means for acquiring an electronic document to which writing information is added as an output target document;
Extracting means for extracting from the electronic document a range including a writing target area of the writing information as a first area;
Adjusting means for adjusting the number of characters in each line in the electronic document according to the output setting of the electronic document;
Generating means for generating data for output of the electronic document after adjustment by the adjusting means;
With
The adjusting means changes the number of characters per line of the second area, which is an area other than the first area, according to the output setting of the electronic document, while changing the number of characters per line of the first area. An image forming apparatus, wherein the number of characters in each line in the electronic document is adjusted without changing the number of characters per line at the time of writing the writing information.
JP2011185419A 2011-08-29 2011-08-29 Document management system, image forming apparatus, and program Expired - Fee Related JP5742590B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011185419A JP5742590B2 (en) 2011-08-29 2011-08-29 Document management system, image forming apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011185419A JP5742590B2 (en) 2011-08-29 2011-08-29 Document management system, image forming apparatus, and program

Publications (2)

Publication Number Publication Date
JP2013047861A true JP2013047861A (en) 2013-03-07
JP5742590B2 JP5742590B2 (en) 2015-07-01

Family

ID=48010827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011185419A Expired - Fee Related JP5742590B2 (en) 2011-08-29 2011-08-29 Document management system, image forming apparatus, and program

Country Status (1)

Country Link
JP (1) JP5742590B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08320863A (en) * 1995-05-25 1996-12-03 Hitachi Electron Service Co Ltd Information processor
JPH10124494A (en) * 1996-10-25 1998-05-15 Toshiba Corp Information processor and comment addition method
JPH10207887A (en) * 1997-01-08 1998-08-07 Kano Densan Hongkong Yugenkoshi Method and device for displaying electronic mail
JP2006285896A (en) * 2005-04-05 2006-10-19 Sharp Corp Device and method for displaying electronic document, and computer program
JP2007159081A (en) * 2005-11-11 2007-06-21 Ricoh Co Ltd Image display system and data processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08320863A (en) * 1995-05-25 1996-12-03 Hitachi Electron Service Co Ltd Information processor
JPH10124494A (en) * 1996-10-25 1998-05-15 Toshiba Corp Information processor and comment addition method
JPH10207887A (en) * 1997-01-08 1998-08-07 Kano Densan Hongkong Yugenkoshi Method and device for displaying electronic mail
JP2006285896A (en) * 2005-04-05 2006-10-19 Sharp Corp Device and method for displaying electronic document, and computer program
JP2007159081A (en) * 2005-11-11 2007-06-21 Ricoh Co Ltd Image display system and data processing method

Also Published As

Publication number Publication date
JP5742590B2 (en) 2015-07-01

Similar Documents

Publication Publication Date Title
US8493579B2 (en) Wireless printing from a device outside the network
US20070101262A1 (en) Data transformation from content data for viewing content in network environment into data for printing the same on consecutive pages
JP2008077171A (en) Data distribution device, data display device, data distribution method, data display method, data distribution program, data display program and recording medium with the same program recorded thereon
US20170070623A1 (en) Document generation system, document server, document generation method, and computer program
JP5742590B2 (en) Document management system, image forming apparatus, and program
JP2007122615A (en) Information processing system, printer, content access system, program for information processing system, program for printer, and program for content access system
JP2007011515A (en) Print system, control method of print system and program
JP2009105897A (en) Data management apparatus and data management method
JP2009070169A (en) Image-forming system, information-processing device, web page print-supporting method, and web page print-supportting program
JP2015158729A (en) Information providing device and information providing program
JP2007011514A (en) Print system, control method of print system and program
US9286531B2 (en) Log-image extracting apparatus for high security
JP2015064652A (en) Management system, image forming apparatus, and terminal device
JP6256138B2 (en) Information processing apparatus, information processing method, and information processing program
JP2014123794A (en) Data generating program and data generating device
JP7304019B2 (en) DATA OUTPUT COMPUTER, DATA OUTPUT SYSTEM, DATA OUTPUT METHOD AND PROGRAM
JP2010220046A (en) Device and sytem for document management, method and program for print control, and recording medium with the program recorded therein
JP5712612B2 (en) Electronic document conversion apparatus and electronic document conversion method
JP5494561B2 (en) Information processing apparatus, image forming apparatus, program, and information processing method
JP2009075771A (en) Print instruction device, printing device, printing system, program, and printing medium
JP2008176451A (en) Electronic document providing device, terminal equipment, electronic document providing method, electronic document display control method, electronic document providing program, and electronic document display control program
JP4594813B2 (en) Printing system, printing request apparatus control method, program, and printing request apparatus
JP2015091096A (en) Print controller, control method of print controller, and program
JP6657576B2 (en) Output control program, output control method and output control device
JP2012143994A (en) Image forming apparatus

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20130418

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140618

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150113

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: 20150407

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150420

R150 Certificate of patent or registration of utility model

Ref document number: 5742590

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees