CN104461498A - Method for reading Word file in white board software page by page - Google Patents
Method for reading Word file in white board software page by page Download PDFInfo
- Publication number
- CN104461498A CN104461498A CN201410606413.4A CN201410606413A CN104461498A CN 104461498 A CN104461498 A CN 104461498A CN 201410606413 A CN201410606413 A CN 201410606413A CN 104461498 A CN104461498 A CN 104461498A
- Authority
- CN
- China
- Prior art keywords
- page
- file
- document
- word
- picture
- 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.)
- Granted
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
The invention provides a method for reading a Word file in white board software page by page. The method comprises the steps of 1 using a Com technology to invoke an OLE object in Word to open the Word file, 2 establishing an empty document, 3 performing page positioning and obtaining contents of all pages, 4 copying pasted contents and inserting the contents in to the white board software, 5 disconnecting the OLE object and finishing operation. By means of the method, the Word file can be opened, the contents of all pages in the Word file are read page by page to the white board software, the convenience of the white board software is greatly improved, lookup of the Word file in white board application is facilitated, and a user can use more resources.
Description
Technical field
The present invention relates to electronic whiteboard technology field, particularly relate to a kind of method reading Word file in whiteboarding software by page.
Background technology
Interactive electric whiteboard software can only read self-defining file layout substantially, although can read Word file, can not press page exactly and read Word file.After using the method for the application, improve the accuracy that whiteboarding software reads word document content.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of method reading Word file in whiteboarding software by page, greatly improves the convenience of whiteboarding software, conveniently in whiteboard applications, check Word file, allow user have more resource to use.
The present invention is achieved in that a kind of method reading Word file in whiteboarding software by page, and described method specifically comprises the steps:
Step 10, call ole object in Word by Com technology and open Word file;
Step 20, set up an empty file;
Step 30, the page are located and are obtained the content of each page;
Step 40, copy stickup content and insert in a whiteboarding software;
Step 50, disconnect ole object terminating.
Further, described step 10 is specially:
The ole object A of step 11, acquisition Word program;
Step 12, judge the version of Word program;
If step 13 less than 2007 version and the file opened is .docx file, too low cannot the opening file of Word program version is exited; Prompting user upgrades, otherwise, enter step 14;
The ole object A of step 14, Word opens Word file;
Step 15, obtain the document object B of this Word file;
Step 16, set up an EMF picture file object X.
Further, described step 20 is specially:
Step 21, a newly-built blank document;
Step 22, obtain this blank document object C.
Further, described step 30 is specially:
It is the page that step 31, document object B browse setup of attribute;
Page number N is obtained in step 32, document object B;
Step 33, to scan from 1-page number N page:
Step 33.1, document object B start from the current expansion of content chosen to article;
Step 33.2, repetition 1 ~ 2 time;
Step 33.3, document object B browser object browse the next one;
Step 33.4, document object B are from the current expansion of content chosen to article end;
Step 33.5, copy content of pages, by the content replication chosen in document object B to clipbook;
Step 33.6, document object C paste Contents of clipboard with enhancement mode pictorial manner;
Step 33.7, repetition step 33.1-step 33.6, until all page scans in all document object B complete.
Further, described step 40 is specially:
Step 41, all object pictures obtained in document object C
Step 42, scanned picture object 1-J, described J are the object picture numbers in document object C;
Step 42.1, choose scanning object picture;
Step 42.2, picture reproduction to clipbook;
Step 42.3, picture X object copy picture from clipbook;
Step 42.4, object picture X is saved as a .emf file F;
The newly-built page of step 42.5, whiteboarding software;
Step 42.6, front picture file F are inserted in whiteboarding software;
Step 42.7, repetition step 42.1-step 42.6 are until all object pictures in document object C have scanned.
Further, described step 50 is specially:
Step 51, do not preserve close document B, do not preserve close document C;
Step 52, disconnection ole object;
Step 53, so far pages all in document B are opened displaying by page format in whiteboarding software.
Tool of the present invention has the following advantages: method provided by the invention is to open Word file and the every one page content in Word file is read whiteboarding software by page, greatly improve the convenience of whiteboarding software, conveniently in whiteboard applications, check Word file, allow user have more resource to use, improve the accuracy that whiteboarding software reads word document content.
Accompanying drawing explanation
Fig. 1 is the inventive method schematic flow sheet.
Embodiment
Refer to shown in Fig. 1, a kind of method of pressing page reading Word file in whiteboarding software of the present invention, described method specifically comprises the steps:
Step 10, call ole object in Word by Com technology and open Word file;
Described step 10 is specially:
The ole object A of step 11, acquisition Word program;
Step 12, judge the version of Word program;
If step 13 less than 2007 version and the file opened is .docx file, too low cannot the opening file of Word program version is exited; Prompting user upgrades, otherwise, enter step 14;
The ole object A of step 14, Word opens Word file;
Step 15, obtain the document object B of this Word file;
Step 16, set up an EMF picture file object X.
Step 20, set up an empty file;
Described step 20 is specially:
Step 21, a newly-built blank document;
Step 22, obtain this blank document object C.
Step 30, the page are located and are obtained the content of each page;
Described step 30 is specially:
It is the page that step 31, document object B browse setup of attribute;
Page number N is obtained in step 32, document object B;
Step 33, to scan from I (I is from 1-page number N) page:
Step 33.1, document object B start from the current expansion of content chosen to article;
Step 33.2, repetition 1 ~ 2 time;
Step 33.3, document object B browser object browse the next one;
Step 33.4, document object B are from the current expansion of content chosen to article end;
Step 33.5, copy content of pages, by the content replication chosen in document object B to clipbook;
Step 33.6, document object C paste Contents of clipboard with enhancement mode pictorial manner; (this step is in order to the content in Word file can be preserved more accurately)
Step 33.7, repetition step 33.1-step 33.6, until all page scans in all document object B complete.
Step 40, copy stickup content and insert in a whiteboarding software;
Described step 40 is specially:
Step 41, all object pictures obtained in document object C
Step 42, scanned picture object 1-J, described J are the object picture numbers in document object C;
Step 42.1, choose scanning object picture;
Step 42.2, picture reproduction to clipbook;
Step 42.3, picture X object copy picture from clipbook;
Step 42.4, object picture X is saved as a .emf file F;
The newly-built page of step 42.5, whiteboarding software;
Step 42.6, front picture file F are inserted in whiteboarding software;
Step 42.7, repetition step 42.1-step 42.6 are until all object pictures in document object C have scanned.
Step 50, disconnect ole object terminating;
Described step 50 is specially:
Step 51, do not preserve close document B, do not preserve close document C;
Step 52, disconnection ole object;
Step 53, so far pages all in document B are opened displaying by page format in whiteboarding software.
In a word, method provided by the invention is opened Word file and the every one page content in Word file is read whiteboarding software by page, greatly improve the convenience of whiteboarding software, conveniently in whiteboard applications, check Word file, allow user have more resource to use, improve the accuracy that whiteboarding software reads word document content.
The foregoing is only preferred embodiment of the present invention, all equalizations done according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.
Claims (6)
1. in whiteboarding software, press the method that page reads Word file, it is characterized in that: described method specifically comprises the steps:
Step 10, call ole object in Word by Com technology and open Word file;
Step 20, set up an empty file;
Step 30, the page are located and are obtained the content of each page;
Step 40, copy stickup content and insert in a whiteboarding software;
Step 50, disconnect ole object terminating.
2. a kind of method of pressing page reading Word file in whiteboarding software according to claim 1, is characterized in that: described step 10 is specially:
The ole object A of step 11, acquisition Word program;
Step 12, judge the version of Word program;
If step 13 less than 2007 version and the file opened is .docx file, too low cannot the opening file of Word program version is exited; Prompting user upgrades, otherwise, enter step 14;
The ole object A of step 14, Word opens Word file;
Step 15, obtain the document object B of this Word file;
Step 16, set up an EMF picture file object X.
3. a kind of method of pressing page reading Word file in whiteboarding software according to claim 1, is characterized in that: described step 20 is specially:
Step 21, a newly-built blank document;
Step 22, obtain this blank document object C.
4. a kind of method of pressing page reading Word file in whiteboarding software according to claim 2, is characterized in that: described step 30 is specially:
It is the page that step 31, document object B browse setup of attribute;
Page number N is obtained in step 32, document object B;
Step 33, to scan from 1-page number N page:
Step 33.1, document object B start from the current expansion of content chosen to article;
Step 33.2, repetition 1 ~ 2 time;
Step 33.3, document object B browser object browse the next one;
Step 33.4, document object B are from the current expansion of content chosen to article end;
Step 33.5, copy content of pages, by the content replication chosen in document object B to clipbook;
Step 33.6, document object C paste Contents of clipboard with enhancement mode pictorial manner;
Step 33.7, repetition step 33.1-step 33.6, until all page scans in all document object B complete.
5. a kind of method of pressing page reading Word file in whiteboarding software according to claim 4, is characterized in that: described step 40 is specially:
Step 41, all object pictures obtained in document object C
Step 42, scanned picture object 1-J, described J are the object picture numbers in document object C;
Step 42.1, choose scanning object picture;
Step 42.2, picture reproduction to clipbook;
Step 42.3, picture X object copy picture from clipbook;
Step 42.4, object picture X is saved as a .emf file F;
The newly-built page of step 42.5, whiteboarding software;
Step 42.6, front picture file F are inserted in whiteboarding software;
Step 42.7, repetition step 42.1-step 42.6 are until all object pictures in document object C have scanned.
6. a kind of method of pressing page reading Word file in whiteboarding software according to claim 4, is characterized in that: described step 50 is specially:
Step 51, do not preserve close document B, do not preserve close document C;
Step 52, disconnection ole object;
Step 53, so far pages all in document B are opened displaying by page format in whiteboarding software.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410606413.4A CN104461498B (en) | 2014-10-30 | 2014-10-30 | A kind of method for reading Word file by page in whiteboarding software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410606413.4A CN104461498B (en) | 2014-10-30 | 2014-10-30 | A kind of method for reading Word file by page in whiteboarding software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104461498A true CN104461498A (en) | 2015-03-25 |
CN104461498B CN104461498B (en) | 2017-09-01 |
Family
ID=52907610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410606413.4A Expired - Fee Related CN104461498B (en) | 2014-10-30 | 2014-10-30 | A kind of method for reading Word file by page in whiteboarding software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104461498B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105739985A (en) * | 2016-02-02 | 2016-07-06 | 锐达互动科技股份有限公司 | Method for importing selected Excel table into whiteboard software |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004072558A (en) * | 2002-08-08 | 2004-03-04 | Nec Corp | Electronic whiteboard and method for outputting data of electronic whiteboard |
CN102170435A (en) * | 2011-04-18 | 2011-08-31 | 成都网席科技有限公司 | Interactive multimedia demonstration system based on electronic white board and realization method thereof |
CN102413128A (en) * | 2011-11-10 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Method for sharing electronic whiteboard and network conference system |
CN102902662A (en) * | 2012-10-10 | 2013-01-30 | 福州锐达数码科技有限公司 | Method for inserting object in interactive electronic white board software into Word page |
-
2014
- 2014-10-30 CN CN201410606413.4A patent/CN104461498B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004072558A (en) * | 2002-08-08 | 2004-03-04 | Nec Corp | Electronic whiteboard and method for outputting data of electronic whiteboard |
CN102170435A (en) * | 2011-04-18 | 2011-08-31 | 成都网席科技有限公司 | Interactive multimedia demonstration system based on electronic white board and realization method thereof |
CN102413128A (en) * | 2011-11-10 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Method for sharing electronic whiteboard and network conference system |
CN102902662A (en) * | 2012-10-10 | 2013-01-30 | 福州锐达数码科技有限公司 | Method for inserting object in interactive electronic white board software into Word page |
Non-Patent Citations (2)
Title |
---|
韩小月: "基于VC的电子白板软件Word保存格式实现", 《计算机应用与软件》 * |
黄金春 等: "动态控制OLE对象法实现保护性显示Word文档", 《现代计算机(专业版)》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105739985A (en) * | 2016-02-02 | 2016-07-06 | 锐达互动科技股份有限公司 | Method for importing selected Excel table into whiteboard software |
CN105739985B (en) * | 2016-02-02 | 2018-11-20 | 锐达互动科技股份有限公司 | Import method of the Excel table chosen into whiteboarding software |
Also Published As
Publication number | Publication date |
---|---|
CN104461498B (en) | 2017-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103186510B (en) | A kind of method and apparatus of convert documents form | |
CN103279262B (en) | The method and apparatus extracting content from picture | |
KR100727066B1 (en) | Method for providing mobile webpage by employing to dynamic template | |
CN107562390B (en) | Information processing apparatus, information processing method, and storage medium | |
TW201249144A (en) | Sending and receiving method and terminal of instant communication base on manuscript original handwriting | |
US20160092407A1 (en) | Document processing using multiple processing threads | |
CN104346319A (en) | Method and system for inspecting document style | |
JP2019520663A (en) | Method of providing e-book service and computer program therefor | |
CN104899184A (en) | Character processing method, device and system | |
CN104933094A (en) | PPT document construction method and system | |
CN104462044A (en) | Recognizing and editing method and device of tabular images | |
PH12018502498A1 (en) | Image generation method and device | |
CN102855234B (en) | Makeup method and makeup device used for variable data | |
CN110211484B (en) | Electronic price tag display method, system, server and storage medium | |
CN102708160A (en) | Question bank establishing method and device | |
CN104408032A (en) | Method for reading PPT (Power Point) file content based on draw object in whiteboard software | |
KR101790727B1 (en) | System and Method for Auto Transforming Document form | |
CN104461498A (en) | Method for reading Word file in white board software page by page | |
CN105808519A (en) | Document display method and apparatus | |
US20220309275A1 (en) | Extraction of segmentation masks for documents within captured image | |
KR101809460B1 (en) | Client terminal device capable of pasting external content to a web document according to a style attribute supported by the web document editing tool and operating method thereof | |
CN103914859A (en) | Information processing method and apparatus capable of converting input character into picture | |
US9886629B2 (en) | Techniques for restoring content from a torn document | |
CN104424170A (en) | Electronic content data packet postprocessing system and method | |
CN103023743B (en) | A kind of signature plate implementation method based on IM group and a kind of IM system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder |
Address after: 350000 6, No. 1 Innovation Park, No. 3 east science and technology road, Minhou street, Minhou, Fuzhou. Patentee after: Returnstar Interactive Technology Group Co., Ltd. Address before: 350000 8 tower building, Orange Garden Industrial Park, 618 Jinshan Road, Jianxin Town, Cangshan District, Fuzhou, Fujian. Patentee before: Returnstar Interactive Technology Group Co., Ltd. |
|
CP02 | Change in the address of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170901 Termination date: 20201030 |
|
CF01 | Termination of patent right due to non-payment of annual fee |