The present disclosure relates to a method and an apparatus for controlling an input in an electronic device. More particularly to, the present disclosure relates to a method and an apparatus for processing a memo.
Portable terminals such as a smart phone and a tablet PC are continually diversifying their functions and improving conveniences in use. The portable terminal may be equipped with an electronic pen, and various input functions can be performed by using the electronic pen while executing, for example, a memo application.
editing a memo in the portable terminal is performed by inputting text in a fixed line. The method displays a memo editing screen in a display unit and uses the electronic pen in the screen while executing the memo application. In this case, an inconvenience is generated in editing a memo with the electronic pen because the size of memo line is small. In order to solve this inconvenience, the memo can be edited by enlarging the size of memo line; however another inconvenience is then generated because the amount of text editable in a page decreases. As described above, the related art method for editing a memo is performed in a state of a fixed narrow line, and thereby the shape of characters does not appear even. If the memo is edited by enlarging the size of the memo line, inconveniences are generated because larger contents of picture or text cannot be input in a page, and a new page must be added.
The above information is presented as background information only to assist with an understanding of the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the present disclosure.
Aspects of the present disclosure are to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the present disclosure is to provide a method and an apparatus for automatically adjusting a line spacing by analyzing a size of a memo input trace if a memo input is detected while executing a memo application.
Another aspect of the present disclosure is to provide a method and an apparatus for adjusting a line spacing according to a memo input trace in a memo execution screen and processing the memo by moving the memo input trace to a default location of a memo line.
In accordance with an aspect of the present disclosure, a method for processing a memo in a portable terminal is provided. The method includes displaying a memo screen, detecting a memo input in the memo screen, processing the memo input to generate an image, adjusting a line spacing of the memo screen according to the image, and adjusting the image to a default line spacing.
In accordance with another aspect of the present disclosure, an apparatus for processing a memo in a portable terminal is provided. The apparatus includes a display panel configured to display a memo execution screen, a touch panel configured to detect a memo input, and a control unit configured to process to generate an image according to the memo input if the memo input is detected, to adjust a line spacing according to the image, and to adjust the image to a default line spacing.
The present disclosure can provide a method and an apparatus for automatically adjusting a line spacing by analyzing a size of a memo input trace if a memo input is detected while executing a memo application.
The present disclosure can provide a method and an apparatus for adjusting a line spacing according to a memo input trace in a memo execution screen and processing the memo by moving the memo input trace to a default location of a memo line.
Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the present disclosure.
The above and other aspects, features, and advantages of certain embodiments of the present disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
Throughout the drawings, it should be noted that like reference numbers are used to depict the same or similar elements, features, and structures.
The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of various embodiments of the present disclosure as defined by the claims and their equivalents. It includes various specific details to assist in that understanding but these are to be regarded as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the various embodiments described herein can be made without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and constructions may be omitted for clarity and conciseness.
The terms and words used in the following description and claims are not limited to the bibliographical meanings, but, are merely used by the inventor to enable a clear and consistent understanding of the present disclosure. Accordingly, it should be apparent to those skilled in the art that the following description of various embodiments of the present disclosure is provided for illustration purpose only and not for the purpose of limiting the present disclosure as defined by the appended claims and their equivalents.
It is to be understood that the singular forms “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to “a component surface” includes reference to one or more of such surfaces.
For the same reasons, some components in the accompanying drawings are emphasized, omitted, or schematically illustrated, and the depicted size of each component does not necessarily reflect the actual size. Therefore, the present disclosure is not limited to the relative sizes and distances illustrated in the accompanying drawings.
A method for inputting a memo includes a text mode, pen mode, formula mode, and figure mode. In the present disclosure, the method for inputting a memo is assumed to be the pen mode. Namely, the pen mode is assumed to be used for inputting a memo in a memo execution screen.
Referring to
The wireless communication unit 110 performs a voice communication or a data communication with an external device through a network under the control of the control unit 140. Further, the wireless communication unit 110 may include (not shown) a Radio Frequency (RF) transmitter for up-converting and amplifying the frequency of a transmitting signal, and an RF receiver for low-noise amplifying and down-converting the frequency of a received signal. The wireless communication unit 110 may include a mobile communication module (for example, Code Division Multiple Access (CDMA), Long Term Evolution (LTE), and Wideband CDMA (W-CDMA)), a digital broadcasting module (for example, Digital Multimedia Broadcasting (DMB) module), and a local area network communication module (for example, a WiFi module, BLUETOOTH module, and Near Field Communication (NFC) module).
The touch screen 120 may be configured with a touch panel 121 and a display panel 122. The touch panel 121 may be configured with the display panel 122 in an integrated form. In particular, the touch panel 121 according to the present disclosure can detect an input of an electronic pen or a finger generated in a memo execution screen. The touch panel 121 transmits a memo input trace detected under the control of control unit 140 to the control unit 140. The display panel 122 may be configured with a Liquid Crystal Display (LCD), Organic Light Emitting Diode (OLED), or Active Matrix Organic Light Emitting Diode (AMOLED). In particular, the display panel 122 according to the present disclosure displays a memo input trace by processing of an image under the control of control unit 140. Further, the display panel 122 can adjust and display a memo line under the control of control unit 140 so that the memo line fits the image size.
The storage unit 130 may be configured with (not shown) a program memory for storing an operating program of the portable terminal and a data memory for storing data generated or received during the execution of program. In particular, the storage unit 130 according to an embodiment of the present disclosure can store a memo data input through the memo execution screen. The storage unit 130 can store a memo adjusted (enlarged or reduced) to a predetermined size (ratio) under the control of the control unit 140.
The control unit 140 controls general operation of the portable terminal 100. In particular, the control unit 140 according to various embodiments of the present disclosure can display a memo execution screen for editing a memo in a memo application through the display panel 122. Further, if a pen input is detected in the memo execution screen, the control unit 140 can identify a location, size, and pattern of the memo input trace, and automatically adjust a line spacing of the memo execution screen.
Referring to
If a user selects a memo edit function, the control unit 140 detects a request for executing a memo at operation 201. If the request for executing the memo is detected, the control unit 140 executes a memo application and displays a memo execution screen in the display panel 122 at operation 203. The memo execution screen may be an execution screen for a pen dedicated mode, or may be set to a pen mode or a finger mode in a user setting procedure.
Here, the user can adjust a line spacing of the memo execution screen. Namely, the user may adjust a line spacing of a memo screen displayed in the display panel 122 while editing the memo. Generally, a line spacing of the memo screen displayed while inputting the memo may have a narrow width for inputting with a pen. In this case, the user must input in a small size of character by using the pen, and thereby the control unit 140 cannot correctly identify a memo input trace. Namely, when inputting a memo with a line spacing provided as default in the pen memo mode, the user may have an inconvenience in inputting a small character by using the pen, and the control unit 140 cannot correctly detect and display a memo input trace because the pen memo trace is too small. The user may adjust the line spacing of the memo screen to a desired size when inputting a pen memo. If the user selects a line spacing adjustment for the memo screen, the control unit 140 detects this at operation 204, and adjusts the line spacing of the memo screen to a predetermined line size at operation 204a. If the line spacing of the memo screen is adjusted to a bigger size, the user can input a memo in a bigger size by using the pen.
Subsequently, the control unit 140 determines whether a pen memo input is detected at operation 205 as shown by
Subsequently, the control unit 140 rearranges lines of the memo execution screen based on the processed image so as to fit the image at operation 211. If the line spacing is enlarged, the number of editable characters becomes smaller comparing to that of the basic line (for example, if the size of line is enlarged 2 times, the memo screen displayed in the display panel 122 may become ¼ comparing to that of the basic line). Accordingly the end of line of the memo screen displayed in the display panel 122 may not be the actual end of line.
Subsequently, the control unit 140 rearranges the image in an average size at an average location of the adjusted line at operation 213 as shown in
Referring to Table 1, the line spacing becomes wider as the screen enlargement increases. The display panel 122 can display a portion of the enlarged screen. If a memo input is detected in the enlarged screen, the control unit 140 can control to display the location of the detected memo input in the display panel 122. Namely, the control unit 140 can control to move the display panel 122 according to the location of the memo input.
As shown in Table 2, the control unit 140 can set the line spacing of memo corresponding to the enlargement of the memo execution screen. The control unit 140 can identify a stored screen size, and display the screen with a size corresponding to the enlargement of the memo execution screen. Further, the control unit 140 can control to display the location of a detected memo input in the enlarged screen. Namely, the control unit 140 can control to move the screen horizontally, if there is an empty space at a side of the line in the process of detecting the memo input. Further, the control unit 140 can move the screen both horizontally and vertically so that the next line can be displayed, if the memo input reaches the end of line. Detailed descriptions on this will be made hereafter referring to
Referring to
The control unit 140 determines whether a request for executing a memo application is generated at operation 501. If the request for executing a memo application is detected, the control unit 140 controls to display a memo execution screen in the display panel 122 at operation 503. The memo can be set so that various texts and images are inserted in a note form, grid form, and diary form. Hereinafter, the present disclosure assumes that the memo contents are input in the note form.
In the memo execution screen, the control unit 140 detects an adjustment of line spacing at operation 505. If the adjustment of line spacing is detected, the control unit 140 controls to display the adjusted line spacing in the memo execution screen at operation 507.
input reached the end of a line at operation 513. If the location of the detected memo input did not reach the end of line, the control unit 140 controls to display the image of the detected memo input by moving the line horizontally at operation 525. In the state of the memo execution screen enlarged to 250% as shown in
When displaying a character image generated by a pen drawing in the memo screen through the above procedure, the control unit 140 moves the memo screen horizontally or vertically so that next character can be input, if it has not reached the actual end of the line.
Returning to
For example, when terminating the memo application in
If the location of the detected memo input reached the last line of the page at operation 517, the control unit 140 determines whether to add a new page at operation 519, stores the previous page at operation 521, and controls to display the new page at operation 523. The control unit 140 then controls to input another memo in the new page through the above process. If the new page is not added at operation 519, the control unit 140 detects the termination of the memo editing at operation 527, and automatically adjusts the image and line spacing at operation 529.
The portable terminal according to various embodiments of the present disclosure enables to input more amounts of memo into a page through a memo execution screen. If a memo is input in the memo execution screen, the size and location of memo input trace can be identified. Therefore greater amounts of memo can be contained in a page by adjusting a line spacing of memo according to the memo input trace.
While the present disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2013-0080695 | Jul 2013 | KR | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/KR2014/006223 | 7/10/2014 | WO | 00 |