Unlock instant, AI-driven research and patent intelligence for your innovation.

Insertion method and system based on powerpoint application object

An application object and insertion system technology, applied in special data processing applications, multi-programming devices, instruments, etc., can solve problems such as poor user experience, poor practicability, and inability to restore, and achieve simple use, strong practicability, The effect of improving user experience

Active Publication Date: 2019-06-11
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, if a certain step inserts an error, it cannot be restored to the content before the error by undoing the operation
As a result, the user experience is poor, the practicability is not strong, and there are great limitations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Insertion method and system based on powerpoint application object
  • Insertion method and system based on powerpoint application object
  • Insertion method and system based on powerpoint application object

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] Please refer to figure 2 , Embodiment one of the present invention is: a kind of insertion method based on PowerPoint application object, comprises the steps:

[0088] S1: Create a PowerPoint operation management class, which is the management object of the insert operation.

[0089] S2: Create at least two insertion threads; multiple insertion threads can be created sequentially through the function CreateThread.

[0090] S3: Create a trigger event corresponding to the at least two threads; the trigger event can be created through a function CreateEvent.

[0091] S4: Create an application object corresponding to the at least two insertion threads one by one, and the application objects corresponding to the first and last and adjacent insertion threads are inconsistent; the application object is a class of PowerPoint, including a plurality of PowerPoint related functions Furthermore, the application object is created through the COM interface; the thread corresponds ...

Embodiment 2

[0104] Please refer to image 3 , this embodiment is a further expansion of step S8 in Embodiment 1, including the following steps:

[0105] S81: Create an insertion variable that records the total number of insertion operations, and initialize the value of the insertion variable to zero.

[0106] S82: Sort the inserting threads and their corresponding triggering events respectively starting from zero.

[0107] S83: Calculate the remainder of dividing the value of the insertion variable by the total number of insertion threads according to the value of the insertion variable and the total number of insertion threads.

[0108] S84: According to the remainder, wake up one trigger event corresponding to the number from at least two trigger events.

[0109] S85: Add one to the value of the inserted variable.

[0110] For example, if the total number of insertion threads is 3, the numbers of the three insertion threads are 0, 1, and 2 in sequence, and the numbers of the correspo...

Embodiment 3

[0113] Please refer to Figure 5 , the present embodiment is an insertion system based on a PowerPoint application object corresponding to the above-mentioned embodiments, including:

[0114] The first creation module 1 is used to create at least two insertion threads;

[0115] The second creation module 2 is configured to create a trigger event corresponding to the at least two threads one-to-one;

[0116] The third creation module 3 is configured to create application objects corresponding to the at least two insertion threads one-to-one, and the application objects corresponding to the first, last, and adjacent insertion threads are inconsistent;

[0117] The first judging module 4 is used to judge whether an insertion operation is detected, and obtain a first judging result;

[0118] The adding module 5 is used to enter the critical section if the first judgment result is yes, and add the insertion instruction corresponding to the insertion operation to the insertion lis...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an insertion method and system based on a PowerPoint application object. The method comprises the following steps of creating at least two insertion threads; creating trigger events corresponding to the at least two threads one by one; creating application objects corresponding to the at least two threads one by one, wherein the application objects corresponding to the head and the tail and adjacent insertion threads are inconsistent; judging whether an insertion operation is detected; if yes, entering a critical zone and adding an insertion instruction corresponding to the insertion operation into an insertion list; awakening one trigger event according to a preset awakening strategy; making the insertion thread corresponding to the insertion operation take one insertion instruction out from the insertion list; making the corresponding insertion thread carry out the corresponding insertion operation and exit the critical zone; and returning to execute the step of judging whether the insertion operation is detected. The insertion operation is carried out by multiple threads, so that the total insertion operation time can be reduced, and all insertion operations can be cancelled and reduced step by step, and the practicability is strong.

Description

technical field [0001] The invention relates to the technical field of PowerPoint insertion operations, in particular to an insertion method and system based on a PowerPoint application object. Background technique [0002] In the automatic insertion operation of the Application object (application object) initialized by PowerPoint through the COM interface, no matter how many times the insertion operation is performed, PowerPoint judges it as a step. If the undo operation is performed, all the previous inserted content will be cancelled. As a result, if a certain step inserts an error, it cannot be restored to the content before the error by undoing the operation. As a result, the user experience is poor, the practicability is not strong, and there are great limitations. Contents of the invention [0003] The technical problem to be solved by the present invention is to propose an insertion method and system based on PowerPoint application objects, which can judge differ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48G06F17/24
CPCG06F9/48G06F40/166
Inventor 刘德建张春双方振华李上杰郭玉湖
Owner FUJIAN TIANQUAN EDUCATION TECH LTD