CN114462367A - File creation method and device - Google Patents

File creation method and device Download PDF

Info

Publication number
CN114462367A
CN114462367A CN202111595012.XA CN202111595012A CN114462367A CN 114462367 A CN114462367 A CN 114462367A CN 202111595012 A CN202111595012 A CN 202111595012A CN 114462367 A CN114462367 A CN 114462367A
Authority
CN
China
Prior art keywords
file
format
template
content
creating
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
Application number
CN202111595012.XA
Other languages
Chinese (zh)
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.)
Foundmacro Co ltd
Original Assignee
Foundmacro 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 Foundmacro Co ltd filed Critical Foundmacro Co ltd
Priority to CN202111595012.XA priority Critical patent/CN114462367A/en
Publication of CN114462367A publication Critical patent/CN114462367A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention provides a file creating method, a file creating device, electronic equipment and a storage medium, wherein the method comprises the steps of obtaining layout information of a first file and creating the first file in batches; acquiring a second file and refreshing the format according to a second preset file template; the invention can quickly create new files meeting the format requirements, including covers, signature pages, change pages, order and blank text; quickly creating a complete set or selected new files meeting format requirements in batches; quickly modifying the contents of cover titles, security levels, development units, dates, signatures and the like of the selected files in batches; quickly inserting or deleting covers, signature pages, change pages and current pages for the files in batches; format refreshing is carried out on the existing files rapidly in batch, and the file format is standardized to a format meeting the requirements; and automatically counting the names, compiling units and the total page number of each file.

Description

File creation method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a file creation method and apparatus, an electronic device, and a storage medium.
Background
In the military product development process, a set of standard rules stipulates technical documents to be output in each development stage, and the set of standard rules stipulates: the types of the technical files comprise catalogues, various summary tables, various outlines, summaries and the like; the format requirements of each file are also specified, such as front cover, signature page, change page, order, text, additional record and the like.
The position and format of the contents of the front cover, the signature page, the change page, the order and the like are specified. The format within the body also has format requirements in the standard, which roughly include: titles at various levels, texts, charts, tables, appendix titles, etc.
In the development process of equipment, the number of corresponding technical files is large, and the workload of format adjustment in the documentation process is huge.
Common problems that are typically encountered during the authentication documentation of equipment are: when the new equipment is started to be developed, various files of the equipment need to be compiled, and the technical files of the equipment are generally newly built by newly building or copying and modifying the existing similar files; both the two modes have a great deal of repeated labor, and the process is complicated and low-efficiency; the number of the developed files is large, and the workload of adjusting the file format is huge; the file types are many, the number of compiling personnel is many, and the understanding of related standards by all the participating compiling personnel is uneven, so that the technical file format compiled by all the personnel is difficult to meet the standardization requirement; the compiled file needs to be partially simply changed at different stages in the equipment development process, such as changing the total book number of covers, the current measurement number and date, changing the file signing requirements and other contents, the change is simple, but the operation process is complicated, and the file needs to be opened one by one and then is modified and stored; some files can be subjected to format editing based on the existing file contents of a research and manufacture unit, but the format adjustment work is complicated and low-efficiency; the whole set of files generally comprises a catalog file, names, compiling units and total pages of the whole set of files are listed in the file, particularly statistics of the page number of the files is carried out, the work is single, the efficiency is low, and the catalog file is often adjusted after individual files are modified.
Disclosure of Invention
The embodiment of the invention provides a file creating method and a file creating device, which can quickly create a new file meeting format requirements, wherein the new file comprises a cover, a signature page, a change page, a destination and a blank text; quickly creating complete sets or selected new files meeting format requirements in batches; quickly modifying the contents of cover titles, security levels, development units, dates, signatures and the like of the selected files in batches; quickly inserting or deleting covers, signature pages, change pages and current pages for the files in batches; format refreshing is carried out on the existing files rapidly in batch, and the file format is standardized into a format meeting the requirements; and automatically counting the names, compiling units and the total page number of each file.
In a first aspect, an embodiment of the present invention provides a file creating method, where the method includes:
obtaining layout information of first files and creating the first files in batches; wherein the layout information includes: file security level, equipment name, total volume number, current volume number, compiling unit, compiling time, file name, whether pages need to be signed, whether pages need to be changed and whether pages need to be ordered;
acquiring a second file and refreshing the format according to a second preset file template; and the second file is the first file after the content is written.
Optionally, the first file is created page by page through codes, and the creation and editing of the first file are realized through an SDK provided by microsoft Office or a third party Office development library.
Optionally, the creating of the first file by modifying a first preset file template includes:
acquiring the first preset file template;
creating the first files in batches according to the first preset file template;
and adding or deleting the content and the page of the first file through the editing function of the SDK.
Optionally, the file creation method further comprises automatically counting file page numbers.
Optionally, the format refresh comprises:
identifying an entry category of the second file content;
adjusting the format of the second file according to the format of the item type in the second preset file template;
the entry type includes a beginning portion, a body portion, and an end portion.
Optionally, the adjusting the format of the second file according to the format of the entry type in the second preset file template includes:
acquiring format information of the item type of the second file content in the second preset file template;
and adjusting the format of the item type of the second file content through codes by using the SDK or a third-party library according to the format information.
Optionally, the adjusting the format of the second file according to the format of the entry type in the second preset file template includes:
acquiring the format of the item type of the second file content in the second preset file template;
and the format of the item type of the file content in the second preset file template is adjusted by importing the format of the item type of the file content in the second preset file template by using the SDK or a third party library.
In a second aspect, an embodiment of the present invention provides a file creating apparatus, including:
the file creating module is used for acquiring the layout information of the first file and creating the first file in batches;
and the format refreshing module is used for acquiring the second file and refreshing the format according to a second preset file template.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory stores a computer program thereon, and the processor implements the method according to any one of the first aspect when executing the program.
In a fourth aspect, an embodiment of the invention provides a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the method according to any one of the first aspects.
Advantageous effects
The invention provides a file creating method, device electronic equipment and a storage medium, wherein the method comprises the steps of obtaining layout information of a first file and creating the first file in batches; acquiring a second file and refreshing the format according to a second preset file template; new files meeting the format requirements can be quickly created, including covers, signature pages, change pages, order and blank text; quickly creating a complete set or selected new files meeting format requirements in batches; quickly modifying the contents of cover titles, security levels, development units, dates, signatures and the like of the selected files in batches; quickly inserting or deleting covers, signature pages, change pages and current pages for the files in batches; format refreshing is carried out on the existing files rapidly in batch, and the file format is standardized into a format meeting the requirements; and automatically counting the names, compiling units and the total page number of each file.
It should be understood that the statements herein reciting aspects are not intended to limit the critical or essential features of any embodiment of the invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of various embodiments of the present invention will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, the same or similar reference numerals denote the same or similar elements.
FIG. 1 illustrates a flow diagram of a file creation method of an embodiment of the invention;
FIG. 2 illustrates an entry in a pre-set file template of an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a file creation apparatus according to an embodiment of the present invention;
fig. 4 shows a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
Can realize through this patent:
quickly creating a new file meeting format requirements, wherein the new file comprises a cover, a signature page, a change page, a current order and blank text;
quickly creating a complete set or selected new files meeting format requirements in batches;
quickly modifying the contents of cover titles, confidential grades, development units, dates, signs and the like of the selected files in batches;
quickly inserting or deleting covers, signature pages, change pages and current pages for the files in batches;
format refreshing is carried out on the existing files rapidly in batches, and the file format is standardized into a format meeting the requirements;
and automatically counting the names, compiling units and the total page number of each file.
The present invention is described below with reference to specific examples, and it should be noted that the descriptions in the examples of the present application are only for the purpose of more clearly describing the technical solutions in the examples of the present application, and do not limit the technical solutions provided in the examples of the present application.
FIG. 1 illustrates a flow diagram of a file creation method of an embodiment of the invention; referring to fig. 1, the method includes:
s20, obtaining layout information of the first file and creating the first file in batch;
specifically, a first file security level, an equipment name, a total volume number, a current volume number, a compiling unit, compiling time, a file name, whether pages need to be signed or not, whether pages need to be changed or not and whether pages need to be changed or not are obtained; the first file is automatically created in batches according to the acquired information, the information such as the equipment name, the file name, the compiling unit, the compiling time and the like in the first file is the acquired information, and the format completely meets the relevant standard requirements.
Optionally, created page by code; the SDK provided by Microsoft office can be used for creating a document, creating, inserting or editing word file contents such as tables, pictures, directories and texts in the document, and defining the formats of each newly created object, including fonts, sizes, colors, indented line spaces and other formats;
optionally, created page by code; using a third party Office development library to edit and operate the word file; the development library can also realize the same or similar functions provided by the equivalent Microsoft office official SDK.
The file creation and editing can be realized page by page and item by the two modes, and the following operations can be carried out:
a) a new cover page (blank page);
b) defining various contents in the new cover page according to related standard requirements and users, wherein the contents comprise security level, equipment name, file name, book number, establishment unit, establishment date and the like;
c) inserting odd page segmentation symbols to enable the next page to start from the odd page;
d) new signing pages (blank pages) if necessary;
e) inserting security level, file name, signing requirement and the like at a specified position according to related standard requirements and various contents in a user defined signing page, and setting a format according to a standard;
f) inserting odd page segmentation symbols to enable the next page to start from the odd page;
g) new change pages (blank pages) if necessary;
h) defining the content of a change page according to related standard requirements, defining a title and inserting a change form;
i) inserting odd page segmentation symbols to enable the next page to start from the odd page;
j) new mesh sub-page (blank page) if necessary;
k) defining the content of a destination page according to related standard requirements, editing a title and inserting a directory;
l) inserting odd page chapters so that the next page starts from the odd page;
m) newly creating a text page (blank page);
through the technical scheme, each item of content in the first file is highly controllable and is completely edited by software codes; but the code implementation workload is large; if the format needs to be adjusted, the corresponding software code also needs to be adjusted.
In order to avoid the problems, the functions of creating the files in batches can be realized by combining the first preset file template and the code editing mode, so that the functional requirements can be met, and the development workload of related functions for adjusting the file content format can be greatly reduced.
Wherein the creating by modifying the first preset file template comprises:
a) specifically, an identification document template, namely a first preset template, is predefined according to relevant standards, the template document is provided with a cover, a signing page, a change page, a current page and a text, and the content of each page is completely defined according to the requirements of the relevant standards;
b) when a new file is created, copying the template file as a target file;
c) because the file is predefined and the content is known content, the content in each page can be replaced page by page through the editing function of the SDK, wherein the content is the content input by a user, such as security level, file name, editing unit, editing date and the like; for the file which does not need to change the page or the destination page, deleting the page or the content which is not needed by using the SDK page deleting function;
d) and after the editing and replacing are finished, saving the file.
Optionally, when the template file is edited by using the SDK, when the template is defined, the specific content in the template is defined as a special keyword, for example, the file name in the template is defined as a "$ FileName $" keyword, and then the keyword is replaced with the content specified by the user by using the search and replacement function in the SDK;
optionally, when the template file is edited by using the SDK, since the template is predefined, when the file is read by using the SDK, the meaning of each item of content that is read can be known, and then each item of content is adjusted to the content specified by the user.
By the technical scheme, a new file meeting the format requirement can be quickly created, wherein the new file comprises a cover, a signature page, a change page, a destination and a blank text; quickly creating a complete set or selected new files meeting format requirements in batches; quickly modifying the contents of cover titles, security levels, development units, dates, signatures and the like of the selected files in batches; quickly inserting or deleting covers, signature pages, change pages and current pages for the files in batches;
s40, acquiring a second file and refreshing the format according to a second preset file template;
specifically, the obtaining of the second file and the format refreshing according to the second preset file template includes:
identifying what kind of entry the content of the second file is;
adjusting the format of the second file according to the identification result and the second preset file template;
before the file format is refreshed, an authentication file template which meets the relevant standard, namely a second preset file template, needs to be defined in advance, the template file is provided with a cover, a signature page, a change page, a current page and a text, and the content of each page is defined according to the relevant standard requirement; the text style definition comprises the styles of texts, titles of all levels, annex titles, table contents, table questions, chart questions and the like.
The method automatically refreshes the content format in the designated file, and the main process is as follows:
opening a file through the SDK or a third-party library, and setting a format template of a second file as the pre-prepared standard template so as to introduce the standard style in the template into the current file;
identifying the content in the second file page by page and item by item, wherein different content formats are different, and the formats of the text, chapter titles, section titles, tables and the like are different;
the format of the identified content is adjusted to a standard format according to the relevant standard.
Specifically, the content identification is the basis of the style adjustment, and the content item can be correctly identified, and the format of the content item can be adjusted to a corresponding format;
a common entry specified in the relevant standard is shown in fig. 2 and includes a beginning portion, a body portion, and an end portion. The patterns of different parts are different and are all specified clearly;
for the beginning, the present invention already has a way to quickly create standard covers, signature pages, order pages, so its format may not be adjusted; if the format of the beginning part of the current file does not meet the standard requirement, the beginning part meeting the standard is quickly defined by directly using the function;
therefore, the focus of content identification is body part identification; the content of the part is mainly identified whether the file content is a chapter title, a bar title, a text, a list in a text, a picture, a table, a chart question, a table question and the like;
the SDK and the third-party library can identify whether the content is a catalogue or not;
according to the outline level of the paragraph of the text content, the title level (chapter, bar) can be judged, and whether the text is judged;
the SDK, third party repository, may identify a list in the body;
the SDK and the third-party library can identify tables, pictures, table titles and chart titles;
optionally, after the pattern item corresponding to the content is identified, the format of the identified content item may be set to a corresponding format by using the SDK or a third party library through a code; the method has larger code amount, and the format adjustment needs to adjust the bar code;
optionally, after the pattern item corresponding to the content is identified, the format of the identified content item may be set to the corresponding pattern in the template by using the SDK or the third party library through the pattern in the predefined standard template, that is, the second preset template; the method has small agent workload, and only the pattern in the template file is adjusted when the format is adjusted;
for content for which the entry cannot be identified, the style is refreshed as the body style by default.
It should be noted that, at present, there is no content automatic identification technology that can achieve 100% accuracy, so that the format refresh of partial content is incorrect; after the situation occurs, the file can be opened, the content format is manually checked in a standardized way, and the style of the wrong content is refreshed into a specified style through the style setting function of the word;
although the invention can not realize 100% format automatic adjustment, the invention can greatly improve the file format refreshing efficiency and quickly standardize the file style; in special cases, only a few of the special content reservations need to be adjusted manually.
The invention can also carry out the operation of changing the contents of the file such as security level, file name, compilation unit, compilation date, signing column and the like on the file which has standardized file format and meets the relevant standard requirements;
the file can be opened through the office SDK or the third-party development library, the changed content is positioned page by page, and then the content is changed into the specified content; such as modifying the organization unit, the organization date and the secret level in the home page.
The invention can also automatically count the page code of the selected file through the SDK of the office or a third-party resource library, thereby improving the working efficiency.
The advantageous effects of the invention are illustrated below in a preferred embodiment:
creating files in batches according to standard regulations, and adding file security level, equipment name, total book number, current book number, compilation unit, compilation time, file name, whether pages need to be signed or not, whether pages need to be changed or not, whether pages need to be ordered or not and the like when creating the files according to the standard regulations through codes; or setting a file template according to standard specifications in advance, and modifying the preset file template to create files in batches;
after the content is written in the created file, the content of the file can be identified, the file is refreshed according to the standard specification, the content format in the file can be set to the format specified by the standard through codes or a file template is set in advance according to the format specified by the standard, and the format of the file is refreshed by importing the preset template.
In addition to creating files and refreshing file formats in formats specified by standards, files may be created and refreshed in accordance with other file format requirements.
The invention provides a file creating method, device electronic equipment and a storage medium, wherein the method comprises the steps of obtaining layout information of a first file and creating the first file in batches; acquiring a second file and refreshing the format according to a second preset file template; new files meeting the format requirements can be quickly created, including covers, signature pages, change pages, order and blank text; quickly creating a complete set or selected new files meeting format requirements in batches; quickly modifying the contents of cover titles, security levels, development units, dates, signatures and the like of the selected files in batches; quickly inserting or deleting covers, signature pages, change pages and current pages for the files in batches; format refreshing is carried out on the existing files rapidly in batch, and the file format is standardized into a format meeting the requirements; and automatically counting the names, compiling units and the total page number of each file.
Based on the same inventive concept, an embodiment of the present invention further provides a file creating apparatus, which can be used to implement the file creating method described in the foregoing embodiment, as described in the following embodiment: the principle of solving the problem of a file creation device is similar to that of a file creation method, so the implementation of a file creation device can refer to the implementation of a file creation method, and repeated parts are not described again. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. While the system described in the embodiments below is preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
Fig. 3 shows a block diagram of a file creation apparatus according to an embodiment of the present invention. As shown in fig. 3, the apparatus includes:
a file creation module 20 that acquires layout information of the first file and creates the first file in batch;
and the format refreshing module 40 is used for acquiring the second file and refreshing the format according to a second preset file template.
The embodiment of the invention provides a file creating device, which acquires layout information of a first file and creates the first file in batch through a file creating module 20; and the format refreshing module 40 is used for acquiring the second file and refreshing the format according to a second preset file template.
Fig. 4 is a schematic structural diagram of an electronic device to which an embodiment of the present invention can be applied, and as shown in fig. 4, the electronic device includes a Central Processing Unit (CPU)401 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for system operation are also stored. The CPU 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker and the like; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. A driver 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware. The described units or modules may also be provided in a processor, and may be described as: a processor includes a file creation module and a format refresh module, where the names of these modules do not in some cases constitute a definition of the module itself, for example, the file creation module may also be described as a "file creation module that acquires layout information of a first file and creates the first file in batch".
As another aspect, the present invention also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the file creation apparatus described in the above embodiments; or it may be a computer-readable storage medium that exists separately and is not built into the electronic device. The computer readable storage medium stores one or more programs for use by one or more processors in performing a file creation method described in the present invention.
The foregoing description is only exemplary of the preferred embodiments of the invention and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention according to the present invention is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) features having similar functions disclosed in the present invention are mutually replaced to form the technical solution.

Claims (10)

1. A file creation method, characterized in that the file creation method comprises:
obtaining layout information of first files and creating the first files in batches; wherein the layout information includes: file security level, equipment name, total volume number, current volume number, compiling unit, compiling time, file name, whether pages need to be signed, whether pages need to be changed and whether pages need to be ordered;
acquiring a second file and refreshing the format according to a second preset file template; and the second file is the first file after the content is written.
2. The file creation method according to claim 1, wherein the first file is created page by code, and creation and editing of the first file is realized by an SDK provided by microsoft Office or a third party Office development library.
3. The file creation method according to claim 1, wherein the first file is created by modifying a first preset file template, including:
acquiring the first preset file template;
creating the first files in batches according to the first preset file template;
and adding or deleting the content and the page of the first file through the editing function of the SDK.
4. The file creation method of claim 1, further comprising automatically counting file page numbers.
5. The file creation method of claim 1, wherein the format refresh comprises:
identifying an entry category of the second file content;
adjusting the format of the second file according to the format of the item type in the second preset file template;
the entry type includes a beginning portion, a body portion, and an end portion.
6. The method of claim 5, wherein the formatting the second file according to the format of the entry category in the second predetermined file template comprises:
acquiring format information of the item type of the second file content in the second preset file template;
and adjusting the format of the item type of the second file content through codes by using the SDK or a third-party library according to the format information.
7. The method of claim 5, wherein the formatting the second file according to the format of the entry category in the second predetermined file template comprises:
acquiring the format of the item type of the second file content in the second preset file template;
and importing the format of the item type of the file content in the second preset file template by using the SDK or a third party library to adjust the format of the item type of the second file content.
8. An apparatus for creating a file, the apparatus comprising:
the file creating module is used for acquiring the layout information of the first file and creating the first file in batches;
and the format refreshing module is used for acquiring the second file and refreshing the format according to a second preset file template.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the processor, when executing the computer program, implements the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202111595012.XA 2021-12-23 2021-12-23 File creation method and device Pending CN114462367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111595012.XA CN114462367A (en) 2021-12-23 2021-12-23 File creation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111595012.XA CN114462367A (en) 2021-12-23 2021-12-23 File creation method and device

Publications (1)

Publication Number Publication Date
CN114462367A true CN114462367A (en) 2022-05-10

Family

ID=81407316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111595012.XA Pending CN114462367A (en) 2021-12-23 2021-12-23 File creation method and device

Country Status (1)

Country Link
CN (1) CN114462367A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815184A (en) * 2017-01-18 2017-06-09 上海爱韦讯信息技术有限公司 The system and method for document is automatically generated based on FOG data
US20200034126A1 (en) * 2017-02-08 2020-01-30 One Connect Smart Technology Co., Ltd. (Shenzhen) File generation method, device, server, and storage medium
WO2021045547A1 (en) * 2019-09-04 2021-03-11 (주)워트인텔리전스 Method for automatically creating user-customized document, and device and server for same
CN112651217A (en) * 2019-10-09 2021-04-13 珠海金山办公软件有限公司 Processing method and processing device of thesis document, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815184A (en) * 2017-01-18 2017-06-09 上海爱韦讯信息技术有限公司 The system and method for document is automatically generated based on FOG data
US20200034126A1 (en) * 2017-02-08 2020-01-30 One Connect Smart Technology Co., Ltd. (Shenzhen) File generation method, device, server, and storage medium
WO2021045547A1 (en) * 2019-09-04 2021-03-11 (주)워트인텔리전스 Method for automatically creating user-customized document, and device and server for same
CN112651217A (en) * 2019-10-09 2021-04-13 珠海金山办公软件有限公司 Processing method and processing device of thesis document, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11727206B2 (en) Systems and methods for applying layout to documents
EP1603032B1 (en) Colourized template previews
CN110806866A (en) Generation method and device of front-end management system
WO2017223037A1 (en) Brand-based product management
US20070220488A1 (en) Apparatus and method for automatically sizing fields within reports
CN111046640A (en) Dynamic generation method and device of certification document
KR102067504B1 (en) Spreadsheet document editing apparatus for performing an automatic filter function through the creation of a temporary header and operating method thereof
CN111931475A (en) Dynamic subscription book generation method, system, computer equipment and storage medium
CN108121693B (en) Slide beautifying method and device
CN114462367A (en) File creation method and device
CN114611468A (en) Document processing method and device, electronic equipment and computer readable storage medium
US8234563B1 (en) Editing of customised documents
CN114238724A (en) Data visualization method and device
KR20230069374A (en) An automatic image placement and execution method using the DTP program, an adobe indesign
CN113822025A (en) Office file automatic generation method, device, equipment and storage medium
JP2000076228A (en) Automatic document format correcting method
CN111523294A (en) PDF file-based comment separation processing method and device
KR20210060808A (en) Document editing device to check whether the font applied to the document is a supported font and operating method thereof
CN111553136A (en) Method and device for generating demonstration document template and electronic equipment
CN111079375A (en) Information sorting method and device, computer storage medium and terminal
CN112084754B (en) Method and device for reviewing processing, computer storage medium and terminal
CN117056539B (en) Method and device for generating pptx format file in real time and electronic equipment
CN113553798B (en) Seal insertion method and device, electronic equipment and storage medium
KR101049895B1 (en) Electronic document editor
CN110457659B (en) Clause document generation method and terminal equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220510