CN106202019B - A method of bibliography subscript sequence and number order in change WORD/WPS document - Google Patents
A method of bibliography subscript sequence and number order in change WORD/WPS document Download PDFInfo
- Publication number
- CN106202019B CN106202019B CN201610556026.3A CN201610556026A CN106202019B CN 106202019 B CN106202019 B CN 106202019B CN 201610556026 A CN201610556026 A CN 201610556026A CN 106202019 B CN106202019 B CN 106202019B
- Authority
- CN
- China
- Prior art keywords
- document
- xml
- wps
- word
- sequence
- 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.)
- Expired - Fee Related
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/166—Editing, e.g. inserting or deleting
- G06F40/169—Annotation, e.g. comment data or footnotes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of methods of bibliography subscript sequence and number order in change WORD/WPS document, this method is to operate the .docx file for needing to change subscript sequence or reference numbers sequence as sample file, specific steps are as follows: step 1, the sample file that format is .docx is revised as .zip file;Step 2, the amendment of subscript sequence is completed;Step 3, the amendment of bibliography label sequence is carried out;Step 4, the amendment of subscript sequence and reference numbers sequence in WORD/WPS document is completed.The present invention changes software realization by document, and method is simple, and operation is easy, and versatility is good, automatically generates inspection rule by computer, user is not required to consider the formulation of complicated inspection rule completely;The present invention mitigates the burden that user modifies subscript sequence and bibliography bark mark sequence;The present invention is not only ranked up single subscript document label, can also be ranked up, greatly improve work efficiency to continuous superscript number.
Description
Technical field
The present invention relates to a kind of methods of bibliography subscript sequence and label sequence in change Word/Wps document, especially
It is the method for changing .docx file references document subscript sequence and number order.
Background technique
Most scientific workers know about, and are usually all to delete to add when writing paper, and original sequence is caused to be marked
Number the random order of reference citation, lead to the very complicated that subscript sequence and reference numbers sequential workings become in document.Mesh
Before, in Word/Wps document subscript sequence and reference numbers sequence modification method, it is common there are three ways to:
1. manually mode is modified: using the method directly inputted when most of authors write paper, every increase or
It deletes a bibliography to require to re-start number, after the later period changes serial number, subscript sequence and bibliography are compiled in document
Number sequence also will modification one by one, not only heavy workload, wastes time, easy error of omission, and efficiency is extremely low.
2. the patent " bibliography layout device in word document " (103077162 A of CN) of Beijing Institute of Technology's application
Be by be embedded into Word VBA realize Word it is macro, the premise that this VBA script can be run be need in a document according to
So-called implementation method is arranged, and operates more troublesome.
The reference numbers sequence modification function of carrying in 3.Word/Wps document: there is a function in Word/Wps document
It can be insertion endnote, can be used to modify bibliography numeric order, but this function program is complicated, concrete operation step behaviour
Make to get up also pretty troublesome, and workload is also big, efficiency is also not very high.
4. using document management software: current most widely used document management software has very much, such as EndNote,
EndNote is official's software of SCI (Thomson Scientific company), and the bibliography format of International Periodicals is supported to have
3776 kinds, the database that can be managed does not have the upper limit, can at least manage hundreds of thousands of bibliography, the insertion of EndNote LnkTools
Into Word editing machine, easily paper side insertion bibliography can be write by rand.But it has the disadvantage that: when in use
Need to download the software, and copyrighted software needs to charge, some to crack edition software work performance unstable;The software is not supported
WPS document, if you need in WPS document using also needing download plug-in;The software needs user oneself to learn, and learning process is also
It is considerably complicated, time-consuming, usually have user in learning process because operating procedure it is cumbersome due to abandon.
Summary of the invention
In view of the above-mentioned problems, the invention proposes following scheme:
A method of bibliography subscript sequence and number order, this method are will to need in change WORD/WPS document
What the .docx file of change bibliography subscript sequence and number order was operated as sample file, comprising the following steps:
A method of bibliography subscript sequence and number order in change WORD/WPS document, comprising the following steps:
Step 1, the sample file that format is .docx is revised as .zip file;
Step 2, word/document.xml, wps/document.xml in .zip file are extracted, to word/
The amendment of document.xml, wps/document.xml file progress subscript sequence;
Step 3, bibliography label sequence is carried out to word/document.xml, wps/document.xml file
Amendment;
Step 4, modified word/document.xml, wps/document.xml file is saved, this is modified
Word/document.xml, wps/document.xml compressing file are into .zip file and replace original in .zip file
Word/document.xml, wps/document.xml file are completed bibliography subscript sequence in WORD/WPS document and are compiled
The amendment of number sequence.
Further, dissection process is carried out to word/document.xml, wps/document.xml file in step 2
Method particularly includes:
Step 21, all subscript labels in circulation searching word/document.xml, wps/document.xml file;
Step 22, if subscript label can be found, all subscript labels are modified according to incremental order, and is labeled as
Subscript after amendment;
Step 23, if not finding subscript label or all exiting circulation without amendment for subscript after amendment;
Step 24, the upper cursor position searched out and POS are recorded, modified word/document.xml, wps/ are kept in
Document.xml file.
Further, to the modification method of bibliography label sequence in step 3 are as follows:
Step 31, since step 24 POS location, circulation searching word/document.xml, wps/
All prefix numbers in document.xml file;
Step 32, if finding prefix number, all prefix numbers are modified according to incremental order, and labeled as amendment
Prefix number afterwards;
Step 33, if do not find prefix number or all for amendment after prefix number, exit circulation.
Compared with prior art, the present invention has following technical effect:
1. the present invention is by document change software realization, easy to operate, versatility is good;
2. with manual inspection, change method compared with, present invention alleviates the work load of user, and efficiency and reliability
It is high;
3. the present invention is not only to single subscript label (such as article[2]) be ranked up, it can also be to continuous subscript label (such as
Article[3-6]) be ranked up, it greatly improves work efficiency.
Detailed description of the invention
Fig. 1 is general frame design flow diagram of the invention;
Fig. 2 is the sample file for needing to change subscript label;
Fig. 3 is the surface chart that the .docx file for needing to change subscript label sequence is dragged to operating software;
Fig. 4 is the sample file after subscript label sequence is modified;
Fig. 5 is the sample file for needing to change reference numbers sequence;
Fig. 6 is the sample file after bibliography label sequence is changed;
Specific embodiment
The present invention is described in detail below with reference to the accompanying drawings and embodiments.
The present embodiment describes a kind of method of bibliography subscript sequence and number order in change WORD/WPS document,
This method is the Word/Wps by successively change citation subscript sequence in need in subscriber computer and bibliography sequence
.docx file is loaded into document change software in document, comprising the following steps:
Step 1, since it is desired that the .docx file of change subscript label sequence or reference numbers sequence is actually one
A compressed file, content and typesetting in Word/Wps document be stored in compressed file path be word/document.xml,
The sample file that format is .docx is revised as .zip file by wps/document.xml, for change file subscript sequence and
The file of bibliography label sequence can only be .docx file, and .doc file is then not suitable for, and can separately deposit .doc file
It is used again for .docx file;
Step 2, because the path that content and typesetting in Word/Wps document are stored in compressed file is word/
Document.xml, wps/document.xml, so extracting word/document.xml, wps/ in .zip file
Document.xml carries out dissection process to word/document.xml, wps/document.xml file, it is suitable to complete subscript
The amendment of sequence;
Wherein, the specific method of dissection process is carried out to word/document.xml, wps/document.xml file
Are as follows:
All subscript labels in (2-1) circulation searching word/document.xml, wps/document.xml file;
(2-2) is modified if subscript label can be found, by all subscript labels according to incremental order, and is labeled as repairing
Subscript after just;
(2-3) be not if finding subscript mark or all exiting circulation without amendment for subscript after amendment;
The upper cursor position and POS that (2-4) record searches out, keep in modified word/document.xml, wps/
Document.xml file;
The method of the amendment bibliography subscript sequence can directly operate the .xml file for storing subscript label, nothing
Pilot process, it is simple and easy.
Step 3, bibliography label sequence is carried out to word/document.xml, wps/document.xml file
Amendment;
The modification of the label sequence of document is turned finally to for document, user needs to increase first or the reference of deletion is literary
It offers and is placed on corresponding position, corresponding position refers to the sequence consensus with incorporated by reference document in document, and guarantees every reference
(being equivalent to prefix sign) before document has bracket (such as [16]), and every bibliography can only have a bracket (such as
[16]), and must be in bibliography foremost, if having in every bibliography multiple brackets (as [16]) or in include
Number (as [16]) not in bibliography foremost, then procedure identification disorder cannot modify;
Wherein, to the modification method of bibliography label sequence are as follows:
(3-1) since step (2-4) POS location, circulation searching word/document.xml, wps/
It is all with prefix number in document.xml file (such as [16]);
(3-2) is modified if finding prefix number, by all prefix numbers according to incremental order, and is labeled as after correcting
Prefix number;
(3-3) if do not find prefix number or all for amendment after prefix number, exit circulation;
The method of the amendment bibliography label sequence can directly grasp the .xml file for storing bibliography label
Make, no pilot process is simple and easy.
Step 4, modified wword/document.xml, wps/document.xml file is saved, after the modification
Word/document.xml, wps/document.xml compressing file into .zip file and replace original word/
Document.xml, wps/document.xml file delete temporary file, complete bibliography subscript in WORD/WPS document
The amendment of sequence and number order.
Claims (2)
1. a kind of method of bibliography subscript sequence and number order in change WORD/WPS document, which is characterized in that including
Following steps:
Step 1, the sample file that format is .docx is revised as .zip file;
Step 2, word/document.xml, wps/document.xml in .zip file are extracted, to word/
The amendment of document.xml, wps/document.xml file progress subscript sequence;
Step 3, the amendment of reference numbers sequence is carried out to word/document.xml, wps/document.xml file;
Step 4, modified word/document.xml, wps/document.xml file is saved, this is modified
Word/document.xml, wps/document.xml compressing file are into .zip file and replace original in .zip file
Word/document.xml, wps/document.xml file are completed bibliography subscript sequence in WORD/WPS document and are compiled
The amendment of number sequence;
Dissection process is carried out to word/document.xml, wps/document.xml file in step 2 method particularly includes:
Step 21, all superscript numbers in circulation searching word/document.xml, wps/document.xml file;
Step 22, if superscript number can be found, all superscript numbers are modified according to incremental order, and labeled as amendment
Subscript afterwards;
Step 23, if not finding superscript number or all exiting circulation without amendment for subscript after amendment;
Step 24, the upper cursor position searched out and POS are recorded, modified word/document.xml, wps/ are kept in
Document.xml file.
2. the side of bibliography subscript sequence and number order in a kind of change WORD/WPS document as described in claim 1
Method, which is characterized in that the modification method of reference numbers sequence in step 3 are as follows:
Step 31, since step 24 POS location, circulation searching word/document.xml, wps/document.xml text
All prefixes number in part;
Step 32, if finding prefix number, all prefixes is numbered and are modified according to incremental order, and labeled as before after amendment
Sew number;
Step 33, if not finding prefix number or all numbering for prefix after amendment, circulation is exited.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610556026.3A CN106202019B (en) | 2016-07-14 | 2016-07-14 | A method of bibliography subscript sequence and number order in change WORD/WPS document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610556026.3A CN106202019B (en) | 2016-07-14 | 2016-07-14 | A method of bibliography subscript sequence and number order in change WORD/WPS document |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106202019A CN106202019A (en) | 2016-12-07 |
CN106202019B true CN106202019B (en) | 2018-12-11 |
Family
ID=57475184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610556026.3A Expired - Fee Related CN106202019B (en) | 2016-07-14 | 2016-07-14 | A method of bibliography subscript sequence and number order in change WORD/WPS document |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106202019B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968999B (en) * | 2019-11-01 | 2024-01-30 | 数地工场(南京)科技有限公司 | Annotating method and system for automatically realizing docx file fine granularity and diversification |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845104A (en) * | 2006-05-22 | 2006-10-11 | 赵开灏 | System and method for intelligent retrieval and processing of information |
CN103077162A (en) * | 2013-01-23 | 2013-05-01 | 北京理工大学 | Word document reference organization system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7117220B2 (en) * | 2001-10-15 | 2006-10-03 | Vanderdrift Richard William | System and method for non-programmers to dynamically manage multiple sets of XML document data |
US8612853B2 (en) * | 2007-11-15 | 2013-12-17 | Harold W. Milton, Jr. | System for automatically inserting reference numerals in a patent application |
-
2016
- 2016-07-14 CN CN201610556026.3A patent/CN106202019B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845104A (en) * | 2006-05-22 | 2006-10-11 | 赵开灏 | System and method for intelligent retrieval and processing of information |
CN103077162A (en) * | 2013-01-23 | 2013-05-01 | 北京理工大学 | Word document reference organization system |
Non-Patent Citations (1)
Title |
---|
基于Word自动化的学位论文写作辅助***;卢耀华;《中国优秀硕士学位论文全文数据库 信息科技辑》;20120715(第7期);正文27页4.1节第2段,20-21页3.2节步骤(1)、(2),图3.2 * |
Also Published As
Publication number | Publication date |
---|---|
CN106202019A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101266606B (en) | On-line data migration method based on Oracle database | |
CN105205105B (en) | A kind of ETL process system and processing method based on storm | |
US10069892B2 (en) | Versatile information management system and method thereof | |
CN107784026B (en) | ETL data processing method and device | |
CN102012896B (en) | Method and device for realizing bulk editing of file contents | |
CN105786788B (en) | A kind of method and apparatus using WORD Program Generating lists | |
CN105404509A (en) | ExtJS UI based visual code generation method | |
CN102841886A (en) | Method and device for splitting document | |
CN103440233A (en) | Automatic sScientific paper standardization automatic detecting and editing system | |
CN103488484A (en) | Software implementation method and system for online editor | |
CN106202019B (en) | A method of bibliography subscript sequence and number order in change WORD/WPS document | |
Yang | An incremental updating algorithm of the computation of a core based on the improved discernibility matrix | |
CN105022667B (en) | One kind being based on built-in browser CSS engine parallel methods | |
CN104699664B (en) | The composing system and method for a kind of template independence | |
JP2019211805A (en) | Database migration support system and program | |
CN110866374A (en) | Easy operation method for PDF (Portable document Format) file thumbnail on webpage | |
JP2003308318A5 (en) | ||
JP2015210586A (en) | Data extraction editing device of various databases and program of the same | |
CN104424214A (en) | Customized extracting method of catalog content and device thereof | |
JP2007323474A (en) | Ocr system, ocr format parameter preparation method, its program and program recording medium | |
Bartošek et al. | DML-CZ Metadata Editor | |
CN111241800A (en) | MySQL database table structure document generation method, storage medium and intelligent terminal | |
JP2009134755A (en) | Information processor, control method thereof, information processing system, program, and computer readable recording medium | |
CN103136258B (en) | The extracting method of knowledge entry and device | |
JP5504212B2 (en) | Test case automatic generation system, test case automatic generation method, and test case automatic generation program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181211 Termination date: 20200714 |
|
CF01 | Termination of patent right due to non-payment of annual fee |