Text two-end alignment processing method and device, storage medium and processor
A processing method and text technology, applied in the field of text processing, can solve problems such as low text efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] According to an embodiment of the present invention, an embodiment of a text justified processing method is provided. It should be noted that the steps shown in the flow charts of the accompanying drawings can be implemented in a computer system such as a set of computer-executable instructions and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0027] figure 1 It is a flow chart of a method for processing text justified according to an embodiment of the present invention. Such as figure 1 As shown, the method may include the following steps:
[0028] Step S102, acquiring a plurality of original texts in a plurality of text function controls.
[0029] In the technical solution provided in step S102, each text function control is used to input and display each original text.
[0030]In this embodiment, in Android (Android) user interaction pr...
Embodiment 2
[0060] The technical solutions of the embodiments of the present invention are illustrated below in combination with preferred implementation modes.
[0061] In the design of the Android user interaction process, it is usually necessary to enter multiple entries, but the width of the prompt text (consignee / mobile phone number) of the corresponding input box may vary, such as figure 2 As shown, among them, figure 2 It is a schematic diagram of text display according to the related art. Since the text width of the prompt text is different (consignee / mobile phone number), the display of the text to be input (Zhang San / 12345678) corresponding to the prompt text on the right side is also different. Uneven, resulting in a very bad experience.
[0062] In order to solve the above problem, all prompt texts can be displayed aligned at both ends, so that the prompt text is aligned with the central axis of the corresponding text to be input, and then expanded to both sides.
[0063] ...
Embodiment 3
[0067] The embodiment of the present invention also provides a processing device for text alignment. It should be noted that the apparatus for processing text with both ends justified in this embodiment can be used to implement the method for processing text with both ends justified in the embodiment of the present invention.
[0068] Figure 4 is a schematic diagram of a processing device for text alignment according to an embodiment of the present invention. Such as Figure 4 As shown, the processing device 40 for aligning both ends of the text may include: a first acquisition unit 41 , a second acquisition unit 42 , a third acquisition unit 43 and a display unit 44 .
[0069] The first obtaining unit 41 is configured to obtain a plurality of original texts from a plurality of text function controls, wherein each text function control is used to input and display each original text.
[0070] The second acquiring unit 42 is configured to acquire an original character strin...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com