CN112381912A - Presentation processing method and device, electronic equipment and storage medium - Google Patents

Presentation processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112381912A
CN112381912A CN201910690649.3A CN201910690649A CN112381912A CN 112381912 A CN112381912 A CN 112381912A CN 201910690649 A CN201910690649 A CN 201910690649A CN 112381912 A CN112381912 A CN 112381912A
Authority
CN
China
Prior art keywords
current presentation
presentation
preset
slide
shielding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910690649.3A
Other languages
Chinese (zh)
Inventor
区钺坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201910690649.3A priority Critical patent/CN112381912A/en
Publication of CN112381912A publication Critical patent/CN112381912A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a presentation processing method, a presentation processing device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a processing instruction aiming at the current presentation, traversing and judging whether each slide in the current presentation is a preset type slide or not, executing shielding processing on the preset type slide in the current presentation, and generating the presentation with the preset type slide shielded according to a shielding processing result. The embodiment of the invention can improve the shielding processing efficiency of the preset type slides in the presentation.

Description

Presentation processing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of office software, in particular to a method and a device for processing a presentation, electronic equipment and a storage medium.
Background
A presentation is a playable file that makes a static file into a dynamic file, and a presentation usually holds a plurality of slides for presentation.
Existing presentations may set portions of slides to hidden properties while they are in an edited state, so that only slides without hidden properties set are played while they are in a played state, and slides with hidden properties set are no longer played. In the prior art, if a presentation with a slide with a set hidden attribute needs to be shielded, the following processing needs to be performed on the presentation: and when the presentation is in an editing state, manually judging whether the slides are set with the hidden attributes one by one, if the hidden attributes are set, manually deleting the slides with the hidden attributes, and after all the slides with the hidden attributes are deleted, manually storing the slides only including the slides without the hidden attributes as a new presentation file.
However, in the prior art, when slides with hidden attributes in a presentation are processed, whether the hidden attributes are set in each slide needs to be manually determined one by one, and the slides with the hidden attributes set need to be manually deleted, so that the processing efficiency is low.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for processing a presentation, an electronic device, and a storage medium, so as to improve the efficiency of shielding a preset type slide in a presentation. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for processing a presentation, where the method includes:
acquiring a processing instruction for a current presentation, wherein the processing instruction is used for performing shielding operation on a preset type slide in the current presentation, and the preset type slide at least comprises: slides with hidden properties, blank slides;
traversing and judging whether each slide in the current presentation is the preset type slide or not, and performing shielding processing on the preset type slide in the current presentation;
and generating a new presentation according to the shielding processing result, wherein the new presentation is obtained after the preset type slides are shielded.
Optionally, the step of acquiring a processing instruction for the current presentation includes:
acquiring a click instruction of a user for a preset option in an operation interface of the current presentation, wherein the preset option is used for selecting whether to execute shielding operation on a preset type slide in the current presentation;
or acquiring a knocking instruction of a user for a preset key, wherein the preset key is used for performing shielding operation on a preset type slide in the current presentation.
Optionally, the step of determining, by traversal, whether each slide in the current presentation is the preset-category slide, and performing a masking process on the preset-category slide in the current presentation includes:
according to the sequence of the page numbers of the slides in the current presentation from small to large, traversing and judging whether the slides in the current presentation are the preset type slides or not;
and if the slide is the preset type slide, performing shielding processing on the preset type slide in the current presentation.
Optionally, the step of determining, by traversal, whether each slide in the current presentation is the preset-category slide, and performing a masking process on the preset-category slide in the current presentation includes:
according to the sequence of the page numbers of the slides in the current presentation from small to large, traversing and judging whether the slides in the current presentation are the preset type slides or not;
if the slide is the preset type slide, adding a shielding mark to the preset type slide in the current presentation;
and according to the shielding mark, performing shielding processing on the preset type slide in the current presentation.
Optionally, the step of performing a masking process on the preset category slide in the current presentation includes:
reading the current presentation to a memory;
and executing shielding processing on the preset type slides in the current presentation in the memory.
Optionally, the step of generating a new presentation according to the result of the masking processing includes:
acquiring a first instruction of a user, wherein the first instruction is used for performing another storage operation on the current presentation;
and according to the shielding processing result, additionally storing the current presentation as a new presentation and reserving the current presentation.
Optionally, the step of generating a new presentation according to the result of the masking processing includes:
acquiring a second instruction of the user, wherein the second instruction is used for executing a saving operation on the current presentation;
and according to the shielding processing result, saving the current presentation as a new presentation, and replacing the current presentation with the new presentation.
In a second aspect, an embodiment of the present invention provides a presentation processing apparatus, including:
an obtaining module, configured to obtain a processing instruction for a current presentation, where the processing instruction is used to perform a shielding operation on preset-category slide pages in the current presentation, and the preset-category slide pages at least include: slide pages with hidden attributes, blank slide pages;
the processing module is used for traversing and judging whether each slide film page in the current presentation is the preset type slide film page or not and executing shielding processing on the preset type slide film page in the current presentation;
and the generating module is used for generating a new presentation according to the shielding processing result, wherein the new presentation is obtained after the preset type slide film pages are shielded.
Optionally, the obtaining module is specifically configured to:
acquiring a click instruction of a user for a preset option in an operation interface of the current presentation, wherein the preset option is used for selecting whether to execute shielding operation on a preset type slide in the current presentation;
or acquiring a knocking instruction of a user for a preset key, wherein the preset key is used for performing shielding operation on a preset type slide in the current presentation.
Optionally, the processing module includes:
the first judgment sub-module is used for traversing and judging whether each slide in the current presentation is the preset type slide according to the sequence of the page numbers of the slides in the current presentation from small to large;
and the first shielding submodule is used for performing shielding processing on the preset type slides in the current presentation.
Optionally, the processing module includes:
the second judgment submodule is used for traversing and judging whether each slide in the current presentation is the preset type slide according to the sequence that the page number of each slide in the current presentation is from small to large;
the mark adding submodule is used for adding a shielding mark to the preset type slide in the current presentation;
and the second shielding submodule is used for performing shielding processing on the preset type slide in the current presentation according to the shielding mark.
Optionally, the processing module includes:
the reading submodule is used for reading the current presentation into a memory;
and the third shielding submodule is used for performing shielding processing on the preset type slides in the current presentation in the memory.
Optionally, the generating module includes:
the first acquisition submodule is used for acquiring a first instruction of a user, and the first instruction is used for performing another storage operation on the current presentation;
and the additional storage sub-module is used for additionally storing the current presentation as a new presentation according to the shielding processing result and reserving the current presentation.
Optionally, the generating module includes:
the second acquisition submodule is used for acquiring a second instruction of the user, and the second instruction is used for executing a saving operation on the current presentation;
and the storage submodule is used for storing the current presentation as a new presentation according to the shielding processing result and replacing the current presentation with the new presentation.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus; the machine-readable storage medium stores machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the method steps of the presentation processing method provided by the first aspect of the embodiment of the invention are realized.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is executed by a processor to perform the method steps of the presentation processing method according to the first aspect of the embodiment of the present invention.
According to the presentation processing method, the presentation processing device, the electronic device and the storage medium, provided by the embodiment of the invention, the processing instruction for the current presentation is acquired, whether each slide in the current presentation is a preset type slide is determined in a traversing manner, the preset type slide in the current presentation is shielded, and the presentation with the preset type slide shielded can be generated according to the shielding processing result. According to the method, the device, the electronic equipment and the storage medium for processing the presentation, which are provided by the embodiment of the invention, the shielding processing efficiency of the preset type slides in the presentation can be improved, so that a user can more conveniently obtain the presentation with the preset type slides shielded. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a presentation processing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of step S102 in the presentation processing method according to the embodiment of the present invention;
fig. 3 is another schematic flow chart of step S102 in the presentation processing method according to the embodiment of the present invention;
fig. 4 is another schematic flowchart of step S102 in the presentation processing method according to the embodiment of the present invention;
fig. 5 is a schematic flowchart of step S103 in the presentation processing method according to the embodiment of the present invention;
fig. 6 is another schematic flow chart of step S103 in the presentation processing method according to the embodiment of the present invention;
fig. 7 is a schematic structural diagram of a presentation processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a processing module in the presentation processing apparatus according to the embodiment of the present invention;
fig. 9 is a schematic structural diagram of a processing module in the presentation processing apparatus according to the embodiment of the present invention;
fig. 10 is a schematic diagram illustrating another structure of a processing module in the presentation processing apparatus according to the embodiment of the present invention;
fig. 11 is a schematic structural diagram of a generating module in the presentation processing apparatus according to the embodiment of the present invention;
fig. 12 is another schematic structural diagram of a generation module in the presentation processing apparatus according to the embodiment of the present invention;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for processing a presentation, where the method may include the following steps:
s101, a processing instruction for the current presentation is acquired.
The presentation processing method provided by the embodiment of the invention can be practically applied to the processing process of the current presentation for shielding the slides with hidden attributes under the condition that the user does not manually judge whether the slides have the hidden attributes or not one by one or manually delete the slides with the hidden attributes.
The presentation processing method provided by the embodiment of the invention is directed to a presentation in electronic equipment, so that the presentation can be executed by the electronic equipment, and specifically, the electronic equipment can be a desktop computer, a portable computer, an intelligent mobile terminal and the like.
In the embodiment of the present invention, after a user inputs a processing instruction for a current presentation to an electronic device, the electronic device can acquire the processing instruction for the current presentation, where the processing instruction for the current presentation is used to perform a masking operation on a preset type slide in the current presentation. For example, the preset category slides may be slides with hidden attributes, and when the current presentation is in a playing state, the slides with hidden attributes are not played any more; the preset category slides may also be blank slides, which refers to slides that do not contain content on the slides.
As an optional implementation manner of the embodiment of the present invention, in an actual application, the step of obtaining the processing instruction for the current presentation may be implemented by obtaining a click instruction of a user for a preset option in an operation interface of the current presentation. Specifically, the preset option is used to select whether to perform a masking operation on a preset type slide in the current presentation, for example, in an operation interface of the current presentation, the preset option may be an option of "remove hidden slide during storage" that is saved as another option in a dialog box, where the another option is a dialog box generated when the user clicks an "another save as" button of the operation interface of the current presentation; the preset option in the operation interface of the current presentation may also be a "remove hidden slide while saving" option in a right-click menu dialog box, where the right-click menu dialog box is a dialog box generated when the user clicks a right-click mouse in the operation interface of the current presentation.
Or, in practical applications, the step of obtaining the processing instruction for the current presentation may be implemented by obtaining a tapping instruction of a user for a preset key combination. Specifically, the preset key combination is used for performing a masking operation on a preset type slide in the current presentation. The preset key combination may be in the form of a plurality of key combinations on a keyboard.
S102, traversing and judging whether each slide in the current presentation is a preset type slide or not, and performing shielding processing on the preset type slide in the current presentation.
In the embodiment of the present invention, after the electronic device obtains the processing instruction for the current presentation, since it is necessary to perform the masking operation on the preset type slides in the current presentation, it is necessary to select the preset type slides that need to perform the masking operation in advance from all slides of the current presentation, so that it is necessary to traverse and determine whether each slide in the current presentation is a preset type slide, specifically, it is determined whether all slides in the current presentation are preset type slides one by one. After traversing and judging whether each slide in the current presentation is a preset type slide, according to the judgment result, a preset type slide which needs to be subjected to shielding operation can be selected from all slides of the current presentation, then shielding processing is performed on the preset type slide in the current presentation, and the preset type slide in the current presentation after shielding processing can be shielded, for example, the preset type slide in the current presentation can be deleted.
And S103, generating a new presentation according to the shielding processing result.
In the embodiment of the present invention, after the preset type slides in the current presentation are masked, the current presentation no longer includes the preset type slides, and a new presentation is generated according to the result of the masking process, specifically, the new presentation refers to a presentation obtained after the preset type slides are masked.
As shown in fig. 2, as an optional implementation manner of the embodiment of the present invention, the step of determining, by traversal, whether each slide in the current presentation is a preset-category slide, and performing a masking process on the preset-category slide in the current presentation includes:
and S1021, traversing and judging whether each slide in the current presentation is a preset type slide according to the sequence of the page numbers of the slides in the current presentation from small to large.
In the embodiment of the invention, after the electronic device acquires the processing instruction for the current presentation, according to the processing instruction for the current presentation, whether all slides in the current presentation are the preset type slides or not is judged one by one according to the sequence of the page numbers of the slides in the current presentation from small to large, so that the preset type slides needing to execute the shielding operation can be selected from all slides in the current presentation.
S1022, if the slide is a preset category slide, performing a masking process on the preset category slide in the current presentation.
In the embodiment of the present invention, in the process of traversing and judging whether each slide in the current presentation is a preset-type slide according to the order from small to large of the page number of each slide in the current presentation, if it is judged that one slide is the preset-type slide, the slide needs to be subjected to a masking operation, so that the masking operation is performed on the preset-type slide in the current presentation, and after the masking operation is performed on the preset-type slide in the current presentation, the preset-type slide in the current presentation can be masked. Therefore, after all the preset category slides in the current presentation are determined, all the preset category slides in the current presentation can be masked.
S1023, if the slide is not a preset category slide, the slide in the current presentation is not masked.
In the embodiment of the present invention, in the process of traversing and judging whether each slide in the current presentation is a preset-type slide according to the order from small to large of the page number of each slide in the current presentation, if it is judged that one slide is not a preset-type slide, the slide does not need to be subjected to the masking operation, so that the masking operation is not performed on the slide in the current presentation, and the slide is retained in the current presentation. Therefore, after traversing and judging all slides in the current presentation, all non-preset slides in the current presentation can be retained.
As shown in fig. 3, as an optional implementation manner of the embodiment of the present invention, the step of determining, by traversal, whether each slide in the current presentation is a preset-category slide, and performing a masking process on the preset-category slide in the current presentation includes:
and S1021', according to the sequence that the page numbers of the slides in the current presentation are from small to large, traversing and judging whether the slides in the current presentation are slides of preset categories or not.
The step is the same as S1021, and is not described again here.
S1022', if the slide is a preset category slide, add a mask mark to the preset category slide in the current presentation.
In the embodiment of the present invention, after traversing and judging whether each slide in the current presentation is a preset-type slide according to the order from small to large of the page number of each slide in the current presentation, in order to quickly identify the preset-type slide which needs to perform the shielding processing operation among all slides of the current presentation, so as to completely perform the shielding processing operation on all the preset-type slides in the current presentation, in the process of traversing and judging whether each slide in the current presentation is a preset-type slide according to the order from small to large of the page number of each slide in the current presentation, if one slide is judged to be a preset-type slide, a shielding mark is added to the preset-type slide in the current presentation. Specifically, the step of adding the shielding mark to the preset type slide in the current presentation may be implemented by adding an annotation to the preset type slide in the current presentation. After the shielding mark is added to the preset type slide in the current presentation, the preset type slide in the current presentation can be identified by the electronic equipment through the shielding mark. Therefore, after all the preset type slides in the current presentation are determined, all the preset type slides in the current presentation can be added with the shielding marks, and all the preset type slides in the current presentation can be recognized by the electronic device through the shielding marks.
And S1023', if the slide is not the slide of the preset category, not adding a shielding mark for the slide in the current presentation.
In the embodiment of the invention, in the process of traversing and judging whether each slide in the current presentation is a preset type slide according to the sequence from small to large of the page number of each slide in the current presentation, if a slide is judged not to be a preset type slide, a shielding mark is not added to the slide in the current presentation, and the state of the slide in the current presentation is kept. Therefore, after traversing and judging all slides in the current presentation, all non-preset category slides in the current presentation can be not added with the mask mark.
And S1024', according to the shielding marks, performing shielding processing on the preset type slides in the current presentation.
In the embodiment of the present invention, after the mask marks are added to all the preset type slides in the current presentation, all the preset type slides in the current presentation can be identified by the electronic device through the mask marks. And according to the shielding mark, after the shielding processing operation is performed on all the preset type slides in the current presentation, all the preset type slides in the current presentation can be shielded and processed.
As shown in fig. 4, as an optional implementation manner of the embodiment of the present invention, the step of performing a masking process on a preset category slide in a current presentation includes:
and S1021, reading the current presentation to a memory.
In the embodiment of the present invention, since the original current presentation may need to be saved, that is, the unprocessed current presentation, before the masking processing operation is performed on the preset-type slides in the current presentation, the current presentation may be read into the memory, so that the unprocessed current presentation may be saved in the subsequent process.
And S1022', executing shielding processing on the preset type slides in the current presentation in the memory.
And after reading the current presentation into the memory, performing shielding processing operation on the preset type slides in the current presentation in the memory. After the preset type slides in the current presentation in the memory are subjected to the shielding processing operation, the preset type slides in the original current presentation in the disk are not subjected to the shielding processing operation, and the preset type slides in the current presentation after the shielding processing operation in the memory can be shielded.
As shown in fig. 5, as an optional implementation manner of the embodiment of the present invention, the step of generating a new presentation according to the result of the masking processing includes:
and S1031, acquiring a first instruction of the user.
In the embodiment of the present invention, after the shielding operation is performed on the preset type slide in the current presentation, the preset type slide in the current presentation may be shielded, and a user inputs a first instruction of the user to the electronic device, so that the electronic device can obtain the first instruction of the user.
And S1032, according to the shielding processing result, additionally storing the current presentation as a new presentation and keeping the current presentation.
After the first instruction of the user is acquired, the electronic device performs an additional storage as a processing operation on the current presentation according to a shielding processing result, wherein the shielding processing result means that the preset type slides in the current presentation can be shielded after the shielding processing operation is performed on the preset type slides in the current presentation. Specifically, the saving of the current presentation as the processing operation means that the current presentation after the shielding processing operation is saved as a new presentation, and the current presentation without the shielding processing operation is retained, so that the electronic device finally includes the current presentation without the shielding processing and the current presentation obtained after the preset type slides are shielded. Therefore, the user can obtain the current presentation with the preset type slides shielded under the condition of not influencing the original current presentation, thereby flexibly using the two presentations and playing the two presentations.
As shown in fig. 6, as an optional implementation manner of the embodiment of the present invention, the step of generating a new presentation according to the result of the masking processing includes:
and S1031', acquiring a second instruction of the user.
In the embodiment of the present invention, after the shielding operation is performed on the preset type slide in the current presentation, the preset type slide in the current presentation may be shielded, and the user inputs the second instruction of the user to the electronic device, so that the electronic device can obtain the second instruction of the user, specifically, the second instruction is used to perform a saving operation on the current presentation obtained after the shielding operation.
S1032', according to the shielding processing result, the current presentation is saved as a new presentation, and the current presentation is replaced by the new presentation.
After the second instruction of the user is obtained, the electronic device performs a storage processing operation on the current presentation according to the shielding processing result, specifically, performing the storage processing operation on the current presentation means that the current presentation obtained after the shielding processing operation is stored as a new presentation, and the current presentation is replaced with the new presentation. The electronic device finally only contains a current presentation obtained after the slides of the preset category are shielded. Therefore, when the user does not need to include the current presentation of the preset type slides and needs to shield the current presentation after the preset type slides, the current presentation including the preset type slides in the electronic device can be cleared without executing deletion operation on the current presentation including the preset type slides, the presentation after the preset type slides are shielded can be obtained, and the playback processing operation can be performed on the presentation after the preset type slides are shielded.
According to the presentation processing method provided by the embodiment of the invention, the processing instruction for the current presentation is acquired, whether each slide in the current presentation is a preset type slide is determined in a traversing manner, the shielding processing is performed on the preset type slide in the current presentation, and the presentation with the preset type slide shielded can be generated according to the shielding processing result. According to the method, whether each slide is the preset type slide or not is judged manually one by one, and the preset type slide is not required to be deleted manually, so that the presentation capable of shielding the preset type slide can be generated, and therefore, the time for manual judgment and manual deletion is shortened.
Corresponding to the above method embodiment, the embodiment of the present invention also provides a corresponding device embodiment.
Fig. 7 is a presentation processing apparatus according to an embodiment of the present invention, which corresponds to the flowchart shown in fig. 1, and includes:
an obtaining module 201, configured to obtain a processing instruction for a current presentation, where the processing instruction is used to perform a shielding operation on preset category slide pages in the current presentation, and the preset category slide pages at least include: slide pages with hidden attributes, blank slide pages;
the processing module 202 is configured to traverse and determine whether each slide page in the current presentation is a preset-type slide page, and perform shielding processing on the preset-type slide page in the current presentation;
and the generating module 203 is configured to generate a new presentation according to the shielding processing result, where the new presentation is obtained after the preset type slide pages are shielded.
As an optional implementation manner of the embodiment of the present invention, the obtaining module 201 is specifically configured to:
acquiring a click instruction of a user for a preset option in an operation interface of the current presentation, wherein the preset option is used for selecting whether to execute shielding operation on a preset type slide in the current presentation;
or acquiring a knocking instruction of a user for a preset key, wherein the preset key is used for performing shielding operation on a preset type slide in the current presentation.
As an optional implementation manner of the embodiment of the present invention, as shown in fig. 8, the processing module 202 includes:
the first judging sub-module 2021 is configured to, according to a sequence that page numbers of slides in the current presentation are from small to large, traverse and judge whether each slide in the current presentation is a preset-type slide;
the first masking sub-module 2022 is configured to perform a masking process on a preset category slide in the current presentation.
As an optional implementation manner of the embodiment of the present invention, as shown in fig. 9, the processing module 202 includes:
the second judging sub-module 2023 is configured to, according to a sequence that page numbers of slides in the current presentation are from small to large, traverse and judge whether each slide in the current presentation is a preset-type slide;
the mark adding sub-module 2024 is configured to add a mask mark to a preset category slide in the current presentation;
the second masking sub-module 2025 is configured to perform a masking process on the preset category slides in the current presentation according to the masking flag.
As an optional implementation manner of the embodiment of the present invention, as shown in fig. 10, the processing module 202 includes:
the reading sub-module 2026 is used for reading the current presentation to an internal memory;
the third masking sub-module 2027 is configured to perform masking processing on the preset category slides in the current presentation in the memory.
As an optional implementation manner of the embodiment of the present invention, as shown in fig. 11, the generating module 203 includes:
a first obtaining sub-module 2031, configured to obtain a first instruction of a user, where the first instruction is used to perform an save-as-another operation on a current presentation;
the saving is a sub-module 2032, configured to save the current presentation as a new presentation according to the shielding processing result, and reserve the current presentation.
As an optional implementation manner of the embodiment of the present invention, as shown in fig. 12, the generating module 203 includes:
a second obtaining sub-module 2033, configured to obtain a second instruction of the user, where the second instruction is used to perform a save operation on the current presentation;
the saving sub-module 2034 is configured to save the current presentation as a new presentation according to the shielding processing result, and replace the current presentation with the new presentation.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The presentation processing device provided by the embodiment of the invention is matched with a presentation processing method, and by acquiring a processing instruction for a current presentation, whether each slide in the current presentation is a preset type slide is judged in a traversing manner, shielding processing is carried out on the preset type slide in the current presentation, and the presentation with the preset type slide shielded can be generated according to a shielding processing result. According to the method, whether each slide is the preset type slide or not is judged manually one by one, and the preset type slide is not required to be deleted manually, so that the presentation capable of shielding the preset type slide can be generated, and therefore, the time for manual judgment and manual deletion is shortened.
An embodiment of the present invention further provides an electronic device, as shown in fig. 13, including a processor 301, a communication interface 302, a memory 303, and a communication bus 304, where the processor 301, the communication interface 302, and the memory 303 complete mutual communication through the communication bus 304,
a memory 303 for storing a computer program;
the processor 301, when executing the program stored in the memory 303, implements the following steps:
acquiring a processing instruction for a current presentation, wherein the processing instruction is used for performing a shielding operation on a preset category slide in the current presentation, and the preset category slide at least comprises: slides with hidden properties, blank slides;
traversing and judging whether each slide in the current presentation is a preset type slide or not, and performing shielding processing on the preset type slide in the current presentation;
and generating a new presentation according to the shielding processing result, wherein the new presentation is obtained after the slides of the preset category are shielded.
According to the electronic equipment provided by the embodiment of the invention, the presentation processing method is matched, the processing instruction for the current presentation is obtained, whether each slide in the current presentation is the preset type slide or not is judged in a traversing manner, the shielding processing is carried out on the preset type slide in the current presentation, and the presentation with the preset type slide shielded can be generated according to the shielding processing result. According to the method, whether each slide is the preset type slide or not is judged manually one by one, and the preset type slide is not required to be deleted manually, so that the presentation capable of shielding the preset type slide can be generated, and therefore, the time for manual judgment and manual deletion is shortened.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and is configured to execute the following steps:
acquiring a processing instruction for a current presentation, wherein the processing instruction is used for performing a shielding operation on a preset category slide in the current presentation, and the preset category slide at least comprises: slides with hidden properties, blank slides;
traversing and judging whether each slide in the current presentation is a preset type slide or not, and performing shielding processing on the preset type slide in the current presentation;
and generating a new presentation according to the shielding processing result, wherein the new presentation is obtained after the slides of the preset category are shielded.
The computer-readable storage medium, which stores a computer program and is used in cooperation with a presentation processing method, according to an embodiment of the present invention, a processing instruction for a current presentation is obtained, whether each slide in the current presentation is a preset type slide is determined in a traversal manner, a shielding process is performed on the preset type slide in the current presentation, and a presentation with the preset type slide shielded can be generated according to a shielding processing result. According to the method, whether each slide is the preset type slide or not is judged manually one by one, and the preset type slide is not required to be deleted manually, so that the presentation capable of shielding the preset type slide can be generated, and therefore, the time for manual judgment and manual deletion is shortened.
For the apparatus/electronic device/storage medium embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to part of the description of the method embodiment.
It should be noted that the apparatus, the electronic device, and the storage medium according to the embodiments of the present invention are respectively an apparatus, an electronic device, and a storage medium to which the method for processing a presentation is applied, and all embodiments of the method for processing a presentation are applicable to the apparatus, the electronic device, and the storage medium, and can achieve the same or similar beneficial effects.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (16)

1. A presentation processing method, the method comprising:
acquiring a processing instruction for a current presentation, wherein the processing instruction is used for performing shielding operation on a preset type slide in the current presentation, and the preset type slide at least comprises: slides with hidden properties, blank slides;
traversing and judging whether each slide in the current presentation is the preset type slide or not, and performing shielding processing on the preset type slide in the current presentation;
and generating a new presentation according to the shielding processing result, wherein the new presentation is obtained after the preset type slides are shielded.
2. The method of claim 1, wherein the step of obtaining processing instructions for the current presentation comprises:
acquiring a click instruction of a user for a preset option in an operation interface of the current presentation, wherein the preset option is used for selecting whether to execute shielding operation on a preset type slide in the current presentation;
or acquiring a knocking instruction of a user for a preset key, wherein the preset key is used for performing shielding operation on a preset type slide in the current presentation.
3. The method of claim 1, wherein the step of traversing to determine whether slides in the current presentation are in the preset category and performing a masking process on slides in the current presentation in the preset category comprises:
according to the sequence of the page numbers of the slides in the current presentation from small to large, traversing and judging whether the slides in the current presentation are the preset type slides or not;
and if the slide is the preset type slide, performing shielding processing on the preset type slide in the current presentation.
4. The method of claim 1, wherein the step of traversing to determine whether slides in the current presentation are in the preset category and performing a masking process on slides in the current presentation in the preset category comprises:
according to the sequence of the page numbers of the slides in the current presentation from small to large, traversing and judging whether the slides in the current presentation are the preset type slides or not;
if the slide is the preset type slide, adding a shielding mark to the preset type slide in the current presentation;
and according to the shielding mark, performing shielding processing on the preset type slide in the current presentation.
5. The method of claim 1, wherein the step of performing a masking process on the preset category slides in the current presentation comprises:
reading the current presentation to a memory;
and executing shielding processing on the preset type slides in the current presentation in the memory.
6. The method according to any one of claims 1 to 5, wherein the step of generating a new presentation based on the result of the masking process comprises:
acquiring a first instruction of a user, wherein the first instruction is used for performing another storage operation on the current presentation;
and according to the shielding processing result, additionally storing the current presentation as a new presentation and reserving the current presentation.
7. The method according to any one of claims 1 to 5, wherein the step of generating a new presentation based on the result of the masking process comprises:
acquiring a second instruction of the user, wherein the second instruction is used for executing a saving operation on the current presentation;
and according to the shielding processing result, saving the current presentation as a new presentation, and replacing the current presentation with the new presentation.
8. A presentation processing apparatus, characterized in that the apparatus comprises:
an obtaining module, configured to obtain a processing instruction for a current presentation, where the processing instruction is used to perform a shielding operation on preset-category slide pages in the current presentation, and the preset-category slide pages at least include: slide pages with hidden attributes, blank slide pages;
the processing module is used for traversing and judging whether each slide film page in the current presentation is the preset type slide film page or not and executing shielding processing on the preset type slide film page in the current presentation;
and the generating module is used for generating a new presentation according to the shielding processing result, wherein the new presentation is obtained after the preset type slide film pages are shielded.
9. The apparatus of claim 8, wherein the obtaining module is specifically configured to:
acquiring a click instruction of a user for a preset option in an operation interface of the current presentation, wherein the preset option is used for selecting whether to execute shielding operation on a preset type slide in the current presentation;
or acquiring a knocking instruction of a user for a preset key, wherein the preset key is used for performing shielding operation on a preset type slide in the current presentation.
10. The apparatus of claim 8, wherein the processing module comprises:
the first judgment sub-module is used for traversing and judging whether each slide in the current presentation is the preset type slide according to the sequence of the page numbers of the slides in the current presentation from small to large;
and the first shielding submodule is used for performing shielding processing on the preset type slides in the current presentation.
11. The apparatus of claim 8, wherein the processing module comprises:
the second judgment submodule is used for traversing and judging whether each slide in the current presentation is the preset type slide according to the sequence that the page number of each slide in the current presentation is from small to large;
the mark adding submodule is used for adding a shielding mark to the preset type slide in the current presentation;
and the second shielding submodule is used for performing shielding processing on the preset type slide in the current presentation according to the shielding mark.
12. The apparatus of claim 8, wherein the processing module comprises:
the reading submodule is used for reading the current presentation into a memory;
and the third shielding submodule is used for performing shielding processing on the preset type slides in the current presentation in the memory.
13. The apparatus of any of claims 8-12, wherein the generating means comprises:
the first acquisition submodule is used for acquiring a first instruction of a user, and the first instruction is used for performing another storage operation on the current presentation;
and the additional storage sub-module is used for additionally storing the current presentation as a new presentation according to the shielding processing result and reserving the current presentation.
14. The apparatus of any of claims 8-12, wherein the generating means comprises:
the second acquisition submodule is used for acquiring a second instruction of the user, and the second instruction is used for executing a saving operation on the current presentation;
and the storage submodule is used for storing the current presentation as a new presentation according to the shielding processing result and replacing the current presentation with the new presentation.
15. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
16. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN201910690649.3A 2019-07-29 2019-07-29 Presentation processing method and device, electronic equipment and storage medium Pending CN112381912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910690649.3A CN112381912A (en) 2019-07-29 2019-07-29 Presentation processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910690649.3A CN112381912A (en) 2019-07-29 2019-07-29 Presentation processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112381912A true CN112381912A (en) 2021-02-19

Family

ID=74585986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910690649.3A Pending CN112381912A (en) 2019-07-29 2019-07-29 Presentation processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112381912A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301036A (en) * 2016-04-14 2017-10-27 珠海金山办公软件有限公司 A kind of method and device of quick screening lantern slide
CN107943387A (en) * 2017-11-14 2018-04-20 维沃移动通信有限公司 A kind of document handling method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301036A (en) * 2016-04-14 2017-10-27 珠海金山办公软件有限公司 A kind of method and device of quick screening lantern slide
CN107943387A (en) * 2017-11-14 2018-04-20 维沃移动通信有限公司 A kind of document handling method and mobile terminal

Similar Documents

Publication Publication Date Title
CN109977366B (en) Catalog generation method and device
CN111414727B (en) Editing method and device for PDF document header footer and electronic equipment
CN112233669B (en) Lecture content prompting method and system
CN110888756A (en) Diagnostic log generation method and device
CN112651217B (en) Paper document processing method, paper document processing device, electronic equipment and storage medium
CN110874216B (en) Complete code generation method, device, equipment and storage medium
CN110852045B (en) Method and device for deleting document content, electronic equipment and storage medium
CN111857934A (en) Page loading method and device, electronic equipment and storage medium
CN112381912A (en) Presentation processing method and device, electronic equipment and storage medium
CN111553130A (en) Chapter title style conversion method and device, electronic equipment and storage medium
EP3807780A1 (en) Binding query scope to directory attributes
CN112784527B (en) Document merging method and device and electronic equipment
CN113378000B (en) Video title generation method and device
CN112784552B (en) Table editing method and apparatus
CN110728113A (en) Information screening method and device of electronic forms and terminal equipment
CN112115159B (en) SQL sentence generation method and device, electronic equipment and storage medium
CN113656718A (en) Theme switching method and device
WO2020166397A1 (en) Reviewing method, information processing device, and reviewing program
CN111563364B (en) Chapter title style conversion method and device, electronic equipment and storage medium
CN108647197B (en) Information processing method, device and storage medium
CN112540961A (en) Method and device for positioning audio file in document
CN112329407A (en) Method and device for adding data in table and electronic equipment
CN112487759A (en) Document page number setting method and device, electronic equipment and storage medium
US11928147B2 (en) Slide storage method and apparatus
CN111459411B (en) Data migration method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination