The present application claims priority to and incorporates by reference the entire contents of Japanese Patent Application No. 2013-049572 filed in Japan on Mar. 12, 2013.
1. Field of the Invention
The present invention relates to a document processing apparatus, a document processing method, and a document processing computer program product.
2. Description of the Related Art
A technique that automatically names a document using an automatically generated character string, such as a date and a serial number, is generally known as an automatic document naming method implemented when scanned document image data is saved. Another known naming technique is to name a document by combining the automatically generated character string, such as the date or the serial number, with a fixed character string specified in advance by a user. The document name consisting of the character string automatically generated from the date or the serial number, however, cannot represent contents of the document and it is difficult to know the contents of the document unless the document image data is actually viewed. In addition, the technique that uses the fixed character string for naming the document requires a step of inputting the fixed character string in advance. To scan a document consisting of a large number of documents, therefore, the fixed character string needs to be input each time a document is scanned, and this operation is troublesome.
To solve the foregoing problems, known techniques employ optical character recognition (OCR) to extract character information from the document image data and then extract a title from the character information (see, for example, Japanese Laid-open Patent Publication No. 2007-122403, Japanese Laid-open Patent Publication No. 2008-077454, and Japanese Laid-open Patent Publication No. 2002-297629), thereby enabling assignment of a document name that represents contents of the document.
If a character code system used by a device that names a document is different from that of a device for displaying the document name, what is called “character corruption” occurs when the document name is displayed, resulting in a situation in which the document name is not displayed correctly. When the character corruption occurs in the document name, a clue to know the contents of the document cannot be obtained, which reduces usability for the user when displaying.
To prevent the character corruption of the document name from occurring, the device for naming needs to know the character code system of the device for displaying. However, it is very often difficult to identify the device for displaying, for example, when the document image data is saved in a portable recording medium and used in another device. If the device for displaying is identifiable in advance, the device for naming can cope with the problem by specifying the character code used in naming the document. This approach, however, requires operation to specify the character code each time a document is scanned, which reduces usability of the device for naming.
In view of the foregoing situation, there is a need to provide a document processing apparatus, a document processing method, and a document processing computer program product that can prevent character corruption of a document name and improve usability for the user.
It is an object of the present invention to at least partially solve the problems in the conventional technology.
A document processing apparatus performs image processing on document image data to thereby extract character information and assign a document name using the character information. The document processing apparatus includes: an acquiring unit that acquires a character code of characters displayable on a display unit; a determination unit that determines a document name character string that serves as a basis for the document name, from the character information; and a shaping unit that shapes the determined document name character string based on the acquired character code.
A document processing method performs image processing on document image data to thereby extract character information and assign a document name using the character information. The document processing method includes: acquiring a character code of characters displayable on a display unit; determining a document name character string that serves as a basis for the document name, from the character information; and shaping the determined document name character string based on the acquired character code.
A computer program product includes a non-transitory computer-usable medium having computer-readable program codes embodied in the medium. The program codes when executed cause a computer that performs image processing on document image data to thereby extract character information and assign a document name using the character information to function as: an acquiring unit that acquires a character code of characters displayable on a display unit; a determination unit that determines a document name character string that serves as a basis for the document name, from the character information; and a shaping unit that shapes the determined document name character string based on the acquired character code.
The above and other objects, features, advantages and technical and industrial significance of this invention will be better understood by reading the following detailed description of presently preferred embodiments of the invention, when considered in connection with the accompanying drawings.
The following describes a document processing apparatus, a document processing method, and a document processing program according to an embodiment of the present invention with reference to the accompanying drawings. The embodiment is not intended to limit the present invention. In the drawings, like or corresponding parts are identified by the same reference numerals.
The document feeding unit 11 comprises, for example, an automatic document feeder and conveys a document bundle placed on a document table not illustrated, one page at a time in sequence, onto the document scanning unit 13. The document scanning unit 13 comprises, for example, a light source and a CCD image sensor. The document scanning unit 13 optically scans each document page conveyed from the document feeding unit 11 to thereby generate image data of a document image of each page (character image data). The generated document image data of each page is output to an OCR section 3 and a document storage section 6 of the document processing unit 2.
The operation display unit 15 comprises, for example, a display panel integrated with a touch panel. The operation display unit 15 is used for inputting operations required for naming a document, displaying document bundle data stored in the document storage section 6 together with a corresponding document name as will be described later, and/or the like. The communicating unit 17 transmits and receives data to and from an external device (a computer system) via a communication line such as a LAN, the Internet, a telephone network, a dedicated network, and an intranet. In the embodiment, the document bundle data is transmitted to the external device via the communicating unit 17 through, for example, mail transmission or folder transmission.
The document processing unit 2 comprises, as its main functional sections, the OCR section 3, a title character string generating section 4, a document naming section 5, and the document storage section 6. The document processing unit 2 performs processing of automatically naming a document (automatic document naming processing) based on the document image data input thereto by the document feeding unit 11 and the document scanning unit 13.
The OCR section 3 performs image processing on each page of the document image data input from the document scanning unit 13 and thereby extracts text data (character information) from the document image data (OCR processing).
The OCR processing analyzes features of the image data to determine likelihood of a character and convert the image data to a character code. The OCR processing yields, as an OCR processing result, accompanying data that includes the position of each character within the image, character size, character recognition score, and language information (grammatical information, such as the part of speech of a word that includes the characters in question and the position of the characters in question within the word), in addition to text data of the corresponding page. The acquired OCR processing result is output to the title character string generating section 4.
The title character string generating section 4 extracts a representative character string (hereinafter referred to as a “title character string”) that represents contents of each page from among the text data of the corresponding page based on the OCR processing result of the page. The extracted title character string is output to the document naming section 5.
The technique to extract the title character string is not specified and can be achieved by appropriately using any well-known technique. For example, generally, a title or a headword is positioned at an upper portion of a page for a document in a horizontal writing format and at the right end portion of a page for a document in a vertical writing format. One possible technique to extract the title character string based on the foregoing point may, for example, extract the title character string by determining the likelihood that a character string is a title or a heading, the character string being positioned at the upper portion of the page within the image of the page in the horizontal writing format and at the right end portion of the page within the image of the page in the vertical writing format. Another possible technique to extract the title character string may, based on a point that the title or the heading generally has a large character size, extract the title character string by determining the likelihood that a character string is a title or a heading, the character string having the largest character size in the page. In addition, a title character string that includes a meaningful word is often more useful than a title character string consisting of meaningless characters. Therefore, a technique that grammatically analyzes text data of the OCR processing result and extracts a character string that deviates less from grammatical rules may be used. Still another possible technique is to combine the foregoing extraction techniques and comprehensively evaluate a plurality of elements, such as the position within the image and the grammatical analysis result, thereby generating a character string that directly represents the contents of the corresponding page as the title character string.
The document naming section 5 creates a character string to be used as the name of the document bundle data (document name) based on the title character string of each page. The created document name is output to the document storage section 6.
The document storage section 6 uses the document name input thereto from the document naming section 5 and stores therein the document image data input thereto from the document scanning unit 13 in units of a document bundle, that is, the document image data of the pages constituting the document bundle is stored as one file (document bundle data).
The following describes outlined steps for naming a document, performed by the document feeding unit 11 and the document scanning unit 13 scanning the document bundle and the document processing unit 2 performing the automatic document naming processing concurrently therewith in the document processing apparatus 1 with reference to
As illustrated in
Next, the OCR section 3 in the document processing unit 2 performs OCR processing on the document image data generated at step S20 to thereby extract text data (step S30).
The title character string generating section 4 performs title extracting processing to generate a title character string based on an OCR processing result at step S30 (step S40). The title character string generating section 4 appropriately uses the above-described extraction technique to extract a plurality of candidates for the title character string. The title character string generating section 4 then evaluates, for each of the extracted candidates for the title character string, appropriateness for a character string to represent contents of a corresponding page and ranks the candidates. Title candidate information is thereafter created by associating each title character string candidate with its evaluation ranking and then appended to the OCR processing result.
When the title extracting processing is completed, step S10 is performed again. If all document pages on the document table have been scanned and there are no more document pages to be scanned (No at step S10), step S50 is performed. At this time, a plurality of candidates for the title character string have been extracted for each of the document pages constituting the document bundle.
At step S50, the document naming section 5 performs document naming processing and creates a document name based on the title candidate information of the OCR processing result. The document naming processing will be described in detail later. Briefly, for example, among the candidates for the title character string extracted from the document image data of the first page of the document bundle at step S40, the title character string candidate that ranks first in the evaluation ranking is selected as the document name character string to serve as a basis for the document name.
Thereafter, the document storage section 6 performs document storing processing to store therein the document image data of each page together with the OCR processing result as document bundle data using the document name created at step S50 (step S60). At this time, the document name created at step S50 is used as the file name for the document bundle data.
It is here noted that the document processing unit 2 creates the document name from the text data acquired as the OCR processing result as described above. This means that the character code of the document name is the character code of the OCR processing result. This involves a problem of discrepancy between the character code of the document name (the character code of the OCR processing result) and a character code displayable by a computer system in which the document name is displayed, for example. Specifically, if the character code of the document name differs from the character code displayable by the computer system, what is called “character corruption” may occur in the document name, so that the document name is displayed as a meaningless symbol string unintelligible to the human. The character corruption not only results in that a clue to know the contents of the document cannot be obtained, but also considerably reduces usability because the displayed meaningless symbol string looks absurd.
Assume, for example, that a computer system capable of displaying only European languages displays a document name having the Japanese SJIS code set as its character code. The characters each represented in two bytes are displayed as meaningless one-byte symbol strings.
As another example, a computer system capable of displaying the SJIS code displays “t hone” for a Spanish word “te'le'phone” (e': e with an acute accent). This is due to the following reason: specifically, “e' (0xE9)” is the first byte followed by “1 (0x6C)” or “p (0x70)” as the second byte, which causes “e'l (0xE9 0x6C)” and “e'p (0xE9 0x70)” to coincide with kanji characters “” and “”, respectively.
In this way, the document name may not be displayed correctly, if the character code of the document name differs from the character code displayable on a device, such as a computer system, on which the document name is to be displayed. This phenomenon occurs not only when the document name is displayed on the document processing apparatus 1 that performs the automatic document naming processing, but also when the document bundle data is used for browsing, editing, and other tasks while displaying the document name in a device different from the document processing apparatus 1.
The document bundle data stored in the document storage section 6 of the document processing apparatus 1 may be used in another device in the following two representative cases: specifically, (1) mail transmission is performed in which the document bundle data is attached to an e-mail message as an attached file and sent to another device; and (2) folder transmission is performed in which the document bundle data is written in a storage device of another device using, for example, the SMB protocol.
When it is assumed that the document bundle data is transmitted to and used by another device as represented by the above-described cases (1) and (2), the character code displayable on the device at the destination needs to be taken into consideration. If the device at the destination is fixed or otherwise known, the character code displayable on the device in question is set in advance. If the device at the destination can display Japanese, the SJIS code, for example, can be used. Alternatively, if the device at the destination can display French, the Latin-1 character code, for example, can be used.
In contrast, if the device at the destination can be any type of device and is unknown, it is difficult to know in advance the character code displayable on the device at the destination. A solution to such a case is to establish a rule for determining the character code displayable on the device at the destination in advance or use printable ASCII code characters that do not cause character corruption.
Problems, however, do exist that are unavoidable even with these solutions. One exemplary trouble occurs when the document is named using the Japanese character code. For example, MS-DOS (a registered trademark) uses the SJIS code by default and, with the SJIS code, “¥” may be used in the second byte. More specifically, that corresponds to a kanji character “” and a katakana “”. In contrast, Windows (a registered trademark) uses “¥”, for example, to delimit a path and “¥” can thus be erroneously recognized. Specifically, a file path (a folder name or a file name), if containing a “” or “” character, is erroneously delimited at the corresponding position. As a result, the file path is interpreted as a sub-directory that does not exist and transmission may fail due to the illegal document name.
When the device that names the document determines the character code displayable on the device at the destination, it is effective in many uses to consider that the displayable character code is the same as the character code used in the device for naming, because the user of the device for naming is highly likely to be the user of the device at the destination. A good case in point is that, for example, the document bundle data acquired by the document processing apparatus 1 is used in an environment of the own computer. In this case, it is highly likely that the character code used in the document processing apparatus 1, specifically, the character code favorable for the user is set as a display character code of the operation display unit 15 in the document processing apparatus 1 (hereinafter referred to as the “display character code” as appropriate) and the same character code is highly likely to be set in the own computer environment.
In business uses of the document processing apparatus 1, even if the user of the device for naming differs from that of the device at the destination, it is highly likely that the users of the both will belong to the same department of a company. A good case in point is that, for example, the document bundle data acquired by the document processing apparatus 1 is used in an environment of a co-worker's computer. In this case, it is highly likely that the display character code of the operation display unit 15 is set to be favorable for all employees who belong to the corresponding department and the same character code is set in the environment of computers of all employees of the department.
Thus, in the embodiment, the display character code of the operation display unit 15 is taken into consideration when the rule for determining the character code is established. A user's preference should be reflected in the display character code of the operation display unit 15. For example, if the setting of the operation display unit 15 is Japanese (the display character code is, for example, the SJIS code), it is considered that the user prefers Japanese notation of the document name. Thus, as will be described later, user-friendliness can be greatly improved by automatically determining to authorize the display character code of the operation display unit 15 as the character code to be used for naming the document.
It is noted that the exemplary operation screens illustrated in
The following describes a configuration for automatically determining the character code used in naming the document.
The title candidate input part 51 receives from the title character string generating section 4 an input of the OCR processing result to which the title candidate information is appended. The received OCR processing result is output to the document name character string determining part 53.
The document name character string determining part 53 selects one candidate from among the title character string candidates based on the title candidate information appended to the OCR processing result received from the title candidate input part 51, thereby determining the document name character string that serves as a basis for the document name. The determined document name character string is output to an operating unit character code-compliant document name generating portion 553 of the character string shaping part 55.
The character string shaping part 55 includes an operating unit character code acquiring portion 551 as an acquiring unit, a file name prohibition imposing portion 555, and the operating unit character code-compliant document name generating portion 553. The character string shaping part 55 shapes the document name character string input thereto from the document name character string determining part 53.
The operating unit character code acquiring portion 551 acquires the type of the character code set as the display character code of the operation display unit 15 (display character code type). The acquired display character code type is output to the operating unit character code-compliant document name generating portion 553.
The operating unit character code-compliant document name generating portion 553 imposes, based on the display character code type input thereto from the operating unit character code acquiring portion 551, a restriction (hereinafter referred to as a “character code restriction”) on the document name character string input thereto from the document name character string determining part 53 and generates a new document name character string. The generated document name character string is output to the file name prohibition imposing portion 555.
One of the following three character code restrictions is imposed. The first and second character code restrictions correspond to a method for establishing a rule for determining the above-described character code. The third character code restriction corresponds to a method for using the printable ASCII code.
Specifically, the first character code restriction authorizes the display character code of the operation display unit 15 as a naming character code and deletes characters other than the authorized naming character code, that is, the display character code. The second character code restriction, while authorizing the display character code of the operation display unit 15 as with the first character code restriction, converts characters convertible to the authorized display character code and deletes those inconvertible. The third character code restriction authorizes the printable ASCII code as the naming character code, converting characters convertible to the authorized naming character code, that is, the printable ASCII code and deleting those inconvertible.
Each of the character code restrictions will be described below using an example in which the notation in the operation display unit 15 is the English notation and the display character code type is the ASCII code. It is here assumed that the document name character string input from the document name character string determining part 53 is the following Japanese character string (a) or (b) in the double-byte SJIS code.
Q&A (Q&A concerning this matter) . . . (a)
1776 7 4 (Jul. 4, 1776 American Declaration of Independence) . . . (b)
Imposing the first character code restriction deletes the characters other than the ASCII code being the display character code type, so that the operating unit character code-compliant document name generating portion 553 deletes all characters, in the both cases of (a) and (b). The operating unit character code-compliant document name generating portion 553, if deleting all characters as described above, automatically generates a character string such as the date or the serial number, using the related-art naming technique to thereby create a new document name character string. If part or all of the characters is left, the operating unit character code-compliant document name generating portion 553 sets the part or all of the characters to be the new document name character string.
Imposing the second character code restriction leaves only those characters that have been converted to the ASCII code being the display character code type. Thus, for the document name character string (a), the operating unit character code-compliant document name generating portion 553 converts “Q&A” left as the characters convertible to the ASCII code (single-byte) and then generates the following (a1) as the new document name character string. For the document name character string (b), the operating unit character code-compliant document name generating portion 553 converts “177674” left as the characters convertible to the ASCII code (single-byte) and then generates the following (b1) as the new document name character string.
Q&A . . . (a1)
177674 . . . (b1)
The third character code restriction will be described below. The ASCII code provided a basis for an ISO standard, 7-bit character code ISO/IEC646. After the 8-bit character code ISO/IEC8859 has thereafter become mainstream, many of encoding systems for various types of characters used all over the world assign other characters to code values of 128 and onward that are not used in the ASCII code. The printable ASCII code characters used in the third character code restriction constitute a character set of the ASCII code excluding control codes. Specifically, the printable ASCII characters comprise a null character being ASCII 32 (a decimal number) and single-byte alphanumeric characters, punctuation marks, and symbols being ASCII 33 (a decimal number) to 126 (a decimal number). As such, the printable ASCII code is the most basic character set among all character codes used in the world. Thus, many computer systems can display the printable ASCII code character string.
The third character code restriction may preferably be adopted when the document bundle data is assumed to be used by a plurality of computer systems. The third character code restriction may still be adopted as appropriate even when the document bundle data is assumed to be used by a single computer system. This is because of the following reason: that is, the character code displayable by a computer system does not necessarily match the character code of the text data included in the document bundle data stored in the computer system. Thus, there can be a mismatch between the character code displayable by the computer system and the character code of the document name character string being one of the title character string candidates extracted from the text data included in the document bundle data.
For example, a computer system, even if being capable of displaying English only, can understandably store therein document bundle data having contents in Japanese (described in Japanese). If the contents of the document is in Japanese, however, the document is named in Japanese as is, resulting in character corruption of the document name occurring when the document is later used. Naming the document in the printable ASCII code in such a case can prevent the document name from being corrupted and does not reduce the usability. When a document bundle described in any language using an accent mark, such as German umlaut, in particular, is handled, the document name can be prevented from being corrupted in a computer system that does not support the display of the accent mark.
To impose the third character code restriction that authorizes the printable ASCII code, the operating unit character code-compliant document name generating portion 553 converts, from the document name character string of (a), “Q&A” left as being convertible to the printable ASCII code (single-byte), thereby generating the following (a2) as a new document name character string. In addition, the operating unit character code-compliant document name generating portion 553 converts, from the document name character string of (b), “177674” left as being convertible to the printable ASCII code (single-byte), thereby generating the following (b2) as a new document name character string.
Q&A . . . (a2)
177674 . . . (b2)
By imposing the above-described character code restrictions, part of the document name character strings of (a) and (b) determined by the document name character string determining part 53 is deleted as in (a1), (a2) and (b1), (b2), and thus effect of allowing the contents of the document to be identified is reduced. Still, unlike the related-art naming technique that automatically names a document without regard to its contents using, for example, the date and the serial number, the imposition of the character code restrictions enables a document name that reflects the contents of the document to be given to the document.
The file name prohibition imposing portion 555 imposes a restriction unique to the computer system (hereinafter referred to as a “file name restriction”) on the document name character string input thereto from the operating unit character code-compliant document name generating portion 553 to thereby shape the document name character string such that a prohibition is not violated when the document name character string is handled as a file name in the computer system. The shaped document name character string is output to the document name character string outputting part 57.
The file name restriction limits types and the number of characters used in the document name character string. Specifically, computer systems have characters that cannot be used therein as a file name. In Windows (a registered trademark), for example, the single-byte characters of “¥”, “/”, “:”, “*”, “?”, “″”, “<”, “>”, and “|”, which are specified for use in other specific purposes, are prohibited from being used in file names. In addition, there is an upper limit set for the length (number of characters) of the file name. Thus, the document name used as the file name cannot violate the foregoing prohibition. The file name prohibition imposing portion 555 thus replaces prohibited characters that are prohibited from being used for the file name as described above with other non-prohibited characters. If the number of characters in the document name character string exceeds the upper limit of the file name, the file name prohibition imposing portion 555 adjusts the number of characters by cutting out excess characters, e.g., the number of excess characters counting from a trailing end of the document name character string. The imposition of the file name restriction as described above allows the document name character string to be shaped into one appropriate for the file name.
The document name character string outputting part 57 outputs the document name character string input thereto from the file name prohibition imposing portion 555 to the document storage section 6.
An operation input by the user is accepted via the operation display unit 15 and the transmission conditions for the document bundle data are set (step S1). The transmission conditions include document scanning conditions in addition to, for example, the transmission device, an address of the destination, and the number of copies to be transmitted. The document scanning conditions include resolution, a scanning mode type, and/or a scanning size. Additionally, a display character code setting of the operation display unit 15 is referred to acquire and record the display character code type (step S2). The process at step S10 is thereafter performed.
When all the process from step S20 to step S40 are performed for each of all document pages on the document table, the document naming section 5 performs the document naming processing (step S50).
Next, the document name character string determining part 53 determines the document name character string based on the title candidate information of the OCR processing result (step S52). The process at step S52 is performed by the document name character string determining part 53 selecting, for example, from among the title character string candidates of the document image data on the first page, the title character string candidate that ranks first in the evaluation ranking as the document name character string to serve as a basis for the document name.
The operating unit character code acquiring portion 551 acquires the display character code type recorded at step S2 of
The file name prohibition imposing portion 555 imposes the file name restriction on the document name character string generated at step S54 (step S55). Thereafter, the document name character string outputting part 57 outputs as a document name the document name character string on which the file name restriction is imposed, to the document storage section 6 (step S56). The operation is then returned to step S50 of
At step S60, the document storage section 6 performs document storing processing. Thereafter, the document processing unit 2 functions as a transmitting unit that performs a step of transmitting the document bundle data stored at step S60 (the document bundle data having the document name named at step S50 as its file name) to the external device via the communicating unit 17 according to the transmission conditions set at step S1 (step S70).
As described heretofore, in the embodiment, the document name character string that serves as a basis for the document name is determined from among the title character string candidates extracted from the document image data. The character code restriction is then imposed on the document name character string and the file name restriction is further imposed thereon to thereby shape the document name character string. A document name is thus created. This allows the document name character string to be automatically shaped by limiting the character code to be used for naming the document to, for example, only the character code set as the display character code of the operation display unit 15. The document name can thus be prevented from being corrupted when displayed, without causing the number of operations required for the user to perform in naming the document to increase. In addition, the document is named so as to be most favorable for the user. The user can thus identify the contents of the document bundle data using the document name and select the necessary document bundle data easily by referring to the document name. The embodiment therefore prevents the document name from being corrupted and considerably improves the usability for the user.
The display character code of the operation display unit 15 can be changed as appropriate by the user. Specifically, the document processing unit 2 functions as a changing unit to accept a setting change operation and changes the display character code set for the operation display unit 15 according to the setting change operation. After the display character code is changed in the foregoing manner, the new display character code after the change is set for the naming character code. This enables the following. Specifically, assume, for example, a case in which the display character code set for the operation display unit 15 is Japanese and the notation of the operation screen is the Japanese notation. Even with these settings, to scan a document bundle described in any language other than Japanese, e.g., English or French, the display character code set for the operation display unit 15 can be changed to the corresponding language to thereby allow the document to be named in the new language.
The embodiment has described a case in which the document bundle data is transmitted from the document processing apparatus 1 to the external device. Nonetheless, the document bundle data may be used in the document processing apparatus. In such a case, too, authorizing the display character code of the operation display unit 15 prevents the document name from being corrupted.
The embodiment has described a case in which the document name is given by scanning a document bundle (consisting of a plurality of document pages). The embodiment can still be applied to naming a document by scanning a single document page.
In the embodiment described above, one of the title character string candidates extracted from the text data contained in the document bundle data is determined as the document name character string and the determined document name character string is shaped to set the shaped document name character string as the document name. In contrast, a document name may include the shaped document name character string as part thereof. For example, a document name may be a combination of the shaped document name character string and the character string automatically generated through the related-art naming technique using the date, the serial number, or the like.
The embodiment describes the character code restrictions that authorize the display character code of the operation display unit 15 as the naming character code. There may, however, be not a few cases in which a need exists for authorizing any character code other than the display character code of the operation display unit 15. For example, when document bundle data needs to be transmitted from the document processing apparatus 1 to the outside of the company (to a foreign country, in particular), the display character code of the operation display unit 15 (e.g., Japanese) may be very often different from the character code displayable on the device at the destination (e.g., English). To prevent the file name from being corrupted in the device at the destination even in such a case, a system needs a mechanism that changes the naming character code to be authorized as appropriate.
Here, to transmit document bundle data to an external device, the address of the destination is set as the transmission conditions. The following arrangement may be made, if the naming character code to be authorized needs to be changed as appropriate: specifically, a character code restriction that authorizes the character code used in describing the destination addresses, instead of the display character code of the operation display unit 15, may be imposed.
In this case, the operating unit character code acquiring portion 551 performs a step of acquiring the type of the character code (destination address character code) used in describing the destination address information set as the destination address at step S1 of
In this modified example, if information on a destination address A11 described as “”, for example, is selected, the corresponding document is named in Japanese (the character code is, for example, the SJIS code). If information on a destination address A13 described as “Suzuki” is selected, the corresponding document is named in English (the character code is, for example, the ASCII code).
The modified example allows the naming character code to be changed according to the selected destination address information. This eliminates the need for performing a troublesome operation of manually changing the character codes each time the destination address information is selected, so that the naming character code can be easily and properly changed. Thus, the user does not need to perform an operation of specifying the naming character code, apart from the selection of the destination address information. The user can specify the character code to be used for naming the document at the same time that he or she selects the destination address information. Because the selection of the destination address information is a necessary step to be performed, the foregoing does not increase burden on the user.
It is here noted that the character code to be used in describing each address of the destination address information may be arranged to be changed as appropriate by the user. In this case, the document processing unit 2 functions as a changing unit to accept a destination address notation change operation that specifies the destination address information and changes the character code to describe the corresponding destination address information according to the destination address notation change operation. The character code used for describing the destination address information is thus changed. When that particular destination address information is thereafter selected, the character code after the change is authorized as the naming character code.
The document processing apparatus 1 according to the embodiment described heretofore can also be achieved by causing a general-purpose computer, such as a personal computer or a workstation, connected to, for example, a scanner or a multifunction peripheral for scanning document bundle data to execute a previously prepared computer program (document processing program).
A document processing program to be executed by the computer is provided by being recorded on a computer-readable recording medium in a file in an installable format or an executable format. Nonlimiting examples of the recording medium include a CD-ROM, a flexible disk (FD), a CD-R, and a digital versatile disk (DVD). It is noted that the document processing program may also be configured so as to be stored in a computer connected to a communication line, such as the Internet, and to be downloaded via the communication line. The document processing program may still be configured so as to be provided or distributed over the communication line such as the Internet. The document processing program may even be configured so as to be provided by being incorporated in advance in the memory 72.
The document processing program has a modular configuration including each of the elements that constitute the document processing unit 2 illustrated in
Additionally, the document processing apparatus 1 according to the embodiment may be achieved as a system comprising a plurality of apparatuses.
The embodiment has been described for a case in which the character code to be used for naming the document is automatically determined according to the display character code of the operation display unit 15. In contrast, if the document processing apparatus is achieved with, for example, a computer that includes an operating unit, such as the keyboard 74, and the display device 75 as a display unit separately from each other as in the hardware configuration illustrated in
The embodiment achieves an effect of preventing character corruption of the document name and improving usability for the user.
Although the invention has been described with respect to specific embodiments for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art that fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2013-049572 | Mar 2013 | JP | national |