Patent ID: 7970802

Claim:
A document data processing method, comprising: dividing document data into plural divided document data, the plural divided document data comprising at least first divided document data and second divided document data; creating a first encoding table representing a first corresponding relation between a first description of the first divided document data and a first code, and a second encoding table representing a second corresponding relation between a second description of the second divided document data and a second code; encoding the first divided document data into first encoded document data by replacing the first description with the first code based on the first encoding table, and the second divided document data into second encoded document data by replacing the second description with the second code based on the second encoding table; sending, to an external apparatus, the first encoded document data with the first encoding table; sending, to the external apparatus, the second encoded document data with the second encoding table after the first encoded document data with the first encoding table is sent, wherein the external apparatus decodes the first encoded document data according to the first encoding table stored in a memory of the external apparatus, and thereafter, the external apparatus decodes the second encoded document data according to the second encoding table which has replaced the first encoding table in the memory; obtaining a division unit of the document data, wherein dividing includes dividing the document data into the plural divided document data according to the obtained division unit, wherein the document data is data described in a structured description language, and obtaining includes obtaining a structure unit in the document data as the division unit of the document data; detecting, when the first encoding table is received by the external apparatus, an effective scope of the received first encoding table; and discarding the received first encoding table after the first divided document data belonging to the effective scope of the received first encoding table is decoded.