CN114625465A - Text display method and device based on RN assembly, equipment and storage medium - Google Patents
Text display method and device based on RN assembly, equipment and storage medium Download PDFInfo
- Publication number
- CN114625465A CN114625465A CN202210248306.3A CN202210248306A CN114625465A CN 114625465 A CN114625465 A CN 114625465A CN 202210248306 A CN202210248306 A CN 202210248306A CN 114625465 A CN114625465 A CN 114625465A
- Authority
- CN
- China
- Prior art keywords
- text
- component
- text component
- displayed
- prompt
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a text display method, a text display device, equipment and a storage medium based on an RN assembly, wherein the method comprises the following steps: when the number of words of the text to be displayed is larger than the preset number of words corresponding to the preset text component, carrying out abbreviation processing on the text to be displayed according to the limited number of words of the text corresponding to the target text component to obtain an abbreviated text to be displayed, displaying the abbreviated text in the target text component, simultaneously triggering a first prompt text component to display first prompt information, responding to the triggering operation aiming at the first prompt text component, canceling the limitation of the target text component on the number of words of the text, and displaying the complete text to be displayed in the target text component; the first prompt information can be displayed on the first prompt text component when the text to be displayed cannot be completely displayed, and when the user needs to check the complete information, the first prompt text component can be triggered to cancel the limitation of the target text component on the number of the text words, so that the target text component can display the complete text to be displayed.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for text display based on an RN component, a device, and a storage medium.
Background
The number of the displayed data texts on the screen is generally fixed, and the content of each data text is dynamic, that is, the number of words of the text to be displayed in each data text is dynamic, so that when the number of words of the text to be displayed exceeds the number of words which can be displayed, the text to be displayed is omitted.
In the related art, the omitted display of the text to be displayed is mainly realized based on the H5 technology, and the display style of the language definition element is described by the CSS style. However, the omitted display mode realized by the H5 technology is prone to compatibility problems, for example, the H5 technology is not applicable to the browser of IE10 or below.
In some technologies, omitting and displaying a Text to be displayed is also realized based on an RN component (a Text component in a cross-platform mobile application development framework developed by a fact book), compatibility problems can be solved based on the RN component, but currently, only ellipses at three specific positions of front, middle and back of a plurality of lines of texts can be supported in a scheme provided by the RN component, so that when the number of words of the Text to be displayed exceeds the number of words that can be displayed by the Text component, the ellipses are displayed at three specific positions of the front, middle and back of the Text to represent that the currently displayed Text content is incomplete, but a user cannot view the complete Text content.
Disclosure of Invention
In view of the above problems, the present application is proposed to provide a text presentation method and apparatus, an electronic device, and a storage medium based on an RN component, which overcome the above problems or at least partially solve the above problems, and include:
a text display method based on RN components, the method comprising:
when the number of words of the text to be displayed is larger than the preset number of words corresponding to a preset text component, carrying out abbreviation processing on the text to be displayed according to the limited text number corresponding to a target text component to obtain the abbreviation text to be displayed with the same number of words as the limited text number; the target text component is arranged in an area corresponding to the preset text component; the limited text word number is less than the preset word number;
filling the thumbnail text to be displayed into the target text component for displaying, and triggering a first prompt text component associated with the target text component to display first prompt information, wherein the first prompt information is used for indicating that the currently displayed text is in a thumbnail state; the area formed by splicing the first prompt text component and the target text component is overlapped with the area corresponding to the preset text component;
in response to the triggering operation of the first prompt text component, the limitation of the target text component on the number of text words is cancelled, so that the complete text to be displayed is displayed in the target text component.
Optionally, the target text component comprises a first text component and a second text component; the second text component is arranged at the tail end of the first text component, and the tail end is one end corresponding to the last line or the last column of characters displayed by the first text component; the second text component and the first prompt text component are sequentially connected and arranged according to the character reading direction.
Optionally, the limited number of text words corresponding to the target text component is the sum of a first limited number of text words corresponding to the first text component and a second limited number of text words corresponding to the second text component; the filling the thumbnail text to be displayed into the target text component for displaying comprises the following steps:
according to the character sequence, characters with the same number of characters as the first limited text in the thumbnail text to be displayed are filled into the first text component in sequence;
and filling other words except the words filled in the first text component in the thumbnail text to be displayed into the second text component.
Optionally, sequentially filling, in the text order, texts in the to-be-displayed thumbnail text with the same word count as the first limited text word count into the first text component, the method includes:
acquiring attribute information corresponding to the first text component, wherein the attribute information comprises an initial height corresponding to the first text component;
sequentially filling the characters in the thumbnail text to be displayed in the first text component according to the character sequence, and judging whether the total height of the characters filled in the first text component is greater than the initial height;
and when the total height of the characters filled into the first text component is larger than the initial height, taking the last character filled currently as the first character filled into the second text component.
Optionally, the canceling the limitation of the target text component on the number of text words in response to the triggering operation for the first prompt text component to present the complete text to be presented in the target text component includes:
in response to a trigger operation for the first prompt text component, the limitation of the first text component on the number of text words is cancelled, so that the complete text to be displayed is displayed in the first text component, and the second text component and the first prompt text component are hidden.
Optionally, the responding to the trigger operation for the first prompt text component further comprises:
and triggering a second prompt text component associated with the target text component to display second prompt information, wherein the second prompt information is used for indicating that the currently displayed text is in an expansion state.
Optionally, the method further comprises:
and in response to the triggering operation of the second prompt text component, recovering the limitation of the target text component on the number of text words, filling the thumbnail text to be displayed of the text to be displayed into the target text component for displaying, triggering the first prompt text component to display first prompt information, and hiding the second prompt text component.
An RN component-based text presentation apparatus, the apparatus comprising:
the abbreviated text determining module is used for carrying out abbreviated processing on the text to be displayed according to the limited text word number corresponding to the target text component when the word number of the text to be displayed is greater than the preset word number corresponding to the preset text component, so as to obtain the abbreviated text to be displayed, wherein the word number of the abbreviated text to be displayed is the same as the limited text word number; the target text component is arranged in an area corresponding to the preset text component; the limited text word number is less than the preset word number;
the thumbnail text display module is used for filling the thumbnail text to be displayed into the target text component for displaying, and triggering a first prompt text component associated with the target text component to display first prompt information, wherein the first prompt information is used for indicating that the currently displayed text is in a thumbnail state; the area formed by splicing the first prompt text component and the target text component is overlapped with the area corresponding to the preset text component;
and the complete text display module is used for responding to the triggering operation aiming at the first prompt text component, canceling the limitation of the target text component on the number of the text words so as to display the complete text to be displayed in the target text component.
Optionally, the target text component comprises a first text component and a second text component; the second text component is arranged at the tail end of the first text component, and the tail end is one end corresponding to the last line or the last column of characters displayed by the first text component; the second text component and the first prompt text component are sequentially connected and arranged according to the character reading direction.
Optionally, the limited number of text words corresponding to the target text component is the sum of a first limited number of text words corresponding to the first text component and a second limited number of text words corresponding to the second text component; the thumbnail text display module comprises:
the first filling module is used for sequentially filling the characters with the same word number as the first limited text in the thumbnail text to be displayed into the first text component according to the character sequence;
and the second filling module is used for filling other characters except the character filled in the first text component into the second text component in the thumbnail text to be displayed.
Optionally, the first filling module comprises:
an initial height obtaining module, configured to obtain attribute information corresponding to the first text component, where the attribute information includes an initial height corresponding to the first text component;
the height comparison module is used for sequentially filling the characters in the thumbnail text to be displayed in the first text component according to the character sequence and judging whether the total height of the characters filled in the first text component is greater than the initial height or not;
and the last character determining module is used for taking the last character filled currently as the first character filled in the second text component when the total height of the characters filled in the first text component is larger than the initial height.
Optionally, the complete text presentation module is specifically configured to, in response to a trigger operation for the first prompt text component, cancel the limitation of the first text component on the number of text words, so as to present a complete text to be presented in the first text component, and hide the second text component and the first prompt text component.
Optionally, the complete text display module further includes:
and the second prompt module is used for triggering a second prompt text component associated with the target text component to display second prompt information, and the second prompt information is used for indicating that the currently displayed text is in an expansion state.
Optionally, the apparatus further comprises:
and the text folding module is used for responding to the triggering operation of the second prompt text component, recovering the limitation of the target text component on the number of text words, filling the thumbnail text to be displayed of the text to be displayed into the target text component for displaying, triggering the first prompt text component to display first prompt information and hiding the second prompt text component.
An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the steps of the RN component-based text presentation method as described above.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the RN component-based text presentation method as described above.
The application has the following advantages:
in the embodiment of the application, when the number of words of the text to be displayed is greater than the preset number of words corresponding to the preset text component, the text to be displayed is subjected to abbreviation processing according to the limited number of words of the text corresponding to the target text component, and the abbreviation text to be displayed with the same number of words as the limited number of words of the text is obtained; the target text component is arranged in an area corresponding to the preset text component, and the number of words of the text is limited to be smaller than the number of preset words; filling the thumbnail text to be displayed into a target text component for displaying, and triggering a first prompt text component associated with the target text component to display first prompt information, wherein the first prompt information is used for indicating that the currently displayed text is in a thumbnail state; the region formed by splicing the first prompt text component and the target text component is overlapped with the region corresponding to the preset text component; in response to the triggering operation aiming at the first prompt text component, canceling the limitation of the target text component on the number of text words so as to display the complete text to be displayed in the target text component; the method and the device can realize that when the text box can not completely display the text to be displayed, the thumbnail text to be displayed of the text to be displayed is displayed in the target text component, meanwhile, the first prompt message is displayed in the first prompt text component to prompt a user that the currently displayed text is in a thumbnail state, and when the user needs to check the complete information of the text to be displayed, the first prompt text component can be triggered to cancel the limitation of the target text component on the number of words of the text, so that the text to be displayed can be completely displayed in the target text component.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the present application will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
Fig. 1 is a flowchart illustrating steps of a text display method based on an RN component according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a target text component in an embodiment of the present application;
FIG. 3 is a diagram of another target text component in an embodiment of the present application;
fig. 4 is a schematic diagram corresponding to fig. 2 when the complete text to be displayed is displayed;
fig. 5 is a schematic diagram corresponding to fig. 3 when the complete text to be displayed is displayed;
fig. 6 is a block diagram of a text display apparatus based on an RN component according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the related art, when the number of words of the text to be displayed exceeds the preset number of words corresponding to the text box, the text to be displayed may be omitted from being displayed, which specifically includes truncating from the beginning of the text to be displayed, and adding an ellipsis at the beginning of the truncated text, for example: … xyz; or, truncate the text to be displayed, and add an ellipsis in the middle of the truncated text, for example: ab … z; or, truncate from the end of the text to be displayed, and add an ellipsis at the end of the truncated text, for example: abc …; for the cut text, the user cannot view the original and complete text content to be displayed.
In view of this, the embodiment of the application provides a text display method and apparatus based on an RN component, an electronic device, and a storage medium, where when the number of words of a text to be displayed exceeds the preset number of words corresponding to a preset text component, a text to be displayed is subjected to a thumbnail processing, so that the thumbnail text to be displayed obtained by the thumbnail processing is displayed in a target text component, and meanwhile, a first prompt message is displayed in a first prompt text component, so as to prompt a user that the currently displayed text is in a thumbnail state; when the trigger operation aiming at the first prompt text component is detected, the attribute of the target text component is modified so as to cancel the limitation of the target text component on the number of the text words and realize that the complete text to be displayed is displayed in the target text component.
Referring to fig. 1, a flowchart of steps of a text presentation method based on an RN component according to an embodiment of the present application is shown, where the method may be applied to a terminal device, and may also be applied to a software application run by the terminal device, and in the embodiment of the present application, the method may specifically include the following steps:
101, when the number of words of a text to be displayed is greater than the preset number of words corresponding to a preset text component, carrying out abbreviation processing on the text to be displayed according to the limited number of words corresponding to a target text component to obtain an abbreviation text to be displayed with the same number of words as the limited number of words; the target text component is arranged in an area corresponding to the preset text component; the limited text word number is less than the preset word number;
In the embodiment of the application, when the number of words of the text to be displayed is greater than the preset number of words corresponding to the preset text component, the text to be displayed is subjected to abbreviation processing according to the limited number of words of the text corresponding to the target text component, and the abbreviation text to be displayed with the same number of words as the limited number of words of the text is obtained; the target text component is arranged in a region corresponding to the preset text component, and the number of the text words is limited to be smaller than the number of the preset words; filling the thumbnail text to be displayed into a target text component for displaying, and triggering a first prompt text component associated with the target text component to display first prompt information, wherein the first prompt information is used for indicating that the currently displayed text is in a thumbnail state; the region formed by splicing the first prompt text component and the target text component is overlapped with the region corresponding to the preset text component; in response to the triggering operation aiming at the first prompt text component, canceling the limitation of the target text component on the number of text words so as to display the complete text to be displayed in the target text component; the method and the device can realize that when the text box can not completely display the text to be displayed, the thumbnail text to be displayed of the text to be displayed is displayed in the target text component, meanwhile, the first prompt message is displayed in the first prompt text component to prompt a user that the currently displayed text is in a thumbnail state, and when the user needs to check the complete information of the text to be displayed, the first prompt text component can be triggered to cancel the limitation of the target text component on the number of words of the text, so that the text to be displayed can be completely displayed in the target text component.
Next, a text presentation method based on the RN component in the present exemplary embodiment will be further described.
In step 101, when the number of words of the text to be displayed is greater than the preset number of words corresponding to a preset text component, carrying out abbreviation processing on the text to be displayed according to the limited number of words corresponding to a target text component to obtain an abbreviation text to be displayed with the same number of words as the limited number of words; the target text component is arranged in an area corresponding to the preset text component; the limited number of text words is less than the preset number of words.
In this embodiment, the preset text component corresponds to a text box used for displaying a text in a page, that is, the form of the preset text component is completely consistent with that of the text box, and for example, when the text box is a rectangle, the preset text component is a rectangle completely identical to the rectangle of the text box.
The preset word number can be set according to actual display requirements. Exemplarily, in a news information introduction page, for each piece of information, a preset text component may be used for displaying, when characters are arranged horizontally, the attribute of the preset text component may be set to show three lines of characters, and at this time, the preset word number is the word number corresponding to the three lines of characters; or, when the characters are vertically arranged, the attribute of the preset text component may be set to show three rows of characters, and at this time, the preset word number is the word number corresponding to the three rows of characters.
It should be noted that, the words and texts mentioned in the embodiments of the present application refer to the way and tool for human to record and express information with symbols, including punctuation marks.
When the number of words of the text to be displayed is less than or equal to the preset number of words, the text to be displayed can be completely displayed in the preset text component, and then the text can be directly displayed.
And when the number of words of the text to be displayed is greater than the preset number of words, the text to be displayed cannot be completely displayed in the preset text component for displaying the text. In the embodiment of the application, when it is judged that the text to be displayed cannot be completely displayed in the preset text component, the target text component is adopted to display the text to be displayed, the target text component is arranged in the region corresponding to the preset text component, and the number of the limited text words corresponding to the target text component is smaller than the number of the preset words, so that the target text component with a smaller region is arranged in the region corresponding to the preset text component, so that a certain region space is divided from the region corresponding to the preset text component, and is used for setting a first prompt text component mentioned later; therefore, when the text to be displayed is displayed in a thumbnail mode, the first prompt text component can be displayed in a specified area (an area corresponding to the preset text component), so that the triggering operation of a user for the first prompt text component is received, and the complete text to be displayed is displayed based on the triggering operation.
Specifically, the target text component may be composed of a first text component and a second text component, and the second text component is disposed at the tail end of the first text component, which may be understood as an end corresponding to the last line or the last column of words displayed by the first text component. The restricted number of text words for the target text component is the sum of a first restricted number of text words for the first text component and a second restricted number of text words for the second text component.
For example, as shown in fig. 2, when the attribute of the preset text component is set to show three lines of characters, the target text component may be composed of a first text component whose attribute is set to show two lines of characters and a second text component whose attribute is set to show one line of characters; it can be understood that the number of lines of the first text component display text is one line less than the number of lines of the preset text component display text; the width of the second text component is smaller than that of the preset text component, and the second text component is arranged at the lower end of the first text component.
Illustratively, as shown in fig. 3, when the attribute of the preset text component is set to show three columns of characters, the target text component may be composed of a first text component with the attribute set to show two columns of characters and a second text component with the attribute set to show one column of characters; it can be understood that the number of columns of the characters displayed by the first text component is one column less than the number of columns of the characters displayed by the preset text component; the height of the second text component is smaller than that of the preset text component; when the characters are arranged from right to left, the second text component is arranged at the left end of the first text component; when the characters are arranged from left to right, the second text component is arranged at the right end of the first text component.
In this embodiment, the limited number of text words corresponding to the target text component, that is, the number of text words allowed to be displayed by the target text component, may be obtained; and carrying out abbreviation processing on the text to be displayed according to the number of the limited text words to obtain the abbreviation text to be displayed with the same number of words as the number of the limited text words.
In an example, the characters of the text to be displayed can be sequentially ordered according to the character reading sequence of the text to be displayed, and then the sequence number of the last character which can be displayed by the target text component is determined through a character-by-character recursive algorithm, so that the thumbnail text to be displayed is determined; and the word-by-word recursion algorithm is used for judging whether the currently selected word is the last word which can be displayed by the target text component, if not, taking the next word as the currently selected word, and continuously judging whether the currently selected word is the last word which can be displayed by the target text component until the last word which can be displayed by the target text component is determined, so that the thumbnail text to be displayed can be obtained.
In another example, when the direction of the text arrangement is the horizontal direction, the number of the texts that can be displayed by the target text component can be calculated by acquiring the height of the target text component and combining the line height and the text width of the texts displayed by the target text component, and then the number of the texts that can be displayed by the target text component is determined and then the text reading sequence of the text to be displayed is combined, so that the thumbnail text to be displayed can be determined; when the direction of the text arrangement is the vertical direction, the number of the texts which can be displayed by the target text component can be calculated by acquiring the width of the target text component and combining the column width and the text height of the texts displayed by the target text component, and the thumbnail text to be displayed can be determined by combining the text reading sequence of the text to be displayed after determining the number of the texts which can be displayed by the target text component.
In step 102, the thumbnail text to be displayed is filled into the target text component for displaying, and a first prompt text component associated with the target text component is triggered to display first prompt information, where the first prompt information is used to indicate that the currently displayed text is in a thumbnail state.
And after the thumbnail text to be displayed with the same number of words as the limited text words is obtained, filling the thumbnail text to be displayed into the target text component for displaying, and simultaneously triggering a first prompt text component associated with the target text component to display first prompt information. The region formed by splicing the first prompt text component and the target text component is overlapped with the region corresponding to the preset text component; therefore, the number of the data texts displayed on the screen can not be influenced and the display area of each data text can not be influenced in practical application.
In an optional embodiment of the present application, the first text component and the second text component may be connected to each other, and specifically, the second text component and the first text component are connected to each other in sequence according to a reading direction of the text. The first prompt message is used for indicating that the currently presented text is in a thumbnail state so as to prompt a user to view the complete text content by triggering the first prompt component. The first prompt message may include an omission symbol and prompt text, for example, the first prompt message may be: … show more, … … more, … … view more, etc.
Optionally, the font and/or color corresponding to the first prompt information may be different from the font and/or color corresponding to the to-be-displayed thumbnail text display, so as to achieve a more obvious prompt effect.
Illustratively, as shown in FIG. 2, the first prompt text component is disposed to the right of the second text component when the direction of reading the text is from left to right; as shown in fig. 3, the first text component is disposed below the second text component when the reading direction is from top to bottom.
Optionally, the first text component, the second text component, and the first prompt text component are disposed in the region corresponding to the preset text component, that is, the region corresponding to the first text component, the second text component, and the first prompt text component is completely the same as the region corresponding to the preset text component. It can be understood that when the number of words of the text to be displayed is greater than the preset number of words corresponding to the preset text component, the preset text component is replaced by the first text component, the second text component and the first prompt text component.
In a specific example, the relative settings of the first text component are as follows:
HTML
<Text numberOfLines={2}ellipsizeMode={'clip'}>;
and the first text component displays at most two lines of characters, and when the text needing to be displayed by the first text component is larger than two lines of characters, the text is directly cut off and the ellipses are not displayed. The text to be displayed by the first text component can be the text to be displayed, and the text to be displayed is cut off to obtain two lines of text characters which can be displayed on the first text component and the residual text.
The relative settings of the second text component are as follows:
JavaScript
<Text numberOfLines={1}ellipsizeMode={'clip'}>;
and the second text component displays at most one line of characters, and when the text needing to be displayed by the second text component is larger than one line of characters, the text is directly cut off and the ellipses are not displayed. The text to be displayed by the second text component may be the remaining text after the text to be displayed is cut according to the requirement corresponding to the first text component.
In this embodiment, because first suggestion text subassembly and second text subassembly set up side by side, consequently, can ensure that the characters that second text subassembly shows can not sheltered from by first suggestion text subassembly to avoid the characters that show in the second text subassembly to be sheltered from because of being sheltered from by first suggestion text subassembly, lead to the unable condition that shows completely of single characters to appear.
In an optional embodiment of the present application, the filling and displaying the thumbnail text to be displayed in the target text component includes:
according to the character sequence, characters with the same number of characters as the first limited text in the thumbnail text to be displayed are filled into the first text component in sequence;
and filling other words except the words filled in the first text component into the second text component in the thumbnail text to be displayed.
In this embodiment, the words in the thumbnail text to be displayed may be sequentially sorted according to the reading order, and sequentially filled into the first text component and the second text component according to the sorted order.
Further, in an optional embodiment of the present application, when the text arrangement direction is a horizontal direction, the sequentially filling, in the first text component, the text with the same number of words as the first limited text word in the thumbnail text to be displayed according to the text order may include:
acquiring attribute information corresponding to the first text component, wherein the attribute information comprises an initial height corresponding to the first text component;
sequentially filling the characters in the thumbnail text to be displayed in the first text component according to the character sequence, and judging whether the total height of the characters filled in the first text component is greater than the initial height;
and when the total height of the characters filled into the first text component is larger than the initial height, taking the last character filled currently as the first character filled into the second text component.
In this embodiment, attribute information corresponding to the first text component may be obtained, where the attribute information includes an initial height corresponding to the first text component.
According to the character sequence, characters in the thumbnail text to be displayed are filled in the first text component in sequence, and whether the total height of the character display filled in the first text component is larger than the initial height is judged; if not, continuing to fill the next character; if the number of lines of the characters filled in the first text component exceeds the number of lines set by the first text component, the characters filled in the first text component at the moment are cancelled, namely the last character filled at present is cancelled; and taking the last word filled currently as the first word for filling the second text component, determining the words filled into the second text component in the same way as the first text component is filled, and filling the words into the second text component for displaying.
Further, in an optional embodiment of the present application, when the text arrangement direction is a vertical direction, the sequentially filling, in the first text component, the text with the same number of words as the first limited text word in the thumbnail text to be displayed according to the text sequence may include:
acquiring attribute information corresponding to the first text component, wherein the attribute information comprises an initial width corresponding to the first text component;
sequentially filling characters in the thumbnail text to be displayed in the first text component according to the character sequence, and judging whether the total width of the characters filled in the first text component is larger than the initial width;
and when the total width of the characters filled into the first text component is larger than the initial width, taking the last character filled currently as the first character filled into the second text component.
In step 103, in response to the triggering operation for the first prompt text component, the limitation of the target text component on the number of text words is cancelled, so that the complete text to be displayed is displayed in the target text component.
The triggering operation may include, but is not limited to, a single click, a double click, a long press, and the like, when the triggering operation for the first prompt text component is detected, the limitation of the target text component on the number of text words may be cancelled, that is, when the triggering operation for the first prompt text component is detected, the attribute setting corresponding to the target text component may be changed, so that the target text component does not limit the number of displayed words, thereby implementing the display of a complete text to be displayed in the target text component, and meeting the requirement of a user for viewing the complete text.
In an optional embodiment of the present application, when the target text component is composed of a first text component and a second text component, the foregoing canceling, in response to the triggering operation for the first prompt text component, the limitation of the target text component on the number of text words to display the complete text to be displayed in the target text component includes:
in response to the trigger operation aiming at the first prompt text component, the limitation of the first text component on the number of text words is cancelled, so that the complete text to be displayed is displayed in the first text component, and the second text component and the first prompt text component are hidden.
In this embodiment, when the trigger operation for the first prompt text component is detected, the attribute setting of the first text component in the target text component is changed, that is, the limitation of the first text component on the number of the displayed text words is cancelled, so that the text to be displayed is completely displayed in the first text component. Because the text to be displayed is completely displayed, the second text component and the first prompt text component can be hidden at the same time, and the interference of the information displayed in the second text component and the first prompt text component to the user is avoided.
Illustratively, when the user clicks on the first prompt text component displaying "… show more" as shown in FIG. 2, a display screen as shown in FIG. 4 may be presented with the first text component displaying the complete text to be presented and the second text component and the first prompt text component in a hidden state.
Further, in an optional embodiment of the present application, the responding to the trigger operation for the first prompt text component further includes:
and triggering a second prompt text component associated with the target text component to display second prompt information, wherein the second prompt information is used for indicating that the currently displayed text is in an expansion state.
In this embodiment, when the text to be displayed is completely displayed, second prompt information may be displayed in a second prompt text component associated with the target text component, where the second prompt information is used to indicate that the currently displayed text is in an expanded state, so as to prompt the user to fold the currently expanded text by triggering the second prompt text component, thereby reducing the screen area occupied by the currently displayed text. Illustratively, the second reminder message may be "stow", "fold", or the like.
The second prompt text component may be disposed at a tail end of the target text component, where the tail end may be understood as an end corresponding to a last line or a column of characters displayed by the target text component.
When the text to be displayed is used for displaying the complete text to be displayed as the first text component in the target text components, the second prompt text component can be arranged at the tail end of the first text component.
Illustratively, when the user clicks the first prompt text component displaying "… shows more" as shown in fig. 2, a display screen as shown in fig. 4 may be presented, at which time the first text component displays the complete text to be presented, and the second text component and the first prompt text component are in a hidden state; the second prompt text component is arranged at the lower end of the first text component, and the second prompt text component displays the 'retracting' prompt message.
Illustratively, when the user clicks the first prompt text component displaying "… shows more" as shown in fig. 3, a display screen as shown in fig. 5 may be presented, at which time the first text component displays the complete text to be presented, and the second text component and the first prompt text component are in a hidden state; the second prompt text component is arranged at the left end of the first text component, and the second prompt text component displays the 'retracting' prompt message.
Optionally, the font and/or color corresponding to the second prompt information may be different from the font and/or color corresponding to the to-be-displayed thumbnail text display, so as to achieve a more obvious prompt effect.
Further, in an optional embodiment of the present application, after triggering a second prompt text component associated with the target text component to display second prompt information, the method may further include:
and in response to the triggering operation of the second prompt text component, recovering the limitation of the target text component on the number of text words, filling the thumbnail text to be displayed of the text to be displayed into the target text component for displaying, triggering the first prompt text component to display first prompt information, and hiding the second prompt text component.
When the triggering operation aiming at the second prompt text component is detected, triggering the target text component to restore the original set attribute, namely restoring the limitation on the number of text words, so as to display the to-be-displayed thumbnail text of the to-be-displayed text in the target text component, and simultaneously triggering the first prompt text component to display first prompt information so as to prompt a user that the displayed text is in a thumbnail state; while hiding the second prompt text component to prevent the second text component from interfering with the user.
Illustratively, when the user clicks the second prompt text component shown in fig. 4, which displays "collapse", a display screen as shown in fig. 2 may be presented, at which time, the target text component (the first text component and the second text component) displays the thumbnail text to be presented, the first prompt text component displays the first prompt information, and the second prompt text component is in a hidden state.
Illustratively, when the user clicks the second prompt text component shown in fig. 5, which displays "collapse", a display screen as shown in fig. 3 may be presented, at which time the target text component (the first text component and the second text component) displays the thumbnail text to be presented, the first prompt text component displays the first prompt information, and the second prompt text component is in a hidden state.
In the embodiment of the application, when the number of words of the text to be displayed is greater than the preset number of words corresponding to the preset text component, the text to be displayed is subjected to abbreviation processing according to the limited number of words of the text corresponding to the target text component, and the abbreviation text to be displayed with the same number of words as the limited number of words of the text is obtained; wherein the limited number of text words is less than the preset number of words; filling the thumbnail text to be displayed into a target text component for displaying, and triggering a first prompt text component associated with the target text component to display first prompt information, wherein the first prompt information is used for indicating that the currently displayed text is in a thumbnail state; in response to the triggering operation aiming at the first prompt text component, canceling the limitation of the target text component on the number of text words so as to display the complete text to be displayed in the target text component; by the aid of the component layout mode under the RN framework, when a text box cannot completely display a text to be displayed, the thumbnail text to be displayed of the text to be displayed is displayed in the target text component, meanwhile, the first prompt message is displayed on the first prompt text component to prompt a user that the currently displayed text is in a thumbnail state, and when the user needs to check the complete information of the text to be displayed, the first prompt text component can be triggered to cancel the limitation of the target text component on the number of words of the text, so that the text to be displayed can be completely displayed in the target text component; the problem that in the related art, the RN component cannot realize the layout of displaying the prompt message when displaying the omitted text is solved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 6, a block diagram of a structure of an embodiment of a text display apparatus based on an RN component according to the present application is shown, and corresponding to the embodiment of the method shown in fig. 1, the apparatus may specifically include the following modules:
the abbreviated text determining module 601 is configured to, when the number of words of the text to be displayed is greater than the preset number of words corresponding to the preset text component, perform abbreviated processing on the text to be displayed according to the number of words of the limited text corresponding to the target text component, and obtain an abbreviated text to be displayed, where the number of words is the same as the number of words of the limited text; the target text component is arranged in an area corresponding to the preset text component; the limited text word number is less than the preset word number;
a thumbnail text display module 602, configured to fill the thumbnail text to be displayed in the target text component for display, and trigger a first prompt text component associated with the target text component to display first prompt information, where the first prompt information is used to indicate that a currently displayed text is in a thumbnail state; the region formed by splicing the first prompt text component and the target text component is overlapped with the region corresponding to the preset text component;
a complete text presentation module 603, configured to, in response to the trigger operation for the first prompt text component, cancel the limitation of the target text component on the number of text words, so as to present a complete text to be presented in the target text component.
In an optional embodiment of the present application, the target text component comprises a first text component and a second text component; the second text component is arranged at the tail end of the first text component, and the tail end is one end corresponding to the last line or the last column of characters displayed by the first text component; the second text component and the first prompt text component are sequentially connected and arranged according to the character reading direction.
In an optional embodiment of the present application, the restricted number of text words for the target text component is a sum of a first restricted number of text words for the first text component and a second restricted number of text words for the second text component; the abbreviated text display module 602 includes:
the first filling module is used for sequentially filling the characters with the same word number as the first limited text in the thumbnail text to be displayed into the first text component according to the character sequence;
and the second filling module is used for filling other characters except the character filled in the first text component into the second text component in the thumbnail text to be displayed.
In an optional embodiment of the present application, the first filling module includes:
an initial height obtaining module, configured to obtain attribute information corresponding to the first text component, where the attribute information includes an initial height corresponding to the first text component;
the height comparison module is used for sequentially filling the characters in the thumbnail text to be displayed in the first text component according to the character sequence and judging whether the total height of the characters filled in the first text component is greater than the initial height or not;
and the last character determining module is used for taking the last character which is filled currently as the first character which is filled in the second text component when the total height of the characters filled in the first text component is larger than the initial height.
In an optional embodiment of the present application, the complete text presentation module 603 is specifically configured to, in response to a trigger operation for the first prompt text component, cancel the limitation on the number of text words by the first text component, so as to present a complete text to be presented in the first text component, and hide the second text component and the first prompt text component.
In an optional embodiment of the present application, the complete text presentation module 603 further includes:
and the second prompt module is used for triggering a second prompt text component associated with the target text component to display second prompt information, and the second prompt information is used for indicating that the currently displayed text is in an expansion state.
In an optional embodiment of the present application, the apparatus further comprises:
and the text folding module is used for responding to the triggering operation aiming at the second prompt text component, recovering the limitation of the target text component on the number of the text words, filling the thumbnail text to be displayed of the text to be displayed into the target text component for displaying, triggering the first prompt text component to display first prompt information, and hiding the second prompt text component.
For the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
The embodiment of the application also discloses electronic equipment, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the RN component-based text display method are realized.
The embodiment of the application also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the text display method based on the RN component are realized.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method, the device, the equipment and the storage medium for text display based on the RN component provided by the present application are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A text display method based on an RN component is characterized by comprising the following steps:
when the number of words of the text to be displayed is larger than the preset number of words corresponding to a preset text component, carrying out abbreviation processing on the text to be displayed according to the limited text number corresponding to a target text component to obtain the abbreviation text to be displayed with the same number of words as the limited text number; the target text component is arranged in an area corresponding to the preset text component; the limited text word number is less than the preset word number;
filling the thumbnail text to be displayed into the target text component for displaying, and triggering a first prompt text component associated with the target text component to display first prompt information, wherein the first prompt information is used for indicating that the currently displayed text is in a thumbnail state; the region formed by splicing the first prompt text component and the target text component is overlapped with the region corresponding to the preset text component;
in response to the triggering operation of the first prompt text component, the limitation of the target text component on the number of text words is cancelled, so that the complete text to be displayed is displayed in the target text component.
2. The method of claim 1, wherein the target text component comprises a first text component and a second text component; the second text component is arranged at the tail end of the first text component, and the tail end is one end corresponding to the last line or the last column of characters displayed by the first text component; the second text component and the first prompt text component are sequentially connected and arranged according to the character reading direction.
3. The method of claim 2, wherein the restricted number of text words for the target text component is a sum of a first restricted number of text words for the first text component and a second restricted number of text words for the second text component; the filling the thumbnail text to be displayed into the target text component for displaying comprises the following steps:
according to the character sequence, characters with the same number of characters as the first limited text in the thumbnail text to be displayed are filled into the first text component in sequence;
and filling other words except the words filled in the first text component in the thumbnail text to be displayed into the second text component.
4. The method of claim 3, wherein the sequentially populating the first text component with text in the abbreviated text to be presented having the same number of words as the first restricted number of text words in the alphabetical order comprises:
acquiring attribute information corresponding to the first text component, wherein the attribute information comprises an initial height corresponding to the first text component;
filling the characters in the thumbnail text to be displayed in the first text component in sequence according to the character sequence, and judging whether the total height of the characters filled in the first text component is greater than the initial height;
and when the total height of the characters filled into the first text component is larger than the initial height, taking the last character filled currently as the first character filled into the second text component.
5. The method of claim 2, wherein canceling the limitation of the target text component on the number of text words to present the complete text to be presented in the target text component in response to the triggering operation for the first prompt text component comprises:
in response to a trigger operation for the first prompt text component, the limitation of the first text component on the number of text words is cancelled, so that the complete text to be displayed is displayed in the first text component, and the second text component and the first prompt text component are hidden.
6. The method of any of claims 1-5, wherein the responding to the trigger operation for the first prompt text component further comprises:
and triggering a second prompt text component associated with the target text component to display second prompt information, wherein the second prompt information is used for indicating that the currently displayed text is in an expansion state.
7. The method of claim 6, further comprising:
and in response to the triggering operation of the second prompt text component, recovering the limitation of the target text component on the number of text words, filling the thumbnail text to be displayed of the text to be displayed into the target text component for displaying, triggering the first prompt text component to display first prompt information, and hiding the second prompt text component.
8. An RN component-based text presentation apparatus, the apparatus comprising:
the abbreviated text determining module is used for carrying out abbreviated processing on the text to be displayed according to the limited text word number corresponding to the target text component when the word number of the text to be displayed is greater than the preset word number corresponding to the preset text component, so as to obtain the abbreviated text to be displayed, wherein the word number of the abbreviated text to be displayed is the same as the limited text word number; the target text component is arranged in an area corresponding to the preset text component; the limited text word number is less than the preset word number;
the thumbnail text display module is used for filling the thumbnail text to be displayed into the target text component for displaying, and triggering a first prompt text component associated with the target text component to display first prompt information, wherein the first prompt information is used for indicating that the currently displayed text is in a thumbnail state; the region formed by splicing the first prompt text component and the target text component is overlapped with the region corresponding to the preset text component;
and the complete text display module is used for responding to the triggering operation aiming at the first prompt text component, canceling the limitation of the target text component on the number of the text words so as to display the complete text to be displayed in the target text component.
9. An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the steps of the RN component-based text presentation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, which computer program, when executed by a processor, performs the steps of the RN component-based text presentation method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210248306.3A CN114625465B (en) | 2022-03-14 | 2022-03-14 | Text display method and device based on RN (radio network controller) component, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210248306.3A CN114625465B (en) | 2022-03-14 | 2022-03-14 | Text display method and device based on RN (radio network controller) component, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114625465A true CN114625465A (en) | 2022-06-14 |
CN114625465B CN114625465B (en) | 2023-09-08 |
Family
ID=81902269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210248306.3A Active CN114625465B (en) | 2022-03-14 | 2022-03-14 | Text display method and device based on RN (radio network controller) component, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114625465B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108062364A (en) * | 2017-12-05 | 2018-05-22 | 优酷网络技术(北京)有限公司 | Information displaying method and device |
WO2019062193A1 (en) * | 2017-09-29 | 2019-04-04 | 北京金山安全软件有限公司 | Information display method and device |
CN109640148A (en) * | 2017-10-09 | 2019-04-16 | 武汉斗鱼网络科技有限公司 | A kind of method and device by text box text exhibition content |
CN110020140A (en) * | 2017-11-15 | 2019-07-16 | 腾讯科技(深圳)有限公司 | Recommendation display methods, apparatus and system |
US20210011590A1 (en) * | 2017-12-21 | 2021-01-14 | Vivo Mobile Communication Co., Ltd. | Multi-piece text copy method and mobile terminal |
US20210209206A1 (en) * | 2018-06-01 | 2021-07-08 | Huawei Technologies Co., Ltd. | Information Content Viewing Method and Terminal |
CN113408241A (en) * | 2021-07-16 | 2021-09-17 | 网易(杭州)网络有限公司 | Text data processing method and device, electronic equipment and readable medium |
US20210319176A1 (en) * | 2020-04-13 | 2021-10-14 | Capital One Services, Llc | Efficient automatic punctuation with robust inference |
CN113987388A (en) * | 2021-11-01 | 2022-01-28 | 北京金山云网络技术有限公司 | Text display method and device and electronic equipment |
-
2022
- 2022-03-14 CN CN202210248306.3A patent/CN114625465B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019062193A1 (en) * | 2017-09-29 | 2019-04-04 | 北京金山安全软件有限公司 | Information display method and device |
CN109587032A (en) * | 2017-09-29 | 2019-04-05 | 北京金山安全软件有限公司 | Information display method and device |
CN109640148A (en) * | 2017-10-09 | 2019-04-16 | 武汉斗鱼网络科技有限公司 | A kind of method and device by text box text exhibition content |
CN110020140A (en) * | 2017-11-15 | 2019-07-16 | 腾讯科技(深圳)有限公司 | Recommendation display methods, apparatus and system |
US20200242183A1 (en) * | 2017-11-15 | 2020-07-30 | Tencent Technology (Shenzhen) Company Limited | Recommended content display method, device, and system |
CN108062364A (en) * | 2017-12-05 | 2018-05-22 | 优酷网络技术(北京)有限公司 | Information displaying method and device |
US20210011590A1 (en) * | 2017-12-21 | 2021-01-14 | Vivo Mobile Communication Co., Ltd. | Multi-piece text copy method and mobile terminal |
US20210209206A1 (en) * | 2018-06-01 | 2021-07-08 | Huawei Technologies Co., Ltd. | Information Content Viewing Method and Terminal |
US20210319176A1 (en) * | 2020-04-13 | 2021-10-14 | Capital One Services, Llc | Efficient automatic punctuation with robust inference |
CN113408241A (en) * | 2021-07-16 | 2021-09-17 | 网易(杭州)网络有限公司 | Text data processing method and device, electronic equipment and readable medium |
CN113987388A (en) * | 2021-11-01 | 2022-01-28 | 北京金山云网络技术有限公司 | Text display method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114625465B (en) | 2023-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8321786B2 (en) | Routine and interface for correcting electronic text | |
CN102591853B (en) | Webpage rearrangement method, webpage rearrangement device and mobile terminal | |
JP2005527057A (en) | Presentation of HTML content on the small screen terminal display | |
CN111753556B (en) | Bilingual comparison reading method, terminal and computer storage medium | |
RU2509351C2 (en) | Method and apparatus for displaying navigation content | |
CN113408241A (en) | Text data processing method and device, electronic equipment and readable medium | |
US20110113318A1 (en) | Information processing device, method, and computer-readable recording medium recording program | |
CN109992750B (en) | Table object screening method and device, electronic equipment and storage medium | |
CN114579912A (en) | Page layout method, device, equipment and medium | |
CN111783007B (en) | Display rendering method and device, electronic equipment and storage medium | |
CN105389308B (en) | Webpage display processing method and device | |
AU2019341037B2 (en) | Dynamically adjusting text strings based on machine translation feedback | |
CN106559455A (en) | One kind is filled in a form result feedback prompts method and device | |
CN114625465A (en) | Text display method and device based on RN assembly, equipment and storage medium | |
CN116933728A (en) | Text processing method, electronic device and storage medium | |
CN104536949A (en) | Webpage reset method, webpage reset device and mobile terminal | |
WO2014050562A1 (en) | Sequence correction device for paragraph region, as well as method for controlling operation thereof and program for controlling operation thereof | |
CN113962193A (en) | Table typesetting method and device, electronic equipment and storage medium | |
CN102097086A (en) | Font display method for electronic device and electronic device thereof | |
CN112214972A (en) | Article processing method, article processing device, article processing equipment and computer readable storage medium | |
CN110990551B (en) | Text content processing method, device, equipment and storage medium | |
CN106095734B (en) | Text display method and device | |
CN106776489B (en) | Electronic document display method and system of display device | |
JP2014021694A (en) | Portable information terminal, table display method for portable information terminal and table display program for portable information terminal | |
CN110515618A (en) | Page info typing optimization method, equipment, storage medium and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |