CN114625465B - Text display method and device based on RN (radio network controller) component, equipment and storage medium - Google Patents

Text display method and device based on RN (radio network controller) component, equipment and storage medium Download PDF

Info

Publication number
CN114625465B
CN114625465B CN202210248306.3A CN202210248306A CN114625465B CN 114625465 B CN114625465 B CN 114625465B CN 202210248306 A CN202210248306 A CN 202210248306A CN 114625465 B CN114625465 B CN 114625465B
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.)
Active
Application number
CN202210248306.3A
Other languages
Chinese (zh)
Other versions
CN114625465A (en
Inventor
郭舒欣
张操丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202210248306.3A priority Critical patent/CN114625465B/en
Publication of CN114625465A publication Critical patent/CN114625465A/en
Application granted granted Critical
Publication of CN114625465B publication Critical patent/CN114625465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy 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 device, equipment and a storage medium based on an RN component, wherein the method comprises the following steps: when the word number of the text to be displayed is larger than the preset word number corresponding to the preset text component, performing abbreviation processing on the text to be displayed according to the limited text word number corresponding to the target text component to obtain the abbreviation text to be displayed, displaying the abbreviation text in the target text component, triggering the first prompt text component to display first prompt information, and canceling the limitation of the target text component on the text word number in response to the triggering operation of the first prompt text component so as to display the complete text to be displayed in the target text component; when the text to be displayed cannot be completely displayed, the first prompt message is displayed on the first prompt text component, and when the user needs to view the complete message, the first prompt text component can be triggered to cancel the limitation of the target text component on the text word number, so that the target text component can display the complete text to be displayed.

Description

Text display method and device based on RN (radio network controller) component, equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a text display method and apparatus based on an RN component, a device, and a storage medium.
Background
The number of the data texts displayed in the screen is generally fixed, and the content of each data text is dynamic, namely 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 text to be displayed is omitted and displayed, which is mainly realized based on the H5 technology, and the display style of the elements is defined through the CSS style description language. However, the omitted display method implemented by the H5 technology is likely to cause compatibility problems, for example, the H5 technology is not applicable to the IE10 and the following browsers.
In some technologies, the display of the text to be displayed is omitted based on a text component in a cross-platform mobile application development framework developed by an RN component (React Native Text, facebook), and the compatibility problem can be solved based on the RN component, but only ellipses of front, middle and rear three specific positions of a plurality of lines of text can be supported in the scheme provided by the current RN component in an official manner, so when the number of words of the text to be displayed exceeds the number of words which can be displayed by the text component, the ellipses are displayed in the front, middle and rear three specific positions of the text to indicate that the currently displayed text content is incomplete, but a user cannot view the complete text content.
Disclosure of Invention
In view of the foregoing, the present application has been made to provide a method and apparatus for displaying text based on an RN component, an electronic device, and a storage medium, which overcome or at least partially solve the foregoing problems, and include:
a method of text presentation based on RN components, the method comprising:
when the word number of the text to be displayed is larger than the preset word number corresponding to the preset text component, performing thumbnail processing on the text to be displayed according to the limited text word number corresponding to the target text component to obtain a thumbnail text to be displayed, wherein the number of the thumbnail text to be displayed is the same as that of the limited text word number; the target text component is arranged in a region corresponding to the preset text component; the limited text word number is smaller than the preset word number;
filling the thumbnail text to be displayed into the target text component for display, 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 coincides with the region corresponding to the preset text component;
And responding to the triggering operation for the first prompt text component, canceling the limitation of the target text component on the text word number so as to display complete text to be displayed in the target text component.
Optionally, the target text component includes 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 row 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 according to the text reading direction.
Optionally, the limited text word number corresponding to the target text component is the sum of the first limited text word number corresponding to the first text component and the second limited text word number 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:
sequentially filling characters with the same word number as the first limited text word number in the thumbnail text to be displayed into the first text component according to the character sequence;
and filling other characters except the characters filled in the first text component in the thumbnail text to be displayed into the second text component.
Optionally, sequentially filling the texts with the number of words identical to the number of the first limited text words in the thumbnail text to be displayed into the first text component according to the text sequence, including:
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 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 larger than the initial height;
and when the total height of the characters filled in the first text component is larger than the initial height, taking the last character filled currently as the first character filled in the second text component.
Optionally, the responding to the triggering operation for the first prompt text component cancels the limitation of the target text component on the text word number so as to display the complete text to be displayed in the target text component, and comprises the following steps:
and responding to the triggering operation for the first prompt text component, canceling the limitation of the first text component on the text word number so as to display complete text to be displayed in the first text component, and hiding the second text component and the first prompt text component.
Optionally, the responding to the triggering 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 unfolding state.
Optionally, the method further comprises:
and responding to the triggering operation aiming at the second prompt text component, restoring the limitation of the target text component on the text word number, 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 the first prompt information, and hiding the second prompt text component.
A text display device based on an RN component, the device comprising:
the thumbnail text determining module is used for performing thumbnail 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 larger than the preset word number corresponding to the preset text component, so as to obtain the thumbnail text to be displayed, the word number of which is the same as that of the limited text word number; the target text component is arranged in a region corresponding to the preset text component; the limited text word number is smaller 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 display, 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 coincides with the region corresponding to the preset text component;
and the complete text display module is used for responding to the triggering operation of the first prompt text component, canceling the limitation of the target text component on the text word number and displaying complete text to be displayed in the target text component.
Optionally, the target text component includes 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 row 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 according to the text reading direction.
Optionally, the limited text word number corresponding to the target text component is the sum of the first limited text word number corresponding to the first text component and the second limited text word number corresponding to the second text component; the thumbnail text display module comprises:
The first filling module is used for sequentially filling characters with the same number as the first limited text characters 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 characters filled in the first text component in the thumbnail text to be displayed into the second text component.
Optionally, the first filling module includes:
the initial height acquisition module is used for acquiring attribute information corresponding to the first text component, wherein the attribute information comprises 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 larger than the initial height;
and the final text determining module is used for taking the last text filled currently as the first text filled in the second text assembly when the total height of the text filled in the first text assembly is larger than the initial height.
Optionally, the complete text display module is specifically configured to cancel a limitation of the first text component on the number of text words in response to a triggering operation for the first prompt text component, so as to display complete text to be displayed 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:
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 unfolding state.
Optionally, 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 text word number, 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 the 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, which when executed by the processor, implements the steps of a 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 implements the steps of a RN component based text presentation method as described above.
The application has the following advantages:
in the embodiment of the application, when the word number of the text to be displayed is larger than the preset word number corresponding to the preset text component, the text to be displayed is subjected to thumbnail processing according to the limited text word number corresponding to the target text component, so that the thumbnail text to be displayed with the same word number as the limited text word number is obtained; the target text component is arranged in a region corresponding to the preset text component, and the number of the limited text words is smaller than the preset word number; filling the thumbnail text to be displayed into a target text component for display, 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 coincides with the region corresponding to the preset text component; in response to a triggering operation for the first prompt text component, canceling the limitation of the target text component on the text word number so as to display complete text to be displayed in the target text component; 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, and meanwhile, the first prompt information is displayed in the first prompt text component to prompt the user that the currently displayed text is in the thumbnail state.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the description of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
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 schematic diagram of a target text component in an embodiment of the application;
FIG. 3 is a schematic diagram of another target text component in an embodiment of the application;
FIG. 4 is a schematic diagram corresponding to FIG. 2 showing the complete text to be shown;
FIG. 5 is a schematic diagram corresponding to FIG. 3 showing the complete text to be shown;
fig. 6 is a block diagram illustrating a structure of a text display device based on an RN component according to an embodiment of the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description. It will be apparent that the described embodiments are some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the 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 is omitted from displaying, which specifically may include cutting off the text to be displayed from the beginning of the text to be displayed, and adding an ellipsis at the beginning of the cut text, for example: … xyz; or, truncating from the middle of the text to be presented, and adding an ellipsis in the middle of the truncated text, for example: ab … z; or, truncating from the end of the text to be presented, and adding an ellipsis at the end of the truncated text, for example: abc …; for the cut text, the user cannot view the original complete text content to be displayed.
In view of this, the embodiment of the application provides a text display method and device based on an RN component, an electronic device, and a storage medium, when the number of words of a text to be displayed exceeds the number of words corresponding to a preset text component, performing thumbnail processing on the text to be displayed to display the thumbnail text to be displayed obtained by the thumbnail processing in a target text component, and simultaneously displaying first prompt information in a first prompt text component to prompt a user that the currently displayed text is in a thumbnail state; when the triggering operation aiming at the first prompt text component is detected, modifying the attribute of the target text component to cancel the limitation of the target text component on the text word number, and displaying the complete text to be displayed in the target text component.
Referring to fig. 1, a step flow chart of a text display 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 or may be applied to a software application running by the terminal device, and in an embodiment of the present application, the method may specifically include the following steps:
step 101, when the word number of the text to be displayed is larger than the preset word number corresponding to the preset text component, performing thumbnail processing on the text to be displayed according to the limited text word number corresponding to the target text component to obtain a thumbnail text to be displayed with the same word number as the limited text word number; the target text component is arranged in a region corresponding to the preset text component; the limited text word number is smaller than the preset word number;
step 102, filling the thumbnail text to be displayed into the target text component for display, 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 coincides with the region corresponding to the preset text component;
And step 103, in response to the triggering operation for the first prompt text component, canceling the limitation of the target text component on the text word number so as to display the complete text to be displayed in the target text component.
In the embodiment of the application, when the word number of the text to be displayed is larger than the preset word number corresponding to the preset text component, the text to be displayed is subjected to thumbnail processing according to the limited text word number corresponding to the target text component, so that the thumbnail text to be displayed with the same word number as the limited text word number is obtained; the target text component is arranged in a region corresponding to the preset text component, and the number of the limited text words is smaller than the preset word number; filling the thumbnail text to be displayed into a target text component for display, 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 coincides with the region corresponding to the preset text component; in response to a triggering operation for the first prompt text component, canceling the limitation of the target text component on the text word number so as to display complete text to be displayed in the target text component; 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, and meanwhile, the first prompt information is displayed in the first prompt text component to prompt the user that the currently displayed text is in the thumbnail state.
Next, a text presentation method based on the RN component in the present exemplary embodiment will be further described.
In step 101, when the word number of the text to be displayed is greater than the preset word number corresponding to the preset text component, performing thumbnail processing on the text to be displayed according to the limited text word number corresponding to the target text component to obtain a thumbnail text to be displayed with the same word number as the limited text word number; the target text component is arranged in a region corresponding to the preset text component; the limited text word number is smaller than the preset word number.
In this embodiment, the preset text component corresponds to a text box for displaying text in a page, that is, the form of the preset text component is completely consistent with the form of the text box, and when the text box is a rectangle, the preset text component is a rectangle that is completely the same as the rectangle of the text box.
The preset word number can be set according to actual display requirements. For example, in the news information introduction page, for each piece of information, a preset text component may be used for displaying, and when the characters are arranged transversely, the attribute of the preset text component may be set to display three lines of characters, where the preset number of characters is the number of characters corresponding to the three lines of characters; or when the characters are vertically arranged, the attribute of the preset text component can be set to display three rows of characters, and at this time, the preset number of characters is the number of characters corresponding to the three rows of characters.
It should be noted that, the words and text mentioned in the embodiments of the present application refer to the manner and tool for human to record the expression information by using the symbols, including punctuation marks.
When the word number of the text to be displayed is smaller than or equal to the preset word number, the text to be displayed can be completely displayed in the preset text component, and the text to be displayed can be directly displayed.
When the number of words of the text to be displayed is larger 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 judging that the text to be displayed cannot be completely displayed in the preset text component, displaying the text to be displayed by adopting the target text component, wherein the target text component is arranged in the region corresponding to the preset text component, and the limited text word number corresponding to the target text component is smaller than the preset word number; therefore, when the text to be displayed is displayed in a thumbnail manner, the first prompt text component can be displayed in a specified area (the area corresponding to the preset text component) so as to receive the triggering operation of the user on the first prompt text component, 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 a tail end of the first text component, where the tail end may be understood as an end corresponding to a last line or a last column of text displayed by the first text component. The number of restricted text words corresponding to the target text component is the sum of the first number of restricted text words corresponding to the first text component and the second number of restricted text words corresponding to 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 displayed characters of the first text component is smaller than the number of lines of the displayed characters of the preset text component by one line; 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.
For example, 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 whose attribute is set to show two columns of characters and a second text component whose attribute is set to show one column of characters; it can be understood that the number of columns of the first text component display text is one column smaller than the number of columns of the preset text component display text; 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 number of limited 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 performing thumbnail processing on the text to be displayed according to the limited text word number to obtain the thumbnail text to be displayed, wherein the word number of the thumbnail text to be displayed is the same as that of the limited text word number.
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, then the sequence number of the last character which can be displayed by the target text component is determined through a character-by-character recursion algorithm, and further the thumbnail text to be displayed is determined; and if not, taking the next character as the current selected character, and continuously judging whether the current selected character is the last character which can be displayed by the target text component until the last character 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 character arrangement is the horizontal direction, the number of characters which can be displayed by the target text component can be calculated by acquiring the height of the target text component and combining the row height and the character width of the characters displayed by the target text component, and after the number of characters which can be displayed by the target text component is determined, the thumbnail text to be displayed can be determined by combining the character reading sequence of the text to be displayed; when the direction of the character arrangement is the vertical direction, the number of characters 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 characters displayed by the target text component, and then the thumbnail text to be displayed can be determined by combining the character reading sequence of the text to be displayed after the number of the characters which can be displayed by the target text component is determined.
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, wherein the first prompt information is used for indicating that the text to be displayed is in a thumbnail state.
And after the thumbnail text to be displayed, the number of which is the same as that of the limited text words, is obtained, filling the thumbnail text to be displayed into the target text component for displaying, and triggering the first prompt text component associated with the target text component to display the first prompt information. The method comprises the steps that a region formed by splicing a first prompt text component and a target text component coincides with a region corresponding to a preset text component; in order to ensure that the number of data texts displayed on the screen is not affected in practical application, and the display area of each data text is not affected.
In an alternative embodiment of the present application, the first text component may be connected to the second text component, and specifically, the second text component and the first text component are sequentially connected according to a text reading direction. The first prompt message is used for indicating that the currently displayed text is in a thumbnail state so as to prompt a user to view complete text content by triggering the first prompt component. The first hint information may include an omission symbol and hint text, for example, the first hint information may be: … shows more, … … more, … … looks more, etc.
Optionally, the font and/or color corresponding to the first prompt message may be different from the font and/or color corresponding to the thumbnail text to be displayed, so as to achieve a more objective prompt effect.
Illustratively, as shown in FIG. 2, the first hint text component is positioned to the right of the second text component when the text reading direction is from left to right; as shown in fig. 3, when the text reading direction is from top to bottom, the first hint text component is disposed below the second text component.
Optionally, the first text component, the second text component and the first prompting text component are disposed in the area corresponding to the preset text component, that is, the area corresponding to the first text component, the second text component and the first prompting text component is identical to the area corresponding to the preset text component. It can be appreciated 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 relevant settings of the first text component are as follows:
HTML
<Text numberOfLines={2}ellipsizeMode={'clip'}>;
and displaying at most two lines of characters in the first text component, and directly cutting off and not displaying the ellipses when the text to be displayed by the first text component is larger than the two lines of characters. 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, namely the text of the text and the rest text, which can be displayed by the first text component.
The relevant settings for the second text component are as follows:
JavaScript
<Text numberOfLines={1}ellipsizeMode={'clip'}>;
and displaying one row of characters at most by the second text component, and directly cutting off and not displaying the ellipses when the text to be displayed by the second text component is larger than one row of characters. The text to be displayed by the second text component can be the rest text after the text to be displayed is cut off according to the corresponding requirement of the first text component.
In this embodiment, since the first text prompting component and the second text prompting component are arranged side by side, it can be ensured that the characters displayed by the second text prompting component are not blocked by the first text prompting component, so that the situation that the single characters cannot be completely displayed due to the fact that the characters displayed in the second text prompting component are blocked by the first text prompting component is avoided.
In an optional embodiment of the present application, the filling the thumbnail text to be displayed into the target text component for displaying includes:
sequentially filling characters with the same word number as the first limited text word number in the thumbnail text to be displayed into the first text component according to the character sequence;
and filling other characters except the characters filled in the first text component in the thumbnail text to be displayed into the second text component.
In this embodiment, the text in the thumbnail text to be displayed may be sequentially ordered according to the reading order, and sequentially filled into the first text component and the second text component according to the ordered order.
Further, in an optional embodiment of the present application, when the word arrangement direction is a horizontal direction, the filling, according to the word sequence, the words having the same number of words as the first limited number of words in the thumbnail text to be displayed into the first text component 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 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 larger than the initial height;
and when the total height of the characters filled in the first text component is larger than the initial height, taking the last character filled currently as the first character filled in 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.
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 height of the display of the characters filled in the first text component is larger than the initial height; if not, continuing to fill the next character; if the number of the characters filled in the first text component exceeds the number of the characters set by the first text component, the characters filled in the first text component at the moment are cancelled, namely the last character filled currently is cancelled; and taking the last character filled currently as the first character filled in the second text component, determining the characters filled in the second text component in the same manner as the first text component, and filling in the second text component for display.
Further, in an optional embodiment of the present application, when the word arrangement direction is a vertical direction, the filling, according to the word sequence, the words having the same number of words as the first limited number of words in the thumbnail text to be displayed into the first text component 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 text word number is canceled, so that complete text to be displayed is displayed in the target text component.
The triggering operation may include, but is not limited to, operations of clicking, double clicking, long pressing, and the like, when the triggering operation for the first prompt text component is detected, limitation of the target text component on the text word number may be canceled, that is, when the triggering operation for the first prompt text component is detected, attribute settings corresponding to the target text component may be changed, so that the target text component does not limit the number of displayed words, and thus complete text to be displayed is displayed in the target text component, so as to meet a requirement of a user for viewing the complete text.
In an optional embodiment of the present application, when the target text component is formed by a first text component and a second text component, the canceling the limitation of the target text component on the text word number in response to the triggering operation for the first prompt text component to display the complete text to be displayed in the target text component includes:
and responding to the triggering operation for the first prompt text component, canceling the limitation of the first text component on the text word number so as to display complete text to be displayed in the first text component, and hiding the second text component and the first prompt text component.
In this embodiment, when a triggering 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 displayed text words is canceled, 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 information displayed in the second text component and the first prompt text component to a user is avoided.
For example, when the user clicks on the first text component displayed "… displays 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 text component are in a hidden state.
Further, in an optional embodiment of the present application, the responding to the triggering 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 unfolding state.
In this embodiment, when the text to be displayed is completely displayed, a second prompt message may also be displayed in a second prompt text component associated with the target text component, where the second prompt message is used to indicate that the currently displayed text is in an expanded state, so as to prompt the user to fold the text in the currently expanded state by triggering the second prompt text component, thereby reducing the screen area occupied by the currently displayed text. Illustratively, the second hint 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.
The second hint text component may be disposed at a trailing end of the first text component when used to present the complete text to be presented as the first text component of the target text components.
For example, when the user clicks on the first text component displayed as "… displays more" as shown in fig. 2, a display screen as shown in fig. 4 may be presented, where the first text component displays the complete text to be displayed, and the second text component and the first 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 'packed' prompt information.
For example, when the user clicks on the first text component displayed as "… displays more" as shown in fig. 3, a display screen as shown in fig. 5 may be presented, where the first text component displays the complete text to be displayed, and the second text component and the first 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 'packed' prompt information.
Optionally, the font and/or color corresponding to the second prompting information may be different from the font and/or color corresponding to the thumbnail text to be displayed, so as to achieve a more objective prompting effect.
Further, in an optional embodiment of the present application, after triggering the second prompt text component associated with the target text component to display the second prompt information, the method may further include:
and responding to the triggering operation aiming at the second prompt text component, restoring the limitation of the target text component on the text word number, 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 the first prompt information, and hiding the second prompt text component.
The triggering operation may include, but is not limited to, operations of clicking, double clicking, long pressing, etc., when triggering operation for the second prompting text component is detected, triggering the target text component to restore the original set attribute, that is, to restore limitation on the text word number, so as to display the thumbnail text to be displayed of the text to be displayed in the target text component, and triggering the first prompting text component to display the first prompting information so as to prompt the user that the displayed text is in the thumbnail state at the moment; while hiding the second prompt text component to prevent the second text component from interfering with the user.
For example, when the user clicks on the second prompt text component shown in fig. 4 and displayed "collapsed", a display screen shown in fig. 2 may be presented, where the target text component (the first text component and the second text component) displays the thumbnail text to be displayed, the first prompt text component displays the first prompt information, and the second prompt text component is in a hidden state.
For example, when the user clicks on the second prompt text component shown in fig. 5 and displayed "collapsed", a display screen shown in fig. 3 may be presented, where the target text component (the first text component and the second text component) displays the thumbnail text to be displayed, 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 word number of the text to be displayed is larger than the preset word number corresponding to the preset text component, the text to be displayed is subjected to thumbnail processing according to the limited text word number corresponding to the target text component, so that the thumbnail text to be displayed with the same word number as the limited text word number is obtained; wherein, the number of the limited text words is smaller than the preset word number; filling the thumbnail text to be displayed into a target text component for display, 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 a triggering operation for the first prompt text component, canceling the limitation of the target text component on the text word number so as to display complete text to be displayed in the target text component; by means of the method for arranging the components under the RN frame, when the text box cannot display the text to be displayed completely, the thumbnail text to be displayed of the text to be displayed can be displayed in the target text component, meanwhile, first prompt information 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 view 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 text word number, so that the text to be displayed can be displayed completely in the target text component; the method solves the problem that in the related art, the RN component can not realize the layout of the prompt information displayed when the omitted text is displayed.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the application.
Referring to fig. 6, there is shown a block diagram of an embodiment of a text display device based on an RN component, corresponding to the method embodiment shown in fig. 1, and the device may specifically include the following modules:
the thumbnail 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 thumbnail processing on the text to be displayed according to the limited number of words of the text corresponding to the target text component, so as to obtain a thumbnail text to be displayed with the same number of words as the limited number of words of the text; the target text component is arranged in a region corresponding to the preset text component; the limited text word number is smaller than the preset word number;
The thumbnail text display module 602 is configured to fill the thumbnail text to be displayed into 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 the currently displayed text is in a thumbnail state; the region formed by splicing the first prompt text component and the target text component coincides with the region corresponding to the preset text component;
and the complete text display module 603 is configured to cancel the limitation of the target text component on the text word number in response to the triggering operation for the first prompt text component, so as to display the complete text to be displayed in the target text component.
In an alternative embodiment of the present application, the target text component includes 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 row 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 according to the text reading direction.
In an optional embodiment of the present application, the number of restricted text words corresponding to the target text component is a sum of a first number of restricted text words corresponding to the first text component and a second number of restricted text words corresponding to the second text component; the thumbnail text display module 602 includes:
the first filling module is used for sequentially filling characters with the same number as the first limited text characters 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 characters filled in the first text component in the thumbnail text to be displayed into the second text component.
In an alternative embodiment of the present application, the first filling module includes:
the initial height acquisition module is used for acquiring attribute information corresponding to the first text component, wherein the attribute information comprises 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 larger than the initial height;
And the final text determining module is used for taking the last text filled currently as the first text filled in the second text assembly when the total height of the text filled in the first text assembly is larger than the initial height.
In an optional embodiment of the present application, the complete text display module 603 is specifically configured to cancel the limitation of the first text component on the text word number in response to the triggering operation for the first prompt text component, so as to display the complete text to be displayed in the first text component, and hide the second text component and the first prompt text component.
In an alternative embodiment of the present application, the complete text display module 603 further includes:
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 unfolding state.
In an alternative 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 text word number, 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 the first prompt information, and hiding the second prompt text component.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The embodiment of the application also discloses an electronic device, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the text display method based on the RN component when being executed by the processor.
Embodiments of the present application also disclose a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a RN component based text presentation method as described above.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that 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 application may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) 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 device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus 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 in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the application.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The text display method, the device, the equipment and the storage medium based on the RN component provided by the application are described in detail, and specific examples are applied to the explanation of the principle and the implementation mode of the application, and the explanation of the above examples is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (8)

1. A method for displaying text based on an RN component, the method comprising:
when the word number of the text to be displayed is larger than the preset word number corresponding to the preset text component, performing thumbnail processing on the text to be displayed according to the limited text word number corresponding to the target text component to obtain a thumbnail text to be displayed, wherein the number of the thumbnail text to be displayed is the same as that of the limited text word number; the target text component is arranged in a region corresponding to the preset text component; the limited text word number is smaller than the preset word number;
filling the thumbnail text to be displayed into the target text component for display, 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 coincides with the region corresponding to the preset text component;
Responding to the triggering operation for the first prompt text component, canceling the limitation of the target text component on the text word number so as to display complete text to be displayed in the target text component;
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 row 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 according to the text reading direction;
the limited text word number corresponding to the target text component is the sum of the first limited text word number corresponding to the first text component and the second limited text word number 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:
sequentially filling characters with the same word number as the first limited text word number in the thumbnail text to be displayed into the first text component according to the character sequence;
and filling other characters except the characters filled in the first text component in the thumbnail text to be displayed into the second text component.
2. The method according to claim 1, wherein sequentially filling the texts with the same number of words as the first limited text word number in the thumbnail text to be presented into the first text component in the text 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;
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 height of the characters filled in the first text component is larger than the initial height;
and when the total height of the characters filled in the first text component is larger than the initial height, taking the last character filled currently as the first character filled in the second text component.
3. The method of claim 1, wherein the canceling the restriction of the text word count by the target text component 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:
and responding to the triggering operation for the first prompt text component, canceling the limitation of the first text component on the text word number so as to display complete text to be displayed in the first text component, and hiding the second text component and the first prompt text component.
4. The method of any of claims 1-3, wherein the responding to the triggering 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 unfolding state.
5. The method according to claim 4, wherein the method further comprises:
and responding to the triggering operation aiming at the second prompt text component, restoring the limitation of the target text component on the text word number, 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 the first prompt information, and hiding the second prompt text component.
6. A text display device based on an RN component, the device comprising:
the thumbnail text determining module is used for performing thumbnail 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 larger than the preset word number corresponding to the preset text component, so as to obtain the thumbnail text to be displayed, the word number of which is the same as that of the limited text word number; the target text component is arranged in a region corresponding to the preset text component; the limited text word number is smaller 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 display, 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 coincides with the region corresponding to the preset text component;
the complete text display module is used for responding to the triggering operation of the first prompt text component, canceling the limitation of the target text component on the text word number and displaying complete text to be displayed in the target text component;
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 row 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 according to the text reading direction;
the limited text word number corresponding to the target text component is the sum of the first limited text word number corresponding to the first text component and the second limited text word number corresponding to the second text component; the thumbnail text display module comprises:
The first filling module is used for sequentially filling characters with the same number as the first limited text characters 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 characters filled in the first text component in the thumbnail text to be displayed into the second text component.
7. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program implementing the steps of the RN component based text presentation method according to any of claims 1 to 5 when executed by the processor.
8. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, which when executed by a processor, implements the steps of the RN component based text presentation method according to any of claims 1 to 5.
CN202210248306.3A 2022-03-14 2022-03-14 Text display method and device based on RN (radio network controller) component, equipment and storage medium Active CN114625465B (en)

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 CN114625465A (en) 2022-06-14
CN114625465B true 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 (6)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107967093B (en) * 2017-12-21 2020-01-31 维沃移动通信有限公司 multi-segment text copying method and mobile terminal
CN111670571B (en) * 2018-06-01 2022-07-29 华为技术有限公司 Method and terminal for viewing information content
US11886813B2 (en) * 2020-04-13 2024-01-30 Capital One Services, Llc Efficient automatic punctuation with robust inference

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
CN108062364A (en) * 2017-12-05 2018-05-22 优酷网络技术(北京)有限公司 Information displaying method and device
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
CN114625465A (en) 2022-06-14

Similar Documents

Publication Publication Date Title
US9576068B2 (en) Displaying selected portions of data sets on display devices
US8321786B2 (en) Routine and interface for correcting electronic text
JP4733415B2 (en) Electronic document display apparatus and method, and computer program
CN105740364B (en) Page processing method and related device
CN102663126A (en) Method and device for displaying webpage in mobile terminal
CN102646008B (en) Method and device for displaying multi-display page of document by electronic reader
CN105069060B (en) HTML document paging typesetting method
CN111291533B (en) Sentence segment to be displayed display method and device, computer equipment and storage medium
CN104217037A (en) Method and device for displaying web page in mobile terminal
CN113408241A (en) Text data processing method and device, electronic equipment and readable medium
CN104820589A (en) Method and device for dynamically adapting webpage
CN104239282B (en) The treating method and apparatus of e-book
CN109992750B (en) Table object screening method and device, electronic equipment and storage medium
CN106874387B (en) Method for displaying real-time information in self-adaptive HTML (Hypertext markup language) scrolling mode
US7134083B1 (en) Method and system for generating button and tab user interface control components within the context of a hypertext markup language (HTML) based web page
CN106372070B (en) Method and device for displaying data in graphical interface
CN114625465B (en) Text display method and device based on RN (radio network controller) component, equipment and storage medium
AU2019341037B2 (en) Dynamically adjusting text strings based on machine translation feedback
CN111563157A (en) Thumbnail display method and device
CN106355970A (en) Virtual military training system
WO2014050562A1 (en) Sequence correction device for paragraph region, as well as method for controlling operation thereof and program for controlling operation thereof
CN112558957B (en) Method and device for generating webpage form, electronic equipment and readable storage medium
CN103870484B (en) Webpage coordinate acquiring method and device
CN102097086A (en) Font display method for electronic device and electronic device thereof
JP2014021694A (en) Portable information terminal, table display method for portable information terminal and table display program for portable information terminal

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