A method and system for copying and pasting content of a word file with format

A technology with formats and files, applied in special data processing applications, instruments, electronic digital data processing, etc., can solve the problems of reducing typesetting efficiency, loss of text format, copying, etc., to improve typesetting efficiency and simplify copying to professional typesetting software. the effect of the process

Inactive Publication Date: 2011-12-28
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of copying the contents of the Word file to professional typesetting software, the traditional copy and paste method can only retain the text content in the Word file, and the format of the text will be lost
Moreover, if the Word file contains objects s

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for copying and pasting content of a word file with format
  • A method and system for copying and pasting content of a word file with format
  • A method and system for copying and pasting content of a word file with format

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0043] In this embodiment, the Figure 4 Take the content in the Word document shown as an example by copying and pasting it into Feiteng Chuangyi Typesetting Software. The content to be copied includes two texts, a table with 2 rows and 2 columns and a picture. according to image 3 Shown flow process, at first copy content to be copied, judge the version of Word software, the Word software layout in the present embodiment is Word2007, directly create the temporary Word file of docx format, paste the content to be copied in the temporary Word file. Then decompress the temporary Word file according to the open packaging convention. The decompressed file structure is as follows Figure 5 shown. Among them, the description of the table in document.xml is as follows Image 6 shown. Take document.xml as the XML source file, and use XSLT to transform the XML source file into an XML target file. The description of the table in the XML target file is as follows Figure 7 As sh...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and system for copying and pasting Word file content with format, belonging to the technical field of printing and typesetting. The present invention first creates a temporary Word file in docx format, pastes the content of the Word file to be copied into the temporary Word file; then obtains the XML source file of the content to be copied according to the temporary Word file; then converts the XML source file into a target software that can recognize The XML target file; finally import the XML target file data into the target software. The present invention can directly copy all the content in the Word file to the professional typesetting software, without re-arranging the text format, graphics, images, tables and other objects in the professional typesetting software, which greatly simplifies the copying of the Word file content to the professional typesetting software The process of software improves the efficiency of typesetting.

Description

technical field [0001] The invention belongs to the technical field of printing and typesetting, and in particular relates to a method and system for copying and pasting the content of a Word file with a format, and is especially suitable for copying the content of a Word file containing graphics, images, tables, etc. to typesetting software. . Background technique [0002] In the field of printing and typesetting, most of the user manuscripts are currently written using Microsoft Word word processing software. The content that can be presented in Word is very rich, including objects such as text, graphics, images, and tables, as well as various styles and attributes set on the objects. In the process of copying the content in the Word file to professional typesetting software, the traditional copy and paste method can only retain the text content in the Word file, and the format of the text will be lost. Moreover, if the Word file contains objects such as graphics, images...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/24G06F17/22G06F17/30
Inventor 李彦娜魏超鹏尚高峰岳永强
Owner PEKING UNIV FOUNDER GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products