A facsimile apparatus and the method of processing a document using it