Patent ID: 8156088
Filing Date: 2012-04-10
Classification: G06F,H03M

Abstract:
1. A document encoding apparatus for encoding a structured document, comprising: a detection unit configured to detect attribute values in the structured document; an acquisition unit configured to acquire digit counts after a decimal point of the attribute values detected by said detection unit; a transformation unit configured to transform the attribute values detected by said detection unit into value character strings that represent integer values by manipulating decimal point positions of the attribute values in accordance with a maximum digit count of the digit counts acquired by said acquisition unit; a determination unit configured to determine whether or not each of the integer values represented by the value character strings falls within an integer range in which a k-byte integer expresses values, wherein the number of bytes of an encoding result obtained by encoding a value in a predetermined format is more than the k-byte integer; a first encoding unit configured to encode, according to an integer encoding method, the value character strings which represent the values falling within the integer range and the maximum digit count; and a second encoding unit configured to encode, in the predetermined format, the attribute values as a transformation source of the value character strings which represent the values falling outside the integer range.