Object in interactive electric whiteboard software is inserted into to the method in the Excel page
[technical field]
The invention belongs to computer software fields, specifically refer to the object in interactive electric whiteboard software is inserted into to the method in the Excel page.
[background technology]
The teacher uses interactive electric whiteboard software to say class hour, use the Excel document of oneself to be explained, if the Excel document of oneself is explained, doing annotation can carry out under the Window of blank software pattern, but can't preserve this this annotation, the student does not annotate, and while wanting to have these annotations, the teacher can only manually be operated in Excel, and not only inconvenience also can be wasted the plenty of time.
In view of this, the inventor furthers investigate for the defect of prior art, and has this case to produce.
[summary of the invention]
Technical matters to be solved by this invention is to provide a kind of object in interactive electric whiteboard software is inserted into to the method in the Excel page, make the teacher use the interactive electric whiteboard software process to the Excel labelling document that will explain, conveniently to check.
The present invention solves the problems of the technologies described above by the following technical solutions:
Object in interactive electric whiteboard software is inserted into to the method in the Excel page, comprises the steps:
Step 1: location obtains the screen coordinate that Excel jumps to the upper left corner of the page of each page;
Step 2: the picture that an object in current blank software is saved as to the emf form;
Step 3: the coordinate obtained in the coordinate of the object in step 2 and step 1 is contrasted, determine the page inserted, picture is inserted to the Excel page;
Step 4: judge whether all objects in blank software all insert? be, proceed to step 5, no, proceed to step 2;
Step 5: disconnect Excel Ole object, finish.
Further, described step 1, specifically comprise the steps:
Step 1.1: the line number R and row C that obtain the upper left corner of current Excel document;
Step 1.2: the displaying ratio of obtaining current Excel document;
Step 1.3: obtain current choose position A reservation;
Step 1.4: choose the first row first row, now the Excel document jumps to the first row first row automatically;
Step 1.5: the first row first row coordinate conversion becomes screen coordinate;
Step 1.6: choose position A, the now automatic redirect of Excel document;
Step 1.7: it is R, C with row number that current uppermost line number is set;
Step 1.8: finish location.
Further, described step 2, specifically comprise the steps:
Step 2.1: scan all objects of all interactive electric whiteboard software under the windows pattern;
Step 2.2: obtain the coordinate and size, mobile object to 20,20 points of described object at the screen place;
Step 2.3: set up one to image width+40* object high+picture that 40 form is EMF;
Step 2.4: object is plotted to this and causes on the EMF picture, and picture is preserved.
Further, described step 3 specifically comprises:
Add picture, position is that screen coordinate that object's position deducts Excel the first row one row converts after point size the Excel coordinate that adds current location A to.
The invention has the advantages that: basic identical with the relative position in the Excel documentation page to picture before object is inserted into to its position in Excel and inserts, the Excel page amplifies and dwindles, and does not show that blank does not affect the insertion effect yet.Make the teacher use the interactive electric whiteboard software process can be to the Excel labelling document that will explain, method provided by the invention be kept in the Excel document mark of teacher in the explanation process, conveniently checks.
[accompanying drawing explanation]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is software major function process flow diagram of the present invention.
Fig. 2 is positioning step process flow diagram of the present invention.
Fig. 3 is that the present invention preserves the picture flow chart of steps.
[embodiment]
As shown in Figure 1, the object in interactive electric whiteboard software is inserted into to the method in the Excel page, comprises the steps:
Step 1: location obtains the screen coordinate that Excel jumps to the upper left corner of the page of each page;
Step 2: the picture that an object in current blank software is saved as to the emf form;
Step 3: the coordinate obtained in the coordinate of the object in step 2 and step 1 is contrasted, determine the page inserted, picture is inserted to the Excel page;
Step 4: judge whether all objects in blank software all insert? be, proceed to step 5, no, proceed to step 2;
Step 5: disconnect Excel Ole object, finish.
Fig. 2 is positioning step process flow diagram of the present invention.Specifically comprise the steps:
Step 1.1: the line number R and row C that obtain the upper left corner of current Excel document;
Step 1.2: the displaying ratio of obtaining current Excel document;
Step 1.3: obtain current choose position A reservation;
Step 1.4: choose the first row first row, now the Excel document jumps to the first row first row automatically;
Step 1.5: the first row first row coordinate conversion becomes screen coordinate;
Step 1.6: choose position A, the now automatic redirect of Excel document;
Step 1.7: it is R, C with row number that current uppermost line number is set;
Step 1.8: finish location.
Fig. 3 is that the present invention preserves the picture flow chart of steps.
Step 2.1: scan all objects of all interactive electric whiteboard software under the windows pattern;
Step 2.2: obtain the coordinate and size, mobile object to 20,20 points of described object at the screen place;
Step 2.3: set up one to image width+40* object high+picture that 40 form is EMF;
Step 2.4: object is plotted to this and causes on the EMF picture, and picture is preserved.
Inserting step specifically comprises:
Add picture, position is that screen coordinate that object's position deducts Excel the first row one row converts after point size the Excel coordinate that adds current location A to.
The present invention is basic identical with the relative position in the Excel documentation page to picture before object is inserted into to its position in Excel and inserts, and the Excel page amplifies and dwindles, and does not show that blank does not affect the insertion effect yet.Make the teacher use the interactive electric whiteboard software process can be to the Excel labelling document that will explain, method provided by the invention be kept in the Excel document mark of teacher in the explanation process, conveniently checks.
The foregoing is only better enforcement use-case of the present invention, be not intended to limit protection model figure of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.