Office file generation method

A file and text file technology, applied in the information field, can solve the problems of unpublished office software program source code, automatic generation of Windows office files, etc.

Inactive Publication Date: 2014-02-19
CHINESE ACAD OF METEOROLOGICAL SCI
View PDF1 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, since Microsoft has not disclosed the source code of the office software program, it is impossible to directly use the existing text, pictures, tables and other file elements

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
  • Office file generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The present invention will be described in further detail below through specific implementation examples and in conjunction with the accompanying drawings.

[0013] Embodiments of the present invention provide a method for generating office documents, such as figure 1 As shown, it mainly includes:

[0014] Step S11: Under the default operating system, pre-store element files, common templates and element parameter templates corresponding to the element files;

[0015] Step S12: using the Shell script to call the element file, the general template and the element parameter template corresponding to the element file according to preset rules;

[0016] Step S13: According to the Open XML protocol, use the retrieved element file, general template and element parameter template to generate a Microsoft Office file for opening, editing and saving under the Windows operating system.

[0017] The method for generating office documents in the embodiment of the present invention...

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 relates to the technical field of information, in particular to an office file generation method. The office file generation method comprises the steps of storing an element file, a general template and an element parameter template corresponding to the element file in a preset operating system in advance; calling the element file, the general template and the element parameter template corresponding to the element file by using a Shell script according to preset rules; generating a Microsoft office file by using the called element file, the called general template and the called element parameter template according to an Open XML protocol, wherein the Microsoft office file can be opened, edited and stored in the Windows operating system. According to the office file generation method, the office file which can be used in the Windows system can be generated in a non-Windows system by using file elements such as existing words, existing pictures and existing tables.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method for generating office documents. Background technique [0002] Office documents mainly refer to documents commonly used in office such as Word, PowerPoint, and Excel. [0003] In related technologies, office files are mostly generated and run under the Windows system, that is, file elements such as text, pictures, and tables are added to the running files of the corresponding office software under the Windows system, and office files are automatically generated after editing and saving. [0004] However, since Microsoft has not disclosed the source code of the office software program, it is impossible to directly use existing text, pictures, tables and other file elements to generate office files that can be used under Windows systems under non-Windows systems, such as under Linux systems. There is no way to automatically generate Windows office files yet. Conten...

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/30
CPCG06F16/80
Inventor 苏京志祝从文张正秋
Owner CHINESE ACAD OF METEOROLOGICAL SCI
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