1. An apparatus for optimizing the description of contents in a layout document, the apparatus comprising a processor configured to: parse the content of an original layout document to obtain text graphic unit data; identify text properties of each character of the text graphic unit data; classify characters of the text graphic unit data according to the text properties, and save characters with the same text properties to the same text node along with the same text properties; save, with respect to characters saved in each text node, characters on the same line or column, the coordinates of an initial character on the same line or column, average character spacing of the same line or column to a text content node to obtain optimized contents in the layout document, wherein the text content node is a text content node under the text node and corresponding to the same line or column.
1. An apparatus for optimizing the description of contents in a layout document, the apparatus comprising a processor configured to: parse the content of an original layout document to obtain text graphic unit data; identify text properties of each character of the text graphic unit data; classify characters of the text graphic unit data according to the text properties, and save characters with the same text properties to the same text node along with the same text properties; save, with respect to characters saved in each text node, characters on the same line or column, the coordinates of an initial character on the same line or column, average character spacing of the same line or column to a text content node to obtain optimized contents in the layout document, wherein the text content node is a text content node under the text node and corresponding to the same line or column. 2. The apparatus of claim 1 wherein the processor is further configured to: determined whether a present character has the same text properties as an adjacent character with respect to characters on each line or column of the text graphic unit data, wherein when the determination result is Yes, the present character is saved into a text node corresponding to the adjacent character.