Document directory processing method and related device
By hiding the content and directory nodes associated with the target content or directory in the document, the problem of low reading efficiency caused by long documents and multiple directory nodes is solved, and the efficiency of content management and positioning is achieved.
Patent Information
- Application Number
- PCT/CN2024/082569
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-23
- Filing Date
- 2024-03-20
- Publication Date
- 2024-09-26
AI Technical Summary
During the document editing process, long document content and multiple directory nodes make it difficult for users to efficiently manage and locate the required content, reducing reading efficiency.
By receiving interactive instructions in the text content area or directory area of the document, the content and directory nodes associated with the target content or directory are hidden, thereby simplifying the directory structure and improving reading efficiency.
It enables users to efficiently hide content and directories that do not need to be read in documents, simplifies directory management, and improves content positioning and reading efficiency.
Smart Images

Figure CN2024082569_26092024_PF_FP
Abstract
Description
Document directory processing method and related equipment
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application No. 202310302985.2, filed on March 23, 2023, entitled “Document Directory Processing Method and Related Equipment”. The entire contents of that application are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to the field of computer technology, and in particular to a document directory processing method and related equipment. Background Art
[0004] When using documents for editing, it is usually necessary to manage the document content through directories.
[0005] In the prior art, when the document content is too long and has too many directory nodes, users cannot efficiently determine the part they want to read among the numerous directory nodes. There is no effective means to manage the directory, resulting in low efficiency in users viewing the document content.
[0006] Summary of the Invention
[0007] The present disclosure proposes a document directory processing method and related devices to solve or partially solve the above problems.
[0008] In a first aspect of the present disclosure, a document directory processing method is provided, comprising: receiving a first interactive instruction for target content in a main content area of a document, hiding associated content of the target content, the target content and the associated content being content with a title attribute; in response to hiding the associated content of the target content, hiding a target directory in a directory area of the document, the target directory being a directory corresponding to the associated content.
[0009] In a second aspect of the present disclosure, a document directory processing method is provided, including: receiving a first interactive instruction for a target directory in a directory area of a document, and hiding an associated directory of the target directory; in response to hiding the associated directory of the target directory, hiding target content in a body content area of the document, the target content being content corresponding to the associated directory.
[0010] In a third aspect of the present disclosure, a document directory processing device is provided, comprising: an interaction module for receiving a first interaction instruction for target content in a main text area of a document, and hiding associated content of the target content, wherein the target content and the associated content are content with title attributes; a processing module: for hiding a target directory in a directory area of the document in response to hiding associated content of the target content, wherein the target directory is a directory corresponding to the associated content.
[0011] In a fourth aspect of the present disclosure, a document directory processing device is provided, comprising: an interaction module for receiving a first interaction instruction for a target directory in a directory area of a document, and hiding an associated directory of the target directory; a processing module for hiding target content in a body content area of the document in response to hiding an associated directory of the target directory, wherein the target content is content corresponding to the associated directory.
[0012] In a fifth aspect of the present disclosure, a computer device is provided, comprising one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the programs include instructions for executing the method according to the first aspect or the second aspect.
[0013] In a sixth aspect of the present disclosure, a non-volatile computer-readable storage medium containing a computer program is provided, which, when executed by one or more processors, enables the processors to execute the method described in the first aspect or the second aspect.
[0014] In a seventh aspect of the present disclosure, a computer program product is provided, comprising computer program instructions, which, when executed on a computer, cause the computer to execute the method described in the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0016] FIG1 shows a schematic diagram of an exemplary system provided by an embodiment of the present disclosure.
[0017] FIG2 shows a schematic flow chart of an exemplary method according to an embodiment of the present disclosure.
[0018] FIG3 shows a flowchart of another exemplary method according to an embodiment of the present disclosure.
[0019] FIG4 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
[0020] FIG5 shows a schematic diagram of another exemplary page according to an embodiment of the present disclosure.
[0021] FIG6 shows a schematic diagram of an exemplary device provided by an embodiment of the present disclosure.
[0022] FIG7 shows a schematic diagram of another exemplary device provided by an embodiment of the present disclosure.
[0023] FIG8 shows a schematic diagram of the hardware structure of an exemplary computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
[0025] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should have the usual meanings understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative position relationships. When the absolute position of the described object changes, the relative position relationship may also change accordingly.
[0026] FIG1 shows a schematic diagram of an exemplary system 100 provided by an embodiment of the present disclosure.
[0027] As shown in FIG. 1 , the system 100 may include terminal devices 102A and 102B and a server 104 .
[0028] Terminal devices 102A and 102B may be terminals used by end users, and may be any terminal devices. For example, terminal devices 102A and 102B may be mobile terminals (e.g., mobile phones, tablet computers) or fixed terminals (e.g., personal computers (PCs) and laptop computers). Terminal devices 102A and 102B may run applications, and the applications may provide corresponding services to users.
[0029] The server 104 may be a single server or multiple servers. In a multiple-server scenario, these servers may adopt a distributed architecture and may form a server cluster.
[0030] In some embodiments, as shown in FIG. 1 , the system 100 may further include a database server 106 for storing data. The server 104 may retrieve required data, such as various data tables, from the database server 106 .
[0031] As an optional application scenario, the system 100 can be a data sharing and collaborative work service system, where terminal users can edit corresponding documents using terminal devices 102A and 102B running applications with collaborative work capabilities, and can upload the modified data to the server 104, which can be stored in the database server 106. As an optional embodiment, when one of the collaborative terminal devices (e.g., terminal device 102A) updates the data or the way the data is displayed, the other terminal devices (e.g., terminal device 102B) can also obtain the updated content of the other terminal devices from the server 104 and update the local data of the other terminal devices accordingly.
[0032] The embodiment of the present disclosure also provides a document directory processing method.
[0033] FIG2 shows a schematic flow chart of an exemplary method provided by an embodiment of the present disclosure.
[0034] As shown in FIG2 , the method may include the following steps.
[0035] Step 202: receiving a first interaction instruction for target content in the main content area of the document, and hiding the associated content of the target content.
[0036] In some embodiments, the document may be a local document or an online document. The document's main content area is where users create, modify, or read document content. Target content is a portion of the document content, such as text, images, videos, or other content-carrying formats within the document.
[0037] In some embodiments, the first interaction instruction can be a direct operation on the target content, such as clicking, touching, or selecting the target content; the first interaction instruction can also be an operation on a target control associated with the target content, such as displaying a preset control near the location of the target content, and interacting with the preset control to send the first interaction instruction to the target content.
[0038] In some embodiments, the target content and associated content are content with a title attribute. After the target content is added with a title attribute, the target content can be modified to have a title attribute. The operation of adding a title attribute can be performed by selecting the target content and selecting a title control in the corresponding control set to perform the above operation. After the target content has a title attribute, the display style of the content is automatically adjusted, for example, the content is displayed in bold or the font size of the content is adjusted.
[0039] In some embodiments, when the target content is modified to have a title attribute, a preset control is displayed at the beginning of the target content, and the preset control is used to control the display or hiding of the associated content of the target content according to the first interactive instruction. The associated content of the document is the content located after the paragraph where the target content is located in the main content area of the document. The associated content includes any of the following situations: the associated content is content that does not have a title attribute, and the associated content has a title attribute but the title level is lower than the title level of the target content. The associated content can be considered as a sub-target content of the target content.
[0040] In some embodiments, when the associated content of the target content is not hidden, the preset control is displayed in a first style; when the associated content of the target content is hidden, the preset control is displayed in a second style.
[0041] The first style and the second style can be switched through the first interaction instruction or the second interaction instruction.
[0042] Step 204 : In response to hiding the associated content of the target content, hide the target directory in the directory area of the document.
[0043] In some embodiments, the target directory is a directory corresponding to the associated content.
[0044] In some embodiments, in response to content with a title attribute being created in the body content area of the document, a directory corresponding to the content is generated in the directory area of the document. Taking the target content as an example, after the title attribute is added to the target content, a directory corresponding to the target content is automatically generated in the directory area. The position of the generated directory in the entire directory area is determined by the position of the target content in the document and the title level of the target content. Similarly, when the title attribute is added to the associated content, a target directory is generated in the directory area.
[0045] In some embodiments, while the associated content of the target content is hidden, the target content is displayed in the main content area of the document. That is, after executing the first interaction instruction, the target content is not hidden and remains visible, but the associated content corresponding to the target content is hidden.
[0046] In some embodiments, while the target directory is hidden, the directory corresponding to the target content is displayed in the directory area of the document. That is, while the target directory is hidden in the directory area of the document, the directory corresponding to the target content remains visible. The directory corresponding to the target content is the parent directory of the target directory.
[0047] In some embodiments, in response to a change in the title level of the target content, the associated content is unhidden. When the title level of the target content changes, for example, from a level 1 title to a level 2 title, or from a level 1 title to no title, the hidden associated content is re-displayed in the document body.
[0048] In some embodiments, in response to a change in the title level of the target content, the target directory corresponding to the associated content is unhidden. When the title level of the target content changes, for example, from a level 1 title to a level 2 title, or from a level 1 title to no title, the hidden target directory is re-displayed in the document directory area.
[0049] In some embodiments, a second interaction instruction for target content is received in the body content area of the document, the hidden associated content is displayed, and the target directory in the directory area of the document is displayed.
[0050] In some embodiments, before receiving a first interactive instruction for the target content, that is, before hiding the associated content of the document, the process further includes: receiving a third interactive instruction for a parent directory of the target directory in the directory area of the document, hiding the target directory while maintaining the display of the associated content in the document's main content area. The parent directory of the target directory is its parent directory, which is generated based on assigning a title attribute to the target content. In this embodiment, some directories can be hidden individually, and while the directories are hidden, the main content of the document body corresponding to the hidden directories can be maintained in normal display and not hidden.
[0051] In this embodiment, by hiding the associated content in the document's main content area, the target directory in the document's directory area can also be hidden. This process allows users to hide unnecessary content while also hiding the corresponding content in the document's directory, streamlining the directory content and improving efficiency in reading the directory and locating content.
[0052] FIG3 shows a schematic flow chart of an exemplary method provided by an embodiment of the present disclosure.
[0053] As shown in FIG3 , the method may include the following steps.
[0054] Step 302: receiving a first interactive instruction for a target directory in a directory area of the document, and hiding the directories associated with the target directory.
[0055] Step 304 : In response to hiding the associated directory of the target directory, hiding the target content in the body content area of the document, where the target content is the content corresponding to the associated directory.
[0056] In some embodiments, the target content is content having a title attribute.
[0057] In some embodiments, in response to content with a title attribute being created in the body content area of the document, a directory corresponding to the content is generated in the directory area of the document. Taking target content as an example, after the title attribute is added to the target content, a directory corresponding to the target content is automatically generated in the directory area. The associated directory is generated after the title attribute is assigned to the target content, and the two have a one-to-one correspondence.
[0058] In this embodiment, by hiding a target directory in the document's table of contents, the target content in the document's body can also be hidden. When a user is viewing a document, irrelevant directory content can be hidden, and the corresponding content in the document's body can also be hidden, making it easier for the user to filter out unwanted content and improving document reading efficiency.
[0059] In some embodiments, as an illustration of the above embodiment, referring to FIG4 , area 401 is the document's main content area, area 402 is the document's directory area, area 403 is the document's target content, area 404 is the target content's associated content, area 405 is the directory corresponding to the target content, and area 406 is the target directory. Referring to FIG5 , after the associated content 404 of the target content 403 in the document's main content area 401 is hidden, the target directory 406 is automatically hidden in the document's directory area 402.
[0060] It should be noted that the method of the embodiments of the present disclosure can be performed by a single device, such as a computer or server. The method of the embodiments of the present disclosure can also be applied in a distributed scenario, where multiple devices cooperate to perform the method. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiments of the present disclosure, and the multiple devices will interact with each other to complete the method.
[0061] It should be noted that the above description is limited to some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the above embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0062] The present disclosure also provides a document directory processing device. Figure 6 shows a schematic diagram of an exemplary device provided by the present disclosure. As shown in Figure 6, the device can be used to implement the method described in the above embodiment and can further include the following modules.
[0063] An interaction module 602 is configured to receive a first interaction instruction for target content in a body content area of a document, and hide associated content of the target content, wherein the target content and the associated content are content having a title attribute;
[0064] Processing module 604 is configured to hide a target directory in the directory area of the document in response to hiding the associated content of the target content, where the target directory is a directory corresponding to the associated content.
[0065] In some embodiments, before receiving the first interaction instruction for the target content in the body content area of the document, the interaction module 602 is also used to generate a directory corresponding to the content in the directory area of the document in response to creating content with a title attribute in the body content area of the document.
[0066] In some embodiments, the associated content is a sub-target content, and the title level of the sub-target content is lower than the title level of the target content.
[0067] In some embodiments, the interaction module 602 is further configured to display the target content in the main content area of the document while hiding the associated content of the target content.
[0068] In some embodiments, the processing module 604 is further configured to display a directory corresponding to the target content in the directory area of the document while hiding the target directory.
[0069] In some embodiments, the interaction module 602 is further configured to cancel hiding of the associated content in response to a change in the title level of the target content.
[0070] In some embodiments, the processing module 604 is further configured to unhide the target directory corresponding to the associated content in response to a change in the title level of the target content.
[0071] In some embodiments, the interaction module 602 is further configured to receive a second interaction instruction for the target content in the body content area of the document, display the hidden associated content, and display the target directory in the directory area of the document.
[0072] In some embodiments, before the main content area of the document receives a first interaction instruction for the target content, the interaction module 602 is also used to receive a third interaction instruction for the parent directory of the target directory in the directory area of the document, hiding the target directory while keeping the associated content of the main content area of the document displayed.
[0073] The present disclosure also provides a document directory processing device. Figure 7 shows a schematic diagram of an exemplary device provided by the present disclosure. As shown in Figure 7, the device can be used to implement the method described in the above embodiment and can further include the following modules.
[0074] An interaction module 702 is configured to receive a first interaction instruction for a target directory in a directory area of a document, and hide directories associated with the target directory;
[0075] Processing module 704 is configured to hide target content in the body content area of the document in response to hiding the associated directory of the target directory, where the target content is content corresponding to the associated directory.
[0076] In some embodiments, the target content is content with a title attribute.
[0077] For the convenience of description, the above devices are described as being functionally divided into various modules. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0078] The apparatus of the above embodiment is used to implement the corresponding method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0079] The present disclosure also provides a computer device for implementing the aforementioned method. Figure 8 illustrates a hardware schematic diagram of an exemplary computer device 800 provided in the present disclosure. Computer device 800 can be used to implement terminal device 102A or 102B in Figure 1 , or server 104 in Figure 1 . In some scenarios, computer device 800 can also be used to implement database server 106 in Figure 1 .
[0080] 8 , a computer device 800 may include a processor 802, a memory 804, a network module 806, a peripheral interface 808, and a bus 810. The processor 802, the memory 804, the network module 806, and the peripheral interface 808 are communicatively connected to each other within the computer device 800 via the bus 810.
[0081] The processor 802 may be a central processing unit (CPU), an image processor, a neural network processor (NPU), a microcontroller (MCU), a programmable logic device (PLD), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), or one or more integrated circuits. The processor 802 may be used to perform functions related to the technology described in this disclosure. In some embodiments, the processor 802 may also include multiple processors integrated into a single logical component. For example, as shown in FIG8 , the processor 802 may include multiple processors 802a, 802b, and 802c.
[0082] The memory 804 can be configured to store data (e.g., instructions, computer codes, etc.). As shown in Figure 8, the data stored in the memory 804 can include program instructions (e.g., program instructions for implementing the method 600 of the embodiment of the present disclosure) and data to be processed (e.g., the memory can store configuration files of other modules, etc.). The processor 802 can also access the program instructions and data stored in the memory 804, and execute the program instructions to operate on the data to be processed. The memory 804 can include a volatile storage device or a non-volatile storage device. In some embodiments, the memory 804 can include a random access memory (RAM), a read-only memory (ROM), an optical disc, a magnetic disk, a hard disk, a solid-state drive (SSD), a flash memory, a memory stick, etc.
[0083] The network interface 806 can be configured to provide the computer device 800 with communication with other external devices via a network. The network can be any wired or wireless network capable of transmitting and receiving data. For example, the network can be a wired network, a local wireless network (e.g., Bluetooth, WiFi, near field communication (NFC)), a cellular network, the Internet, or a combination thereof. It will be understood that the type of network is not limited to the specific examples above.
[0084] The peripheral interface 808 can be configured to connect the computer device 800 to one or more peripheral devices to enable information input and output. For example, the peripheral devices can include input devices such as a keyboard, a mouse, a touchpad, a touch screen, a microphone, and various sensors, as well as output devices such as a display, a speaker, a vibrator, and an indicator light.
[0085] The bus 810 may be configured to transmit information between various components of the computer device 800 (e.g., the processor 802, the memory 804, the network interface 806, and the peripheral interface 808), such as an internal bus (e.g., a processor-memory bus), an external bus (USB port, PCI-E bus), etc.
[0086] It should be noted that although the architecture of the computer device 800 shown above only includes the processor 802, memory 804, network interface 806, peripheral interface 808, and bus 810, in a specific implementation, the architecture of the computer device 800 may also include other components necessary for normal operation. In addition, those skilled in the art will understand that the architecture of the computer device 800 may only include the components necessary to implement the embodiments of the present disclosure, and does not necessarily include all the components shown in the figure.
[0087] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method described in any of the above embodiments.
[0088] The computer-readable media of this embodiment include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0089] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0090] Based on the same inventive concept, corresponding to any of the above-described embodiments and methods, the present disclosure further provides a computer program product comprising a computer program. In some embodiments, the computer program is executable by one or more processors to cause the processors to perform the method described. For each step in each of the method embodiments, the processor executing the step may belong to the corresponding execution entity.
[0091] The computer program product of the above embodiment is used to enable a processor to execute the method described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0092] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Within the scope of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.
[0093] In addition, to simplify the description and discussion, and so as not to obscure the embodiments of the present disclosure, known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, devices may be shown in the form of block diagrams to avoid obscuring the embodiments of the present disclosure, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure are to be implemented (i.e., these details should be fully within the purview of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it will be apparent to those skilled in the art that the embodiments of the present disclosure may be implemented without these specific details or with variations in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0094] Although the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those skilled in the art based on the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0095] The embodiments of the present disclosure are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. A document directory processing method, comprising: receiving a first interaction instruction for target content in a body content area of a document, and hiding associated content of the target content, wherein the target content and the associated content are content with a title attribute; In response to hiding the associated content of the target content, a target directory in the directory area of the document is hidden, the target directory being a directory corresponding to the associated content.
2. The method of claim 1, wherein: Before receiving a first interaction instruction for the target content in the body content area of the document, the method further includes: In response to content having a title attribute being created in a body content area of the document, a directory corresponding to the content is generated in a directory area of the document.
3. The method of claim 1, wherein: The associated content is a sub-target content, and the title level of the sub-target content is lower than the title level of the target content.
4. The method of claim 1, wherein: Also includes: The target content is displayed in the main text area of the document while the associated content of the target content is hidden.
5. The method of claim 1, wherein: Also includes: While hiding the target directory, the directory corresponding to the target content is displayed in the directory area of the document.
6. The method of claim 1, further comprising: In response to changing the title level of the target content, the associated content is unhidden.
7. The method of claim 1, further comprising: In response to changing the title level of the target content, the target directory corresponding to the associated content is unhidden.
8. The method of claim 1, further comprising: A second interaction instruction for the target content is received in the body content area of the document, the hidden associated content is displayed, and the target directory in the directory area of the document is displayed.
9. The method according to claim 1, before receiving the first interaction instruction for the target content, further comprising: receiving a third interactive instruction for a parent directory of a target directory in the directory area of the document, hiding the target directory while maintaining interaction with the associated content in the body content area of the document; Line display.
10. A document directory processing method, comprising: receiving a first interactive instruction for a target directory in a directory area of a document, and hiding a directory associated with the target directory; In response to hiding the associated directory of the target directory, target content in the body content area of the document is hidden, the target content being content corresponding to the associated directory. The method according to claim 10 , wherein the target content is content having a title attribute.
12. A document directory processing device, comprising: An interaction module, configured to receive a first interaction instruction for a target content in a body content area of a document, and hide associated content of the target content, wherein the target content and the associated content are content having a title attribute; A processing module is configured to hide a target directory in a directory area of the document in response to hiding the associated content of the target content, wherein the target directory is a directory corresponding to the associated content.
13. A document directory processing device, comprising: An interactive module, configured to receive a first interactive instruction for a target directory in a directory area of a document, and hide a directory associated with the target directory; Processing module: used for hiding target content in the body content area of the document in response to hiding the associated directory of the target directory, wherein the target content is content corresponding to the associated directory.
14. A computer device comprising one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the programs include instructions for executing the method according to any one of claims 1-9 or any one of claims 10-11.
15. A non-volatile computer-readable storage medium containing a computer program, which, when executed by one or more processors, causes the processors to perform the method of any one of claims 1 to 9 or any one of claims 10 to 11.
16. A computer program product, comprising computer program instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 9 or any one of claims 10 to 11.
Citation Information
Patent Citations
A method and a device for automatically displaying a document directory
CN108984685A
Electronic document processing method and device, terminal and storage medium
CN115061601A
Document processing method and device, electronic equipment and storage medium
CN115269529A
Document directory processing method and related equipment
CN116306491A
Hiding content of a digital content item
US8826169B1
