INFORMATION PROCESSING APPARATUS AND METHOD OF CONTROLLING THE SAME
First Claim
1. An information processing apparatus comprising:
- a storage unit configured to store a character string displayed on a UI;
a selection unit configured to, in a case that a request for the character string stored in the storage unit is received, select a compatible format or incompatible format in which the character string is to be output;
a first conversion unit configured to, in a case that the selection unit selects the compatible format, insert space around a character string separated with a line feed code, to generate an output character string where the number of characters of the character string is adjusted to a number of displayable characters;
a second conversion unit configured to, in a case that the selection unit selects the incompatible format, convert the line feed code to a particular character string so as to generate an output character string; and
an output unit configured to output the output character string generated by the first or second conversion unit.
1 Assignment
0 Petitions
Accused Products
Abstract
An information processing apparatus for displaying a character string on a UI and a method of controlling the apparatus. When a request for a character string to be displayed on the UI is received, a compatible format or incompatible format in which the character string is to be output is selected. When the compatible format is selected, space is inserted around a character string partitioned with a discriminated line feed code, and an output character string in which the number of characters of the character string is adjusted to the number of displayable characters is generated. When the incompatible format is selected, an output character string in which a line feed code is converted to a particular character string is generated. The generated output character string is output.
-
Citations
5 Claims
-
1. An information processing apparatus comprising:
-
a storage unit configured to store a character string displayed on a UI; a selection unit configured to, in a case that a request for the character string stored in the storage unit is received, select a compatible format or incompatible format in which the character string is to be output; a first conversion unit configured to, in a case that the selection unit selects the compatible format, insert space around a character string separated with a line feed code, to generate an output character string where the number of characters of the character string is adjusted to a number of displayable characters; a second conversion unit configured to, in a case that the selection unit selects the incompatible format, convert the line feed code to a particular character string so as to generate an output character string; and an output unit configured to output the output character string generated by the first or second conversion unit. - View Dependent Claims (2)
-
-
3. An information processing apparatus comprising:
-
an input unit configured to input a character string to be displayed on a UI; a display unit configured to display the character string input by the input unit on the UI; a conversion unit configured to convert a particular character string, included in the character string input by the input unit, to a line feed code, so as to generate character string data; a segmentation unit configured to, in a case that the character string input by the input unit does not include the particular character string, segment the input character string into a plurality of character strings in correspondence with the number of characters displayable in one line on the UI; a generation unit configured to, in a case that any one of the plurality of character strings segmented by the segmentation unit include space around the character string, delete the space to generate character string data in which a line feed code is inserted at the end of the character string; and a control unit configured to control the display unit to produce a display on the UI based on the character string data converted by the conversion unit or the character string data generated by the generation unit.
-
-
4. A method of controlling an information processing apparatus to display a character string on a UI, the method comprising:
-
storing a character string displayed on a UI; in a case that a request for the stored character string is received, selecting a compatible format or incompatible format in which the character string is to be output; in a case that the compatible format is selected in the selecting step, inserting space around a character string separated with a line feed code, to generate an output character string where the number of characters of the character string is adjusted to a number of displayable characters; in a case that the incompatible format is selected in the selecting step, converting the line feed code to a particular character string so as to generate an output character string; and outputting the generated output character string.
-
-
5. A method of controlling an information processing apparatus to display a character string on a UI, the method comprising:
-
inputting a character string to be displayed on a UI; displaying the input character string on the UI; converting a particular character string, included in the input character string, to a line feed code so as to generate character string data; in a case that the input character string does not include the particular character string, segmenting the input character string into a plurality of character strings in correspondence with the number of characters displayable in one line on said UI; in a case that any one of the plurality of character strings segmented in the segmenting step includes space around the character string, deleting the space so as to generate character string data in which a line feed code is inserted at the end of the character string; and controlling the displaying step to produce a display on the UI based on the character string data converted in the converting step or the generated character string data.
-
Specification