CN109408778A - A kind of document structure tree control system and method based on visual configuration - Google Patents
A kind of document structure tree control system and method based on visual configuration Download PDFInfo
- Publication number
- CN109408778A CN109408778A CN201811219646.3A CN201811219646A CN109408778A CN 109408778 A CN109408778 A CN 109408778A CN 201811219646 A CN201811219646 A CN 201811219646A CN 109408778 A CN109408778 A CN 109408778A
- Authority
- CN
- China
- Prior art keywords
- document
- configuration
- structure tree
- file
- configuration file
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Abstract
The invention belongs to the input unit technical fields for data to be dealt with to be transformed into the form that computer is capable of handling, disclose a kind of document structure tree control system and method based on visual configuration, comprising: open existing configuration file or newly-increased configuration file;It is tree-like to show the document elements being configured and for newly-increased document elements;The attribute of document elements is shown and is configured or is increased newly document elements by double-clicking opening dialog box;Save data source of the configuration file as document structure tree;Selection will carry out derived template file and derived path;The document of docx format is automatically generated according to specified template file and lead path diameter.The present invention makes document by way of visual configuration, and the template file of production, which may be reused, has achieved the purpose that multiplexing, improves the efficiency that user makes document, reduces the workload of user.
Description
Technical field
The invention belongs to the input units for data to be dealt with to be transformed into the form that computer is capable of handling
Technical field more particularly to a kind of document structure tree control system and method based on visual configuration.
Background technique
Document is the indispensable data in software development operation and maintenance.Software document or source code document refer to and software
System and its related text entities of Software engineering process.The type of document includes software requirement document, design documentation, test
Document, user's manual etc..Requirement documents therein, design documentation and test document are usually in software development process by developing
What person write, and the non-process class document such as user's manual is write by special non-technical writing personnel.Document can improve
The efficiency of software development guarantees the quality of software, and plays the role of guidance in the use process of software, help, explain the puzzle, especially
In maintenance work, document is indispensable data for it.Therefore more and more people start to pay attention to the importance of document compiling,
The means layer of various production documents goes out.
Currently, the prior art commonly used in the trade is such that using existing word document as template, and can only be in text
The text of the fixation position insertion fixed format of part.If the word document as template is changed, program is possible will nothing
Method uses or can not generate correct document, and versatility is not high.
In conclusion problem of the existing technology is:
(1) program and the word template file degree of coupling are excessively high, if template file changes, program will be also adjusted.
(2) it can be only inserted into word content, the table and picture of user-defined format can not be inserted into, it is more not to be able to satisfy user's progress
The requirement that sampleization is shown.
(3) document format can be adjusted only after completing, and be unable to What You See Is What You Get, delay result
Visibility is unfavorable for improving working efficiency, causes user friendly sexual experience bad.
Solve the difficulty and meaning of above-mentioned technical problem:
Only pass through the file of Program Generating docx format without using word template file;It is shown by visualization tree
The each basic element of word document;Font style configuration is carried out to word content, table before making document.
Summary of the invention
In view of the problems of the existing technology, the present invention provides a kind of, and the document structure tree based on visual configuration controls system
System and method.
The invention is realized in this way a kind of document structure tree control system based on visual configuration, described based on visual
Changing the document structure tree control system configured includes:
Profile module, for the configuration file of newly-built or opening;
Document elements display module, for being shown to the document elements in configuration file;
Preserving module, for by newly-increased or editor's configuration file title, text paragraph, picture, customized table,
Docx file document element, completes the preservation of configuration file;
Selecting module, selection will make configuration file and the export path of document;
Document module is made, respective document is made according to configuration file.
Another object of the present invention is to provide the document structure tree control systems described in a kind of application based on visual configuration
The document structure tree control method based on visual configuration, the document structure tree control method based on visual configuration include with
Lower step:
Step 1 opens existing configuration file or newly-increased configuration file;
Step 2, it is tree-like to show the document elements being configured and for newly-increased document elements;
Step 3 is shown and configures or increase newly document member to the attribute of document elements by double-clicking opening dialog box
Element;
Step 4 saves data source of the configuration file as document structure tree;
Step 5, selection will carry out derived template file and derived path;
Step 6 automatically generates the document of docx format according to specified template file and lead path diameter.
Further, the document elements in the step 1 include title, text paragraph, picture, customized table, docx text
Part.
Another object of the present invention is to provide the document structure tree control methods described in a kind of realize based on visual configuration
Computer program.
Another object of the present invention is to provide the document structure tree control methods described in a kind of realize based on visual configuration
Information data processing terminal.
Another object of the present invention is to provide a kind of computer readable storage mediums, including instruction, when it is in computer
When upper operation, so that computer executes the document structure tree control method based on visual configuration.
In conclusion advantages of the present invention and good effect are as follows: document is made by way of visual configuration, production
Template file, which may be reused, has achieved the purpose that multiplexing, improves the efficiency that user makes document, reduces the work of user
It measures.The prior art is based on Word template more and is applied, and ultimately generates word document, and only weight is as a result, not heavy process, causes to use
Family cannot effectively and timely check procedural information, cannot be timely if intermediate wrong or effect does not reach ideal target
It checks and is fed back, cause the increase of workload, friendly is bad and working efficiency is low.
Detailed description of the invention
Fig. 1 is the document structure tree control system architecture schematic diagram provided in an embodiment of the present invention based on visual configuration;
In figure: 1, profile module;2, document elements display module;3, preserving module;4, selecting module;5, production text
Shelves module.
Fig. 2 is the document structure tree control method flow chart provided in an embodiment of the present invention based on visual configuration.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to embodiments, to the present invention
It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to
Limit the present invention.
Application principle of the invention is explained in detail with reference to the accompanying drawing.
As shown in Figure 1, the document structure tree control system provided in an embodiment of the present invention based on visual configuration includes:
Profile module 1, for the configuration file of newly-built or opening;
Document elements display module 2, for being shown to the document elements in configuration file;
Preserving module 3, for by title, the text paragraph, picture, user-defined data table in newly-increased or editor's configuration file
The document elements such as lattice, docx file, complete the preservation of configuration file;
Selecting module 4, selection will make configuration file and the export path of document;
Document module 5 is made, respective document is made according to configuration file.
As shown in Fig. 2, the document structure tree control method provided in an embodiment of the present invention based on visual configuration includes following
Step:
S201: existing configuration file or newly-increased configuration file are opened;
S202: tree-like to show the document elements being configured and for newly-increased document elements;
S203: the attribute of document elements is shown and is configured or is increased newly document elements by double-clicking opening dialog box;
S204: data source of the configuration file as document structure tree is saved;
S205: selection will carry out derived template file and derived path;
S206: the document of docx format is automatically generated according to specified template file and lead path diameter.
In a preferred embodiment of the invention, in step S201, document elements provided by the invention include title, text section
It falls, picture, customized table, docx file etc..
Document structure tree control method provided in an embodiment of the present invention based on visual configuration specifically includes the following steps:
1. computer is loaded into configuration file;
2. computer reads configuration file;
3. computer generates document configuration tree according to configuration file;
4. a pair configuration tree node carries out persistence operation, mainly include;
4.1. configuration tree node is increased newly;
4.2. configuration tree node is updated;
4.3. configuration tree node is deleted.
5. saving configuration file;
6. reading in export path;
7. being loaded into configuration template, export path;
Computer makes corresponding word document according to the template and export path of selection.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When using entirely or partly realizing in the form of a computer program product, the computer program product include one or
Multiple computer instructions.When loading on computers or executing the computer program instructions, entirely or partly generate according to
Process described in the embodiment of the present invention or function.The computer can be general purpose computer, special purpose computer, computer network
Network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or from one
Computer readable storage medium is transmitted to another computer readable storage medium, for example, the computer instruction can be from one
A web-site, computer, server or data center pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)
Or wireless (such as infrared, wireless, microwave etc.) mode is carried out to another web-site, computer, server or data center
Transmission).The computer-readable storage medium can be any usable medium or include one that computer can access
The data storage devices such as a or multiple usable mediums integrated server, data center.The usable medium can be magnetic Jie
Matter, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid
State Disk (SSD)) etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (6)
1. a kind of document structure tree control system based on visual configuration, which is characterized in that the text based on visual configuration
Shelves generate control system
Profile module, for the configuration file of newly-built or opening;
Document elements display module, for being shown to the document elements in configuration file;
Preserving module, for by title, the text paragraph, picture, customized table, docx in newly-increased or editor's configuration file
File document element completes the preservation of configuration file;
Selecting module, selection will make configuration file and the export path of document;
Document module is made, respective document is made according to configuration file.
2. a kind of document structure tree control system using described in claim 1 based on visual configuration based on visual configuration
Document structure tree control method, which is characterized in that the document structure tree control method based on visual configuration the following steps are included:
Step 1 opens existing configuration file or newly-increased configuration file;
Step 2, it is tree-like to show the document elements being configured and for newly-increased document elements;
Step 3 is shown and configures or increase newly document elements to the attribute of document elements by double-clicking opening dialog box;
Step 4 saves data source of the configuration file as document structure tree;
Step 5, selection will carry out derived template file and derived path;
Step 6 automatically generates the document of docx format according to specified template file and lead path diameter.
3. the document structure tree control method based on visual configuration as claimed in claim 2, which is characterized in that the step 1
In document elements include title, text paragraph, picture, customized table, docx file.
4. a kind of calculating for realizing the document structure tree control method described in claim 2~3 any one based on visual configuration
Machine program.
5. a kind of information for realizing the document structure tree control method described in claim 2~3 any one based on visual configuration
Data processing terminal.
6. a kind of computer readable storage medium, including instruction, when run on a computer, so that computer is executed as weighed
Benefit requires the document structure tree control method described in 2~3 any one based on visual configuration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811219646.3A CN109408778A (en) | 2018-10-19 | 2018-10-19 | A kind of document structure tree control system and method based on visual configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811219646.3A CN109408778A (en) | 2018-10-19 | 2018-10-19 | A kind of document structure tree control system and method based on visual configuration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109408778A true CN109408778A (en) | 2019-03-01 |
Family
ID=65467779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811219646.3A Pending CN109408778A (en) | 2018-10-19 | 2018-10-19 | A kind of document structure tree control system and method based on visual configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109408778A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113157255A (en) * | 2021-03-22 | 2021-07-23 | 成都淞幸科技有限责任公司 | Code generation method for syntax tree decoder |
Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005301869A (en) * | 2004-04-15 | 2005-10-27 | Fuji Xerox Co Ltd | Device, system, and program for document visualization |
CN1959681A (en) * | 2005-11-02 | 2007-05-09 | 阿尔斯通运输公司 | Method and system for technical documentation generation |
CN1973256A (en) * | 2004-07-08 | 2007-05-30 | 微软公司 | Automatic text generation |
CN1979478A (en) * | 2005-12-09 | 2007-06-13 | 北京书生国际信息技术有限公司 | File processing system and file processing method |
US20070198952A1 (en) * | 2006-02-21 | 2007-08-23 | Pittenger Robert A | Methods and systems for authoring of a compound document following a hierarchical structure |
CN101350009A (en) * | 2008-09-05 | 2009-01-21 | 中国工商银行股份有限公司 | System for writing and compiling cooperated documents |
CN101493839A (en) * | 2009-03-04 | 2009-07-29 | 北京航空航天大学 | Method for generating general-purpose test document |
CN101751461A (en) * | 2009-12-30 | 2010-06-23 | 中兴通讯股份有限公司 | Document conversion method and device |
CN102356394A (en) * | 2011-08-23 | 2012-02-15 | 华为技术有限公司 | Document updating method and device |
CN102495832A (en) * | 2011-12-12 | 2012-06-13 | 方正国际软件有限公司 | System for automatically generating document in software development process |
CN102810115A (en) * | 2012-06-19 | 2012-12-05 | 公安部交通管理科学研究所 | Method for implementing multi-layer distributed document management system |
CN102819656A (en) * | 2011-06-10 | 2012-12-12 | 中国科学院深圳先进技术研究院 | System and method for generating electronic medical record |
CN103309849A (en) * | 2013-03-28 | 2013-09-18 | 大连理工大学 | Docx document creating and modifying method based on OpenXML (open extensive markup language) |
CN103425465A (en) * | 2012-05-16 | 2013-12-04 | 深圳市蓝韵网络有限公司 | Electronic medical record document editor |
CN103605660A (en) * | 2013-10-18 | 2014-02-26 | 国家电网公司 | Graphic processing method for SCD (Substation Configuration Description) file |
CN104598635A (en) * | 2015-02-06 | 2015-05-06 | 无锡江南计算技术研究所 | Automatic complex document generating method based on XML (Extensive Markup Language) description |
CN105279144A (en) * | 2015-10-10 | 2016-01-27 | 中国空气动力研究与发展中心高速空气动力研究所 | Method and device for typesetting wind tunnel test data text files |
CN105446946A (en) * | 2014-07-17 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Format document resetting method and system, electronic reading terminal |
CN106560805A (en) * | 2015-10-01 | 2017-04-12 | 曹蕾 | Page layout method of WYSIWYG document editor based on HTML standard |
CN106815184A (en) * | 2017-01-18 | 2017-06-09 | 上海爱韦讯信息技术有限公司 | The system and method for document is automatically generated based on FOG data |
-
2018
- 2018-10-19 CN CN201811219646.3A patent/CN109408778A/en active Pending
Patent Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005301869A (en) * | 2004-04-15 | 2005-10-27 | Fuji Xerox Co Ltd | Device, system, and program for document visualization |
CN1973256A (en) * | 2004-07-08 | 2007-05-30 | 微软公司 | Automatic text generation |
CN1959681A (en) * | 2005-11-02 | 2007-05-09 | 阿尔斯通运输公司 | Method and system for technical documentation generation |
CN1979478A (en) * | 2005-12-09 | 2007-06-13 | 北京书生国际信息技术有限公司 | File processing system and file processing method |
US20070198952A1 (en) * | 2006-02-21 | 2007-08-23 | Pittenger Robert A | Methods and systems for authoring of a compound document following a hierarchical structure |
CN101350009A (en) * | 2008-09-05 | 2009-01-21 | 中国工商银行股份有限公司 | System for writing and compiling cooperated documents |
CN101493839A (en) * | 2009-03-04 | 2009-07-29 | 北京航空航天大学 | Method for generating general-purpose test document |
CN101751461A (en) * | 2009-12-30 | 2010-06-23 | 中兴通讯股份有限公司 | Document conversion method and device |
CN102819656A (en) * | 2011-06-10 | 2012-12-12 | 中国科学院深圳先进技术研究院 | System and method for generating electronic medical record |
CN102356394A (en) * | 2011-08-23 | 2012-02-15 | 华为技术有限公司 | Document updating method and device |
CN102495832A (en) * | 2011-12-12 | 2012-06-13 | 方正国际软件有限公司 | System for automatically generating document in software development process |
CN103425465A (en) * | 2012-05-16 | 2013-12-04 | 深圳市蓝韵网络有限公司 | Electronic medical record document editor |
CN102810115A (en) * | 2012-06-19 | 2012-12-05 | 公安部交通管理科学研究所 | Method for implementing multi-layer distributed document management system |
CN103309849A (en) * | 2013-03-28 | 2013-09-18 | 大连理工大学 | Docx document creating and modifying method based on OpenXML (open extensive markup language) |
CN103605660A (en) * | 2013-10-18 | 2014-02-26 | 国家电网公司 | Graphic processing method for SCD (Substation Configuration Description) file |
CN105446946A (en) * | 2014-07-17 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Format document resetting method and system, electronic reading terminal |
CN104598635A (en) * | 2015-02-06 | 2015-05-06 | 无锡江南计算技术研究所 | Automatic complex document generating method based on XML (Extensive Markup Language) description |
CN106560805A (en) * | 2015-10-01 | 2017-04-12 | 曹蕾 | Page layout method of WYSIWYG document editor based on HTML standard |
CN105279144A (en) * | 2015-10-10 | 2016-01-27 | 中国空气动力研究与发展中心高速空气动力研究所 | Method and device for typesetting wind tunnel test data text files |
CN106815184A (en) * | 2017-01-18 | 2017-06-09 | 上海爱韦讯信息技术有限公司 | The system and method for document is automatically generated based on FOG data |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113157255A (en) * | 2021-03-22 | 2021-07-23 | 成都淞幸科技有限责任公司 | Code generation method for syntax tree decoder |
CN113157255B (en) * | 2021-03-22 | 2022-07-05 | 成都淞幸科技有限责任公司 | Code generation method for syntax tree decoder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10346381B2 (en) | Atomic update operations in a data storage system | |
US7908588B2 (en) | Program presentation with reviewer feedback maintenance | |
US10255308B2 (en) | Conforming data structure instances to schema versions | |
JP7293643B2 (en) | A semi-automated method, system, and program for translating the content of structured documents into chat-based interactions | |
MX2008014849A (en) | Modifying a chart. | |
US20130166602A1 (en) | Cloud-enabled business object modeling | |
US20120291007A1 (en) | Management of template versions | |
US8739025B2 (en) | Systems and methods for navigating to errors in an XBRL document using metadata | |
CN111538774B (en) | Data storage and display method, system, equipment and storage medium | |
CN104731588B (en) | Page layout document generating method and page layout file creating apparatus | |
US9588952B2 (en) | Collaboratively reconstituting tables | |
TW201203082A (en) | Client application and web page integration | |
US10318621B2 (en) | Collating and intelligently sequencing installation documentation | |
US20120260237A1 (en) | Portable Business Language and Automated Software Application Development System | |
CN114201718A (en) | Dynamically configurable form instance generation method and device | |
US10885013B2 (en) | Automated application lifecycle tracking using batch processing | |
CN109408778A (en) | A kind of document structure tree control system and method based on visual configuration | |
US9442908B2 (en) | Method and computing device for facilitating review of a document | |
US20110145661A1 (en) | Selectively displaying source code defect information within a source code editor | |
CN114168119B (en) | Code file editing method, device, electronic equipment and storage medium | |
WO2018236940A1 (en) | Simplified development of computer applications | |
CN113138760B (en) | Page generation method and device, electronic equipment and medium | |
US8825588B2 (en) | Rule correlation to rules input attributes according to disparate distribution analysis | |
CN108563621B (en) | PDF report generation method, device, equipment and storage medium | |
US20150324438A1 (en) | Rules based universal format presentation content translation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |