CN104123076B - The display device and method of a kind of word - Google Patents
The display device and method of a kind of word Download PDFInfo
- Publication number
- CN104123076B CN104123076B CN201410343106.1A CN201410343106A CN104123076B CN 104123076 B CN104123076 B CN 104123076B CN 201410343106 A CN201410343106 A CN 201410343106A CN 104123076 B CN104123076 B CN 104123076B
- Authority
- CN
- China
- Prior art keywords
- word
- display
- amplification
- imperfect
- viewing area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
- Document Processing Apparatus (AREA)
Abstract
The present invention relates to communication technical field, the display device and method of more particularly to a kind of word.Methods described includes:Display is amplified to word, detect whether the word shows completely after amplification, if the word shows imperfect after amplification, cancel one or more on imperfect display direction of the word and show that objects enable the word completely to show to increase the viewing area of the word.After display processing is amplified to word, whether detection word shows completely, when detecting that text importing is imperfect, cancel one or more display objects on imperfect display direction, word is set completely to show to increase the viewing area of word, after solving amplification display word, the incomplete problem of text importing.
Description
Technical field
The present invention relates to communication technical field, the display device and method of more particularly to a kind of word.
Background technology
Can exist in existing technology, after being amplified to the word in the catalogue in mobile phone word segment show it is endless
Whole situation, as shown in figure 1, the icon on cellphone directory is constant, word becomes big, and " international roaming " in catalogue becomes " state
Overflow on border ... ", and as shown in Fig. 2 icon and word on cellphone directory all become big, " international roaming " in catalogue becomes
" international ... ".Due to the imperfect reading difficulty that can cause user of the text importing in catalogue, the text information content of acquisition is not
Completely.
The content of the invention
In view of the shortcomings of the prior art, it is an object of the invention to provide a kind of display methods of word and device, by making
The viewing area of other display objects is shown completely for increasing text importing region down to word segment, it is intended to is solved existing
Technology in, amplification show word after, the incomplete problem of text importing.
Technical scheme proposed by the present invention is:
A kind of display methods of word, including:
Display is amplified to word;
Detect whether the word shows completely after amplification;
If the word show after amplification it is imperfect, cancel the word one on imperfect display direction or
Multiple display objects enable the word completely to show to increase the viewing area of the word.
Further, whether the detection word shows complete step after amplification, including:
Identify the word number that the word is shown before amplification;
Identify the word number that the word is shown after amplification;
The word number that the word is shown before amplification is compared with the word number shown after amplification;
Judge whether the word shows completely based on the result contrasted.
Further, if the word shows imperfect after amplification, the word is cancelled in imperfect display
One or more on direction shows objects to increase the step that the viewing area of the word enables the word completely to show
Suddenly, including:
Identify whether the first word of the word or last position word are in the edge of viewing area;
Judge that the word whether there is other display objects on imperfect display direction based on the result identified.
Further, if the word shows imperfect after amplification, the word is cancelled in imperfect display
One or more on direction shows objects to increase the step that the viewing area of the word enables the word completely to show
Suddenly, including:
First priority, cancel one or more displays pair of the first word of the word on imperfect display direction
As and for increase the viewing area of the word;
Second priority, cancel one or more displays pair of the last position word of the word on imperfect display direction
As and for increase the viewing area of the word;
Wherein, the viewing area order for increasing the word is followed successively by first priority, second priority.
Further, the imperfect display direction is specially the forward and reverse according to the reading direction of word content.
The present invention also provides a kind of display device of word, including:
Amplification module, for being amplified display to word;
Detection module, for detecting whether the word shows completely after amplification;
Call output module, if the word show after amplification it is imperfect, for cancelling the word imperfect aobvious
Show that one or more display objects on direction enable the word completely to show to increase the viewing area of the word.
Further, the detection module includes:
First identification module, the word number shown before amplification for identifying the word;
Second identification module, the word number shown after amplification for identifying the word;
Comparison module, the word number for the word to be shown before amplification are relative with the word number shown after amplification
Than;
First judge module, for judging whether the word shows completely based on the result contrasted.
Further, the calling output module includes:
Whether the 3rd identification module, the first word or last position word for identifying the word are in the side of viewing area
Edge;
Second judge module, for judged based on the result identified the word on imperfect display direction whether
Other display objects be present.
Further, the viewing area for calling output module to increase the word order be followed successively by the first priority,
Second priority, wherein, first priority is one of the first word of the cancellation word on imperfect display direction
Individual or multiple display objects and the viewing area for increasing the word, second priority are to cancel the end of the word
One or more display objects of the position word on imperfect display direction and the viewing area for increasing the word.
The imperfect display direction is specially the forward and reverse according to the reading direction of word content.
According to above-mentioned technical scheme, a kind of display methods of word of the present invention and the beneficial effect of device:To word
After being amplified display processing, whether detection word shows completely, when detecting that text importing is imperfect, cancels imperfect
One or more display objects on display direction, enable word completely to show to increase the viewing area of word.
Brief description of the drawings
Fig. 1 and Fig. 2 is the text importing schematic diagram in existing Display Technique;
Fig. 3 is text importing schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of the display methods of word provided in an embodiment of the present invention;
Fig. 5 is a kind of functional block diagram of the display device of word provided in an embodiment of the present invention.
Embodiment
In order that the purpose of the present invention, technical scheme and beneficial effect are more clearly understood, below in conjunction with accompanying drawing and implementation
Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only explaining this hair
It is bright, it is not intended to limit the present invention.
As shown in figure 4, a kind of display methods for word that the embodiment of the present invention is provided, comprises the following steps:
Step S101, display is amplified to word.
In the present embodiment, word that word includes but is not limited on terminal directory listing.
It is prior art that display is amplified to word, be will not be repeated here.
Step S102, whether detection word shows completely after amplification.
In limited viewing area, if being amplified display to word, there may be the incomplete feelings of text importing
Condition, for this reason, it may be necessary to detect whether word shows completely after amplification.
In whether detection word shows complete step after amplification, including:
The word number that identification word is shown before amplification;
The word number that identification word is shown after amplification;
The word number that word is shown before amplification is compared with the word number shown after amplification;
Judge whether word shows completely based on the result contrasted.
When being amplified to word, the word number that word is shown before amplification, after amplifying to word, identification are first identified
The word number that word is shown after amplification, records word number that the word identified shows before amplification and word shows after amplification
The word number shown, and the word number that word is shown before amplification is compared with the word number shown after amplification, if before amplification
The word number of display is equal to the word number shown after amplification, then judges that text importing is complete.If the word number of display is big before amplification
The word number shown after amplification, then judge that text importing is imperfect.
In the present embodiment, whether meeting detection trigger word shows completely after display is amplified to word.
It is, of course, also possible to whether shown every certain time detection trigger word after display is amplified to word
It is whole.
If step S103, word is shown imperfect after amplification, cancel one of word on imperfect display direction
Or multiple display objects enable word completely to show to increase the viewing area of word.
It is one or more of display objects be according to needed for completely being shown word increased viewing area and select therewith
Adaptable viewing area.
Such as, word is completely shown and also need to increased viewing area as the viewing area needed for two word lengths, then
Length is selected to be used for making word completely show for the viewing area of two words in the viewing area outside character area is shown.
If the viewing area of selection increase word and the viewing area of current character are discontinuous, adjustment is positioned at increase word
Viewing area and current character viewing area between show object, continuously display word.
Detecting that it is imperfect that word is shown after amplification, then needing increase to make text importing complete the viewing area of word
Whole, in the present embodiment, the specific viewing area for increasing word includes:
Identify whether the first word of word or last position word are in the edge of viewing area;
Judge that word whether there is other display objects on imperfect display direction based on the result identified.
In the present embodiment, the so-called forward direction that the reading direction according to word content is referred on imperfect display direction
With it is reverse, such as read the direction of word content as from left to right, imperfect, the then imperfect display side of word shown after word amplification
To for left and right both direction;If the direction for reading word content is imperfect from top to bottom, to be shown after word amplification, then word
Imperfect display direction is upper and lower both direction.
Such as, imperfect display direction is left and right both direction, then the first left word of single line text is the first text
Word, the right first character of single line text is last position word, and whether the first word or last position word for identifying word are in display
The edge in region, if the first word is in the edge of viewing area, judge that other displays are not present in direction to the left in word
Object, if the first word is not at the edge of viewing area, judge that direction of the word to the left has other display objects.Together
Reason, if last position word is in the edge of viewing area, judges that other display objects are not present in direction to the right in word, if last
Position word is not at the edge of viewing area, then judges that direction of the word to the right has other display objects.
In the present embodiment, priority is set to the viewing area for increasing word, is specially:
First priority, cancel one or more display objects of the first word of word on imperfect display direction simultaneously
For increasing the viewing area of word;
Second priority, cancel one or more display objects of the last position word of word on imperfect display direction simultaneously
For increasing the viewing area of word;
Wherein, the viewing area order for increasing word is followed successively by the first priority, the second priority.
During viewing area is increased to word, detect the first word of word first is on imperfect display direction
It is no other display objects to be present, if other display objects be present, it is used for showing with one or more viewing areas for showing object
Show word, make text importing complete, as shown in Figure 3.If text importing can't be made complete, then detect the last position word of word
It whether there is other display objects in imperfect display direction, if other display objects be present, use one or more displays
The viewing area of object is used for showing word, makes text importing complete.
In order to realize a kind of display methods of above-mentioned word, as shown in figure 5, the embodiment of the present invention also provides a kind of word
Display device, including amplification module 11, detection module 12 and call output module 13.
Amplification module 11, for being amplified display to word.
In the present embodiment, word that word includes but is not limited on terminal directory listing.
It is prior art that amplification module 11, which is amplified display to word, be will not be repeated here.
Detection module 12, for detecting whether word shows completely after amplification.
In limited viewing area, if being amplified display to word, there may be the incomplete feelings of text importing
Condition, for this reason, it may be necessary to detect whether word shows completely after amplification.
Detection module 12 includes:
First identification module, the word number shown before amplification for identifying word;
Second identification module, the word number shown after amplification for identifying word;
Comparison module, the word number for word to be shown before amplification compare with the word number shown after amplification;
First judge module, for judging whether word shows completely based on the result contrasted.
When amplification module 11 is amplified to word, the first identification module first identifies the word that word is shown before amplification
Number, after amplifying to word, the second identification module identifies the word number that word is shown after amplification, records the word identified and exists
The word number that the word number of display and word are shown after amplification before amplification, the word that comparison module shows word before amplification
Number compares with the word number shown after amplification, if the word number of display is equal to the word number shown after amplification before amplification,
First judge module judges that text importing is complete.If the word number of display is more than the word number shown after amplification before amplification, the
One judge module judges that text importing is imperfect.
In the present embodiment, whether meeting detection trigger word shows completely after display is amplified to word.
It is, of course, also possible to whether shown every certain time detection trigger word after display is amplified to word
It is whole.
Call output module 13, if word show after amplification it is imperfect, for cancelling word in imperfect display direction
On one or more show that objects enable word completely to show to increase the viewing area of word.
Detecting that it is imperfect that word is shown after amplification, then needing increase to make text importing complete the viewing area of word
It is whole, in the present embodiment, call output module 13 to include:
Whether the 3rd identification module, the first word or last position word for identifying word are in the edge of viewing area;
Second judge module, for judging that word whether there is on imperfect display direction based on the result identified
Other display objects.
In the present embodiment, the so-called forward direction that the reading direction according to word content is referred on imperfect display direction
With it is reverse, such as read the direction of word content as from left to right, imperfect, the then imperfect display side of word shown after word amplification
To for left and right both direction;If the direction for reading word content is imperfect from top to bottom, to be shown after word amplification, then word
Imperfect display direction is upper and lower both direction.
Such as, imperfect display direction is left and right both direction, then the first left word of single line text is the first text
Word, the right first character of single line text is last position word, and whether the first word or last position word for identifying word are in display
The edge in region, if the first word is in the edge of viewing area, judge that other displays are not present in direction to the left in word
Object, if the first word is not at the edge of viewing area, judge that direction of the word to the left has other display objects.Together
Reason, if last position word is in the edge of viewing area, judges that other display objects are not present in direction to the right in word, if last
Position word is not at the edge of viewing area, then judges that direction of the word to the right has other display objects.
In the present embodiment, priority is set to the viewing area for increasing word, is specially:
First priority, cancel one or more display objects of the first word of word on imperfect display direction simultaneously
For increasing the viewing area of word;
Second priority, cancel one or more display objects of the last position word of word on imperfect display direction simultaneously
For increasing the viewing area of word;
Wherein, the viewing area order for increasing word is followed successively by the first priority, the second priority.
During viewing area is increased to word, detect the first word of word first is on imperfect display direction
It is no other display objects to be present, if other display objects be present, it is used for showing with one or more viewing areas for showing object
Show word, make text importing complete, as shown in Figure 3.If text importing can't be made complete, then detect the last position word of word
It whether there is other display objects in imperfect display direction, if other display objects be present, with one or more displays pair
The viewing area of elephant is used for showing word, makes text importing complete.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
Claims (8)
- A kind of 1. display methods of word, it is characterised in that including:Display is amplified to word;Detect whether the word shows completely after amplification;If the word show after amplification it is imperfect, cancel described in One or more display objects of the word on imperfect display direction make the word to increase the viewing area of the word Can completely it show;It is one or more of display objects be according to needed for completely being shown word increased viewing area and select mutually to fit therewith The viewing area answered;The imperfect display direction is specially the forward and reverse according to the reading direction of word content.
- 2. a kind of display methods of word as claimed in claim 1, it is characterised in that the detection word is after amplification Whether complete step is shown, including:Identify the word number that the word is shown before amplification;Identify the word number that the word is shown after amplification;The word number that the word is shown before amplification is compared with the word number shown after amplification;Judge whether the word shows completely based on the result contrasted.
- 3. a kind of display methods of word as claimed in claim 1, it is characterised in that if the word shows after amplification Show imperfect, then cancel one or more on imperfect display direction of the word and show objects to increase the word The step of viewing area enables the word completely to show, including:Identify whether the first word of the word or last position word are in the edge of viewing area;Judge that the word whether there is other display objects on imperfect display direction based on the result identified.
- 4. a kind of display methods of word as claimed in claim 3, it is characterised in that if the word shows after amplification Show imperfect, then cancel one or more on imperfect display direction of the word and show objects to increase the word The step of viewing area enables the word completely to show, including:First priority, cancel one or more display objects of the first word of the word on imperfect display direction simultaneously For increasing the viewing area of the word;Second priority, cancel one or more display objects of the last position word of the word on imperfect display direction simultaneously For increasing the viewing area of the word;Wherein, the viewing area order for increasing the word is followed successively by first priority, second priority.
- A kind of 5. display device of word, it is characterised in that including:Amplification module, for being amplified display to word;Detection module, for detecting whether the word shows completely after amplification;Call output module, if the word show after amplification it is imperfect, for cancelling the word in imperfect display side Upward one or more display objects enable the word completely to show to increase the viewing area of the word;It is one or more of display objects be according to needed for completely being shown word increased viewing area and select mutually to fit therewith The viewing area answered;The imperfect display direction is specially the forward and reverse according to the reading direction of word content.
- 6. a kind of display device of word as claimed in claim 5, it is characterised in that the detection module includes:First identification module, the word number shown before amplification for identifying the word;Second identification module, the word number shown after amplification for identifying the word;Comparison module, the word number for the word to be shown before amplification compare with the word number shown after amplification;First judge module, for judging whether the word shows completely based on the result contrasted.
- 7. a kind of display device of word as claimed in claim 5, it is characterised in that the calling output module includes:Whether the 3rd identification module, the first word or last position word for identifying the word are in the edge of viewing area;Second judge module, it whether there is for judging the word based on the result identified on imperfect display direction Other display objects.
- 8. a kind of display device of word as claimed in claim 7, it is characterised in that described in the calling output module increase The viewing area order of word is followed successively by the first priority, the second priority, wherein, first priority is the cancellation text One or more display objects of the first word of word on imperfect display direction and the viewing area for increasing the word Domain, second priority are one or more displays pair of the last position word of the cancellation word on imperfect display direction As and for increase the viewing area of the word.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410343106.1A CN104123076B (en) | 2014-07-17 | 2014-07-17 | The display device and method of a kind of word |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410343106.1A CN104123076B (en) | 2014-07-17 | 2014-07-17 | The display device and method of a kind of word |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104123076A CN104123076A (en) | 2014-10-29 |
CN104123076B true CN104123076B (en) | 2017-12-12 |
Family
ID=51768507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410343106.1A Active CN104123076B (en) | 2014-07-17 | 2014-07-17 | The display device and method of a kind of word |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104123076B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649207A (en) * | 2016-11-26 | 2017-05-10 | 深圳市金立通信设备有限公司 | Displaying control method and terminal device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102301331A (en) * | 2011-07-06 | 2011-12-28 | 华为技术有限公司 | Interacting method and device for electronic equipment |
CN102707935A (en) * | 2011-03-28 | 2012-10-03 | 腾讯科技(深圳)有限公司 | Mobile terminal browsing tool and method for setting text properties thereof |
CN103049167A (en) * | 2011-11-02 | 2013-04-17 | 微软公司 | Optimal display and zoom of objects and text in a document |
CN103076955A (en) * | 2012-12-28 | 2013-05-01 | 北京小米科技有限责任公司 | Method, device and terminal for adjusting characters of application |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8689132B2 (en) * | 2007-01-07 | 2014-04-01 | Apple Inc. | Portable electronic device, method, and graphical user interface for displaying electronic documents and lists |
JP5693901B2 (en) * | 2010-09-24 | 2015-04-01 | シャープ株式会社 | Display device, display method, and program |
CN103336817B (en) * | 2013-06-28 | 2016-08-10 | 北京奇虎科技有限公司 | A kind of method and apparatus of webpage zoom on electronic equipment |
-
2014
- 2014-07-17 CN CN201410343106.1A patent/CN104123076B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707935A (en) * | 2011-03-28 | 2012-10-03 | 腾讯科技(深圳)有限公司 | Mobile terminal browsing tool and method for setting text properties thereof |
CN102301331A (en) * | 2011-07-06 | 2011-12-28 | 华为技术有限公司 | Interacting method and device for electronic equipment |
CN103049167A (en) * | 2011-11-02 | 2013-04-17 | 微软公司 | Optimal display and zoom of objects and text in a document |
CN103076955A (en) * | 2012-12-28 | 2013-05-01 | 北京小米科技有限责任公司 | Method, device and terminal for adjusting characters of application |
Also Published As
Publication number | Publication date |
---|---|
CN104123076A (en) | 2014-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103309588B (en) | A kind of method, Apparatus and system preventing mobile terminal maloperation | |
CN107426079A (en) | A kind of processing method and processing device of informing message | |
US20170185820A1 (en) | Method, device and medium for fingerprint identification | |
CN105100461B (en) | Mobile terminal and method for realizing automatic answering | |
CN105224674B (en) | A kind of mobile device-based intelligent search method and system | |
RU2671300C2 (en) | Screen protection method and device | |
CN103826011A (en) | Information processing method, information processing device and electronic equipment | |
CN102915521A (en) | Method and device for processing mobile terminal images | |
CN105843516A (en) | Method and device for displaying information during scrolling of list page | |
CN106681612A (en) | Adjusting method applied to mobile terminal and mobile terminal | |
CN106878525A (en) | A kind of incoming information reminds the display methods and device at interface | |
CN105872250A (en) | Method and device for automatically recognizing owner identity of mobile terminal | |
CN105513067A (en) | Image definition detection method and device | |
CN107948256B (en) | The method for pushing and computer readable storage medium of APP | |
CN104123076B (en) | The display device and method of a kind of word | |
CN106657545A (en) | Method and device for intercepting push information, and terminal | |
CN106713246A (en) | Method and apparatus for detecting application program page hijacking, and mobile terminal | |
CN105635419A (en) | Incoming call processing method and system, and terminal | |
CN102769696A (en) | System and method for displaying harassing calls | |
CN106162616A (en) | A kind of method and device of number call | |
CN105636024A (en) | Method and device for protecting privacy | |
CN105472110B (en) | Incoming call automatic processing system and method | |
CN104009911A (en) | Link privacy protection method and system in social network | |
CN103945058B (en) | Prevent the method and apparatus to incoming call misoperation | |
CN105243062B (en) | Method and device for detecting webpage feature area |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |