CN1808390A - Method for processing cut and pasted data - Google Patents

Method for processing cut and pasted data Download PDF

Info

Publication number
CN1808390A
CN1808390A CN 200610002855 CN200610002855A CN1808390A CN 1808390 A CN1808390 A CN 1808390A CN 200610002855 CN200610002855 CN 200610002855 CN 200610002855 A CN200610002855 A CN 200610002855A CN 1808390 A CN1808390 A CN 1808390A
Authority
CN
China
Prior art keywords
format
file
data
clip
host process
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 200610002855
Other languages
Chinese (zh)
Other versions
CN100399280C (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 CNB2006100028553A priority Critical patent/CN100399280C/en
Publication of CN1808390A publication Critical patent/CN1808390A/en
Application granted granted Critical
Publication of CN100399280C publication Critical patent/CN100399280C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a method for processing clip data comprising following steps: when capturing cut or copy commands, host process saves data object as files with current software format; clip subroutine takes format conversion on files with pre-defined format; clip subroutine saves the converted files on system clipboard. The invention also relates to another method for processing clip data comprising: when host process converting active status to inactive status, clip subroutine takes format conversion on files with pre-defined format. The invention has the advantages that: employing current file format to keep clip data can convert data format according to the environment requirement of paste software and avoid losing file format; it also can save clipboard data as a single file and provide good preview effect matching current software; the invention can improve develop efficiency by employing present software data conversion program without developing.

Description

The method that clip data is handled
Technical field
The present invention relates to method that clip data is handled, especially the method that clip data is handled that clipbook data processing function in the existing software is expanded.
Background technology
Along with the development of information society, computer software has application more and more widely in people's social life, economic life.Simultaneously, people are in software uses, to the dirigibility of further raising software editing, improve editorial efficiency, save edit session and also proposed more and more higher requirement.
When the user uses a computer when carrying out the editing operation of text, to shear, the copy and paste operation is exchanges data and the branch modes that people often use, these operational orders have brought facility to the user.For example the user is from a software after the copies data, can arrive in other position of this software or another software and paste.
Shearing, the copy and paste mode of operation of existing software are to utilize system clipboard to operate mostly, the concrete process of cliping and pasting is that object tools such as the literal that will choose or picture are in system clipboard, then from system clipboard with object tools such as literal or pictures to pasting target, again according to shearing or copy command selects whether to delete former literal or the picture chosen.Also there is part software to use independently clipbook program.This editing operation is convenient for users to use, but some objects may have some comparatively complicated format information in editing operation, as attaching literal object and the image object that font information is arranged simultaneously, not only aspect conversion, there is very big trouble, also can't preserve separately, and can't provide the good preview picture effect that is complementary with current software simultaneously.In the time the document of object from a software environment of shearing or duplicating need being pasted in another software environment document, this bonding method commonly used may cause losing these format informations, and only preserved the data object of plain text, the user is obliged to go to remodify its form after stickup, causes inconvenient operation to a certain degree.
Summary of the invention
The technical problem to be solved in the present invention is that the data of existing shear treatment are inconvenient in conversion, and can not save as file by simple operations, also can't carry out preview easily.
For solving the problems of the technologies described above, the invention provides a kind of method that clip data is handled, comprising following steps:
Step 1, when host process captures the instruction of shearing or duplicating, described host process saves as described data object the file of current software format;
Step 2, describedly clip and paste subroutine is carried out predetermined format to described file format conversion;
Step 3, the described file of subroutine after with described format conversion of cliping and pasting are saved in system clipboard.
For solving the problems of the technologies described above, the present invention also provides the another kind of method that clip data is handled, comprising following steps:
Step 1 ', when host process captures the instruction of shearing or duplicating, described host process saves as described data object the file of current software format;
Step 2 ', when host process is converted to inactive state by active state, describedly clip and paste subroutine is carried out predetermined format to described file format conversion;
Step 3 ', the described file of subroutine after with described format conversion of cliping and pasting be saved in system clipboard.
Based on above technical scheme, the present invention has the following advantages:
1, the present invention uses the current file form to preserve clip data, can convert other data files to and not lose its form according to the environmental requirement of pasting software easily, also the clipbook data directly can be saved as independent file, the good preview effect with current software coupling can also be provided.
2, the present invention uses the existing Data Format Transform program of software and needn't develop separately for this reason, can effectively improve development efficiency.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
The schematic flow sheet of one embodiment of the method that Fig. 1 handles clip data for the present invention.
The schematic flow sheet of another embodiment of the method that Fig. 2 handles clip data for the present invention.
The schematic flow sheet of the another embodiment of the method that Fig. 3 handles clip data for the present invention.
The schematic flow sheet of an embodiment again of the method that Fig. 4 handles clip data for the present invention.
Embodiment
The present invention is directed to the existing systems clipbook and can't carry out the defective of format conversion according to the variation of software environment, the data object that proposition will be sheared or duplicate is preserved into the file of this software format, keep in by the subroutine of cliping and pasting of self again, the capture system action is carried out further format conversion to file then, this format conversion can be set up on their own by the user, also can be by cliping and pasting the subroutine default setting.File after the format conversion can be general in other software environment, and do not lose format information in the former data object.This document also can be saved in the disk, and carries out preview.
As shown in Figure 1, the schematic flow sheet of one embodiment of the method for clip data being handled for the present invention, may further comprise the steps: step 101, when host process captures the instruction of shearing or duplicating, described host process saves as described data object the file of current software format; Step 102, describedly clip and paste subroutine is carried out predetermined format to described file format conversion; Step 103, the described file of subroutine after with described format conversion of cliping and pasting are saved in system clipboard.
In the present embodiment, the data object of operating can be a text data, also can be the data of picture or other type, especially when text data is operated, if wish to keep the format information in the original text data, can be converted to the data of predetermined format by format converter, this predetermined format can be hypertext link language (HTML), extend markup language (XML), CSS (cascading style sheet) single (css) or diversified text formatting (RTF) etc., these forms can both well be preserved the format information in the former text data, when the operation image data, also image data can be converted to HTML and XML, further operate then.These predetermined formats can be specified by the user, also can carry out default setting by cliping and pasting subroutine.
As shown in Figure 2, the schematic flow sheet of another embodiment of the method for clip data being handled for the present invention, comprising following steps: step 201, when host process captures the instruction of shearing or duplicating, described host process saves as described data object the file of current software format; Step 202, when host process is converted to inactive state by active state, describedly clip and paste subroutine is carried out predetermined format to described file format conversion; Step 203, described host process are judged file after the described format conversion whether less than predetermined byte number, are execution in step 205 then; Otherwise execution in step 204; Step 204, host process are waited for external command, and when capturing described stickup instruction, then execution in step 205; Step 205, the described file of subroutine after with described format conversion of cliping and pasting are saved in system clipboard.
In the present embodiment, after step 205 is carried out, paste instruction, the file copy after the format conversion in the system clipboard will be finished once to paste position and be cliped and pasted if host process captures.Because host process saves as file with data object and can convert other file layout easily to, also can export and preview according to the file that customer requirements is directly preserved into this software format, if the data object of cliping and pasting is excessive, can have influence on the operation of other processes, therefore save as file and can improve the speed of operation greatly.
As shown in Figure 3, the schematic flow sheet of the another embodiment of the method for clip data being handled for the present invention, comprising following steps: step 301, when host process captures the instruction of shearing or duplicating, host process can be constructed a shear term, and shear term is made up of with the information relevant with being sheared data object the data object that is sheared of the file of preserving into current software format; Step 302, shear term put into clip and paste subroutine, clip and paste in the subroutine and can hold a plurality of shear term, in operation, can specify by the user and operate, perhaps give tacit consent to last shear term is operated which shear term; Step 303, clip and paste subroutine the file of cliping and pasting in the item is carried out format conversion, convertible form comprises hypertext link language (HTML), extend markup language (XML), CSS (cascading style sheet) single (css) or diversified text formatting (RTF) etc.; Step 304, described host process are judged file after the described format conversion whether less than predetermined byte number, are execution in step 306 then; Otherwise execution in step 305; Step 305, host process are waited for external command, and when capturing described stickup instruction, then execution in step 306; Step 306, the described file of subroutine after with described format conversion of cliping and pasting are saved in system clipboard.
Three above embodiment are at the data object of shearing current software, and next embodiment carries out transformation flow when external data is cliped and pasted work, as shown in Figure 4, the schematic flow sheet of an embodiment again of the method that the present invention handles clip data, may further comprise the steps: step 401, when host process captures the instruction of shearing or duplicating, host process can be constructed a shear term, and shear term is made up of with the information relevant with being sheared data object the data object that is sheared of outside; Step 402, shear term put into clip and paste subroutine, clip and paste in the subroutine and can hold a plurality of shear term, in operation, can specify by the user and operate, perhaps give tacit consent to last shear term is operated which shear term; Step 403, stating host process and whether judge file after the described format conversion less than predetermined byte number, is execution in step 405 then; Otherwise execution in step 404; Step 404, host process are waited for external command, and when capturing described stickup instruction, then execution in step 405; Step 405, clip and paste subroutine the data object of cliping and pasting in the item is carried out format conversion, be converted to the file layout of current software.File after the conversion is owing to be the form of current software, and therefore preview easily also can be kept on the hard disk with file mode.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the field are to be understood that: still can make amendment or the part technical characterictic is equal to replacement the specific embodiment of the present invention; And not breaking away from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope that the present invention asks for protection.

Claims (8)

1, a kind of method that clip data is handled, comprising following steps:
Step 1, when host process captures the instruction of shearing or duplicating, described host process saves as described data object the file of current software format;
Step 2, describedly clip and paste subroutine is carried out predetermined format to described file format conversion;
Step 3, the described file of subroutine after with described format conversion of cliping and pasting are saved in system clipboard.
2, the method that clip data is handled according to claim 1, further comprising the steps of between wherein said step 2 and the step 3:
Described host process is judged file after the described format conversion whether less than predetermined byte number, is execution in step 3 then; Otherwise the wait external command, when capturing described stickup instruction, then execution in step 3.
3, further comprising the steps of after the method that clip data is handled according to claim 1, wherein said step 3:
Described host process captures when pasting instruction, and the file copy after the format conversion in the described system clipboard is arrived paste position.
4, the method that clip data is handled according to claim 1, predetermined format described in the wherein said step 2 are hypertext link language, extend markup language, CSS (cascading style sheet) is single or diversified text formatting.
5, a kind of method that clip data is handled, comprising following steps:
Step 1 ', when host process captures the instruction of shearing or duplicating, described host process saves as described data object the file of current software format;
Step 2 ', when host process is converted to inactive state by active state, describedly clip and paste subroutine is carried out predetermined format to described file format conversion;
Step 3 ', the described file of subroutine after with described format conversion of cliping and pasting be saved in system clipboard.
6, further comprising the steps of between the method that clip data is handled according to claim 5, the wherein said step 2 ' and step 3 ':
Described host process is judged file after the described format conversion whether less than predetermined byte number, is execution in step 3 ' then; Otherwise the wait external command, when capturing described stickup instruction, execution in step 3 ' then.
7, the method that clip data is handled according to claim 5, wherein said step 3 ' further comprising the steps of afterwards:
Described host process captures when pasting instruction, and the file copy after the format conversion in the described system clipboard is arrived paste position.
8, the method that clip data is handled according to claim 5, wherein said step 2 ' described in predetermined format be hypertext link language, extend markup language, CSS (cascading style sheet) is single or diversified text formatting.
CNB2006100028553A 2006-02-07 2006-02-07 Method for processing cut and pasted data Active CN100399280C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100028553A CN100399280C (en) 2006-02-07 2006-02-07 Method for processing cut and pasted data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100028553A CN100399280C (en) 2006-02-07 2006-02-07 Method for processing cut and pasted data

Publications (2)

Publication Number Publication Date
CN1808390A true CN1808390A (en) 2006-07-26
CN100399280C CN100399280C (en) 2008-07-02

Family

ID=36840300

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100028553A Active CN100399280C (en) 2006-02-07 2006-02-07 Method for processing cut and pasted data

Country Status (1)

Country Link
CN (1) CN100399280C (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100458818C (en) * 2007-07-10 2009-02-04 北京鼎信高科信息技术有限公司 Method for monitoring windows system clipboard through windows system service
CN100496015C (en) * 2007-03-21 2009-06-03 中国科学院计算技术研究所 Method for realizing clipboard sharing in multinode intelligent network application service system
CN102821140A (en) * 2012-07-17 2012-12-12 北京小米科技有限责任公司 Information sharing method and information sharing terminal
CN101458632B (en) * 2007-12-12 2013-01-23 国际商业机器公司 Data object copy/paste transfer method and device
CN105468992A (en) * 2015-11-20 2016-04-06 贵州联科卫信科技有限公司 Method related to limitation to content duplication of electronic medical record editor
CN106020993A (en) * 2016-05-04 2016-10-12 珠海市魅族科技有限公司 Data copying and pasting method and terminal
CN106354570A (en) * 2016-08-26 2017-01-25 广东欧珀移动通信有限公司 Account information copying and pasting method and device
CN104252289B (en) * 2013-06-28 2017-10-10 北京新媒传信科技有限公司 The method and apparatus for checking Contents of clipboard
CN109344377A (en) * 2018-08-31 2019-02-15 深圳众赢维融科技有限公司 Method, apparatus, electronic equipment and the storage medium of data processing
CN110275786A (en) * 2019-05-31 2019-09-24 联想(北京)有限公司 A kind of information processing method and device
CN110442465A (en) * 2019-08-07 2019-11-12 北京技德系统技术有限公司 A kind of more desktop environment shear plate share frameworks and its method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040172584A1 (en) * 2003-02-28 2004-09-02 Microsoft Corporation Method and system for enhancing paste functionality of a computer software application
JP2004362091A (en) * 2003-06-03 2004-12-24 Toshiba Corp Data converter, data conversion system, and data storage control program

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100496015C (en) * 2007-03-21 2009-06-03 中国科学院计算技术研究所 Method for realizing clipboard sharing in multinode intelligent network application service system
CN100458818C (en) * 2007-07-10 2009-02-04 北京鼎信高科信息技术有限公司 Method for monitoring windows system clipboard through windows system service
CN101458632B (en) * 2007-12-12 2013-01-23 国际商业机器公司 Data object copy/paste transfer method and device
CN102821140A (en) * 2012-07-17 2012-12-12 北京小米科技有限责任公司 Information sharing method and information sharing terminal
CN104252289B (en) * 2013-06-28 2017-10-10 北京新媒传信科技有限公司 The method and apparatus for checking Contents of clipboard
CN105468992B (en) * 2015-11-20 2018-05-11 贵州联科卫信科技有限公司 A kind of method replicated on the limitation of electronic health record editing machine content
CN105468992A (en) * 2015-11-20 2016-04-06 贵州联科卫信科技有限公司 Method related to limitation to content duplication of electronic medical record editor
CN106020993A (en) * 2016-05-04 2016-10-12 珠海市魅族科技有限公司 Data copying and pasting method and terminal
CN106354570A (en) * 2016-08-26 2017-01-25 广东欧珀移动通信有限公司 Account information copying and pasting method and device
CN109344377A (en) * 2018-08-31 2019-02-15 深圳众赢维融科技有限公司 Method, apparatus, electronic equipment and the storage medium of data processing
CN109344377B (en) * 2018-08-31 2023-11-24 简链科技(广东)有限公司 Data processing method, device, electronic equipment and storage medium
CN110275786A (en) * 2019-05-31 2019-09-24 联想(北京)有限公司 A kind of information processing method and device
CN110442465A (en) * 2019-08-07 2019-11-12 北京技德系统技术有限公司 A kind of more desktop environment shear plate share frameworks and its method
CN110442465B (en) * 2019-08-07 2024-01-09 北京技德系统技术有限公司 Multi-desktop environment shear plate sharing architecture and method thereof

Also Published As

Publication number Publication date
CN100399280C (en) 2008-07-02

Similar Documents

Publication Publication Date Title
CN1808390A (en) Method for processing cut and pasted data
US8086999B2 (en) Automatic natural language translation during information transfer
US6202072B1 (en) Method and apparatus for processing standard generalized markup language (SGML) and converting between SGML and plain text using a prototype and document type definition
US7496230B2 (en) System and method for automatic natural language translation of embedded text regions in images during information transfer
US7606823B2 (en) Document processing apparatus and method
EP1672524A2 (en) Systems and methods for converting a formatted document to a web page
US20090303519A1 (en) Printing controller, gui display method, printer driver, and recording medium
US20040250215A1 (en) System and method for content and information transfer between program entities
US7171614B2 (en) Displaying plug-in derived content in an application's browser-embedded window with callbacks
US20030037302A1 (en) Systems and methods for automatically converting document file formats
CN105824788B (en) A kind of method and system that PowerPoint file is converted to word document
JP2004326826A (en) Method for transferring position of object group and computer system
WO2009105994A1 (en) Method and device of dealing with documents meeting the document database standard
US7411692B2 (en) Method and apparatus for building a composite print job
US7917891B2 (en) Engineering system with automatic generation of entity templates
CN1687923A (en) Preprocessing method for type-setting document
US20030222916A1 (en) Object-oriented processing of tab text
CN1967574A (en) Method and system to realize generating of integrated communications platform process
CN104572671A (en) Multi-tag file processor
CN1862536A (en) Apparatus and method for generating PDF document
CN102411498A (en) Method for realizing data model and graphical designer
US9189467B1 (en) Method and apparatus for annotating an electronic document
JP2009122933A (en) Definition information-reconstructing device for xml document conversion, method and program for the same
JP2776809B2 (en) Data evacuation method
JPH09245035A (en) Document management device

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: 214028 WUXI, JIANGSU PROVINCE TO: 214135 WUXI, JIANGSU PROVINCE

Free format text: CORRECT: ADDRESS; FROM: 214135 WUXI, JIANGSU PROVINCE TO: 214028 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.

C56 Change in the name or address of the patentee
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.