A method, device and electronic equipment for implementing a PPT multi-tab bar
By creating a custom tab bar in PowerPoint to manage multiple document windows, the problem of inconvenient multi-document switching in existing PowerPoint software is solved, realizing intuitive multi-tab management and quick switching, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHUHAI BAOQU TECH CO LTD
- Filing Date
- 2022-08-17
- Publication Date
- 2026-06-30
Smart Images

Figure CN115455210B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer application technology, and in particular relates to a method, apparatus and electronic device for implementing a multi-tabbed PPT presentation. Background Technology
[0002] Currently, when multiple PPT documents are opened simultaneously, since PPT itself does not have a visual interface for switching between multiple documents, there are only three ways to switch between PPT documents: (1) You can use the shortcut key "ctrl+tab" to switch between multiple documents in sequence; (2) When multiple documents are in the same window, you can switch by clicking on the taskbar; (3) When multiple documents are in different windows, in addition to switching by clicking on the taskbar, you can also switch by clicking on the desktop, just like with different software. However, these switching methods cannot be completed in a visual interface, which is inconvenient and affects the user experience. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a method, apparatus, and electronic device for implementing a multi-tabbed PPT presentation, to solve the problems of existing PPT switching methods being inconvenient, unintuitive, and affecting user experience. The present invention enables the management of multiple PPT documents through a multi-tabbed approach, allowing users to quickly and accurately switch to the desired PPT document, effectively improving the user experience.
[0004] In a first aspect, embodiments of the present invention provide a method for implementing a multi-tabbed PPT presentation, comprising:
[0005] Real-time monitoring of PPT open events;
[0006] After listening to the PPT open event, obtain the handle of the first PPT document window and the frame window corresponding to the current PPT open event;
[0007] Determine whether a tab bar already exists in the frame window corresponding to the frame window handle; wherein, the tab bar is a custom toolbar created in advance in PowerPoint;
[0008] If a tab bar already exists in the frame window corresponding to the frame window handle, then create a tab corresponding to the first PPT document in the tab bar and set the currently created tab to the selected state.
[0009] The PPT document window corresponding to the currently selected label will be displayed at the forefront of the corresponding frame window;
[0010] If the frame window corresponding to the frame window handle does not have a tab bar, then create a tab bar in the frame window corresponding to the frame window handle, and then perform the step of creating the tab corresponding to the first PPT document in the tab bar.
[0011] In conjunction with the first aspect, in the first embodiment of the first aspect, after creating the tag corresponding to the first PPT document in the tag bar, it further includes:
[0012] Record the correspondence between the currently created label identifier and the PPT document window handle and frame window handle;
[0013] Specifically, after determining that a tab bar already exists in the frame window corresponding to the frame window handle, and before creating the tab corresponding to the first PPT document in the tab bar, the method further includes:
[0014] Determine if the handle of the first PPT document window is recorded;
[0015] If a first PPT document window handle is recorded, the label corresponding to the recorded first PPT document window handle is set to the selected state, and then the step of placing the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window is executed.
[0016] If the handle of the first PPT document window is not recorded, then the step of creating the tab corresponding to the target PPT document in the tab bar is performed.
[0017] In conjunction with the first implementation of the first aspect, in the second implementation of the first aspect, after creating the tag corresponding to the first PPT document in the tag bar, the method further includes:
[0018] Listen for frame window resizing messages and / or frame window position adjustment messages and / or frame window minimize messages;
[0019] Upon receiving a frame window resizing message, resize all currently open frame windows to match the size of the frontmost frame window; or, upon receiving a frame window position adjustment message, reposition all currently open frame windows to match the position of the frontmost frame window; or, upon receiving a frame window minimize message, minimize all currently open frame windows.
[0020] In conjunction with the first implementation method of the first aspect, in the third implementation method of the first aspect, the method for implementing the PPT multi-tab bar further includes:
[0021] Listen for user click events on tags;
[0022] After listening to the user's click event on the label, the clicked label is set to the selected state, and then the step of placing the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window is executed.
[0023] In conjunction with the first implementation method of the first aspect, in the fourth implementation method of the first aspect, the method for implementing the PPT multi-tab bar further includes:
[0024] When an event is detected that a PowerPoint document window is switched by pressing Ctrl+Tab, clicking the taskbar, or clicking different document windows on the desktop, an "Open" event for the currently switched PowerPoint document is triggered.
[0025] In conjunction with the first implementation method of the first aspect, in the fifth implementation method of the first aspect, the method for implementing the PPT multi-tab bar further includes:
[0026] Receive a tag closure instruction; the tag closure instruction includes the identifier of the target tag to be closed;
[0027] Close the PowerPoint document window corresponding to the target label;
[0028] Delete the target label from the label bar of the frame window where the target label is located, and delete the recorded correspondence between the target label identifier and the PPT document window handle and the frame window handle.
[0029] In conjunction with the second implementation method of the first aspect, the sixth implementation method of the first aspect further includes:
[0030] Receive a command to close the tab bar; the command to close the tab bar includes an identifier of the target tab bar to be closed.
[0031] Close the PPT document windows corresponding to all tags in the target tab bar;
[0032] Set the frame window corresponding to the target tab bar to no longer receive frame window resizing messages, window position adjustment messages, and frame window minimize messages;
[0033] Delete the target tab bar, and delete all tabs recorded in the target tab bar, as well as the correspondence between each tab identifier and the PPT document window handle and frame window handle.
[0034] In conjunction with the second implementation method of the first aspect, the seventh implementation method of the first aspect further includes:
[0035] Listen for the PPT close event;
[0036] After listening to the PPT close event, obtain the handle of the second PPT document window corresponding to the current PPT close event;
[0037] Close all PPT document windows corresponding to the tabs in the tab bar of the frame window containing the second PPT document;
[0038] Set the frame window containing the second PPT document to no longer receive frame window resizing, window position adjustment, and frame window minimize messages;
[0039] Delete the tab bar in the frame window containing the second PPT document, and delete all the tabs recorded in the tab bar of the frame window containing the second PPT document, as well as the correspondence between each tab identifier and the PPT document window handle and the frame window handle.
[0040] Secondly, embodiments of the present invention provide a device for implementing a multi-tabbed PPT presentation, comprising:
[0041] The PPT Open Listener module is used to monitor PPT open events in real time.
[0042] The first handle acquisition module is used to acquire the first PPT document window handle and frame window handle corresponding to the current PPT open event after the PPT open listening module detects the PPT open event;
[0043] The first judgment module is used to determine whether a tab bar already exists in the frame window corresponding to the frame window handle; wherein, the tab bar is a custom toolbar created in advance in PPT;
[0044] The tag creation module is used to create a tag corresponding to the first PPT document in the tag bar when the judgment result of the first judgment module is yes, and to set the currently created tag to the selected state;
[0045] The display module is used to place the PPT document window corresponding to the currently selected tag at the forefront of the corresponding frame window;
[0046] The tag creation module is used to create a tag bar in the frame window corresponding to the frame window handle when the judgment result of the first judgment module is negative, and then trigger the tag creation module to create the tag corresponding to the first PPT document in the tag bar.
[0047] In conjunction with the second aspect, in the first embodiment of the second aspect, the device for implementing the PPT multi-tab bar further includes:
[0048] The recording module is used to record the correspondence between the currently created label identifiers and the handles of the PPT document window and the frame window;
[0049] The second judgment module is used to determine whether the first PPT document window handle is recorded when the judgment result of the first judgment module is yes.
[0050] The trigger module is used to set the label identifier corresponding to the recorded first PPT document window handle to the selected state when the result of the second judgment module is yes, and to trigger the display module to place the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window; it is also used to trigger the label creation module to create a label corresponding to the target PPT document in the label bar when the result of the second judgment module is no, and to set the currently created label to the selected state.
[0051] In conjunction with the first embodiment of the second aspect, in the second embodiment of the second aspect, the PPT multi-tab implementation device further includes:
[0052] The message listening module is used to listen for frame window resizing messages and / or frame window position adjustment messages and / or frame window minimize messages;
[0053] The message processing module is configured to, after the message listening module detects a frame window resizing message, adjust the size of all currently open frame windows to be the same as the size of the frame window displayed in the foreground; or, after the message listening module detects a frame window position adjustment message, adjust the position of all currently open frame windows to be the same as the position of the frame window displayed in the foreground; or, after the message listening module detects a frame window minimize message, minimize all currently open frame windows.
[0054] In conjunction with the first embodiment of the second aspect, in the third embodiment of the second aspect, the PPT multi-tab implementation device further includes:
[0055] The tag click event listener module is used to listen for user click events on tags;
[0056] The click event handling module is used to set the clicked label to the selected state after the label click event listening module detects that the user clicked the label, and then triggers the display module to place the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window.
[0057] In conjunction with the first embodiment of the second aspect, in the fourth embodiment of the second aspect, the device for implementing the PPT multi-tab bar further includes:
[0058] The event listener module is used to trigger a PPT open event for the currently selected PPT document when an event is detected where the PPT document window is switched by pressing Ctrl+Tab, clicking the taskbar, or clicking different document windows on the desktop.
[0059] In conjunction with the first embodiment of the second aspect, in the fifth embodiment of the second aspect, the PPT multi-tab implementation device further includes:
[0060] The tag receiving module is used to receive tag closing instructions; the tag closing instructions include the identifier of the target tag to be closed.
[0061] The first closing module is used to close the PPT document window corresponding to the target label;
[0062] The first deletion module is used to delete the target label in the label bar of the frame window where the target label is located, and to delete the recorded correspondence between the target label identifier and the PPT document window handle and the frame window handle.
[0063] In conjunction with the second embodiment of the second aspect, in the sixth embodiment of the second aspect, the device for implementing the PPT multi-tab bar further includes:
[0064] The tab bar closing receiving module is used to receive a tab bar closing instruction; the tab bar closing instruction includes the identifier of the target tab bar to be closed.
[0065] The second closing module is used to close the PPT document windows corresponding to all tabs in the target tab bar.
[0066] The first message cancellation listening module is used to set the frame window corresponding to the target tab bar to no longer receive frame window size adjustment messages, window position adjustment messages, and frame window minimize messages;
[0067] The second deletion module is used to delete the target tab bar, and delete all the tabs in the recorded target tab bar, as well as the correspondence between each tab identifier and the PPT document window handle and frame window handle.
[0068] In conjunction with the second embodiment of the second aspect, in the seventh embodiment of the second aspect, the device for implementing the PPT multi-tab bar further includes:
[0069] The PPT close listener module is used to listen for PPT close events.
[0070] The second handle acquisition module is used to obtain the handle of the second PPT document window corresponding to the current PPT closing event after the PPT closing monitoring module detects the PPT closing event;
[0071] The third closing module is used to close all PPT document windows corresponding to all tabs in the tab bar of the frame window where the second PPT document is located.
[0072] The second message cancellation listening module is used to set the frame window where the second PPT document window is located to no longer receive frame window size adjustment messages, window position adjustment messages, and frame window minimize messages.
[0073] The third deletion module is used to delete the tab bar in the frame window where the second PPT document is located, and to delete all the tabs in the tab bar of the frame window where the second PPT document window is located, as well as the correspondence between each tab identifier and the PPT document window handle and the frame window handle.
[0074] Thirdly, embodiments of the present invention provide an electronic device, the electronic device comprising: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed within the space enclosed by the housing, and the processor and the memory are disposed on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing a method for implementing a PPT multi-tab bar as described in any of the foregoing embodiments.
[0075] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing one or more programs, which can be executed by one or more processors to implement a method for implementing a multi-tabbed PPT as described in any of the foregoing embodiments.
[0076] This invention provides a method, apparatus, and electronic device for implementing a multi-tab bar in PowerPoint. Upon detecting a PowerPoint open event, the method acquires the handle of the PowerPoint document window and the handle of the frame window corresponding to the open event. Then, it creates a tab for the PowerPoint document corresponding to the PowerPoint document window handle in a custom toolbar-style tab bar within the frame window corresponding to the frame window handle and sets it to the selected state. Finally, it places the PowerPoint document window corresponding to the PowerPoint document window handle at the forefront of the frame window corresponding to the frame window handle for display. This invention enables the management of multiple PowerPoint documents in a multi-tab manner through a custom tab bar, allowing for unified management of multiple PowerPoint documents within the same frame window. It allows users to quickly and accurately switch between PowerPoint documents within the same window, providing convenient operation and effectively improving the user experience. Attached Figure Description
[0077] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0078] Figure 1 A flowchart of an embodiment of a method for implementing a multi-tabbed PPT presentation, provided by an embodiment of the present invention;
[0079] Figure 2 A flowchart of a second embodiment of a method for implementing a multi-tabbed PPT presentation, provided by an embodiment of the present invention;
[0080] Figure 3 A schematic diagram of the structure of a device for implementing a multi-tab bar in PPT provided by an embodiment of the present invention;
[0081] Figure 4 A schematic diagram of a second embodiment of a PPT multi-tab implementation device provided by the present invention;
[0082] Figure 5 A schematic diagram of the structure of a third embodiment of a PPT multi-tab implementation device provided by the present invention;
[0083] Figure 6 A schematic diagram of the structure of a PPT multi-tab implementation device according to an embodiment of the present invention;
[0084] Figure 7 A schematic diagram of the structure of a PPT multi-tab implementation device according to an embodiment of the present invention (Embodiment 5);
[0085] Figure 8 A schematic diagram of the structure of a PPT multi-tab implementation device according to an embodiment of the present invention (Example 6);
[0086] Figure 9 A schematic diagram of the structure of a PPT multi-tab implementation device according to an embodiment of the present invention (Seventh Embodiment).
[0087] Figure 10 A schematic diagram of the structure of an embodiment eight of a PPT multi-tab implementation device provided by the present invention;
[0088] Figure 11 This is a schematic diagram of the structure of an electronic device provided by the present invention. Detailed Implementation
[0089] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0090] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0091] Figure 1 This is a flowchart of an embodiment of a method for implementing a multi-tabbed PowerPoint presentation, provided by an embodiment of the present invention. See also... Figure 1 The method includes the following steps S101-S106:
[0092] S101: Real-time monitoring of PPT open events.
[0093] In this embodiment, the PPT open event is PPT_WINDOWACTIVATE_EVENT. Before step S101, the callback function corresponding to the PPT open event can be predefined and registered as a PPT plugin, which has the advantage of being easy to implement.
[0094] S102: After listening to the PPT open event, obtain the handle of the first PPT document window and the frame window corresponding to the current PPT open event.
[0095] In this embodiment, a callback function for PPT_WINDOWACTIVATE_EVENT can be defined to obtain the handle of the first PPT document window and the frame window corresponding to the current PPT open event. An example of the callback function definition is as follows:
[0096] void __stdcall CKisOfficeAddin::PptWindowActivateFunc(parameter list)
[0097] In addition, this callback function can also obtain the document pointer and document name of the PPT document corresponding to the current PPT open event, which is convenient for subsequent management and control of the document window, frame window and PPT document.
[0098] S103: Determine whether a tab bar already exists in the frame window corresponding to the frame window handle; if yes, execute S105; otherwise, execute S104.
[0099] The tab bar is a custom toolbar that is created in advance in PowerPoint.
[0100] S104: Create a tab bar in the frame window corresponding to the frame window handle, and then execute S105.
[0101] In this embodiment, when the PPT_WINDOWACTIVATE_EVENT callback is triggered, if the tab bar in the corresponding PPT frame window does not exist at this time, a custom toolbar is added above the PPT document as a tab bar, and the tab bar serves as the carrier of the multi-tab window.
[0102] S105: Create a tag corresponding to the first PPT document in the tag bar, and set the currently created tag to the selected state.
[0103] In this embodiment, the text of the tag corresponding to the first PPT document can be set to the file name of the PPT document, making it easier for users to identify the tag. In this step, a tag corresponding to the first PPT document is created in the tag bar of the frame window corresponding to the frame window handle, and the first PPT document is opened under this tag (or understood as opening the first PPT document window and the window being identified by this tag).
[0104] S106: Place the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window.
[0105] This invention provides a method for implementing a multi-tab PowerPoint presentation. Upon detecting a PowerPoint open event, the method acquires the handle of the PowerPoint document window and the handle of the frame window corresponding to the open event. Then, it creates a tab for the PowerPoint document corresponding to the PowerPoint document window handle within the frame window corresponding to the frame window handle and sets it to the selected state. Finally, it places the PowerPoint document window corresponding to the PowerPoint document window handle at the forefront of the frame window corresponding to the frame window handle for display. This invention enables the management of multiple PowerPoint documents using a multi-tab approach, allowing users to quickly and accurately switch to the desired PowerPoint document, effectively improving the user experience.
[0106] Figure 2 This is a flowchart of a second embodiment of a method for implementing a multi-tabbed PowerPoint presentation, provided by an embodiment of the present invention. See also... Figure 2 The method includes the following steps S201-S209:
[0107] S201: Real-time monitoring of PPT open events.
[0108] S202: After listening to the PPT open event, obtain the handle of the first PPT document window and the frame window corresponding to the current PPT open event.
[0109] S203: Determine whether a tab bar already exists in the frame window corresponding to the frame window handle; if yes, execute S205; otherwise, execute S204.
[0110] S204: Create a tab bar in the frame window corresponding to the frame window handle, and then execute S207.
[0111] S205: Determine if the handle of the first PPT document window is recorded; if yes, execute S206, otherwise execute S207.
[0112] In this embodiment, the window handle is recorded each time a PPT document window is opened.
[0113] S206: Set the label corresponding to the first PPT document window handle to the selected state, and execute S209.
[0114] S207: Create a tag corresponding to the first PPT document in the tag bar, and set the currently created tag to the selected state.
[0115] S208: Records the correspondence between the currently created label identifier and the PPT document window handle and frame window handle.
[0116] In this embodiment, after each tag is created and the PPT document window is opened, the correspondence between the tag identifier and the PPT document window handle and the frame window handle is recorded. This makes it easy to determine the relevant information when performing any operation on the tag, PPT document window, or frame window, facilitating synchronized operations. In addition, recording the PPT document window also makes it easier for the aforementioned step S205 to determine whether a tag corresponding to the PPT document window has already been created. If so, the tag does not need to be created again, avoiding duplicate tag creation, improving the user experience, and making it easier for users and the system to manage tags.
[0117] S209: Place the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window.
[0118] This invention provides a method for implementing a multi-tab bar in PowerPoint. Before creating a tab for an open PowerPoint document, it checks whether a first PowerPoint document window handle is recorded. If a first PowerPoint document window handle is recorded, it means that a tab corresponding to the first PowerPoint document window handle has already been created, and it is not necessary to create it again. Simply select the tab corresponding to the first PowerPoint document window handle and bring it to the front. If a first PowerPoint document window handle is not recorded, it means that a tab corresponding to the first PowerPoint document window handle has not been created, and a new tab needs to be created. Then, the tab is selected and the corresponding document window is brought to the front, avoiding the need to create tabs repeatedly and improving the user experience.
[0119] As an optional embodiment, after step S205, the following steps S301-S302 may also be included:
[0120] S301: Listen for frame window resizing messages and / or frame window position adjustment messages and / or frame window minimize messages.
[0121] In this step, the system can simultaneously listen for frame window resizing messages, frame window repositioning messages, and frame window minimizing messages. Upon detecting any of these messages, the corresponding frame window resizing action in step S302 is executed. Alternatively, the system can listen for only one of these three messages as needed. It's important to note that these three messages cannot be triggered simultaneously; that is, the user can only perform one of the following operations at a time: resizing the frame window, repositioning the frame window, or minimizing the frame window.
[0122] S302: After listening to the frame window resizing message, adjust the size of all currently open frame windows to be the same as the size of the frame window displayed in the foreground; or, after listening to the frame window position adjustment message, adjust the position of all currently open frame windows to be the same as the position of the frame window displayed in the foreground; or, after listening to the frame window minimize message, minimize all currently open frame windows.
[0123] In this embodiment, SetWindowSubclass can be used to register a subclass callback for the frame window hFrameWnd. The subclass callback method of hFrameWnd (such as a custom SubClassProc) handles the frame window resizing message WM_WINDOWPOSCHANGING, frame window position adjustment message WM_MOVING, and frame window minimization message WM_SIZE. Once the frame window triggers these messages, it will enter the SubClassProc function for corresponding processing, which has the advantage of being easy to implement.
[0124] This embodiment provides a method for implementing a multi-tab bar in PPT. When the frame window hFrameWnd triggers the window size adjustment message, frame window position adjustment message, and frame window minimize message, the size, position, and minimize status of all open frame windows are synchronized to be consistent with the frame window displayed in the foreground, so that there is only one visual window, which effectively improves the user experience.
[0125] As an optional embodiment, the method for implementing the PPT multi-tab bar may further include the following steps S401-S402:
[0126] S401: Listen for events when the user clicks a label.
[0127] S402: After listening to the event of the user clicking the label, the clicked label is set to the selected state, and then step S207 is executed.
[0128] This embodiment provides a method for implementing a multi-tab bar in PPT, which allows users to switch PPT documents by clicking on the tabs in the tab bar, achieving a WYSIWYG effect and effectively improving the user experience.
[0129] As an optional embodiment, the method for implementing the PPT multi-tab bar may further include:
[0130] When an event is detected that a PowerPoint document window is switched by pressing Ctrl+Tab, clicking the taskbar, or clicking different document windows on the desktop, an "Open" event for the currently switched PowerPoint document is triggered.
[0131] This embodiment provides a method for implementing a multi-tab PPT window. When it detects events such as switching PPT document windows by pressing Ctrl+Tab, clicking the taskbar, or clicking different document windows on the desktop, it immediately triggers a PPT open event for the currently switched PPT document. Then, the tab bar can be opened using the method provided by this invention. This not only meets the user's existing usage habits but also allows for the management of multiple PPT documents through multiple tabs.
[0132] As an optional embodiment, the method for implementing the PPT multi-tab bar may further include the following steps S501-S503:
[0133] S501: Receive a tag closure instruction; the tag closure instruction includes the identifier of the target tag to be closed.
[0134] S502: Close the PPT document window corresponding to the target label.
[0135] S503: Delete the target label in the label bar of the frame window where the target label is located, and delete the recorded correspondence between the target label identifier and the PPT document window handle and the frame window handle.
[0136] This embodiment provides a method for implementing a multi-tab bar in PPT, allowing users to close PPT document windows via tabs. For example, a close button can be set on the right side of each tab. Users can click this button to close the tab and simultaneously close the file window corresponding to the file window handle bound to the tab, making it convenient for users to close PPT documents.
[0137] As an optional embodiment, the method for implementing the PPT multi-tab bar may further include the following steps S601-S604:
[0138] S601: Receive a command to close the tab bar; the command to close the tab bar includes the identifier of the target tab bar to be closed.
[0139] S602: Close the PPT document windows corresponding to all tags in the target tab bar.
[0140] S603: Set the frame window corresponding to the target tab bar to no longer receive frame window resizing messages, window position adjustment messages, and frame window minimize messages.
[0141] In this embodiment, by using RemoveWindowSubclass to unregister the subclass callback (such as a custom SubClassProc) of the frame window hFrameWnd registered by SetWindowSubclass, it is possible to prevent the SubClassProc from processing when the frame window triggers WM_WINDOWPOSCHANGING, WM_MOVING, or WM_SIZE messages, thus achieving the effect of no longer receiving frame window resizing messages, window position adjustment messages, and frame window minimization messages.
[0142] S604: Delete the target tab bar and delete all tabs recorded in the target tab bar, as well as the correspondence between each tab identifier and the PPT document window handle and frame window handle.
[0143] This embodiment provides a method for implementing a multi-tab bar in PPT. When the tab bar is closed, all PPT document windows corresponding to the tabs within the tab bar are closed, the tab bar is deleted, and the frame window corresponding to the target tab bar is set to no longer receive frame window resizing messages, window position adjustment messages, and frame window minimize messages through unregistered subclass callbacks. The tab management logic is then exited. For example, when a user wants to close all PPT documents in the frame window, they can choose to close the tab bar in the frame window, thereby achieving the goal of closing all PPT documents in the frame window. This method has the advantage of being easy to operate.
[0144] As an optional embodiment, the method for implementing the PPT multi-tab bar may further include the following steps S701-S705:
[0145] S701: Listen for the PPT closing event.
[0146] Before this step, you can predefine the callback function corresponding to the PPT close event and register it as a PPT plugin.
[0147] S702: After listening to the PPT close event, obtain the handle of the second PPT document window corresponding to the current PPT close event.
[0148] The handle of the second PPT document window can be the same as or different from the handle of the first PPT document window.
[0149] S703: Close all PPT document windows corresponding to the tabs in the tab bar of the frame window where the second PPT document is located.
[0150] S704: Set the frame window containing the second PPT document to no longer receive frame window resizing messages, window position adjustment messages, and frame window minimize messages.
[0151] S705: Delete the tab bar in the frame window where the second PPT document is located, and delete all the tabs in the tab bar of the frame window where the second PPT document is located, as well as the correspondence between each tab identifier and the PPT document window handle and the frame window handle.
[0152] This embodiment provides a method for implementing a multi-tabbed PPT presentation. When the user closes the PPT, the PPT_PRESENTATIONCLOSE_EVENT event is triggered. Then, in the callback function of this event, all PPT files in the frame window containing the window corresponding to the PPT document are closed. When all PPTs are closed, the frame window is set to no longer receive frame window resizing messages, window position adjustment messages, and frame window minimize messages by unregistering the subclass callback, and the tab bar window is closed. This method has the advantages of being easy to implement and convenient to operate.
[0153] The technical solution of any of the above-described method embodiments provided by the present invention will be described in detail below using a specific example.
[0154] According to the method provided by this invention, when PowerPoint starts, the registered PowerPoint plugin is automatically loaded. The plugin determines whether multi-tab management is enabled. If it is not enabled, the tab management process is not performed. If it is enabled, a PowerPoint callback event is registered, and different actions are taken based on different callbacks. Subsequently, when the tab bar is closed by clicking "Close Tab Bar," the tab bar window is closed; when the close button on a specific tab is clicked, the document corresponding to the tab is closed and the tab is deleted.
[0155] Corresponding to the method for implementing a multi-tabbed PPT presentation provided in this embodiment, this embodiment also provides a device for implementing a multi-tabbed PPT presentation, which will be described in detail below.
[0156] Figure 3 This is a schematic diagram of an embodiment of a multi-tab implementation device for PPT presentations provided by this invention. Figure 3As shown, the device includes:
[0157] PPT Open Listening Module 1 is used to listen for PPT open events in real time.
[0158] The first handle acquisition module 2 is used to acquire the first PPT document window handle and frame window handle corresponding to the current PPT opening event after the PPT opening listening module 1 listens for the PPT opening event;
[0159] The first judgment module 25 is used to determine whether a tab bar already exists in the frame window corresponding to the frame window handle currently acquired by the first handle acquisition module 2; wherein, the tab bar is a custom toolbar pre-created in PPT;
[0160] The tag creation module 3 is used to create a tag corresponding to the first PPT document in the tag bar when the judgment result of the first judgment module 25 is yes, and to set the currently created tag to the selected state;
[0161] Display module 4 is used to place the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window;
[0162] The tag bar creation module 26 is used to create a tag bar in the frame window corresponding to the frame window handle currently acquired by the first handle acquisition module 2 when the judgment result of the first judgment module 25 is negative, and then trigger the tag creation module 3 to create the tag corresponding to the first PPT document in the tag bar.
[0163] The apparatus of this embodiment can be used to perform Figure 1 The technical solutions of the method embodiments shown are similar in principle and in effect, and will not be described again here.
[0164] Figure 4 This is a schematic diagram of a second embodiment of a PPT multi-tab implementation device provided by an embodiment of the present invention. Figure 4 As shown, the device in this embodiment is Figure 3 Based on the structure of the device shown, the device further includes:
[0165] Recording module 5 is used to record the correspondence between the currently created label identifier and the PPT document window handle and frame window handle;
[0166] The second judgment module 6 is used to determine whether the first PPT document window handle is recorded when the judgment result of the first judgment module 25 is yes.
[0167] The trigger module 7 is used to set the label identifier corresponding to the recorded first PPT document window handle to the selected state when the result of the second judgment module 6 is yes, and to trigger the display module 4 to place the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window; it is also used to trigger the label creation module 3 to create the label corresponding to the target PPT document in the label bar when the result of the second judgment module 6 is no, and to set the currently created label to the selected state.
[0168] The apparatus of this embodiment can be used to perform Figure 2 The technical solutions of the method embodiments shown are similar in principle and in effect, and will not be described again here.
[0169] Figure 5 This is a schematic diagram of a third embodiment of a PPT multi-tab implementation device provided by an embodiment of the present invention. Figure 5 As shown, the device in this embodiment is Figure 4 Based on the structure of the device shown, the device further includes:
[0170] Message listening module 8 is used to listen for frame window resizing messages and / or frame window position adjustment messages and / or frame window minimize messages;
[0171] The message processing module 9 is used to, after the message listening module 8 detects a frame window resizing message, adjust the size of all currently open frame windows to be the same as the size of the foreground frame window; or, after the message listening module 8 detects a frame window position adjustment message, adjust the position of all currently open frame windows to be the same as the position of the foreground frame window; or, after the message listening module 8 detects a frame window minimize message, minimize all currently open frame windows. The handles and other information of all currently open frame windows can be obtained from the recording module 5.
[0172] Figure 6 This is a schematic diagram of a fourth embodiment of a PPT multi-tab implementation device provided by an embodiment of the present invention. Figure 6 As shown, the device in this embodiment is Figure 4 Based on the structure of the device shown, the device further includes:
[0173] Tag click event listener module 10 is used to listen for user click events on tags;
[0174] The click event handling module 11 is used to set the clicked label to a selected state after the label click event listening module detects that the user has clicked a label, and then triggers the display module 4 to place the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window. The PPT document window handle and frame window handle information corresponding to the currently selected label can be obtained from the recording module 5.
[0175] Figure 7 This is a schematic diagram of a fifth embodiment of a PPT multi-tab implementation device provided by an embodiment of the present invention. Figure 7 As shown, the device in this embodiment is Figure 4 Based on the structure of the device shown, the device further includes:
[0176] The event listener module 12 is used to trigger a PPT open event for the currently switched PPT document when it hears events such as switching PPT document windows by pressing Ctrl+Tab, switching PPT document windows by clicking the taskbar, or switching PPT document windows by clicking different document windows on the desktop.
[0177] Figure 8 This is a schematic diagram of a sixth embodiment of a PPT multi-tab implementation device provided by an embodiment of the present invention. Figure 8 As shown, the device in this embodiment is Figure 4 Based on the structure of the device shown, the device further includes:
[0178] The tag closing receiving module 13 is used to receive a tag closing instruction; the tag closing instruction includes the identifier of the target tag to be closed.
[0179] The first closing module 14 is used to close the PPT document window corresponding to the target label;
[0180] The first deletion module 15 is used to delete the target label in the label bar of the frame window where the target label is located, and to delete the recorded correspondence between the target label identifier and the PPT document window handle and the frame window handle.
[0181] In this embodiment, as Figure 8As shown, the closing tag receiving module 13 obtains the PPT document window handle and frame window handle corresponding to the target tag identifier from the recording module 5 according to the closing tag instruction, and sends the PPT document window handle to the first closing module 14 to close the PPT document window corresponding to the target tag; the closing tag receiving module 13 also sends the target tag identifier to the first deletion module 15 to delete the target tag and delete the correspondence between the target tag identifier and the PPT document window handle and frame window handle recorded in the recording module 5. Obviously, the closing tag receiving module 13 can also send the target tag identifier to the first closing module 14 and the first deletion module 15 when it receives the closing tag instruction, then the first closing module 14 and the first deletion module 15 will respectively obtain the corresponding record information from the recording module 5 and perform the corresponding operations, which will not be elaborated here.
[0182] Figure 9 This is a schematic diagram of embodiment seven of a device for implementing a multi-tabbed PPT presentation, provided as an embodiment of the present invention. Figure 9 As shown, the device in this embodiment is Figure 5 Based on the structure of the device shown, the device further includes:
[0183] The tab bar closing receiving module 16 is used to receive a tab bar closing instruction; the tab bar closing instruction includes the identifier of the target tab bar to be closed.
[0184] The second closing module 17 is used to close the PPT document windows corresponding to all tags in the target tab bar;
[0185] The first message cancellation listening module 18 is used to set the frame window corresponding to the target tab bar to no longer receive frame window size adjustment messages, window position adjustment messages and frame window minimize messages;
[0186] The second deletion module 19 is used to delete the target tab bar and delete all the tabs in the recorded target tab bar, as well as the correspondence between each tab identifier and the PPT document window handle and frame window handle.
[0187] In this embodiment, as Figure 9 As shown, the tab bar closing receiving module 16 obtains the PPT document window handle and frame window handle corresponding to each tab in the target tab bar from the recording module 5 according to the tab bar closing instruction, and sends the PPT document window handle to the second closing module 17 to close the PPT document windows corresponding to all tabs in the target tab bar. The tab bar closing receiving module 16 also sends the frame window handle corresponding to the tab bar to the first message cancellation listening module 18, and sends the tag identifiers in the target tab bar to the second deletion module 19 to perform corresponding operations. Obviously, except for Figure 9In addition to the connection relationship shown, the tab bar receiving module 16 can also send the target tab bar identifier to the second closing module 17, the first message cancellation listening module 18, and the second deletion module 19 when it receives the tab bar closing instruction. Then, the second closing module 17, the first message cancellation listening module 18, and the second deletion module 19 can obtain the corresponding record information from the recording module 5 and perform the corresponding operations as needed, which will not be elaborated here.
[0188] Figure 10 This is a schematic diagram of an eighth embodiment of a PPT multi-tab implementation device provided by the present invention. Figure 10 As shown, the device in this embodiment is Figure 5 Based on the structure of the device shown, the device further includes:
[0189] PPT Close Listener Module 20 is used to listen for PPT close events;
[0190] The second handle acquisition module 21 is used to acquire the handle of the second PPT document window corresponding to the current PPT closing event after the PPT closing monitoring module detects the PPT closing event;
[0191] The third closing module 22 is used to close all PPT document windows corresponding to all tabs in the tab bar of the frame window where the second PPT document is located.
[0192] The second message cancellation listening module 23 is used to set the frame window where the second PPT document window is located to no longer receive frame window size adjustment messages, window position adjustment messages and frame window minimize messages;
[0193] The third deletion module 24 is used to delete the tab bar in the frame window where the second PPT document is located, and to delete all the tabs in the tab bar of the frame window where the second PPT document window is located, as well as the correspondence between each tab identifier and the PPT document window handle and the frame window handle.
[0194] In this embodiment, as Figure 10 As shown, the second handle acquisition module 21 obtains the handle of the second PPT document window from the callback parameters of the PPT close event and sends it to the third close module 22; the third close module 22 obtains the handle of the frame window where the second PPT document window is located and all its corresponding label identifiers from the recording module 5, and sends the handle of the frame window where the second PPT document window is located to the second message cancellation listening module 23 to perform the corresponding operation. The third close module 22 also sends all the label identifiers in the tab bar of the frame window where the second PPT document window is located to the third deletion module 24 to perform the deletion operation on the corresponding records in the recording module. Obviously, except Figure 10In addition to the connection relationship shown, the second handle acquisition module 21 can also send the second PPT document window handle to the third closing module 22, the second message cancellation listening module 23, and the third deletion module 24 respectively, so that the third closing module 22, the second message cancellation listening module 23, and the third deletion module 24 can obtain the corresponding record information from the recording module 5 and perform the corresponding operations as needed. This will not be elaborated here.
[0195] This invention also provides an electronic device. Figure 11 This invention provides a schematic diagram of the structure of an electronic device, which can realize the invention. Figure 1 or Figure 2 The process of the illustrated embodiment is as follows: Figure 11 As shown, the aforementioned electronic device may include: a housing 31, a processor 32, a memory 33, a circuit board 34, and a power supply circuit 35. The circuit board 34 is disposed inside the space enclosed by the housing 31, and the processor 32 and the memory 33 are disposed on the circuit board 34. The power supply circuit 35 is used to supply power to the various circuits or devices of the aforementioned electronic device. The memory 33 is used to store executable program code. The processor 32 runs the program corresponding to the executable program code by reading the executable program code stored in the memory 33, and is used to execute the implementation method of a PPT multi-tab bar described in any of the foregoing embodiments.
[0196] This electronic device exists in various forms, including but not limited to:
[0197] (1) Mobile communication devices: These devices are characterized by their mobile communication capabilities and primarily aim to provide voice and data communication. These terminals include: smartphones (e.g., iPhones), multimedia phones, feature phones, and low-end phones, etc.
[0198] (2) Ultra-mobile personal computer devices: These devices fall under the category of personal computers, possessing computing and processing capabilities, and generally also have mobile internet access features. These terminals include PDAs, MIDs, and UMPCs, such as the iPad.
[0199] (3) Portable entertainment devices: These devices can display and play multimedia content. This category includes: audio and video playback modules (e.g., iPod), handheld game consoles, e-book readers, as well as smart toys and portable car navigation devices.
[0200] (4) Server: A device that provides computing services. The components of a server include a processor, hard disk, memory, system bus, etc. Servers are similar to general computer architectures, but because they need to provide highly reliable services, they have higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.
[0201] (5) Other electronic devices with data interaction functions.
[0202] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing one or more programs, which can be executed by one or more processors to implement any of the PPT multi-tab implementation methods provided in the foregoing embodiments, thus achieving the corresponding technical effects. This has been described in detail above and will not be repeated here.
[0203] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0204] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0205] For ease of description, the above apparatus is described by dividing it into various functional units / modules. Of course, in implementing this invention, the functions of each unit / module can be implemented in one or more software and / or hardware.
[0206] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0207] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for implementing a multi-tabbed PowerPoint presentation, characterized in that, include: Real-time monitoring of PPT open events; After listening to the PPT open event, obtain the handle of the first PPT document window and the frame window corresponding to the current PPT open event; Determine whether a tab bar already exists in the frame window corresponding to the frame window handle; wherein, the tab bar is a custom toolbar created in advance in PowerPoint; If a tab bar already exists in the frame window corresponding to the frame window handle, then create a tab corresponding to the first PPT document in the tab bar and set the currently created tab to the selected state. The PPT document window corresponding to the currently selected tag will be displayed at the forefront of the corresponding frame window; If there is no tab bar in the frame window corresponding to the frame window handle, then create a tab bar in the frame window corresponding to the frame window handle, and then execute the step of creating the tab corresponding to the first PPT document in the tab bar; After creating the tag corresponding to the first PPT document in the tag bar, the process also includes: Record the correspondence between the currently created label identifier and the PPT document window handle and frame window handle; Specifically, after determining that a tab bar already exists in the frame window corresponding to the frame window handle, and before creating the tab corresponding to the first PPT document in the tab bar, the method further includes: Determine if the handle of the first PPT document window is recorded; If a first PPT document window handle is recorded, the label corresponding to the recorded first PPT document window handle is set to the selected state, and then the step of placing the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window is executed. If the handle of the first PPT document window is not recorded, then the step of creating the tab corresponding to the target PPT document in the tab bar is executed; After creating the tag corresponding to the first PPT document in the tag bar, the process also includes: Listen for frame window resizing messages and / or frame window position adjustment messages and / or frame window minimize messages; Upon receiving a frame window resizing message, resize all currently open frame windows to match the size of the frontmost frame window; or, upon receiving a frame window position adjustment message, reposition all currently open frame windows to match the position of the frontmost frame window; or, upon receiving a frame window minimize message, minimize all currently open frame windows.
2. The method for implementing a multi-tabbed PPT presentation as described in claim 1, characterized in that, The method further includes: Listen for user click events on tags; After listening to the user's click event on the label, the clicked label is set to the selected state, and then the step of placing the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window is executed.
3. The method for implementing a multi-tabbed PPT presentation as described in claim 1, characterized in that, The method further includes: When an event is detected that a PowerPoint document window is switched by pressing Ctrl+Tab, clicking the taskbar, or clicking different document windows on the desktop, an "Open" event for the currently switched PowerPoint document is triggered.
4. The method for implementing a multi-tabbed PPT presentation as described in claim 1, characterized in that, The method further includes: Receive a tag closure instruction; the tag closure instruction includes the identifier of the target tag to be closed; Close the PowerPoint document window corresponding to the target label; Delete the target label from the label bar of the frame window where the target label is located, and delete the recorded correspondence between the target label identifier and the PPT document window handle and the frame window handle.
5. The method for implementing a multi-tabbed PPT presentation as described in claim 1, characterized in that, The method further includes: Receive a command to close the tab bar; the command to close the tab bar includes an identifier of the target tab bar to be closed. Close the PPT document windows corresponding to all tags in the target tab bar; Set the frame window corresponding to the target tab bar to no longer receive frame window resizing messages, window position adjustment messages, and frame window minimize messages; Delete the target tab bar, and delete all tabs recorded in the target tab bar, as well as the correspondence between each tab identifier and the PPT document window handle and frame window handle.
6. The method for implementing a multi-tabbed PPT presentation as described in claim 1, characterized in that, The method further includes: Listen for the PPT close event; After listening to the PPT close event, obtain the handle of the second PPT document window corresponding to the current PPT close event; Close all PPT document windows corresponding to the tabs in the tab bar of the frame window containing the second PPT document; Set the frame window containing the second PPT document to no longer receive frame window resizing, window position adjustment, and frame window minimize messages; Delete the tab bar in the frame window containing the second PPT document, and delete all the tabs in the tab bar of the frame window containing the second PPT document, as well as the correspondence between each tab identifier and the PPT document window handle and the frame window handle.
7. A device for implementing a multi-tabbed PPT presentation, characterized in that, include: The PPT Open Listener module is used to monitor PPT open events in real time. The first handle acquisition module is used to acquire the first PPT document window handle and frame window handle corresponding to the current PPT open event after the PPT open listening module detects the PPT open event; The first judgment module is used to determine whether a tab bar already exists in the frame window corresponding to the frame window handle; wherein, the tab bar is a custom toolbar created in advance in PPT; The tag creation module is used to create a tag corresponding to the first PPT document in the tag bar when the judgment result of the first judgment module is yes, and to set the currently created tag to the selected state; The display module is used to place the PPT document window corresponding to the currently selected tag at the forefront of the corresponding frame window; The tag bar creation module is used to create a tag bar in the frame window corresponding to the frame window handle when the judgment result of the first judgment module is negative, and then trigger the tag creation module to create the tag corresponding to the first PPT document in the tag bar; The device further includes: The recording module is used to record the correspondence between the currently created label identifiers and the handles of the PPT document window and the frame window; The second judgment module is used to determine whether the first PPT document window handle is recorded when the judgment result of the first judgment module is yes. The triggering module is used to set the label identifier corresponding to the recorded first PPT document window handle to the selected state when the result of the second judgment module is yes, and to trigger the display module to place the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window; it is also used to trigger the label creation module to create a label corresponding to the target PPT document in the label bar when the result of the second judgment module is no, and to set the currently created label to the selected state. The device further includes: The message listening module is used to listen for frame window resizing messages and / or frame window position adjustment messages and / or frame window minimize messages; The message processing module is configured to, after the message listening module detects a frame window resizing message, adjust the size of all currently open frame windows to be the same as the size of the frame window displayed in the foreground; or, after the message listening module detects a frame window position adjustment message, adjust the position of all currently open frame windows to be the same as the position of the frame window displayed in the foreground; or, after the message listening module detects a frame window minimize message, minimize all currently open frame windows.
8. The apparatus for implementing a multi-tabbed PPT presentation as described in claim 7, characterized in that, The device further includes: The tag click event listener module is used to listen for user click events on tags; The click event handling module is used to set the clicked label to the selected state after the label click event listening module detects that the user clicked the label, and then triggers the display module to place the PPT document window corresponding to the currently selected label at the forefront of the corresponding frame window.
9. The apparatus for implementing a multi-tabbed PPT presentation as described in claim 7, characterized in that, The device further includes: The event listener module is used to trigger a PPT open event for the currently selected PPT document when an event is detected where the PPT document window is switched by pressing Ctrl+Tab, clicking the taskbar, or clicking different document windows on the desktop.
10. The apparatus for implementing a multi-tabbed PPT presentation as described in claim 7, characterized in that, The device further includes: The tag receiving module is used to receive tag closing instructions; the tag closing instructions include the identifier of the target tag to be closed. The first closing module is used to close the PPT document window corresponding to the target label; The first deletion module is used to delete the target label in the label bar of the frame window where the target label is located, and to delete the recorded correspondence between the target label identifier and the PPT document window handle and the frame window handle.
11. The apparatus for implementing a multi-tabbed PPT presentation as described in claim 7, characterized in that, The device further includes: The tab bar closing receiving module is used to receive a tab bar closing instruction; the tab bar closing instruction includes the identifier of the target tab bar to be closed. The second closing module is used to close the PPT document windows corresponding to all tabs in the target tab bar. The first message cancellation listening module is used to set the frame window corresponding to the target tab bar to no longer receive frame window size adjustment messages, window position adjustment messages, and frame window minimize messages; The second deletion module is used to delete the target tab bar and all the tabs recorded in the target tab bar, as well as the correspondence between each tab identifier and the PPT document window handle and frame window handle.
12. The apparatus for implementing a multi-tabbed PPT presentation as described in claim 7, characterized in that, The device further includes: The PPT close listener module is used to listen for PPT close events. The second handle acquisition module is used to obtain the handle of the second PPT document window corresponding to the current PPT closing event after the PPT closing monitoring module detects the PPT closing event; The third closing module is used to close all PPT document windows corresponding to all tabs in the tab bar of the frame window where the second PPT document is located. The second message cancellation listening module is used to set the frame window where the second PPT document window is located to no longer receive frame window size adjustment messages, window position adjustment messages, and frame window minimize messages. The third deletion module is used to delete the tab bar in the frame window where the second PPT document is located, and to delete all the tabs in the tab bar of the frame window where the second PPT document window is located, as well as the correspondence between each tab identifier and the PPT document window handle and the frame window handle.
13. An electronic device, characterized in that, The electronic device includes: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside the space enclosed by the housing, and the processor and the memory are disposed on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the PPT multi-tab implementation method according to any one of claims 1-6.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores one or more programs, which can be executed by one or more processors to implement the PPT multi-tab implementation method according to any one of claims 1-6.