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

Converting method of object linking and embedded object Download PDF

Info

Publication number
CN100395711C
CN100395711C CNB2006100832728A CN200610083272A CN100395711C CN 100395711 C CN100395711 C CN 100395711C CN B2006100832728 A CNB2006100832728 A CN B2006100832728A CN 200610083272 A CN200610083272 A CN 200610083272A CN 100395711 C CN100395711 C CN 100395711C
Authority
CN
China
Prior art keywords
embedded
linking
present procedure
ole
embedded object
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.)
Active
Application number
CNB2006100832728A
Other languages
Chinese (zh)
Other versions
CN1862498A (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 and has the following steps that an OLE file is read by a computer and the structure of the OLE file is analyzed; an object corresponding to current software is generated according to an object type of the obtained OLE object and object file data of the object is analyzed; the analyzed object file data is carried out conversion treatment; the converted object file data is arranged on a newly-generated object via the object fype corresponding to the object file in the current software; likewise, an object in the current software can be converted into an OLE object by adopting reverse processes. An original or a newly-inserted object in a file can be converted into a corresponding object in the current software via the method; the converted object still has the functions of the original OLE object and can be edited and updated.

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,
The concrete following steps of carrying out:
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 (5)

1. the conversion method 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 according to the data structure of described present procedure 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 present procedure, 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, 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 CN1862498A (en) 2006-11-15
CN100395711C true 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 (1)

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

Families Citing this family (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
CN110660461B (en) * 2019-09-23 2023-03-24 广州市番禺区中心医院(广州市番禺区人民医院、广州市番禺区心血管疾病研究所) Cross-platform medical data information uploading system based on artificial intelligence

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669026A (en) * 2003-05-17 2005-09-14 微软公司 System and method for providing multiple renditions of document content

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669026A (en) * 2003-05-17 2005-09-14 微软公司 System and method for providing multiple renditions of document content

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
OLE---对象链接与嵌入Windows下数据共享技术. 宁蕾.青岛教育学院学报,第13卷第4期. 2000
OLE---对象链接与嵌入Windows下数据共享技术. 宁蕾.青岛教育学院学报,第13卷第4期. 2000 *
OLE技术的概念和使用. 张利军.内蒙古经济管理干部学院学报(季刊),第9卷第3期. 2000
OLE技术的概念和使用. 张利军.内蒙古经济管理干部学院学报(季刊),第9卷第3期. 2000 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN1862498A (en) 2006-11-15

Similar Documents

Publication Publication Date Title
CN101567065B (en) Cross-platform online file editing system and method thereof
CN102129364B (en) Method for embedding widget toolbar in application program and rapid widget accessing method
US20100281463A1 (en) XML based scripting framework, and methods of providing automated interactions with remote systems
AU2004200462A1 (en) A method for managing multiple file states for replicated files
CA2607537A1 (en) Software engineering system and method for self-adaptive dynamic software components
CN102609252A (en) Intelligent configuration method for logic menu resources on basis of measurement instruments
CN100395711C (en) Converting method of object linking and embedded object
JP2005182805A (en) Method and system for extending existing user interface
CN1963782A (en) Method and system for testing embeded file system
KR20080039080A (en) Terminal having an interfacing function of the heterogeneity language compile library, api calling method and compile function generating method
CN104657164A (en) Method and device for updating and processing software
CN111984300B (en) Code copying method and device, electronic equipment and computer readable storage medium
TWI467481B (en) Method, system, and computer program product for hierarchical program source management
CN113656005A (en) Application component library construction method, application component configuration method and related device
CN113362477A (en) 3D data acquisition and monitoring control system and scene editing method thereof
CN117369788A (en) Drag type business logic editing system method
US6922735B2 (en) Management of co-processor information by integrating non-program information with program information
CN101364172A (en) Implementing method for auto generating schedule drawing frame in Catiav5 software
US7389515B1 (en) Application deflation system and method
KR100878044B1 (en) Application translating method for providing compatible BREW and WIPI and device thereof
CN102566993B (en) Method and device for editing interface
CN111857710A (en) Method and device for developing Eclipse plug-in based on embedded chromium
CN103543994A (en) Code management method based on mobile terminal browser
WO2023238283A1 (en) Display control system, display control method, and display control program
CN114936049B (en) Hot-pluggable data fusion platform operator dynamic expansion method

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

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.

CP03 Change of name, title or address