CN111062190A - Document editing method and device, computer storage medium and terminal - Google Patents
Document editing method and device, computer storage medium and terminal Download PDFInfo
- Publication number
- CN111062190A CN111062190A CN201811205256.0A CN201811205256A CN111062190A CN 111062190 A CN111062190 A CN 111062190A CN 201811205256 A CN201811205256 A CN 201811205256A CN 111062190 A CN111062190 A CN 111062190A
- Authority
- CN
- China
- Prior art keywords
- menu
- menu name
- name item
- command
- item
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A method, a device, a computer storage medium and a terminal for editing a document comprise: generating a menu name directory according to the menu name of the menu command; for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command; and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command. The embodiment of the invention improves the acquisition efficiency of the menu command and improves the document editing experience of the user.
Description
Technical Field
The present disclosure relates to, but not limited to, office technology, and more particularly, to a method, an apparatus, a computer storage medium, and a terminal for document editing.
Background
Office software is a tool which is used by people in daily life; at present, when a user uses Office software including characters, tables, demonstration and the like, if the user is familiar with the editing function of the software, document editing can be efficiently realized; when a user lacks knowledge of basic functions of software or lacks knowledge of partial functions, the user mainly searches menu commands to be used through the knowledge of office software, or the user determines the positions of the menu commands through office software application knowledge shared on a network; because the number of menu commands contained in office software is huge, and the positions of the menu commands can be adjusted when the office software is updated, when a user is not familiar with the office software, if the user needs to apply the menu commands which are not commonly used, the document editing efficiency of the user is greatly reduced, and the office experience of the user is influenced.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
Embodiments of the present invention provide a method and an apparatus for document editing, a computer storage medium, and a terminal, which can improve the efficiency of acquiring a menu command and improve the document editing experience of a user.
The embodiment of the invention provides a method for editing a document, which comprises the following steps:
generating a menu name directory according to the menu name of the menu command;
for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command;
and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command.
Optionally, before accessing the address of the menu command corresponding to the selected menu name item, the method further includes:
judging whether the menu name item receives a preset selection operation or not;
and when judging that the menu name item receives the preset selection operation, determining that the menu name item is selected.
Optionally, before accessing the address of the menu command corresponding to the selected menu name item, the method further includes:
receiving and searching the associated information of the selected menu name item through a preset interactive interface;
determining one or more menu name items matching the associated information from the menu name directory.
Optionally, the associated information includes:
some or all of the fields in the menu name; or the like, or, alternatively,
some or all of the functional descriptive information of the menu commands.
On the other hand, an embodiment of the present invention further provides a device for editing a document, including: the device comprises a generating unit, a mapping unit and a loading unit; wherein the content of the first and second substances,
the generation unit is used for: generating a menu name directory according to the menu name of the menu command;
the mapping unit is used for: for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command;
the loading unit is used for: and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command.
Optionally, the apparatus further includes a determining unit, configured to:
judging whether the menu name item receives a preset selection operation or not;
and when judging that the menu name item receives the preset selection operation, determining that the menu name item is selected.
Optionally, the apparatus further includes an interaction unit, configured to:
receiving and searching the associated information of the selected menu name item through a preset interactive interface;
determining one or more menu name items matching the associated information from the menu name directory.
Optionally, the associated information includes:
some or all of the fields in the menu name; or the like, or, alternatively,
some or all of the functional descriptive information of the menu commands.
In still another aspect, an embodiment of the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are used to execute the above method for editing a document.
In another aspect, an embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein the content of the first and second substances,
the processor is configured to execute program instructions in the memory;
the program instructions read on the processor to perform the following operations:
generating a menu name directory according to the menu name of the menu command;
for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command;
and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command.
Compared with the related art, the technical scheme of the application comprises the following steps: generating a menu name directory according to the menu name of the menu command; for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command; and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command. The embodiment of the invention improves the acquisition efficiency of the menu command and improves the document editing experience of the user.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a flow diagram of a method of document editing according to an embodiment of the present invention;
fig. 2 is a block diagram of a device for document editing according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
FIG. 1 is a flowchart of a document editing method according to an embodiment of the present invention, as shown in FIG. 1, including:
102, establishing a mapping relation between menu name items and addresses of menu commands for all menu name items in a menu name directory;
and 103, when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and loading the menu command.
Optionally, before accessing the address of the menu command corresponding to the selected menu name item, the method in the embodiment of the present invention further includes:
judging whether the menu name item receives a preset selection operation or not;
and when judging that the menu name item receives the preset selection operation, determining that the menu name item is selected.
Optionally, before accessing the address of the menu command corresponding to the selected menu name item, the method in the embodiment of the present invention further includes:
receiving and searching the associated information of the selected menu name item through a preset interactive interface;
determining one or more menu name items matching the associated information from the menu name directory.
Optionally, the associated information includes:
some or all of the fields in the menu name; or the like, or, alternatively,
some or all of the functional descriptive information of the menu commands.
It should be noted that, in order to enable a user who is not skilled in the location of a menu command to quickly find the menu command, in the embodiment of the present invention, when a document is edited, the above-mentioned interactive interface may be added in an area where a non-editing area of the document is relatively conspicuous, the interactive interface may be a text input box, which is used for searching a menu name item, for example, an interactive interface is added in the upper right corner or the lower right corner of a Word document start tab, and the interactive interface may also be set in other areas by a person skilled in the art according to the layout of office software; the user inputs the information for searching the menu name item through the interactive interface, which can be part or all of the fields in the menu name; or, some or all of the functional descriptive information of the menu command. The invention uses the example menu name item to support fuzzy search, that is to say, the same menu name is not necessary, the user only needs to input the keyword related to the menu name; the embodiment of the invention can also search the menu name item through the function description of the menu command, and before the search, the technical personnel can add the function description information of the menu command behind the menu name item for the search of the menu name item; the matched menu name item can be displayed in a display area of the interactive interface in a list form, and a user can select the menu name item by clicking the menu name item; after the menu name item is selected, according to the relationship between the menu name item and the address of the menu command (the address of the menu command can be determined by a person skilled in the art according to the layout position of a menu command control in editing software), after a user operates a determination key including carriage return, the embodiment of the invention accesses the address of the menu command, and realizes the loading of the menu command. Taking the example that a user wants to insert a bookmark into a document, when the user does not know the position of a menu command for inserting the bookmark, the user only needs to edit and input two words of the bookmark in an interactive interface, all menu name items related to the bookmark can be displayed through the interactive interface, and the user can call up a dialog box for inserting the bookmark and insert the bookmark only by selecting the menu name item of the bookmark and determining the menu loading command. The embodiment of the invention can help the user to search the menu command to be executed quickly, and improves the working efficiency of the user.
Compared with the related art, the technical scheme of the application comprises the following steps: generating a menu name directory according to the menu name of the menu command; for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command; and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command. The embodiment of the invention improves the acquisition efficiency of the menu command and improves the document editing experience of the user.
Fig. 2 is a block diagram of a device for document editing according to an embodiment of the present invention, as shown in fig. 2, including: the device comprises a generating unit, a mapping unit and a loading unit; wherein the content of the first and second substances,
the generation unit is used for: generating a menu name directory according to the menu name of the menu command;
the mapping unit is used for: for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command;
the loading unit is used for: and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command.
Optionally, the apparatus further includes a determining unit, configured to:
judging whether the menu name item receives a preset selection operation or not;
and when judging that the menu name item receives the preset selection operation, determining that the menu name item is selected.
Optionally, the apparatus further includes an interaction unit, configured to:
receiving and searching the associated information of the selected menu name item through a preset interactive interface;
determining one or more menu name items matching the associated information from the menu name directory.
Optionally, the associated information includes:
some or all of the fields in the menu name; or the like, or, alternatively,
some or all of the functional descriptive information of the menu commands.
It should be noted that, in order to enable a user who is not skilled in the location of a menu command to quickly find the menu command, in the embodiment of the present invention, when a document is edited, the above-mentioned interactive interface may be added in an area where a non-editing area of the document is relatively conspicuous, the interactive interface may be a text input box, which is used for searching a menu name item, for example, an interactive interface is added in the upper right corner or the lower right corner of a Word document start tab, and the interactive interface may also be set in other areas by a person skilled in the art according to the layout of office software; the user inputs the information for searching the menu name item through the interactive interface, which can be part or all of the fields in the menu name; or, some or all of the functional descriptive information of the menu command. The invention uses the example menu name item to support fuzzy search, that is to say, the same menu name is not necessary, the user only needs to input the keyword related to the menu name; the embodiment of the invention can also search the menu name item through the function description of the menu command, and before the search, the technical personnel can add the function description information of the menu command behind the menu name item for the search of the menu name item; the matched menu name item can be displayed in a display area of the interactive interface in a list form, and a user can select the menu name item by clicking the menu name item; after the menu name item is selected, according to the relationship between the menu name item and the address of the menu command (the address of the menu command can be determined by a person skilled in the art according to the layout position of a menu command control in editing software), after a user operates a determination key including carriage return, the embodiment of the invention accesses the address of the menu command, and realizes the loading of the menu command. Taking the example that a user wants to insert a bookmark into a document, when the user does not know the position of a menu command for inserting the bookmark, the user only needs to edit and input two words of the bookmark in an interactive interface, all menu name items related to the bookmark can be displayed through the interactive interface, and the user can call up a dialog box for inserting the bookmark and insert the bookmark only by selecting the menu name item of the bookmark and determining the menu loading command. The embodiment of the invention can help the user to search the menu command to be executed quickly, and improves the working efficiency of the user.
Compared with the related art, the technical scheme of the application comprises the following steps: generating a menu name directory according to the menu name of the menu command; for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command; and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command. The embodiment of the invention improves the acquisition efficiency of the menu command and improves the document editing experience of the user.
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used for executing the document editing method.
An embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein the content of the first and second substances,
the processor is configured to execute program instructions in the memory;
the program instructions read on the processor to perform the following operations:
generating a menu name directory according to the menu name of the menu command;
for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command;
and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by a program instructing associated hardware (e.g., a processor) to perform the steps, and the program may be stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in hardware, for example, by an integrated circuit to implement its corresponding function, or in software, for example, by a processor executing a program/instruction stored in a memory to implement its corresponding function. The present invention is not limited to any specific form of combination of hardware and software.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A method of document editing, comprising:
generating a menu name directory according to the menu name of the menu command;
for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command;
and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command.
2. The method of claim 1, wherein before accessing the address of the menu command corresponding to the selected menu name item, the method further comprises:
judging whether the menu name item receives a preset selection operation or not;
and when judging that the menu name item receives the preset selection operation, determining that the menu name item is selected.
3. The method according to claim 1 or 2, wherein before accessing the address of the menu command corresponding to the selected menu name item, the method further comprises:
receiving and searching the associated information of the selected menu name item through a preset interactive interface;
determining one or more menu name items matching the associated information from the menu name directory.
4. The method of claim 3, wherein the association information comprises:
some or all of the fields in the menu name; or the like, or, alternatively,
some or all of the functional descriptive information of the menu commands.
5. An apparatus for document editing, comprising: the device comprises a generating unit, a mapping unit and a loading unit; wherein the content of the first and second substances,
the generation unit is used for: generating a menu name directory according to the menu name of the menu command;
the mapping unit is used for: for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command;
the loading unit is used for: and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command.
6. The apparatus of claim 5, further comprising a determination unit configured to:
judging whether the menu name item receives a preset selection operation or not;
and when judging that the menu name item receives the preset selection operation, determining that the menu name item is selected.
7. The apparatus according to claim 5 or 6, wherein the apparatus further comprises an interaction unit configured to:
receiving and searching the associated information of the selected menu name item through a preset interactive interface;
determining one or more menu name items matching the associated information from the menu name directory.
8. The apparatus of claim 7, wherein the association information comprises:
some or all of the fields in the menu name; or the like, or, alternatively,
some or all of the functional descriptive information of the menu commands.
9. A computer storage medium having computer-executable instructions stored therein for performing the method of document editing of any of claims 1-4.
10. A terminal, comprising: a memory and a processor; wherein the content of the first and second substances,
the processor is configured to execute program instructions in the memory;
the program instructions read on the processor to perform the following operations:
generating a menu name directory according to the menu name of the menu command;
for each menu name item in the menu name directory, establishing a mapping relation between the menu name item and the address of a menu command;
and when the menu name item is selected, accessing the address of the menu command corresponding to the selected menu name item according to the established mapping relation, and realizing the loading of the menu command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811205256.0A CN111062190A (en) | 2018-10-16 | 2018-10-16 | Document editing method and device, computer storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811205256.0A CN111062190A (en) | 2018-10-16 | 2018-10-16 | Document editing method and device, computer storage medium and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111062190A true CN111062190A (en) | 2020-04-24 |
Family
ID=70296726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811205256.0A Pending CN111062190A (en) | 2018-10-16 | 2018-10-16 | Document editing method and device, computer storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111062190A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100306259A1 (en) * | 2009-05-27 | 2010-12-02 | Microsoft Corporation | Menu searching of a hierarchical menu structure |
CN103246436A (en) * | 2012-02-01 | 2013-08-14 | 深圳富泰宏精密工业有限公司 | Menu item searching method and system |
CN107301191A (en) * | 2016-04-15 | 2017-10-27 | 平安科技(深圳)有限公司 | menu intelligent searching method and system |
-
2018
- 2018-10-16 CN CN201811205256.0A patent/CN111062190A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100306259A1 (en) * | 2009-05-27 | 2010-12-02 | Microsoft Corporation | Menu searching of a hierarchical menu structure |
CN103246436A (en) * | 2012-02-01 | 2013-08-14 | 深圳富泰宏精密工业有限公司 | Menu item searching method and system |
CN107301191A (en) * | 2016-04-15 | 2017-10-27 | 平安科技(深圳)有限公司 | menu intelligent searching method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101319792B1 (en) | Efficient navigation of search results | |
TWI566161B (en) | Providing deep links in association with toolbars | |
JP5216845B2 (en) | Technology for sharing information between application programs | |
EP3324302A1 (en) | Method and device for offering a dictionary feature by a handheld mobile communication terminal | |
JPS62194532A (en) | Display system for designated pattern to be processed | |
US20080072155A1 (en) | Method and apparatus for identifying hotkey conflicts | |
WO2020068211A1 (en) | Personalization of content suggestions for document creation | |
US9646004B2 (en) | Hierarchical database report generation with automated query generation for placeholders | |
CN109948073A (en) | Content search method, terminal, server, electronic equipment and storage medium | |
CN106095248A (en) | A kind of application program based on mobile terminal is searched and is started method and system | |
US8584001B2 (en) | Managing bookmarks in applications | |
US20230013569A1 (en) | Combined local and server context menus | |
JP4839813B2 (en) | Information processing system and program | |
CN113807060A (en) | Document processing method and device, electronic equipment and computer readable storage medium | |
CN101231655A (en) | Method and system for processing search engine results | |
JPH05265834A (en) | Managing system for memo information | |
CN111062190A (en) | Document editing method and device, computer storage medium and terminal | |
US20200042498A1 (en) | System and Method for Interactive Visual Representation of Metadata within a Networked Heterogeneous Workflow Environment | |
US20050246655A1 (en) | Moveable interface to a search engine that remains visible on the desktop | |
JP2002108677A (en) | Device for managing document and method for the same and storage medium | |
CN113568608A (en) | Component information display method, device, equipment and storage medium | |
EP0520926A2 (en) | Method and apparatus for managing class information | |
JP3328913B1 (en) | Multilingual document retrieval system | |
KR19990023314A (en) | Data processing system and method for implementing a graphical user interface with a unique representation of a URL address | |
CN109902278B (en) | Annotating processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |