摘要:
A method and apparatus for improving user experience when reading a BiDi document is provided. The method comprises the steps of: receiving the range of a specific text content the reading direction of which needs to be indicated in the BiDi document; determining the reading direction of the specific text content; and displaying a direction flag for the specific text content to indicate the reading direction of the specific text content. The method and apparatus enable a user to know the correct reading direction of a specific text content in a BiDi document conveniently and intuitively, thus improving user experience when the user reads the BiDi document, and avoiding possible misunderstanding and consequences.
摘要:
A method and apparatus for resorting a sequence of sorted strings, wherein the sequence of sorted strings is obtained by sorting a plurality of strings based on a first character collation standard and the resorting is based on a second character collation standard. A method in accordance with an embodiment of the invention includes: comparing the first character collation standard with the second character collation standard to obtain a change of the character collation standard; and resorting the sequence of sorted strings based on the change of the character collation standard. The method of the present invention takes the change of the character collation standard and its affection to the sequence of sorted strings into consideration, and can resort the sequence of sorted strings quickly and thus save time for resorting.
摘要:
A method and apparatus for resorting a sequence of sorted strings, wherein the sequence of sorted strings is obtained by sorting a plurality of strings based on a first character collation standard and the resorting is based on a second character collation standard. A method in accordance with an embodiment of the invention includes: comparing the first character collation standard with the second character collation standard to obtain a change of the character collation standard; and resorting the sequence of sorted strings based on the change of the character collation standard. The method of the present invention takes the change of the character collation standard and its affection to the sequence of sorted strings into consideration, and can resort the sequence of sorted strings quickly and thus save time for resorting.
摘要:
The present invention provides a method and system for text processing. The method comprises determining at least a part of characters in a text; dividing the text into a plurality of text segments by using the at least a part of characters as separators; and decoding the plurality of text segments respectively.
摘要:
Provided are a method and device for controlling scrolling of a document, the document has a marked section and is scrolling-displayed within a display area, and the method comprises detecting whether the document is scrolled to the marked section, and restricting the scrolling of the document when the document is scrolled to the marked section. The method and device can control the scrolling of the document according to contents of the document, so that the contents cannot be neglected due to quick scrolling of the document.