CN1862498A - Converting method of object linking and embedded object - Google Patents

Converting method of object linking and embedded object Download PDF

Info

Publication number
CN1862498A
CN1862498A CN 200610083272 CN200610083272A CN1862498A CN 1862498 A CN1862498 A CN 1862498A CN 200610083272 CN200610083272 CN 200610083272 CN 200610083272 A CN200610083272 A CN 200610083272A CN 1862498 A CN1862498 A CN 1862498A
Authority
CN
China
Prior art keywords
embedded
linking
present procedure
embedded object
data
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
Application number
CN 200610083272
Other languages
Chinese (zh)
Other versions
CN100395711C (en
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.)
Yozosoft Co ltd
Original Assignee
WUXI YONGZHONG SCIENCE & TECHNOLOGY 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 WUXI YONGZHONG SCIENCE & TECHNOLOGY Co Ltd filed Critical WUXI YONGZHONG SCIENCE & TECHNOLOGY Co Ltd
Priority to CNB2006100832728A priority Critical patent/CN100395711C/en
Publication of CN1862498A publication Critical patent/CN1862498A/en
Application granted granted Critical
Publication of CN100395711C publication Critical patent/CN100395711C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention relates to a conversion method of object interlinkage and embedded object. Said method includes the following steps: using computer to fetch OLE file, analyze its structure; according to the object type of obtained OLE object generating the object correspondent to current software, analyzing object file data of said object; making the analyzed object file data undergo the process of conversion treatment, utilizing object type correspondent to object file in current software to set the converted object file data on newly-generated object. Besides, by adopting reverse process of said process the object in current software can be converted into OLE object.

Description

The conversion method of a kind of object linking and embedded object
Technical field
The present invention relates to the conversion method of a kind of object linking and embedded object, particularly a kind of in the use of office software, with the object linking that can edit and use in the another kind of operating system of being converted to of object linking in a kind of operating system and embedded object and the method for embedded object.
Background technology
In the file that office software product (as Microsoft Office) at present commonly used is preserved or in its operational applications, OLE (Object Linking and Embedding, object linking and embedding) object proportion is bigger.For ole object, can be understood as: the just chained file of a relative program that ole object is preserved, need activate the program of its link when editing the content in this object, can saving result after editor returns in ole object file relevant field, call relative program during activation automatically.
But be to use ole object also to produce editor and replacement problem, have a lot of situations can't reach its its intended purposes, such as:
1, when needs were changed the content of ole object in the current file, if the pairing chain program of this ole object is not just installed in the not service of this OLE in the current system in the current operation system, then this object just can not be edited and be upgraded;
2, the OLE technology can only be moved under the Windows environment now, on other operating system platform (as (SuSE) Linux OS), can not edit for ole object, more can not upgrade;
3, for office software product (as Microsoft Office) commonly used at present, the conversion of pair ole object is wherein also arranged, but this conversion is the conversion to several display modes of ole object itself, from display icon to showing complete object picture, can not be fused to fully with this application software veritably, can not solve above several problems; If the not service of this OLE in this system, its conversion still can not be carried out.
For can make the object linking made in the operating application program and embedded object also can use with other operating application programs in, avoid people's the duplication of labour, just need to solve the transfer problem of object linking and embedded object.
Summary of the invention
The objective of the invention is to deficiency at above-mentioned prior art existence, the conversion method of a kind of object linking and embedded object is provided, this method is converted to the current software object by the ole object with original in the file or new insertion, thereby the realization user edits the object that contains object linking and embedded technology in current software and upgrades, and has realized the true translation to ole object.
For achieving the above object, the invention provides the conversion method of a kind of object linking and embedded object, may further comprise the steps:
The present procedure reading object of step 1, computing machine links and embedded object, resolves the file data structure of described object linking and embedded object, obtains the object-type information of described object linking and embedded object;
Step 2, described present procedure are according to described object-type information formation object, and the described file data structure of continuation parsing, obtain the data of described object linking and embedded object;
Step 3, described present procedure are converted to the data of described object linking and embedded object the data of described present procedure;
The DLL (dynamic link library) that data after step 4, the conversion of described present procedure provide by described present procedure is arranged on the object of generation;
Step 5, end.
This method can be converted to the current software object with the ole object of original in the file or new insertion; Object after the conversion still possesses the peculiar function of former ole object, can edit, and can upgrade.
In the such scheme, computing machine can adopt the mode of document data flow, and its file structure is resolved in reading object link and the file that embeds, obtain the object type of described object linking and embedding, this object type is graph object, worksheet object or multimedia object.
In the described step 3, described present procedure is changed the data of described object linking and embedded object according to the data structure of described present procedure.
Also comprise step between described step 4 and the step 5:, newly-generated object paste link is arrived the residing position of former object, and replace former object by the paste link function of current software.
This method also can be converted to the related object of current software the corresponding ole object that other office software can be discerned.Same inverse process by this process can be converted to ole object with the object in the current software, can be used for other office software and edit use by the form of OLE service.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the principle flow chart of the conversion method of object linking of the present invention and embedded object;
Fig. 2 is the process flow diagram of the preferred embodiment of the conversion method of object linking of the present invention and embedded object.
Embodiment
Fig. 1 is the principle flow chart of the conversion method of object linking of the present invention and embedded object, specifically may further comprise the steps:
The present procedure reading object of step 101, computing machine links and embedded object, resolves the file data structure of described object linking and embedded object, obtains the object-type information of described object linking and embedded object;
Step 102, described present procedure are according to described object-type information formation object, and the described file data structure of continuation parsing, obtain the data of described object linking and embedded object;
Step 103, described present procedure are converted to described data the data of described present procedure according to the data structure of described present procedure;
The DLL (dynamic link library) that data after step 104, the conversion of described present procedure provide by described present procedure is arranged on the object of generation;
Step 105, end.
At this moment, just finished the conversion of object linking and embedded object.This method can be converted to the current software object with the ole object of original in the file or new insertion, and the object after the conversion still possesses the peculiar function of former ole object, can edit, and can upgrade; Simultaneously, this method also can be converted to the related object of current software the corresponding ole object that other office software can be discerned, and its conversion method is the same, is the inverse process of this process.
If present procedure is not necessarily supported the conversion of all types of object linkings and embedded object, in the above-mentioned flow process, also further comprise between step 101 and the step 102: described present procedure is according to described object-type information, judge whether described object linking and embedded object can be changed in current software, if then execution in step 102; Otherwise, execution in step 105.
Fig. 2 is the process flow diagram of the preferred embodiment of the conversion method of object linking of the present invention and embedded object, specifically carries out following steps:
The present procedure reading object of step 201, computing machine links and embedded object, resolves the file data structure of described object linking and embedded object, obtains the object-type information of described object linking and embedded object.What suppose to change is object linking and embedded object in the Microsoft file, present procedure in the computing machine such as EIOffice software are by the mode of document data flow, read object linking and embedded object in the Microsoft file, resolve its file data structure, the object type that obtains object linking and embedded object is the graph object type of a Microsoft (column diagram or a stock etc.).The object type of object linking and embedded object also includes object types such as worksheet, multimedia.
Step 202, described present procedure are according to described object-type information formation object, and the described file data structure of continuation parsing, obtain the data of described object linking and embedded object.If the object linking that the present procedure parsing obtains and the object type of embedded object are chart, then present procedure such as EIOffice generate a new graph object in the EIOffice spreadsheet application, and the file data structure in link of continuation analysis object and the embedded object, obtain the subtype (column diagram or stock etc.) of concrete Microsoft, according to these concrete subtypes, obtain the data structure of the set attribute function of function that this subtype has and this chart, such as, chart area in the Microsoft chart (ChartArea), district (Plot Area) draws, DS (Series), the data structure of number line functions such as (Value Axis), resolve the data that obtain object linking and embedded object, thereby guaranteed the object linking and all properties of embedded object all to be set on the EIOffice graph object of corresponding generation, the effect that guarantees the EIOffice graph object after the conversion is identical with the effect of original ole object.
Step 203, described present procedure are converted to described data the data of described present procedure according to the data structure of described present procedure; The data that to resolve the object linking that obtains and embedded object according to the data structure of the chart among the current EIOffice as present procedure EIOffice are converted to the data in the pairing data structure of current EIOffice chart.
The DLL (dynamic link library) that data after step 204, the conversion of described present procedure provide by described present procedure is arranged on the object of generation.The data that to resolve after changing as present procedure EIOffice are set on the newly-generated EIOffice graph object by its corresponding DLL (dynamic link library) (Application Programming Interface is called for short API).
Step 205, end.
If present procedure is not necessarily supported the conversion of all types of object linkings and embedded object, if present procedure EIOffice only supports the conversion of graph object type and worksheet object type, then between step 201 and step 202, also further comprise, present procedure EIOffice judges whether the object type of this object linking and embedded object is graph object type or the worksheet object type of being supported, if then execution in step 202; Otherwise, execution in step 205.
After finishing the conversion of object linking and embedded object, also further comprise between step 104 and the step 105: by the paste link function in the EIOffice office software, the data EIOffice graph object that setting completed is duplicated paste link and replaces original ole object, concrete grammar is that newly-generated EIOffice chart is duplicated, and carries out paste link and replaces former ole object to the application and the position at current ole object place again.
Through after the above transfer process, then this graph object just combines together fully with current EIOffice software, its display effect is identical with the demonstration of original Microsoft chart, its feature operation is identical, even whether the editing application program of Microsoft chart is arranged in the current operating system, also can edit this chart, the result of its renewal upgrades by the internal links of paste link, if current operating system be other operating system (such as: linux system), equally also can edit and update chart by EIOffice software.This conversion is simultaneously changed its display mode remarkablely, but the data structure of integral body is changed, and can avoid the relevant problem mentioned in the technical background in the present invention, reaches its intended purposes.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (6)

1, the conversion method of a kind of object linking and embedded object is characterized in that carrying out following steps:
The present procedure reading object of step 1, computing machine links and embedded object, resolves the file data structure of described object linking and embedded object, obtains the object-type information of described object linking and embedded object;
Step 2, described present procedure are according to described object-type information formation object, and the described file data structure of continuation parsing, obtain the data of described object linking and embedded object;
Step 3, described present procedure are converted to the data of described object linking and embedded object the data of described present procedure;
The DLL (dynamic link library) that data after step 4, the conversion of described present procedure provide by described present procedure is arranged on the object of generation;
Step 5, end.
2, the conversion method of object linking according to claim 1 and embedded object is characterized in that, in the described step 1, described present procedure reads described object linking and embedded object in the mode of document data flow.
3, the conversion method of object linking according to claim 1 and 2 and embedded object, it is characterized in that, further comprise between described step 1 and the step 2: described present procedure is according to described object-type information, judge whether described object linking and embedded object can be changed in current software, if then execution in step 2; Otherwise, execution in step 5.
4, the conversion method of object linking according to claim 1 and 2 and embedded object is characterized in that, in the described step 2, described present procedure is resolved file data structure in described object linking and the embedded object by the mode that reads document data flow.
5, the conversion method of object linking according to claim 1 and 2 and embedded object is characterized in that, in the described step 3, described present procedure is changed the data of described object linking and embedded object according to the data structure of described present procedure.
6, the conversion method of object linking according to claim 1 and 2 and embedded object, also comprise between wherein said step 4 and the step 5: described present procedure will be provided with the object paste link of data to object linking and the residing position of embedded object, and replace object linking and embedded object.
CNB2006100832728A 2006-06-01 2006-06-01 Converting method of object linking and embedded object Active CN100395711C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100832728A CN100395711C (en) 2006-06-01 2006-06-01 Converting method of object linking and embedded object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100832728A CN100395711C (en) 2006-06-01 2006-06-01 Converting method of object linking and embedded object

Publications (2)

Publication Number Publication Date
CN1862498A true CN1862498A (en) 2006-11-15
CN100395711C CN100395711C (en) 2008-06-18

Family

ID=37389932

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100832728A Active CN100395711C (en) 2006-06-01 2006-06-01 Converting method of object linking and embedded object

Country Status (1)

Country Link
CN (1) CN100395711C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978339A (en) * 2014-04-08 2015-10-14 北京奇虎科技有限公司 File processing method and equipment, and network system
CN110660461A (en) * 2019-09-23 2020-01-07 广州市番禺区中心医院(广州市番禺区人民医院、广州市番禺区心血管疾病研究所) Cross-platform medical data information uploading system based on artificial intelligence

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254045B (en) * 2011-08-17 2013-04-03 北京数码大方科技股份有限公司 Graphic file processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003233572B8 (en) * 2003-05-17 2010-01-28 Microsoft Technology Licensing, Llc System and method for providing multiple renditions of document content

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978339A (en) * 2014-04-08 2015-10-14 北京奇虎科技有限公司 File processing method and equipment, and network system
CN110660461A (en) * 2019-09-23 2020-01-07 广州市番禺区中心医院(广州市番禺区人民医院、广州市番禺区心血管疾病研究所) Cross-platform medical data information uploading system based on artificial intelligence
CN110660461B (en) * 2019-09-23 2023-03-24 广州市番禺区中心医院(广州市番禺区人民医院、广州市番禺区心血管疾病研究所) Cross-platform medical data information uploading system based on artificial intelligence

Also Published As

Publication number Publication date
CN100395711C (en) 2008-06-18

Similar Documents

Publication Publication Date Title
US7243346B1 (en) Customized library management system
CN107273176B (en) Compiling method and device adaptive to hardware architecture
US20070294679A1 (en) Methods and apparatus to call native code from a managed code application
WO2019005228A1 (en) Automated source code adaption to inject features between platform versions
EP1077404A3 (en) System and method for programmatically creating a graphical program
CN101042645A (en) Method, equipment and system for unionize software development environment
EP1652094B1 (en) Method and apparatus for improving the performance of garbage collection using stack trace cache
CN1668097A (en) A method for quick generation of video file
CN103324513B (en) Program annotation method and apparatus
CN1862498A (en) Converting method of object linking and embedded object
US10248409B1 (en) Limiting the effects of source code patches on corresponding native-code patches
CN103034486A (en) Automatic optimization method based on full-system expansion call graph for mobile terminal operation system
CN102622263A (en) Method for implementing embedded system based virtual machine on set-top box
US9378002B2 (en) System, method, apparatus and computer program product for providing memory footprint reduction
CN1758220A (en) Method of updating software release
CN1242322C (en) Universal software developing supporting system
CN1514361A (en) Construction member self description packaging method and method of operation
US7685565B1 (en) Run time reconfiguration of computer instructions
CN1269034C (en) Compression of executable document in embedded type system and its loading method
CN110941471A (en) Method and device for internationalizing basic data of software system
CN1737759A (en) Method for direct establishing read-only file system in Nand Flash memory
US7389515B1 (en) Application deflation system and method
KR20000041146A (en) Method for updating software of network computer
CN114443052A (en) Dynamic specialization method and device during IL instruction operation
CN114090502A (en) Resource management method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: WUXI NEW DISTRICT SCIENCE AND TECHNOLOGY FINANCIAL

Free format text: FORMER OWNER: WUXI HIGH + NEW TECHNOLOGY VENTURE DEVELOPMENT CO., LTD.

Effective date: 20120412

Owner name: WUXI HIGH + NEW TECHNOLOGY VENTURE DEVELOPMENT CO.

Free format text: FORMER OWNER: WUXI YONGZHONG SCIENCE +. TECHNOLOGY CO., LTD.

Effective date: 20120412

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 214135 WUXI, JIANGSU PROVINCE TO: 214028 WUXI, JIANGSU PROVINCE

Free format text: CORRECT: ADDRESS; FROM: 214028 WUXI, JIANGSU PROVINCE TO: 214135 WUXI, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20120412

Address after: 12, building 214028, block A, Jin Yuan International Building, 2-3 Xiangjiang Road, New District, Jiangsu, Wuxi

Patentee after: Wuxi new zone science and Technology Finance Investment Group Co.,Ltd.

Address before: Qingyuan Road Wuxi District branch of Jiangsu province science and Technology Park University Park 530 building 214135

Patentee before: Wuxi hi tech Venture Development Co.,Ltd.

Effective date of registration: 20120412

Address after: Qingyuan Road Wuxi District branch of Jiangsu province science and Technology Park University Park 530 building 214135

Patentee after: Wuxi hi tech Venture Development Co.,Ltd.

Address before: 214028, Jiangsu, Wuxi Province Road, No. 7 New District, Wuxi science and technology pioneer park on the 3rd floor

Patentee before: Wuxi Evermore Software, Inc.

ASS Succession or assignment of patent right

Owner name: WUXI EVERMORE SOFTWARE CO., LTD.

Free format text: FORMER OWNER: WUXI NEW DISTRICT SCIENCE AND TECHNOLOGY FINANCIAL INVESTMENT GROUP CO., LTD.

Effective date: 20131028

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 214028 WUXI, JIANGSU PROVINCE TO: 214135 WUXI, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131028

Address after: 214135 Jiangsu Province, Wuxi City District Road No. 18 national Zhenze software park three Volans D building

Patentee after: YOZOSOFT Co.,Ltd.

Address before: 12, building 214028, block A, Jin Yuan International Building, 2-3 Xiangjiang Road, New District, Jiangsu, Wuxi

Patentee before: Wuxi new zone science and Technology Finance Investment Group Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 214000 Jiangsu Province, Wuxi City District Zhenze Wuxi Road No. 18 (National) fish Software Park building D block

Patentee after: YOZOSOFT CO.,LTD.

Address before: 214135 Jiangsu Province, Wuxi City District Road No. 18 national Zhenze software park three Volans D building

Patentee before: YOZOSOFT Co.,Ltd.