WO2023143071A2 - 内容展示方法、装置、电子设备及存储介质 - Google Patents
内容展示方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2023143071A2 WO2023143071A2 PCT/CN2023/071659 CN2023071659W WO2023143071A2 WO 2023143071 A2 WO2023143071 A2 WO 2023143071A2 CN 2023071659 W CN2023071659 W CN 2023071659W WO 2023143071 A2 WO2023143071 A2 WO 2023143071A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- style
- rich text
- target
- text
- rendering
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000009877 rendering Methods 0.000 claims description 106
- 230000008859 change Effects 0.000 claims description 57
- 230000004044 response Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 12
- 230000004048 modification Effects 0.000 description 11
- 238000012986 modification Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000010365 information processing Effects 0.000 description 3
- 239000003086 colorant Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
-
- 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/106—Display of layout of documents; Previewing
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
- G06F40/157—Transformation using dictionaries or tables
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
Definitions
- the present disclosure relates to the technical field of the Internet, and in particular to a content display method, device and electronic equipment.
- the content in the table can also be displayed in the formula bar above the table, and the user can also modify the content in the table in the formula bar.
- Embodiments of the present disclosure provide a content display method, device, and electronic device, which can keep the style of the text content in a cell the same as the style of the text content in a formula bar, thereby making the target table more regular as a whole.
- an embodiment of the present disclosure provides a method for displaying content, including: in response to detecting a selection operation on a cell in a target table, obtaining the text content of the cell rich text in the selected cell, and determining the above-mentioned cell The style of the rich text; based on the text content of the above-mentioned unit rich text and the style of the above-mentioned unit rich text, generate the target rich text for displaying in the formula bar of the above-mentioned target table, wherein, the style of the above-mentioned target rich text is the same as the above-mentioned unit The rich text is styled the same; the above target rich text is displayed in the formula bar of the above target table.
- an embodiment of the present disclosure provides a content display device, including: a first determining unit, configured to obtain the rich text information of the cell in the selected cell in response to detecting a selection operation on a cell in the target table. Text content, and determining the style of the rich text of the above unit; generating a unit for generating the target rich text for displaying in the formula bar of the above target table based on the text content of the rich text of the above unit and the style of the rich text of the above unit , wherein, the style of the target rich text is the same as the style of the unit rich text; the display unit is used to display the target rich text in the formula bar of the target table.
- an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device for storing one or more programs, when the above one or more programs are processed by the above one or more executed by a processor, so that the one or more processors implement the content presentation method as described in the first aspect.
- an embodiment of the present disclosure provides a computer-readable medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the above-mentioned content presentation method in the first aspect are implemented.
- FIG. 1 is a flowchart of an embodiment of a content display method according to the present disclosure
- FIG. 2 is a partial schematic diagram of a target table according to some embodiments of the content presentation method of the present disclosure
- 3A-3E are partial schematic diagrams of target tables according to other embodiments of the content display method of the present disclosure.
- 4A-4B are partial schematic diagrams of target tables according to other embodiments of the content display method of the present disclosure.
- Fig. 5 is a schematic structural diagram of an embodiment of a content display device according to the present disclosure.
- FIG. 6 is an exemplary system architecture to which the content presentation method of an embodiment of the present disclosure can be applied;
- Fig. 7 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
- the term “comprise” and its variations are open-ended, ie “including but not limited to”.
- the term “based on” is “based at least in part on”.
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
- FIG. 1 shows the flow of an embodiment of the content presentation method according to the present disclosure.
- the content presentation method can be applied to a terminal device.
- the content display method includes the following steps:
- Step 101 in response to detecting a selection operation on a cell in a target table, acquire the text content of the cell rich text in the selected cell, and determine the style of the cell rich text.
- the execution subject of the content display method may detect a user's selection operation on a target table cell.
- the selection operation may be, but not limited to, a click operation, a long press operation, a double click operation, etc. for a cell.
- the execution subject of the content display method detects the selection operation for a certain cell, the cell rich text in the selected cell can be determined, the text content of the cell rich text can be obtained, and the style of the cell rich text can be determined.
- the target table may include at least one cell, the contents recorded in different cells of the target table may be different, and the styles of the contents in different cells may also be different.
- text content can be filled in the cell, and links, hyperlinks, etc. can also be filled in. That is, the content in the target table can have a certain style, and the content with a certain style can be called rich text.
- rich text in different cells may be different (the content and/or style of the rich text are different).
- text with multiple styles can be understood as rich text.
- the cell rich text can include the text content and text style in the cell. Therefore, the text contents in different cells may be different, and the text styles may also be different, and thus the rich text in different cells may be different.
- Step 102 based on the text content of the unit rich text and the style of the unit rich text, generate target rich text for displaying in the formula bar of the target table.
- target rich text is styled the same as cell rich text. Therefore, the text content displayed in the formula bar of the target table can also have a certain style.
- the execution subject of the content presentation method may generate the target rich text based on the text content of the unit rich text and the style of the unit rich text.
- the executive body of the content display method can input the text content of the unit rich text and the style of the unit rich text into the rich text editor, and after performing corresponding format conversion on the result output by the rich text editor, the The target rich text displayed in the formula bar.
- the formula bar of a table can be used to simultaneously display the text content in the selected cell.
- the style of the unit rich text is the same as the style of the target rich text. It can be understood that each style of the unit rich text is the same as each style of the target rich text;
- FIG. 2 shows a partial area of the target table. It can be seen from FIG. 2 that the text content in the selected cell 201 can be displayed in the formula bar 202, but, The style of the text content in the cell is not displayed in the formula bar, that is, the font style and font size style in the selected cell 201 are not reflected in the formula bar 202 .
- the present application generates the target rich text for displaying in the formula bar of the target table through the text content of the unit rich text and the style of the unit rich text, and the format of the target rich text can be compatible with the format that the formula bar can support. Match, in this way, the text content displayed in the formula bar can also be given a certain style.
- the target rich text for displaying in the formula bar of the target table, and it only needs to be reasonably selected according to the actual situation.
- a rich text editor can be used to render the text content of the unit rich text, and then convert the rendered text content into text content that can be displayed in the formula bar, so that the target rich text can be obtained.
- the target rich text can also be obtained directly by using a pre-built format conversion model (used to convert the format in the cell into a format that can be displayed in the formula bar).
- Step 103 displaying the target rich text in the formula bar of the target table.
- the execution subject of the content display method may display the target rich text in the formula column of the target table.
- both the text content and style in the selected cell can be reflected in the formula bar, thus making the overall target table more regular.
- the text content of the cell rich text in the selected cell can be obtained, and the style of the cell rich text can be obtained, and then
- the target rich text can be generated according to the acquired text content and style of the cell rich text, and the style of the target rich text can be the same as that of the cell rich text, and the target rich text can be displayed in the formula bar of the target table;
- the content style of the selected cell in the content style of the formula bar in the target table can be kept consistent, so that the overall target table can be made more regular.
- the rich text of a cell includes hyperlinks, attachment links, and links used to indicate specific users (such as @XXX links)
- the user can not only trigger these links in the selected cell, but also open the corresponding You can also trigger these links in the formula bar to open the pages corresponding to these links; that is, you can more conveniently trigger various links in the target table.
- Figures 3A-3D can be understood as part of the target table of the embodiment provided by this application. It can be seen from Figures 3A-3D that the selected cell
- the style of the cell rich text in and the style of the target rich text displayed in the formula bar 301 may be exactly the same.
- the style of the rich text includes at least one of the following: font, font style, hyperlink, attachment link, and link for indicating a specific user.
- FIG. 3E is a partial schematic diagram of the target table of the embodiment provided by the present application.
- the style of the rich text in the cell 302 may include: font, font, and hyperlink;
- the style of the unit rich text in the cell 303 can include: font, font style;
- the style of the unit rich text in the cell 304 can include: font, font style, the link that is used to indicate specific user;
- the unit rich text in the unit 304 The styles can include: fonts, font styles, attachment links.
- step 102 (generating the target rich text for displaying in the formula bar of the target table based on the text content of the unit rich text and the style of the unit rich text) may specifically include: Style, generate a style rendering instruction; input the style rendering instruction and text content into the rich text editor; generate the target rich text based on the rendering result of the above text content by the rich text editor.
- the rich text editor is used to perform style rendering on the text content based on the instruction of the style rendering instruction.
- the display format adapted to the cell may not be suitable for the formula bar, it is necessary to generate target rich text that can be displayed in the formula bar.
- a rich text editor may be used to generate target rich text.
- a rich text editor can be preset. When a cell is selected, the text content and style of the rich text in the cell can be obtained, and the style of the rich text in the cell can be identified and processed, and then generated with Rendering instruction to instruct the rich text editor to render, and then both the rendering instruction and the text content can be input to the rich text editor, so that the rich text editor can be used to perform style rendering on the text content and obtain the rendering result.
- rendering results can be directly displayed in the formula bar.
- the rendering results can be understood as the target rich text; and some rendering results may need to be format converted to obtain the target rich text.
- the format conversion method can be determined according to the format adapted to the formula bar.
- which conversion method is used to obtain the target rich text corresponding to the rendering result It can also be set according to the actual situation.
- the target table may include a display interface, and the display interface may include at least one style control, and each style control may be used to indicate a rendering style.
- each style control may be used to indicate a rendering style.
- adjusting the display form of the determined style control corresponding to each rendering style can facilitate the user to know which styles the target rich text currently has, thereby facilitating the user to re-edit the target rich text.
- how to adjust the display form of the style control can be set according to actual conditions, and how to adjust the display form is not limited here. For example, you can make style controls bigger, switch colors, add logo layers, and more.
- the rendering style corresponding to the target rich text can be determined in the following manner: obtain the rendering style applied when the rich text editor renders the text content; Determine at least one applied target rendering style; and determine the rendering style corresponding to the target rich text according to the at least one applied target rendering style.
- multiple rendering styles may be used; for example, the font models and font colors of different characters in the generated target rich text may be different, and certain characters may be The combination may constitute a link (for example, the combination of these characters www.***.com may constitute a link), etc.
- you may need to use multiple rendering styles and you can record the number of rendering characters corresponding to each rendering style, but the number of rendering characters corresponding to different rendering styles may be different, and the number of rendering characters corresponding to some rendering styles is relatively small.
- rendering styles correspond to a small number of rendering characters, so you can filter out the rendering styles that correspond to a large number of characters, or filter out the rendering styles that most characters are applied to, and filter out these rendering styles Part of the rendering style is determined as the applied target rendering style, and then the target rendering style can be used to determine the rendering style corresponding to the target rich text.
- the applied target rendering style is determined according to the number of rendering characters corresponding to each rendering style in the rendering style, and then the rendering style corresponding to the target rich text is determined according to the applied target rendering style, so that the rich text
- the corresponding rendering style is the style that most of the text content in the target rich text has, so it can more accurately reflect the style that the target rich text has.
- FIG. 4A and FIG. 4B are partial schematic diagrams of the target table implemented in the present disclosure.
- the target table can include a display interface 401, and in the display interface At least one style control may be displayed (may include style control 402, style control 403, style control 404, style control 405, style control 406).
- the display form of some style controls can be adjusted.
- the style control 403 and style control 405 in the display interface 401 have been adjusted; thus, it is convenient for the user to know the target What styles does rich text have.
- corresponding changes are made to the style of the unit rich text and the style of the target rich text based on the indication of the first style change instruction.
- the first style change instruction can be used to change the style of the cell rich text.
- the style of the target rich text when the style of the cell rich text is changed, the style of the target rich text will be changed accordingly, so that when the user changes the style of the cell rich text, the text content in the cell can be selected
- the style of can also be consistent with the text style in the formula bar, so that the overall target table can be made more regular.
- the rich text editor can also be used to change the style of the target rich text.
- a change rendering instruction can be generated according to the style change of the unit rich text, and the last rendering result can be changed according to the change rendering instruction. Then you can change the style of the target rich text according to the changed rendering result.
- how to change the style of the target rich text can also be selected according to the actual situation, and how to change the style of the target rich text is not determined here.
- the target table may include a display interface, and the display interface may include at least one style control, and each style control is used to indicate a rendering style; at this time, the first style change instruction may be generated in the following manner: based on A first style change instruction is generated for a trigger operation of the displayed style control.
- the style control is shown, so that the user can implement personalized style changes to the text content in the selected cell by triggering the style control, which not only facilitates the user to change the style, but also facilitates the user to customize the style.
- the style of the target rich text and the style of the unit rich text are correspondingly modified based on the indication of the second style modification instruction.
- the second style change instruction is used to change the style of the target rich text.
- the target table can also be made more regular.
- the second style change instruction may be generated in the following manner: in response to detecting a selection operation on the formula bar, display an editing operation interface corresponding to the rich text editor; based on the selection of the editing icon in the editing operation interface Operation, generating the above-mentioned second format change instruction.
- the editing operation interface includes at least one editing icon.
- the style rendering of the target rich text can be done by using the rich text editor, after detecting the selection operation for the formula bar, the editing operation interface corresponding to the rich text editor can be displayed, and the In the text editing operation page, a second style change instruction is generated for the selection operation of editing an image.
- the user can input the first style change command to change the style of the rich text of the cell and the style of the target rich text accordingly; when the formula bar is selected, the user can input the second style change command to change the The unit rich text style and the target rich text style are changed accordingly; in this way, it is more convenient for the user to change the unit rich text style and the target rich text style.
- the target form can be an online form.
- the cells are usually smaller.
- the cell rich text in the selected cell has the same style as the target rich text, which is also convenient for users Better browsing of cells (for example, a cell only shows part of the content, while the formula bar can show the entire content of the selected cell, and the style of the displayed content is also the same as the style of the text content in the cell).
- the display interface may not display the operation page of the rich text editor at this time, only after the user performs a trigger operation on the style control, according to the user
- the triggered style control determines the rendering style, and then generates a rendering instruction that can be recognized by the rich text editor according to the rendering style.
- the rich text editor can be used to render the text content according to the instruction of the rendering instruction, so that Change the style of the target rich text.
- the style of the unit rich text can also be changed accordingly.
- the present disclosure provides an embodiment of a content display device, which corresponds to the embodiment of the content display method shown in FIG. 1 , the device Specifically, it can be applied to various electronic devices.
- the content presentation device of this embodiment includes: a first determining unit 501, configured to obtain the text content of the cell rich text in the selected cell in response to detecting a selection operation on a cell in the target table , and determine the style of the above-mentioned unit rich text; the generation unit 502 is configured to generate the target rich text for displaying in the formula bar of the above-mentioned target table based on the text content of the above-mentioned unit rich text and the style of the above-mentioned unit rich text, Wherein, the style of the target rich text is the same as the style of the unit rich text; the display unit 503 is configured to display the target rich text in the formula column of the target table.
- a first determining unit 501 configured to obtain the text content of the cell rich text in the selected cell in response to detecting a selection operation on a cell in the target table , and determine the style of the above-mentioned unit rich text
- the generation unit 502 is configured to generate the target rich text for displaying in the formula
- the generating unit 502 is further configured to: generate a style rendering instruction according to the style of the rich text of the above-mentioned unit; input the above-mentioned style rendering instruction and the above-mentioned text content into a rich text editor; wherein, the above-mentioned rich text editor
- the device is configured to perform style rendering on the text content based on the instruction of the style rendering instruction; and generate the target rich text based on a rendering result of the text content by the rich text editor.
- the above-mentioned target table includes a display interface
- the above-mentioned display interface includes at least one style control
- each style control is used to indicate a rendering style
- the above-mentioned device further includes a second determination unit 504, configured to respond to the detection To the selection operation for the above-mentioned formula bar, determine the rendering style corresponding to the above-mentioned target rich text; adjust the display form of the style control corresponding to each determined rendering style in the above-mentioned display interface.
- the second determination unit 504 is further configured to obtain the rendering style applied when the rich text editor renders the above text content; according to the rendering characters corresponding to each rendering style in the applied rendering style Quantity, at least one applied target rendering style is determined; according to the at least one applied target rendering style, the rendering style corresponding to the above-mentioned target rich text is determined.
- the device further includes a modification unit 505, configured to modify the style of the unit rich text and the target rich text based on the indication of the first style modification instruction in response to receiving the first style modification instruction. corresponding changes are made to the style of the above-mentioned unit, wherein the above-mentioned first style change instruction is used to change the style of the above-mentioned unit rich text.
- the above-mentioned target table includes a display interface, and the above-mentioned display interface includes at least one style control, and each style control is used to indicate a rendering style; and, the changing unit 505 is specifically further configured to An operation is triggered to generate the above-mentioned first style change instruction.
- the modification unit 505 is specifically further configured to, in response to receiving the second style modification instruction, perform corresponding modification to the style of the target rich text and the style of the unit rich text based on the indication of the second style modification instruction , wherein, the above-mentioned second style change instruction is used to change the style of the above-mentioned target rich text.
- the modification unit 505 is further configured to display an editing operation interface corresponding to the rich text editor in response to detecting a selection operation on the formula bar, wherein the editing operation interface includes at least one editing icon; Based on the selection operation of the editing icon on the editing operation interface, the above-mentioned second style changing instruction is generated.
- the style of the rich text includes at least one of the following: font, font style, hyperlink, attachment link, and link for indicating a specific user.
- FIG. 6 shows an exemplary system architecture in which the content presentation method of an embodiment of the present disclosure can be applied.
- the system architecture may include terminal devices 601 , 602 , and 603 , a network 604 , and a server 605 .
- the network 604 may be used as a medium for providing communication links between the terminal devices 601 , 602 , 603 and the server 605 .
- Network 604 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.
- the terminal devices 601, 602, 603 can interact with the server 605 through the network 604 to receive or send messages and the like.
- client applications such as web browser applications, search applications, and news information applications, may be installed on the terminal devices 601, 602, and 603.
- the client applications in the terminal devices 601, 602, and 603 can receive user instructions and complete corresponding functions according to the user instructions, such as adding corresponding information to information according to the user instructions.
- Terminal devices 601, 602, and 603 may be hardware or software.
- the terminal devices 601, 602, and 603 can be various electronic devices that have display screens and support web browsing, including but not limited to smartphones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, moving picture expert compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture expert compression standard audio layer 4) player, laptop portable computer and desktop computer, etc.
- the terminal devices 601, 602, and 603 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (such as software or software modules for providing distributed services), or as a single software or software module. No specific limitation is made here.
- the server 605 may be a server that provides various services, such as receiving information acquisition requests sent by terminal devices 601, 602, and 603, and obtaining display information corresponding to the information acquisition requests in various ways according to the information acquisition requests. And the relevant data showing the information is sent to the terminal devices 601 , 602 , 603 .
- the information processing method provided by the embodiments of the present disclosure may be executed by a terminal device, and correspondingly, the content display apparatus may be set in the terminal devices 601 , 602 , and 603 .
- the information processing method provided by the embodiment of the present disclosure may also be executed by the server 605 , and accordingly, the information processing device may be disposed in the server 605 .
- terminal devices, networks and servers in FIG. 6 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
- FIG. 7 it shows a schematic structural diagram of an electronic device (such as the terminal device or server in FIG. 6 ) suitable for implementing the embodiments of the present disclosure.
- the terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like.
- the electronic device shown in FIG. 7 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
- an electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.) (RAM) 703 to execute various appropriate actions and processing.
- a processing device such as a central processing unit, a graphics processing unit, etc.
- RAM random access memory
- various programs and data necessary for the operation of the electronic device 700 are also stored.
- the processing device 701, ROM 702, and RAM 703 are connected to each other through a bus 704.
- An input/output (I/O) interface 705 is also connected to the bus 704 .
- the following devices can be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 707 such as a computer; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709.
- the communication means 709 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While FIG. 7 shows an electronic device having various means, it is to be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
- the computer program may be downloaded and installed from a network via communication means 709 , or from storage means 708 , or from ROM 702 .
- the processing device 701 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
- a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
- Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
- the client and the server can communicate using any currently known or future network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium
- HTTP HyperText Transfer Protocol
- the communication eg, communication network
- Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: in response to detecting a selection operation on a cell in the target table, acquires the selected cell The text content of the cell rich text in the cell, and determine the style of the above cell rich text; based on the text content of the above cell rich text and the above cell rich text style, generate the target for displaying in the formula bar of the above target table Rich text, wherein the style of the above-mentioned target rich text is the same as the style of the above-mentioned unit rich text; the above-mentioned target rich text is displayed in the formula bar of the above-mentioned target table.
- the generating the target rich text for displaying in the formula bar of the target table based on the text content of the unit rich text and the style of the unit rich text includes: according to the The style of the unit rich text, generating a style rendering instruction; inputting the style rendering instruction and the text content into a rich text editor; wherein, the rich text editor is configured to, based on the instruction of the style rendering instruction, edit the Perform style rendering on the text content; generate the target rich text based on the rendering result of the text content by the rich text editor.
- the target table includes a display interface, and the display interface includes at least one style control, each style control is used to indicate a rendering style; and when the above-mentioned one or more programs are executed by the electronic device , so that the electronic device: in response to detecting the selection operation on the formula bar, determines the rendering style corresponding to the target rich text; adjusts the display of the determined style control corresponding to each rendering style in the display interface form.
- the determining the rendering style corresponding to the target rich text includes: obtaining the rendering style applied when the rich text editor renders the text content; according to each of the applied rendering styles The number of rendered characters corresponding to the rendering style determines at least one applied target rendering style; according to the at least one applied target rendering style, determines the rendering style corresponding to the target rich text.
- the electronic device when the above one or more programs are executed by the electronic device, the electronic device: in response to receiving the first style change instruction, based on the indication of the first style change instruction, The style of the unit rich text and the style of the target rich text are correspondingly changed, wherein the first style change instruction is used to change the style of the unit rich text.
- the target form includes a display interface, and the display interface includes at least one style control, each style control is used to indicate a rendering style; and the first style change instruction is generated in the following manner: The first style change instruction is generated based on a trigger operation for the displayed style control.
- the electronic device when the above one or more programs are executed by the electronic device, the electronic device: in response to receiving the second style change instruction, based on the indication of the second style change instruction, The style of the rich text and the style of the rich text of the unit are correspondingly changed, wherein the second style change instruction is used to change the style of the target rich text.
- the second style change instruction is generated in the following manner: in response to detecting a selection operation on the formula bar, displaying an editing operation interface corresponding to a rich text editor, wherein the editing operation interface At least one edit icon is included; the second style change instruction is generated based on a selection operation of the edit icon on the edit operation interface.
- the style of the rich text includes at least one of the following: font, font style, hyperlink, attachment link, and link for indicating a specific user.
- Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
- LAN local area network
- WAN wide area network
- Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
- each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first determination unit may also be described as “a unit for determining the style of the rich text of the above unit”.
- FPGAs Field Programmable Gate Arrays
- ASICs Application Specific Integrated Circuits
- ASSPs Application Specific Standard Products
- SOCs System on Chips
- CPLD Complex Programmable Logical device
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
- a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read only memory
- EPROM or flash memory erasable programmable read only memory
- CD-ROM compact disk read only memory
- magnetic storage or any suitable combination of the foregoing.
- the content display method, device, and electronic device provided by the embodiments of the present disclosure can obtain the text content of the cell rich text in the selected cell after detecting the selection operation for the cell in the target table, and can obtain the cell rich text
- the style of the cell rich text can then be generated according to the acquired text content and style of the cell rich text, and the style of the target rich text can be the same as that of the cell rich text, and the target rich text can be displayed in the formula bar of the target table; In this way, the content style of the selected cell in the content style of the formula bar in the target table can be kept consistent, so that the overall target table is more regular.
- the rich text of a cell includes hyperlinks, attachment links, and links used to indicate specific users (such as @XXX links)
- the user can not only trigger these links in the selected cell, but also open the corresponding page, you can also trigger these links in the formula bar to open the pages corresponding to these links; that is, you can more conveniently trigger the various links in the target table.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开实施例公开了内容展示方法、装置和电子设备,当检测到针对目标表格中的单元格的选取操作后,可以获取选中单元格中的单元富文本的文本内容,并可以获取单元富文本的样式,然后可以根据获取的单元富文本的文本内容和样式,生成目标富文本,而目标富文本的样式可以与单元富文本的样式相同,且目标富文本可以在目标表格的公式栏进行展示;这样,也就使得目标表格中公式栏中的内容样式的选中单元格的内容样式可以保持一致,从而也就可以使得目标表格整体更加规整化。
Description
相关申请的交叉引用
本申请要求于2022年1月27日提交的,申请号为202210103776.0、发明名称为“内容展示方法、装置和电子设备”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
本公开涉及互联网技术领域,尤其涉及一种内容展示方法、装置和电子设备。
随着科学技术的发展,人们可能会利用表格整理各种各样的信息。也即,用户可以在表格中输入相应的信息,实现对信息的整理。
而当用户选中某个表格后,表格中的内容还可以在表格上方的公式栏处进行展示,用户也可以在公式栏内对表格中的内容进行修改。
发明内容
提供该公开内容部分以便以简要的形式介绍构思,这些构思将在 后面的具体实施方式部分被详细描述。该公开内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
本公开实施例提供了一种内容展示方法、装置和电子设备,可以使得单元格中的文本内容的样式与公式栏中文本内容的样式保持相同,从而也就可以使得目标表格整体更加规整化。
第一方面,本公开实施例提供了一种内容展示方法,包括:响应于检测到针对目标表格中的单元格的选取操作,获取选中单元格中的单元富文本的文本内容,以及确定上述单元富文本的样式;基于上述单元富文本的文本内容和上述单元富文本的样式,生成用于在上述目标表格的公式栏中进行展示的目标富文本,其中,上述目标富文本的样式与上述单元富文本的样式相同;在上述目标表格的公式栏中展示上述目标富文本。
第二方面,本公开实施例提供了一种内容展示装置,包括:第一确定单元,用于响应于检测到针对目标表格中的单元格的选取操作,获取选中单元格中的单元富文本的文本内容,以及确定上述单元富文本的样式;生成单元,用于基于上述单元富文本的文本内容和上述单元富文本的样式,生成用于在上述目标表格的公式栏中进行展示的目标富文本,其中,上述目标富文本的样式与上述单元富文本的样式相同;展示单元,用于在上述目标表格的公式栏中展示上述目标富文本。
第三方面,本公开实施例提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当上述一个或多个 程序被上述一个或多个处理器执行,使得上述一个或多个处理器实现如第一方面上述的内容展示方法。
第四方面,本公开实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面上述的内容展示方法的步骤。
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1是根据本公开的内容展示方法的一个实施例的流程图;
图2是根据本公开的内容展示方法的一些实施例的目标表格的部分示意图;
图3A-3E是根据本公开的内容展示方法的另一些实施例的目标表格的部分示意图;
图4A-4B是根据本公开的内容展示方法的另一些实施例的目标表格的部分示意图;
图5是根据本公开的内容展示装置的一个实施例的结构示意图;
图6是本公开的一个实施例的内容展示方法可以应用于其中的示例性***架构;
图7是根据本公开实施例提供的电子设备的基本结构的示意图。
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行 限制。
请参考图1,其示出了根据本公开的内容展示方法的一个实施例的流程。该内容展示方法可以应用于终端设备。如图1所示该内容展示方法,包括以下步骤:
步骤101,响应于检测到针对目标表格中的单元格的选取操作,获取选中单元格中的单元富文本的文本内容,以及确定单元富文本的样式。
作为示例,内容展示方法的执行主体可以检测用户针对目标表格单元格的选取操作。选取操作可以但不限定为针对单元格的点击操作、长按操作、双击操作等。在内容展示方法的执行主体检测到针对某个单元格的选取操作之后,则可以确定选中单元格中的单元富文本,并可以获取单元富文本的文本内容,以及确定单元富文本的样式。
作为示例,目标表格可以包括至少一个单元格,在目标表格的不同单元格中记录的内容可以不同,且不同单元格中的内容的样式也可以不同。例如,可以在单元格中填入文本内容,也可以填入链接、超链接等。也即,在目标表格中的内容可以具有一定的样式,则可以将具有一定样式的内容称为富文本。换言之,可以理解为不同单元格中的富文本可能不同(富文本的内容和/或样式不同)。
作为示例,可以将具有多种样式的文本理解为富文本。而单元富文本则可以包括单元格中的文本内容和文本样式。因此,不同的单元格中的文本内容可能不同,且文本样式也可能不同,进而不同的单元富文本可能不同。
步骤102,基于单元富文本的文本内容和单元富文本的样式,生成用于在目标表格的公式栏中进行展示的目标富文本。
在这里,目标富文本的样式与单元富文本的样式相同。从而可以使得目标表格的公式栏中所展示的文本内容也可以具有一定的样式。
作为示例,内容展示方法的执行主体可以基于单元富文本的文本内容和单元富文本的样式,生成目标富文本。例如,内容展示方法的执行主体可以将单元富文本的文本内容和单元富文本的样式输入至富文本编辑器,并将富文本编辑器输出的结果进行相应的格式转换之后,则可以生成用于在公式栏进行展示的目标富文本。
作为示例,表格的公式栏可以用于同步展示选中单元格中的文本内容。
作为示例,单元富文本的样式与目标富文本的样式相同可以理解为单元富文本的各个样式均与目标富文本的各个样式相同;例如,字形、字号、是否指示链接、字体颜色等均相同。
此处需要说明的是,在相关技术中,目标表格的单元格和公式栏各自支持的展示格式存在差异,例如,在单元格中展示的格式,在公式栏中并不能进行展示,因此,相关技术中,表格的公式栏仅展示文本内容,而不会体现公式栏中展示的文本内容的样式。为了便于理解,可以结合图2理解相关技术,图2示出了目标表格的部分区域,从图2可以看出,选中的单元格201中的文本内容,可以在公式栏202进行展示,但是,单元格中文本内容的样式并未在公式栏进行展示,也即,选中单元格201中的字形样式、字体大小样式等均未在公式栏202 中进行体现。
而本申请通过单元富文本的文本内容和单元富文本的样式,生成用于在目标表格的公式栏中进行展示的目标富文本,而目标富文本的格式可以与公式栏所能支持的格式相匹配,这样,可以使得公式栏中展示的文本内容也能赋予一定的样式。
作为示例,生成用于在目标表格的公式栏中进行展示的目标富文本的方式有很多,仅需根据实际情况进行合理选取即可。例如,可以利用富文本编辑器,对单元富文本的文本内容进行渲染,然后将渲染完成的文本内容转换为可以在公式栏中进行展示的文本内容,也就可以获得目标富文本。又如,还可以直接利用预建的格式转换模型(用于将单元格中的格式,转换为可以在公式栏中进行展示的格式)获得目标富文本。
步骤103,在目标表格的公式栏中展示目标富文本。
作为示例,在生成目标富文本之后,内容展示方法的执行主体可以在目标表格的公式栏中展示目标富文本。
作为示例,由于目标富文本的样式与单元富文本的样式相同,可以使得选中单元格中的文本内容和样式均能在公式栏中进行体现,从而也就使得目标表格整体更加规整化。
可以看出,在本申请实施例中,当检测到针对目标表格中的单元格的选取操作后,可以获取选中单元格中的单元富文本的文本内容,并可以获取单元富文本的样式,然后可以根据获取的单元富文本的文本内容和样式,生成目标富文本,而目标富文本的样式可以与单元富 文本的样式相同,且目标富文本可以在目标表格的公式栏进行展示;这样,也就使得目标表格中公式栏中的内容样式的选中单元格的内容样式可以保持一致,从而也就可以使得目标表格整体更加与规整化。
进一步地,当单元富文本中包括超链接、附件链接、用于指示特定用户的链接(例如@XXX的链接)等时,用户不仅可以在选中单元格中对这些链接进行触发,打开这些链接对应的页面,还可以在公式栏中对这些链接进行触发,打开这些链接对应的页面;也即,可以更加方便地对目标表格中的各类链接进行触发。
为了便于理解本申请的展示方式,可以结合图3A-3D进行说明,图3A-3D可以理解为本申请提供的实施例的目标表格的部分示意图,从图3A-3D可以看出,选中单元格中的单元富文本的样式与公式栏301中展示的目标富文本的样式可以完全相同。
在一些实施例中,富文本的样式至少包括以下一项:字体、字形、超链接、附件链接、用于指示特定用户的链接。
为了便于理解,可以参阅图3E,图3E为本申请提供的实施例的目标表格的部分示意图,在图3E中,单元格302中的单元富文本的样式可以包括:字体、字形、超链接;单元格303中的单元富文本的样式可以包括:字体、字形;单元格304中的单元富文本的样式可以包括:字体、字形、用于指示特定用户的链接;单元格304中的单元富文本的样式可以包括:字体、字形、附件链接。
在一些实施例中,步骤102(基于单元富文本的文本内容和单元富文本的样式,生成用于在目标表格的公式栏中进行展示的目标富文 本)具体可以包括:可以根据单元富文本的样式,生成样式渲染指令;将样式渲染指令和文本内容输入至富文本编辑器;基于富文本编辑器针对上述文本内容的渲染结果,生成目标富文本。
在这里,富文本编辑器用于基于样式渲染指令的指示,对文本内容进行样式渲染。
作为示例,由于单元格所适配的展示格式可能并不适配公式栏,因此,需要生成可以在公式栏进行展示的目标富文本。
作为示例,可以利用富文本编辑器,生成目标富文本。例如,可以预设一个富文本编辑器,当选中某个单元格时,可以获取该单元格中的单元富文本的文本内容和样式,并可以对单元富文本的样式进行识别处理,然后生成用于指示富文本编辑器进行渲染方式的渲染指令,之后,则可以将渲染指令和文本内容这两者输入至富文本编辑器,从而可以利用富文本编辑器对文本内容进行样式渲染,并获得渲染结果。
需要说明的是,某些渲染结果可以直接在公式栏进行展示,此时,渲染结果则可以理解为目标富文本;而某些渲染结果可能还需进行格式转换,才能获得目标富文本。当需要对渲染结果进行格式转换时,可以根据公式栏所适配的格式,确定格式转换的方式,当然,在具体实施方式中,具体采用何种转换方式获得与渲染结果对应的目标富文本,也可以根据实际情况进行设定。
在一些实施例中,目标表格可以包括展示界面,展示界面可以包括至少一个样式控件,每个样式控件可以用于指示一种渲染样式,此时,响应于检测到针对公式栏的选取操作,确定目标富文本所对应的 至渲染样式;在展示界面中调整确定出的各渲染样式对应的样式控件的展示形式。
作为示例,调整确定出的各渲染样式对应的样式控件的展示形式,可以便于用户获知目标富文本当前具有哪些样式,从而可以便于用户对目标富文本进行再编辑。
作为示例,具体如何调节样式控件的展示形式可以根据实际情况进行设定,在此并不对如何调整展示形式进行限定。例如,可以将样式控件调大、转换颜色、增加标识图层等。
在一些实施例中,可以通过如下方式确定目标富文本所对应的渲染样式:获取在富文本编辑器针对文本内容进行渲染时所应用的渲染样式;根据所应用的渲染样式中各渲染样式所对应的渲染字符数量,确定至少一个所应用的目标渲染样式;并可以根据至少一个所应用的目标渲染样式,确定与目标富文本所对应的渲染样式。
作为示例,在富文本编辑器对文本内容进行编辑时,可能会采用多种渲染样式;例如,生成的目标富文本中不同文字的字体型号可能不同,字体颜色可能不同,且某几个字符进行组合可能构成了链接(例如,www.***.com这几个字符进行组合则可能构成了链接)等。此时,则可能需要使用多种渲染样式,并可以记录每种渲染样式所对应的渲染字符数量,而不同渲染样式所对应的渲染字符数量可能不同,某些渲染样式所对应的渲染字符数量较多,而某些渲染样式所对应的渲染字符数量较少,从而则可以将对应的字符数量较多的渲染样式筛选出来,或者,将大部分字符都应用到的渲染样式筛选出来,并将这 部分渲染样式确定为所应用的目标渲染样式,然后则可以利用目标渲染样式确定目标富文本对应的渲染样式。
作为示例,根据渲染样式中各渲染样式所对应的渲染字符数量,确定所应用的目标渲染样式,然后在根据所应用的目标渲染样式确定与目标富文本所对应的渲染样式,可以使得与富文本对应的渲染样式为目标富文本中大部分文本内容均具备的样式,也就可以更为精确的反应目标富文本所具备的样式。
为了便于理解,可以结合图4A和图4B进行说明,图4A和图4B为本公开的实施的目标表格的部分示意图,从图4A可以看出,目标表格可以包括展示界面401,而在展示界面可以展示至少一个样式控件(可以包括样式控件402、样式控件403、样式控件404、样式控件405、样式控件406)。当检测到针对公式栏的选取操作之后,可以调整部分样式控件的展示形式,如图4B所示,展示界面401中的样式控件403和样式控件405进行了调整;这样也就可以便于用户获知目标富文本具备哪些样式。
在一些实施例中,响应于接收到第一样式更改指令,基于第一样式更改指令的指示,对单元富文本的样式和目标富文本的样式进行对应更改。
在这里,第一样式更改指令可以用于针对单元富文本的样式进行更改。
作为示例,当单元富文本的样式发生变更之后,目标富文本的样式也会相应的发生变更,这样,也就可以使得当用户对单元富文本的 样式进行更改之后,选择单元格中的文本内容的样式也能与公式栏中的文本样式保持一致性,从而也就可以使得目标表格整体更加规整化。
作为示例,也可以利用富文本编辑器更改目标富文本的样式,例如,可以根据单元富文本的样式变更情况,生成变更渲染指令,并可以根据变更渲染指令,对上次的渲染结果进行变更,然后即可根据变更后的渲染结果,变更目标富文本的样式。当然,在具体实施方式中,具体如何更改目标富文本的样式,也可以根据实际情况进行选择,在此并不对如何变更目标富文本的样式进行确定。
在一些实施例中,目标表格可以包括展示界面,展示界面可以包括至少一个样式控件,每个样式控件用于指示一种渲染样式;此时,可以通过如下方式生成第一样式更改指令:基于针对展示的样式控件的触发操作,生成第一样式更改指令。
作为示例,展示样式控件,使得用户可以通过对样式控件进行触发,实现对选中的单元格中文本内容进行个性化的样式更改,不仅可以便于用户更改样式,也可以便于用户自定义样式。
在一些实施例中,响应于接收到第二样式更改指令,基于第二样式更改指令的指示,对目标富文本的样式和单元富文本的样式进行对应更改。
在这里,第二样式更改指令用于针对目标富文本的样式进行更改。
作为示例,还可以直接输入第二样式更改指令,直接对目标富文本的样式进行更改;而目标富文本的样式进行更改之后,对应的单元富文本的样式也会进行对应更改。这样,也可以使得目标表格更加与 规整化。
在一些实施例中,可以通过如下方式生成第二样式更改指令:响应于检测到针对公式栏的选取操作,展示与富文本编辑器对应的编辑操作界面;基于在编辑操作界面针对编辑图标的选取操作,生成上述第二格式更改指令。
在这里,编辑操作界面包括至少一个编辑图标。
作为示例,由于目标富文本的样式渲染可以利用富文本编辑器完成,因此,在检测到针对公式栏的选取操作后,可以展示富文本编辑器所对应的编辑操作界面,并可以根据用户在富文本编辑操作页面中针对编辑图片的选取操作,生成第二样式更改指令。
可以看出,当选中单元格时,用户可以输入第一样式更改指令对单元富文本的样式和目标富文本的样式进行对应更改,当选中公式栏时,用户可以输入第二样式更改指令对单元富文本样式和目标富文本样式进行对应更改;这样,可以使得用户更改单元富文本样式和目标富文本样式更加便捷。
在一些实施例中,目标表格可以为在线表格,当目标表格为在线表格时,单元格通常较小,此时,选中单元格中的单元富文本与目标富文本的样式相同,也可以便于用户更好的浏览单元格(例如,单元格仅展示了部分内容,而公式栏可以展示选中单元格中的全部内容,并且,所展示的内容的样式也与单元格中文本内容的样式相同)。
在一些实施例中,在展示界面展示样式控件后,若选中公式栏,此时,展示界面也可以不展示富文本编辑器的操作页面,仅是当用户 针对样式控件进行触发操作之后,根据用户触发的样式控件,确定渲染样式,然后可以根据渲染样式生成富文本编辑器可以识别的渲染指令,之后,则可以利用富文本编辑器可以根据渲染指令的指示对文本内容进行样式渲染,从而也可以实现对目标富文本样式的更改,相应的,当目标富文本的样式更改后,单元富文本的样式也可以进行对应更改。
进一步参考图5,作为对上述各图所示方法的实现,本公开提供了一种内容展示装置的一个实施例,该装置实施例与图1所示的内容展示方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图5所示,本实施例的内容展示装置包括:第一确定单元501,用于响应于检测到针对目标表格中的单元格的选取操作,获取选中单元格中的单元富文本的文本内容,以及确定上述单元富文本的样式;生成单元502,用于基于上述单元富文本的文本内容和上述单元富文本的样式,生成用于在上述目标表格的公式栏中进行展示的目标富文本,其中,上述目标富文本的样式与上述单元富文本的样式相同;展示单元503,用于在上述目标表格的公式栏中展示上述目标富文本。
在一些实施例中,上述生成单元502具体还用于:根据上述单元富文本的样式,生成样式渲染指令;将上述样式渲染指令和上述文本内容输入至富文本编辑器;其中,上述富文本编辑器用于基于上述样式渲染指令的指示,对上述文本内容进行样式渲染;基于上述富文本编辑器针对上述文本内容的渲染结果,生成上述目标富文本。
在一些实施例中,上述目标表格包括展示界面,上述展示界面包 括至少一个样式控件,每个样式控件用于指示一种渲染样式,以及上述装置还包括第二确定单元504,用于响应于检测到针对上述公式栏的选取操作,确定上述目标富文本所对应的渲染样式;在上述展示界面中调整确定出的各渲染样式对应的样式控件的展示形式。
在一些实施例中,上述第二确定单元504具体还用于获取在富文本编辑器针对上述文本内容进行渲染时所应用的渲染样式;根据所应用的渲染样式中各渲染样式所对应的渲染字符数量,确定至少一个所应用的目标渲染样式;根据上述至少一个所应用的目标渲染样式,确定与上述目标富文本所对应的渲染样式。
在一些实施例中,上述装置还包括更改单元505,用于响应于接收到第一样式更改指令,基于上述第一样式更改指令的指示,对上述单元富文本的样式和上述目标富文本的样式进行对应更改,其中,上述第一样式更改指令用于针对上述单元富文本的样式进行更改。
在一些实施例中,上述目标表格包括展示界面,上述展示界面包括至少一个样式控件,每个样式控件用于指示一种渲染样式;以及,更改单元505具体还用于基于针对展示的样式控件的触发操作,生成上述第一样式更改指令。
在一些实施例中,更改单元505具体还用于响应于接收到第二样式更改指令,基于上述第二样式更改指令的指示,对上述目标富文本的样式和上述单元富文本的样式进行对应更改,其中,上述第二样式更改指令用于针对上述目标富文本的样式进行更改。
在一些实施例中,上述更改单元505具体还用于响应于检测到针 对上述公式栏的选取操作,展示与富文本编辑器对应的编辑操作界面,其中,上述编辑操作界面包括至少一个编辑图标;基于在编辑操作界面针对编辑图标的选取操作,生成上述第二样式更改指令。
在一些实施例中,富文本的样式至少包括以下一项:字体、字形、超链接、附件链接、用于指示特定用户的链接。
请参考图6,图6示出了本公开的一个实施例的内容展示方法可以应用于其中的示例性***架构。
如图6所示,***架构可以包括终端设备601、602、603,网络604,服务器605。网络604可以用以在终端设备601、602、603和服务器605之间提供通信链路的介质。网络604可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
终端设备601、602、603可以通过网络604与服务器605交互,以接收或发送消息等。终端设备601、602、603上可以安装有各种客户端应用,例如网页浏览器应用、搜索类应用、新闻资讯类应用。终端设备601、602、603中的客户端应用可以接收用户的指令,并根据用户的指令完成相应的功能,例如根据用户的指令在信息中添加相应信息。
终端设备601、602、603可以是硬件,也可以是软件。当终端设备601、602、603为硬件时,可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。当终端设备601、602、603为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。
服务器605可以是提供各种服务的服务器,例如接收终端设备601、602、603发送的信息获取请求,根据信息获取请求通过各种方式获取信息获取请求对应的展示信息。并展示信息的相关数据发送给终端设备601、602、603。
需要说明的是,本公开实施例所提供的信息处理方法可以由终端设备执行,相应地,内容展示装置可以设置在终端设备601、602、603中。此外,本公开实施例所提供的信息处理方法还可以由服务器605执行,相应地,信息处理装置可以设置于服务器605中。
应该理解,图6中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。
下面参考图7,其示出了适于用来实现本公开实施例的电子设备(例如图6中的终端设备或服务器)的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图7所示,电子设备可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储装置508加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有电子设备700操作所需的各种程序和数据。处理装置701、ROM702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许电子设备与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的电子设备,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功 能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已 知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于检测到针对目标表格中的单元格的选取操作,获取选中单元格中的单元富文本的文本内容,以及确定上述单元富文本的样式;基于上述单元富文本的文本内容和上述单元富文本的样式,生成用于在上述目标表格的公式栏中进行展示的目标富文本,其中,上述目标富文本的样式与上述单元富文本的样式相同;在上述目标表格的公式栏中展示上述目标富文本。
在一些实施方式中,所述基于所述单元富文本的文本内容和所述单元富文本的样式,生成用于在所述目标表格的公式栏中进行展示的目标富文本,包括:根据所述单元富文本的样式,生成样式渲染指令;将所述样式渲染指令和所述文本内容输入至富文本编辑器;其中,所述富文本编辑器用于基于所述样式渲染指令的指示,对所述文本内容进行样式渲染;基于所述富文本编辑器针对所述文本内容的渲染结果,生成所述目标富文本。
在一些实施方式中,所述目标表格包括展示界面,所述展示界面包括至少一个样式控件,每个样式控件用于指示一种渲染样式;以及当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于检测到针对所述公式栏的选取操作,确定所述目标富文本所对应的渲染样式;在所述展示界面中调整确定出的各渲染样式对应的样式控件的展示形式。
在一些实施方式中,所述确定所述目标富文本所对应的渲染样式,包括:获取在富文本编辑器针对所述文本内容进行渲染时所应用的渲染样式;根据所应用的渲染样式中各渲染样式所对应的渲染字符数量,确定至少一个所应用的目标渲染样式;根据所述至少一个所应用的目标渲染样式,确定与所述目标富文本所对应的渲染样式。
在一些实施方式中,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于接收到第一样式更改指令,基于所述第一样式更改指令的指示,对所述单元富文本的样式和所述目标富文本的样式进行对应更改,其中,所述第一样式更改指令用于针对所述单元富文本的样式进行更改。
在一些实施方式中,所述目标表格包括展示界面,所述展示界面包括至少一个样式控件,每个样式控件用于指示一种渲染样式;以及所述第一样式更改指令通过如下方式生成:基于针对展示的样式控件的触发操作,生成所述第一样式更改指令。
在一些实施方式中,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于接收到第二样式更改指令,基于所述第 二样式更改指令的指示,对所述目标富文本的样式和所述单元富文本的样式进行对应更改,其中,所述第二样式更改指令用于针对所述目标富文本的样式进行更改。
在一些实施方式中,所述第二样式更改指令通过如下方式生成:响应于检测到针对所述公式栏的选取操作,展示与富文本编辑器对应的编辑操作界面,其中,所述编辑操作界面包括至少一个编辑图标;基于在编辑操作界面针对编辑图标的选取操作,生成所述第二样式更改指令。
在一些实施方式中,富文本的样式至少包括以下一项:字体、字形、超链接、附件链接、用于指示特定用户的链接。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点 上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一确定单元还可以被描述为“确定上述单元富文本的样式的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上***(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行***、装置或设备使用或与指令执行***、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁 性的、光学的、电磁的、红外的、或半导体***、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅 是实现权利要求书的示例形式。
本公开实施例提供的内容展示方法、装置和电子设备,当检测到针对目标表格中的单元格的选取操作后,可以获取选中单元格中的单元富文本的文本内容,并可以获取单元富文本的样式,然后可以根据获取的单元富文本的文本内容和样式,生成目标富文本,而目标富文本的样式可以与单元富文本的样式相同,目标富文本可以在目标表格的公式栏进行展示;这样,也就使得目标表格中公式栏中的内容样式的选中单元格的内容样式可以保持一致,从而使得目标表格整体更加规整化。
进一步地,当单元富文本中包括超链接、附件链接、用于指示特定用户的链接(例如@XXX的链接)等时,用户不仅可以在选中单元格中对这些链接进行触发,打开这些链接对应的页面,还可以在公式栏中对这些链接进行触发,打开这些链接对应的页面;也即,可以更加方便地对目标表格中的各类链接的进行触发。
Claims (12)
- 一种内容展示方法,其特征在于,包括:响应于检测到针对目标表格中的单元格的选取操作,获取选中单元格中的单元富文本的文本内容,以及确定所述单元富文本的样式;基于所述单元富文本的文本内容和所述单元富文本的样式,生成用于在所述目标表格的公式栏中进行展示的目标富文本,其中,所述目标富文本的样式与所述单元富文本的样式相同;在所述目标表格的公式栏中展示所述目标富文本。
- 根据权利要求1所述的方法,其特征在于,所述基于所述单元富文本的文本内容和所述单元富文本的样式,生成用于在所述目标表格的公式栏中进行展示的目标富文本,包括:根据所述单元富文本的样式,生成样式渲染指令;将所述样式渲染指令和所述文本内容输入至富文本编辑器;其中,所述富文本编辑器用于基于所述样式渲染指令的指示,对所述文本内容进行样式渲染;基于所述富文本编辑器针对所述文本内容的渲染结果,生成所述目标富文本。
- 根据权利要求1所述的方法,其特征在于,所述目标表格包括展示界面,所述展示界面包括至少一个样式控件,每个样式控件用于指示一种渲染样式;以及所述方法还包括:响应于检测到针对所述公式栏的选取操作,确定所述目标富文本所对应的渲染样式;在所述展示界面中调整确定出的各渲染样式对应的样式控件的展示形式。
- 根据权利要求3所述的方法,其特征在于,所述确定所述目标富文本所对应的渲染样式,包括:获取在富文本编辑器针对所述文本内容进行渲染时所应用的渲染样式;根据所应用的渲染样式中各渲染样式所对应的渲染字符数量,确定至少一个所应用的目标渲染样式;根据所述至少一个所应用的目标渲染样式,确定与所述目标富文本所对应的渲染样式。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:响应于接收到第一样式更改指令,基于所述第一样式更改指令的指示,对所述单元富文本的样式和所述目标富文本的样式进行对应更改,其中,所述第一样式更改指令用于针对所述单元富文本的样式进行更改。
- 根据权利要求5所述的方法,其特征在于,所述目标表格包括展示界面,所述展示界面包括至少一个样式控件,每个样式控件用于指示一种渲染样式;以及所述第一样式更改指令通过如下方式生成:基于针对展示的样式控件的触发操作,生成所述第一样式更改指令。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:响应于接收到第二样式更改指令,基于所述第二样式更改指令的指示,对所述目标富文本的样式和所述单元富文本的样式进行对应更改,其中,所述第二样式更改指令用于针对所述目标富文本的样式进行更改。
- 根据权利要求7所述的方法,其特征在于,所述第二样式更改指令通过如下方式生成:响应于检测到针对所述公式栏的选取操作,展示与富文本编辑器对应的编辑操作界面,其中,所述编辑操作界面包括至少一个编辑图标;基于在编辑操作界面针对编辑图标的选取操作,生成所述第二样式更改指令。
- 根据权利要求1所述的方法,其特征在于,富文本的样式至少包括以下一项:字体、字形、超链接、附件链接、用于指示特定用户的链接。
- 一种内容展示装置,其特征在于,包括:第一确定单元,用于响应于检测到针对目标表格中的单元格的选取操作,获取选中单元格中的单元富文本的文本内容,以及确定所述单元富文本的样式;生成单元,用于基于所述单元富文本的文本内容和所述单元富文本的样式,生成用于在所述目标表格的公式栏中进行展示的目标富文本,其中,所述目标富文本的样式与所述单元富文本的样式相同;展示单元,用于在所述目标表格的公式栏中展示所述目标富文本。
- 一种电子设备,其特征在于,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-9中任一所述的方法。
- 一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-9中任一所述的方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18/542,309 US20240119216A1 (en) | 2022-01-27 | 2023-12-15 | Method and apparatus, electronic device and storage media for content presentation |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210103776.0 | 2022-01-27 | ||
CN202210103776.0A CN114626332A (zh) | 2022-01-27 | 2022-01-27 | 内容展示方法、装置和电子设备 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/542,309 Continuation US20240119216A1 (en) | 2022-01-27 | 2023-12-15 | Method and apparatus, electronic device and storage media for content presentation |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2023143071A2 true WO2023143071A2 (zh) | 2023-08-03 |
WO2023143071A3 WO2023143071A3 (zh) | 2023-09-14 |
Family
ID=81897612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/071659 WO2023143071A2 (zh) | 2022-01-27 | 2023-01-10 | 内容展示方法、装置、电子设备及存储介质 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20240119216A1 (zh) |
CN (1) | CN114626332A (zh) |
WO (1) | WO2023143071A2 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114626332A (zh) * | 2022-01-27 | 2022-06-14 | 北京字跳网络技术有限公司 | 内容展示方法、装置和电子设备 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7590944B2 (en) * | 2005-03-31 | 2009-09-15 | Microsoft Corporation | Scrollable and re-sizeable formula bar |
CN1862528A (zh) * | 2006-06-09 | 2006-11-15 | 无锡永中科技有限公司 | 数据对象的描述信息的显示方法 |
CN101650709B (zh) * | 2009-09-08 | 2012-02-08 | 北京九恒星科技股份有限公司 | 报表生成方法和报表*** |
US9805016B2 (en) * | 2013-10-22 | 2017-10-31 | Microsoft Technology Licensing, Llc | Techniques to present a dynamic formula bar in a spreadsheet |
CN114626332A (zh) * | 2022-01-27 | 2022-06-14 | 北京字跳网络技术有限公司 | 内容展示方法、装置和电子设备 |
-
2022
- 2022-01-27 CN CN202210103776.0A patent/CN114626332A/zh active Pending
-
2023
- 2023-01-10 WO PCT/CN2023/071659 patent/WO2023143071A2/zh unknown
- 2023-12-15 US US18/542,309 patent/US20240119216A1/en active Pending
Also Published As
Publication number | Publication date |
---|---|
WO2023143071A3 (zh) | 2023-09-14 |
US20240119216A1 (en) | 2024-04-11 |
CN114626332A (zh) | 2022-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022042593A1 (zh) | 字幕编辑方法、装置和电子设备 | |
WO2022068533A1 (zh) | 互动信息处理方法、装置、设备及介质 | |
CN109976620B (zh) | 列表项展现属性信息的确定方法、装置、设备及存储介质 | |
WO2021223752A1 (zh) | 展示方法、装置和电子设备 | |
WO2020233444A1 (zh) | 在线文档***信息方法及装置 | |
JP6971292B2 (ja) | 段落と映像を整列させるための方法、装置、サーバー、コンピュータ可読記憶媒体およびコンピュータプログラム | |
US8145497B2 (en) | Media interface for converting voice to text | |
WO2022127838A1 (zh) | 文档处理方法、装置和电子设备 | |
WO2023011259A1 (zh) | 一种信息显示方法、装置、电子设备和存储介质 | |
WO2022218034A1 (zh) | 交互方法、装置和电子设备 | |
US20220374538A1 (en) | Permission control method and device and electronic equipment | |
WO2022111206A1 (zh) | 音频与文本的同步方法、装置、可读介质和电子设备 | |
WO2021190129A1 (zh) | 页面处理方法、装置、电子设备及计算机可读存储介质 | |
EP4124052A1 (en) | Video production method and apparatus, and device and storage medium | |
WO2022105760A1 (zh) | 一种多媒体浏览方法、装置、设备及介质 | |
WO2021057740A1 (zh) | 视频生成方法、装置、电子设备和计算机可读介质 | |
WO2023016349A1 (zh) | 一种文本输入方法、装置、电子设备和存储介质 | |
US11818491B2 (en) | Image special effect configuration method, image recognition method, apparatus and electronic device | |
US20240119216A1 (en) | Method and apparatus, electronic device and storage media for content presentation | |
JP2021096814A (ja) | 要約生成方法及び装置 | |
JP2023549903A (ja) | マルチメディアのインタラクション方法、情報インタラクション方法、装置、機器及び媒体 | |
CN112000267A (zh) | 信息显示方法、装置、设备及存储介质 | |
WO2022237553A1 (zh) | 表格展示方法、装置、设备及介质 | |
WO2022233311A1 (zh) | 展示方法、装置和电子设备 | |
WO2022083239A1 (zh) | 文字显示方法、装置、电子设备及计算机可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23745954 Country of ref document: EP Kind code of ref document: A2 |