1. An image processing apparatus in which embedded information in input document data is detected and an image processing is carried out in accordance with a result of detection of the embedded information, the image processing apparatus comprising: a CPU; and a non-transitory storage medium tangibly embodying a program of instructions executable by the CPU to configure the CPU to include: a document input mechanism configured to receive input document data including image data, the document input mechanism comprising a fixed portion consisting of an extraction of common control portions for plural input document types including scanned document, stored/read document, received document from an arbitrary input source and media document specialized for a particular client, wherein the document input mechanism inherits from the fixed portion, and is developed such that the document input mechanism inheriting from the fixed portion is dynamically added; an embedded information analysis mechanism connected to the document input mechanism via a first interface, and configured to analyze embedded information in the received input document data, to determine an analysis result; a behavior determination mechanism connected to the embedded information analysis mechanism via a second interface, and configured to determine a behavior rule based on the analysis result and output behavior rule information; a document output mechanism connected to the behavior determination mechanism via a third interface, and configured to determine, based on the behavior rule information received from the behavior determination mechanism, a processing to be applied to the input document data; and an image management mechanism connected to the document output mechanism via a fourth interface and to the document input mechanism via a fifth interface to receive the input document data, and configured to manage the input document data in accordance with instruction received from the document output mechanism, wherein the document output mechanism determines the instruction to output to the image management mechanism based on the processing to be applied to the input document data; wherein two of the first through fifth interfaces associated with any one of the mechanisms, including the document input mechanism, embedded information analysis mechanism, behavior determination mechanism, document output mechanism and image management mechanism, are fixed and are not changed even when said one of the mechanisms connected to the two interfaces is replaced by a substitute mechanism.
1. An image processing apparatus in which embedded information in input document data is detected and an image processing is carried out in accordance with a result of detection of the embedded information, the image processing apparatus comprising: a CPU; and a non-transitory storage medium tangibly embodying a program of instructions executable by the CPU to configure the CPU to include: a document input mechanism configured to receive input document data including image data, the document input mechanism comprising a fixed portion consisting of an extraction of common control portions for plural input document types including scanned document, stored/read document, received document from an arbitrary input source and media document specialized for a particular client, wherein the document input mechanism inherits from the fixed portion, and is developed such that the document input mechanism inheriting from the fixed portion is dynamically added; an embedded information analysis mechanism connected to the document input mechanism via a first interface, and configured to analyze embedded information in the received input document data, to determine an analysis result; a behavior determination mechanism connected to the embedded information analysis mechanism via a second interface, and configured to determine a behavior rule based on the analysis result and output behavior rule information; a document output mechanism connected to the behavior determination mechanism via a third interface, and configured to determine, based on the behavior rule information received from the behavior determination mechanism, a processing to be applied to the input document data; and an image management mechanism connected to the document output mechanism via a fourth interface and to the document input mechanism via a fifth interface to receive the input document data, and configured to manage the input document data in accordance with instruction received from the document output mechanism, wherein the document output mechanism determines the instruction to output to the image management mechanism based on the processing to be applied to the input document data; wherein two of the first through fifth interfaces associated with any one of the mechanisms, including the document input mechanism, embedded information analysis mechanism, behavior determination mechanism, document output mechanism and image management mechanism, are fixed and are not changed even when said one of the mechanisms connected to the two interfaces is replaced by a substitute mechanism. 5. The image processing apparatus according to claim 1 , wherein the third and fourth interfaces are fixed, and when the document output mechanism is replaced with another document output mechanism that conforms to the third and fourth interfaces, the other mechanisms, including the document input mechanism, embedded information analysis mechanism, behavior determination mechanism and image management mechanism, are not affected.