A method, apparatus and related equipment for modifying slides
By creating unique index information for each layout and applying it to the slides, the problems of inefficiency and inconsistent format of batch modification slides are solved, and efficient slide modification and document production are achieved.
Patent Information
- Application Number
- CN202111615867.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2041-12-27
AI Technical Summary
The prior art is inefficient and prone to problems of format in batch modification of slides.
By creating unique index information for each layout, setting the index information to the index information of the current slide according to the selection command, and obtaining the layout attributes of the target layout to be displayed on the current slide, realizing attribute following.
It realizes efficient progress of batch slide modification, avoids the problem of inconsistent formats, and improves document production efficiency.
Smart Images

Figure CN114328997B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of multimedia technology, and particularly to a method for modifying slides, and also relates to a slide modification device, a computer device, and a computer-readable storage medium. Background Art
[0002] Presentation software is a tool commonly used in people's daily work. In a presentation, there are usually a large number of slides. In many cases, some slides have similar formats and similar contents. At this time, to improve the production efficiency of the presentation, a function of applying layouts is added. This function applies the prepared layout to the slides, so that there is no need to manually modify the content of the slides again, thus achieving consistency among the slides, and then the content of the slides can be modified on this basis. However, when multiple slides use the same layout, if there are new modifications and they are similar, it is often necessary to manually change each slide, which is very inefficient and prone to problems of inconsistent formats.
[0003] Therefore, how to achieve batch modification of slides to effectively ensure the slide modification efficiency and avoid the problem of inconsistent formats at the same time is an urgent problem to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of this application is to provide a method for modifying slides, which can achieve batch modification of slides to effectively ensure the slide modification efficiency and avoid the problem of inconsistent formats at the same time; another purpose of this application is to provide a slide modification device, a computer device, and a computer-readable storage medium, all of which have the above beneficial effects.
[0005] In the first aspect, this application provides a method for modifying slides, including:
[0006] Determine a target layout according to a selection instruction;
[0007] Obtain index information of the target layout;
[0008] Set the index information as the index information of the current slide;
[0009] Obtain layout attributes of the target layout according to the index information;
[0010] Display the layout attributes on the current slide.
[0011] Preferably, the determining a target layout according to a selection instruction includes:
[0012] Determine the target layout from a layout set according to the selection instruction.
[0013] Preferably, the index information includes a layout index and a placeholder index. Then, setting the index information as the index information of the current slide includes:
[0014] Setting the layout index of the target layout as the layout index of the current slide;
[0015] Setting the placeholder index of the target layout as the placeholder index of the current slide.
[0016] Preferably, the layout attributes include background attributes and placeholder attributes. Then, obtaining the layout attributes of the target layout according to the index information includes:
[0017] Obtaining the background attributes of the target layout according to the layout index;
[0018] Obtaining the placeholder attributes of the target layout according to the placeholder index; wherein, the placeholder attributes include image attributes.
[0019] Preferably, displaying the layout attributes on the current slide includes:
[0020] Displaying the background attributes on the current slide;
[0021] Displaying the placeholder attributes on the current slide.
[0022] Preferably, before displaying the background attributes on the current slide, it further includes:
[0023] Judging whether the current slide itself has background attributes;
[0024] If not, execute the step of displaying the background attributes on the current slide.
[0025] Preferably, before displaying the placeholder attributes on the current slide, it further includes:
[0026] Judging whether the current slide itself has placeholder attributes;
[0027] If not, execute the step of displaying the placeholder attributes on the current slide.
[0028] In a second aspect, the present application also discloses a slide modification device, including:
[0029] An acquisition module, configured to acquire a target computational graph;
[0030] A layout selection module, configured to determine a target layout according to a selection instruction;
[0031] An index acquisition module, configured to acquire the index information of the target layout;
[0032] An index modification module for setting the index information as the index information of the current slide;
[0033] An attribute acquisition module for acquiring the layout attributes of the target layout according to the index information;
[0034] An attribute display module for displaying the layout attributes on the current slide.
[0035] In a third aspect, the present application also discloses a computer device, including:
[0036] A memory for storing a computer program;
[0037] A processor for implementing the steps of any of the above slide modification methods when executing the computer program.
[0038] In a fourth aspect, the present application also discloses a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above slide modification methods.
[0039] A slide modification method provided by the present application includes determining a target layout according to a selection instruction; acquiring index information of the target layout; setting the index information as the index information of the current slide; acquiring layout attributes of the target layout according to the index information; and displaying the layout attributes on the current slide.
[0040] Applying the technical solution provided by the present application, unique index information is created for each layout in advance. When a slide applies a layout, the corresponding index information can be set in the slide to form a bridge that allows the slide to directly apply the corresponding layout. Further, according to the index information, the layout attributes of the corresponding layout are obtained and displayed on the slide, thereby realizing attribute following. Based on this, batch slide modification can be realized to effectively ensure the slide modification efficiency, improve the efficiency of document production, and at the same time effectively avoid the problem of inconsistent formats.
[0041] A slide modification device, a computer device, and a computer-readable storage medium provided by the present application all have the above beneficial effects and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] To more clearly illustrate the prior art and the technical solutions in the embodiments of the present application, the following will briefly introduce the attached drawings required for the description of the prior art and the embodiments of the present application. Of course, the following attached drawings related to the embodiments of the present application only describe a part of the embodiments in the present application. For those of ordinary skill in the art, without creative efforts, other attached drawings can also be obtained according to the provided attached drawings, and the other attached drawings obtained also belong to the protection scope of the present application.
[0043] Figure 1 A flowchart of a method for modifying slides provided by the present application;
[0044] Figure 2 A flowchart of a method for creating a layout provided by the present application;
[0045] Figure 3 A flowchart of a method for applying a layout to slides provided by the present application;
[0046] Figure 4 A flowchart of a method for modifying slide attributes provided by the present application;
[0047] Figure 5 A schematic diagram of modifying attributes after applying a layout to slides provided by the present application;
[0048] Figure 6 A flowchart of a method for following slide background attributes provided by the present application;
[0049] Figure 7 A flowchart of a method for following slide placeholder attributes provided by the present application;
[0050] Figure 8 A schematic diagram of the structure of a slide modification device provided by the present application;
[0051] Figure 9 A schematic diagram of the structure of a computer device provided by the present application. Detailed implementation manners
[0052] The core of the present application is to provide a method for modifying slides, which can achieve batch modification of slides to effectively ensure the efficiency of slide modification and avoid the problem of inconsistent formats at the same time; another core of the present application is to provide a slide modification device, a computer device and a computer-readable storage medium, which also have the above beneficial effects.
[0053] To describe the technical solutions in the embodiments of the present application more clearly and completely, the following will introduce the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.
[0054] The embodiment of the present application provides a method for modifying a slide.
[0055] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of a method for modifying a slide provided by the present application. The method for modifying a slide may include:
[0056] S101: Determine a target layout according to a selection instruction;
[0057] This step aims to implement the selection of the target layout. The target layout is the layout to be applied for modifying the current slide, and is independently selected by the user based on actual needs. Based on this, the user can select the target layout on the front-end interface and click to confirm to form a selection instruction. Thus, for the computer device, after receiving the selection instruction, it can determine the target layout selected by the user according to the selection instruction.
[0058] S102: Obtain the index information of the target layout;
[0059] This step aims to implement the acquisition of the index information of the target layout. Specifically, unique index information can be set for all layouts in advance, that is, different layouts correspond to different index information. Thus, after determining the target layout, the corresponding index information can be further obtained. Further, based on the index information, the application of the target layout to the current slide can be realized.
[0060] Among them, the index information is used to represent the uniqueness of the layout, and its specific content is not unique. It can be a randomly generated unique serial number or a sequential label, which can be set by technical personnel according to the actual situation. The present application does not make any limitations on this.
[0061] S103: Set the index information as the index information of the current slide;
[0062] This step aims to modify the current slide index information, so as to apply the current slide to the target layout. Specifically, after obtaining the index information of the target layout, set the index information of the target layout as the index information of the current slide, thus forming a bridge that allows the current slide to directly apply the target layout and completing the application of the target layout. Of course, before setting the index information of the target layout as the index information of the current slide, it is necessary to delete the current index information in the current slide.
[0063] S104: Obtain the layout attributes of the target layout according to the index information;
[0064] This step aims to obtain the layout attributes of the target layout. It can be understood that different target layouts may have different layout attributes, such as background attributes, placeholder attributes, etc. When applying the layout to a slide, the layout attributes of the layout can be applied to the slide at the same time to achieve attribute following. Therefore, after obtaining the index information of the target layout, the layout attributes of the target layout can be obtained according to this index information, so as to apply the layout attributes to the current slide and thus achieve slide modification.
[0065] Among them, attribute following means that in the case of having no attributes itself, it can change according to the attribute changes of other objects, or in the case of having its own defined attributes, other objects can follow the changes of its own attributes.
[0066] S105: Display the layout attributes on the current slide.
[0067] This step aims to apply the layout attributes of the target layout to the current slide to achieve slide modification. Specifically, the layout attributes of the target layout can be directly displayed on the current slide, so as to achieve attribute following and complete slide modification.
[0068] It can be seen that the slide modification method provided by this application creates unique index information for each layout in advance. When applying a layout to a slide, the corresponding index information can be set in the slide to form a bridge that allows the slide to directly apply the corresponding layout. Further, according to this index information, the layout attributes of the corresponding layout are obtained and the layout attributes are displayed on the slide, so as to achieve attribute following. Based on this, batch slide modification can be realized to effectively ensure the slide modification efficiency, improve the efficiency of document production, and at the same time effectively avoid the problem of inconsistent formats.
[0069] In an embodiment of this application, determining the target layout according to the selection instruction may include: determining the target layout from the layout set according to the selection instruction.
[0070] The embodiments of the present application provide an implementation method for selecting a target layout. Specifically, a layout set can be pre-constructed to store all layouts. Thus, when the user selects a target layout based on the front-end interface, the layout set can be displayed on the front-end interface so that the user can select and determine the target layout from the layout set. Among them, the layout set can be specifically implemented in the form of a database.
[0071] In an embodiment of the present application, the above index information may include a layout index and a placeholder index. Then, setting the index information as the index information of the current slide may include: setting the layout index of the target layout as the layout index of the current slide; setting the placeholder index of the target layout as the placeholder index of the current slide.
[0072] The embodiments of the present application provide an implementation method for setting the index information of a target layout as the index information of the current slide. Specifically, the index information may specifically include two types: a layout index and a placeholder index. Thus, when setting the index information of the target layout as the index information of the current slide, specifically, the layout index of the target layout can be set as the layout index of the current slide, and the placeholder index of the target layout can be set as the placeholder index of the current slide. Among them, a placeholder refers to an image object with the characteristic of attribute following.
[0073] In an embodiment of the present application, the above layout attributes may include background attributes and placeholder attributes. Then, obtaining the layout attributes of the target layout according to the index information may include: obtaining the background attributes of the target layout according to the layout index; obtaining the placeholder attributes of the target layout according to the placeholder index; among them, the placeholder attributes include image attributes.
[0074] The embodiments of the present application provide an implementation method for obtaining the layout attributes of a target layout according to the index information. Specifically, the layout attributes may specifically include two types: background attributes and placeholder attributes. Thus, when obtaining the layout attributes of the target layout based on the index information, specifically, the background attributes of the target layout can be obtained according to the layout index, and the placeholder attributes of the target layout can be obtained according to the placeholder index to achieve attribute following. Among them, the placeholder attributes necessarily include image attributes. In addition, according to the actual situation, they may also include text attributes, and the text attributes will exist only when there is text in the placeholder.
[0075] In an embodiment of the present application, the above displaying the layout attributes on the current slide may include: displaying the background attributes on the current slide; displaying the placeholder attributes on the current slide.
[0076] As described above, the layout attributes may specifically include two types: background attributes and placeholder attributes. On this basis, after obtaining the background attributes and placeholder attributes, the background attributes can be displayed on the current slide, and the placeholder attributes can be displayed on the current slide, so as to apply the attributes of the target layout to the current slide and complete the modification of the slide.
[0077] In an embodiment of the present application, before displaying the background attributes on the current slide, it may further include: determining whether the current slide itself has background attributes; if not, then performing the step of displaying the background attributes on the current slide.
[0078] To further improve the efficiency of slide modification, before displaying the background attributes on the current slide, it can first be determined whether the current slide has background attributes. If the background attributes exist, it means that the background attributes of the current slide have been followed, and there is no need to apply the background attributes of the target layout to the current slide anymore; if the background attributes do not exist, it means that the background attributes of the current slide have not been followed. At this time, the step of displaying the background attributes on the current slide can be performed.
[0079] In an embodiment of the present application, before displaying the placeholder attributes on the current slide, it may further include: determining whether the current slide itself has placeholder attributes; if not, then performing the step of displaying the placeholder attributes on the current slide.
[0080] Similarly, to further improve the efficiency of slide modification, before displaying the placeholder attributes on the current slide, it can first be determined whether the current slide has placeholder attributes. If the placeholder attributes exist, it means that the placeholder attributes of the current slide have been followed, and there is no need to apply the placeholder attributes of the target layout to the current slide anymore; if the placeholder attributes do not exist, it means that the placeholder attributes of the current slide have not been followed. At this time, the step of displaying the placeholder attributes on the current slide can be performed.
[0081] Based on the above embodiments of the application, the following embodiments of the application provide a method for modifying a slide, and the specific implementation process is as follows:
[0082] First, please refer to Figure 2 , Figure 2 , which is a schematic flowchart of a method for creating a layout provided by the present application. Before applying a layout to a slide, it is necessary to first create a layout, and the following contents will be created during the creation of the layout:
[0083] (1) Layout index: As a bridge connecting to the slide, it is a core attribute and is unique;
[0084] (2) Background attributes: Used for display on the slide;
[0085] (3) Placeholder: When creating a placeholder, a placeholder index and object properties are created. Object properties generally include graphic properties and text properties. Among them, graphic properties are essential, and text properties will exist only when there is text within the placeholder.
[0086] Further, please refer to Figure 3 , Figure 3 , which is a schematic flowchart of a slide application layout method provided by this application. Its implementation process may include:
[0087] Step 1. Start;
[0088] Step 2. User selection;
[0089] Step 3. Select a target layout from the layout set;
[0090] Step 4. The user obtains the target layout;
[0091] Step 5. Apply the target layout to the slide;
[0092] Step 6. Whether to apply again. If yes, jump to Step 2; otherwise, jump to Step 7;
[0093] Step 7. End.
[0094] Further, please refer to Figure 4 , Figure 4 , which is a schematic flowchart of a slide attribute modification method provided by this application. Its implementation process may include:
[0095] Step 1. Start;
[0096] Step 2. Apply the target layout;
[0097] Step 3. Slide modification preparation;
[0098] Step 4. Slide modification layout index;
[0099] Step 5. Slide placeholder modification preparation;
[0100] Step 6. Slide placeholder modification placeholder index;
[0101] Step 7. End.
[0102] Further, please refer to Figure 5 , Figure 5 , which is a schematic diagram of attribute modification after a slide applies a layout. When a slide applies to a new layout, the following two core attributes of the slide will change:
[0103] (1) The slide will change the current layout index to the layout index of the layout to be applied, thus breaking the relationship between the slide and the previous layout and establishing a connection with the new layout. That is, a slide can only have a corresponding relationship with one layout;
[0104] (2) Since there are differences in the placeholder objects between different layouts, including the number, objects, and internal attributes of the objects, it is necessary to modify the placeholder indexes of all placeholders in the slide. Specifically, the placeholder indexes of the placeholder objects in the slide can be made to correspond one by one with the placeholder indexes of the placeholder objects in the layout according to the corresponding relationship.
[0105] Further, please refer to Figure 6 , Figure 6 which is a schematic flowchart of a method for following the background attributes of a slide provided by this application. The implementation process may include:
[0106] Step 1: Start;
[0107] Step 2: Obtain the slide;
[0108] Step 3: Obtain the background attributes of the slide;
[0109] Step 4: Determine whether the slide has background attributes. If so, jump to Step 7; otherwise, jump to Step 5;
[0110] Step 5: Obtain the corresponding layout according to the layout index of the slide;
[0111] Step 6: Obtain the background attributes of the layout;
[0112] Step 7: Display the background attributes;
[0113] Step 8: End.
[0114] Further, please refer to Figure 7 , Figure 7 which is a schematic flowchart of a method for following the placeholder attributes of a slide provided by this application. The implementation process may include:
[0115] Step 1: Start;
[0116] Step 2: Obtain the slide;
[0117] Step 3: Obtain the placeholders of the slide;
[0118] Step 4: Obtain the graphic attributes and text attributes of the placeholder;
[0119] Step 5: Determine whether the placeholder of the slide has attributes. If so, jump to Step 9; otherwise, jump to Step 6;
[0120] Step 6: Obtain the corresponding layout according to the layout index of the slide;
[0121] Step 7: Obtain the corresponding placeholder in the layout according to the placeholder index;
[0122] Step 8: Obtain the attributes of the layout placeholder;
[0123] Step 9: Display the placeholder attributes;
[0124] Step 10: End.
[0125] It can be seen that for the slide modification method provided by the embodiments of the present application, unique index information is created for each layout in advance. When a slide applies a layout, the corresponding index information can be set in the slide to form a bridge that allows the slide to directly apply the corresponding layout. Further, according to the index information, the layout attributes of the corresponding layout are obtained and displayed on the slide, thereby realizing attribute following. Based on this, batch slide modification can be achieved to effectively ensure the slide modification efficiency, improve the efficiency of document production, and at the same time effectively avoid the problem of inconsistent formats.
[0126] The present application also provides a slide modification device. Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of a slide modification device provided by the present application. The slide modification device may include:
[0127] A layout selection module 1, configured to determine a target layout according to a selection instruction;
[0128] An index acquisition module 2, configured to acquire the index information of the target layout;
[0129] An index modification module 3, configured to set the index information as the index information of the current slide;
[0130] An attribute acquisition module 4, configured to acquire the layout attributes of the target layout according to the index information;
[0131] An attribute display module 5, configured to display the layout attributes on the current slide.
[0132] It can be seen that for the slide modification device provided by the embodiments of the present application, unique index information is created for each layout in advance. When a slide applies a layout, the corresponding index information can be set in the slide to form a bridge that allows the slide to directly apply the corresponding layout. Further, according to the index information, the layout attributes of the corresponding layout are obtained and displayed on the slide, thereby realizing attribute following. Based on this, batch slide modification can be achieved to effectively ensure the slide modification efficiency, improve the efficiency of document production, and at the same time effectively avoid the problem of inconsistent formats.
[0133] In one embodiment of the present application, the above-mentioned layout selection module 1 may be specifically configured to determine a target layout from a set of layouts according to a selection instruction.
[0134] In one embodiment of the present application, the above-mentioned index information may include a layout index and a placeholder index. Then, the above-mentioned index modification module 3 may be specifically configured to set the layout index of the target layout to the layout index of the current slide; set the placeholder index of the target layout to the placeholder index of the current slide.
[0135] In one embodiment of the present application, the above-mentioned layout attributes may include background attributes and placeholder attributes. Then, the above-mentioned attribute acquisition module 4 acquires the background attributes of the target layout according to the layout index; acquires the placeholder attributes of the target layout according to the placeholder index; wherein, the placeholder attributes include image attributes.
[0136] In one embodiment of the present application, the above-mentioned attribute display module 5 may be specifically configured to display the background attributes on the current slide; display the placeholder attributes on the current slide.
[0137] In one embodiment of the present application, the slide modification device may further include a background attribute judgment module, configured to judge whether the current slide itself has background attributes before displaying the background attributes on the current slide; if not, then execute the step of displaying the background attributes on the current slide.
[0138] In one embodiment of the present application, the slide modification device may further include a placeholder attribute judgment module, configured to judge whether the current slide itself has placeholder attributes before displaying the placeholder attributes on the current slide; if not, then execute the step of displaying the placeholder attributes on the current slide.
[0139] For the introduction of the device provided by the present application, please refer to the above method embodiments, and the present application will not elaborate here.
[0140] The present application also provides a computer device. Please refer to Figure 9 , Figure 9 which is a schematic structural diagram of a computer device provided by the present application. The computer device may include:
[0141] A memory for storing a computer program;
[0142] A processor, configured to implement the steps of any of the above slide modification methods when executing the computer program.
[0143] Such as Figure 9As shown in the figure, it is a schematic diagram of the composition structure of a computer device. The computer device may include: a processor 10, a memory 11, a communication interface 12, and a communication bus 13. The processor 10, the memory 11, and the communication interface 12 all complete mutual communication through the communication bus 13.
[0144] In the embodiments of the present application, the processor 10 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array, or other programmable logic devices, etc.
[0145] The processor 10 may call the program stored in the memory 11. Specifically, the processor 10 may execute the operations in the embodiments of the slide modification method.
[0146] The memory 11 is used to store one or more programs. The program may include program code, and the program code includes computer operation instructions. In the embodiments of the present application, the memory 11 stores at least a program for implementing the following functions:
[0147] Determine the target layout according to the selection instruction;
[0148] Obtain the index information of the target layout;
[0149] Set the index information as the index information of the current slide;
[0150] Obtain the layout attributes of the target layout according to the index information;
[0151] Display the layout attributes on the current slide.
[0152] In a possible implementation, the memory 11 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, and application programs required for at least one function, etc.; the data storage area may store the data created during use.
[0153] In addition, the memory 11 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device or other volatile solid-state storage devices.
[0154] The communication interface 12 may be an interface of a communication module, and is used to connect to other devices or systems.
[0155] Of course, it should be noted that Figure 9 The structure shown does not limit the computer device in the embodiments of the present application. In actual applications, the computer device may include more or fewer components than Figure 9 shown, or combine some components.
[0156] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above slide modification methods can be implemented.
[0157] The computer-readable storage medium may include: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc., which can store program codes.
[0158] For the introduction of the computer-readable storage medium provided by the present application, please refer to the above method embodiments, and the present application will not elaborate herein.
[0159] The various embodiments in the specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description in the method part.
[0160] Those skilled in the art can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed in this document can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of the examples have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0161] The steps of the methods or algorithms described in combination with the embodiments disclosed in this document can be directly implemented by hardware, software modules executed by a processor, or a combination of the two. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.
[0162] The technical solutions provided by the present application have been introduced in detail above. Specific examples are used in this document to elaborate on the principles and implementation manners of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the present application.
Claims
1. A method for modifying a slide, characterized in that, including: determining a target layout from a layout set according to a selection instruction; each layout in the layout set is provided with unique index information; the layout set is visually displayed through a front-end interface for a user to select the target layout in the layout set; obtaining the index information of the target layout; setting the index information as the index information of the current slide to establish a correspondence between the current slide and the target layout; obtaining the layout attributes of the target layout according to the index information; displaying the layout attributes on the current slide; wherein, the index information includes a layout index and a placeholder index, and the setting the index information as the index information of the current slide includes: setting the layout index of the target layout as the layout index of the current slide; setting the placeholder index of the target layout as the placeholder index of the current slide; the layout attributes include background attributes and placeholder attributes, and the obtaining the layout attributes of the target layout according to the index information includes: obtaining the background attributes of the target layout according to the layout index; obtaining the placeholder attributes of the target layout according to the placeholder index; wherein, the placeholder attributes include image attributes.
2. The slide modification method according to claim 1, wherein the displaying the layout attributes on the current slide includes: displaying the background attributes on the current slide; displaying the placeholder attributes on the current slide.
3. The slide modification method according to claim 2, wherein before the displaying the background attributes on the current slide, further includes: judging whether the current slide itself has background attributes; if not, then executing the step of displaying the background attributes on the current slide.
4. The slide modification method according to claim 2, wherein before the displaying the placeholder attributes on the current slide, further includes: judging whether the current slide itself has placeholder attributes; if not, then executing the step of displaying the placeholder attributes on the current slide.
5. A slide modification device, characterized in that, including: a layout selection module, configured to determine a target layout from a layout set according to a selection instruction; each layout in the layout set is provided with unique index information; the layout set is visually displayed through a front-end interface for a user to select the target layout in the layout set; an index obtaining module, configured to obtain the index information of the target layout; an index modification module, configured to set the index information as the index information of the current slide to establish a correspondence between the current slide and the target layout; an attribute obtaining module, configured to obtain the layout attributes of the target layout according to the index information; an attribute display module, configured to display the layout attributes on the current slide; wherein, the index information includes a layout index and a placeholder index, and the index modification module is specifically configured to set the layout index of the target layout as the layout index of the current slide; set the placeholder index of the target layout as the placeholder index of the current slide; The layout attributes include background attributes and placeholder attributes. Specifically, the attribute acquisition module is configured to obtain the background attributes of the target layout according to the layout index; obtain the placeholder attributes of the target layout according to the placeholder index; wherein, the placeholder attributes include image attributes.
6. A computer device, characterized in that, including: a memory for storing a computer program; a processor for implementing the steps of the slide modification method according to any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the slide modification method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Presentation template providing method and device
CN105740213A
Slide display method, system and device
CN106557289A
Demonstration document automatic typesetting method and system
CN107451113A
Background setting method, device and facility and storage medium
CN108829486A
Document color matching method, document processing terminal and color matching server
CN112131849A