CN109933766A - Document generating method, device and storage medium - Google Patents
Document generating method, device and storage medium Download PDFInfo
- Publication number
- CN109933766A CN109933766A CN201910190146.XA CN201910190146A CN109933766A CN 109933766 A CN109933766 A CN 109933766A CN 201910190146 A CN201910190146 A CN 201910190146A CN 109933766 A CN109933766 A CN 109933766A
- Authority
- CN
- China
- Prior art keywords
- file
- script
- formatted text
- text
- content
- 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.)
- Granted
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The embodiment of the present application discloses a kind of document generating method, device and storage medium, belongs to field of computer technology.The described method includes: running the online Document Editing tool of more people;By the online Document Editing tool of more people, the first file of the first format is generated;The content in the first file is extracted, formatted text is generated;Formatted text is handled by text processing facilities, generates the second file of the second format.The embodiment of the present application realizes automatically by the Content Transformation in a file into another file, is not necessarily to the manual input file content of user, easy to operate, efficient.Also, since the first file is generated by the online Document Editing tool of more people, which supports more people to edit jointly, realizes the file content that more people edit jointly being converted to another file, take full advantage of the advantage of multiple person cooperational.
Description
Technical field
The invention relates to field of computer technology, in particular to a kind of document generating method, device and storage are situated between
Matter.
Background technique
In routine work and generating, it will usually use document or table to record some information, a such as Zhou Nei group is each
The work plan and job schedule of a member, the person liable etc. of the responsible each task of a team.
In the related art, if the information recorded in the file of a certain format show it is not intuitive clear enough in form
Chu can be incited somebody to action in the file of the information input recorded in this document to another format by the file of the another kind format
Above- mentioned information are more intuitive clearly to be showed.For example, the information in a document or table to be input to mind map item by item and draw
In tool processed, the mind map comprising above- mentioned information is drawn out.
However, the above process needs user manually by the information input recorded in a file into another file, behaviour
Make complicated, inefficient.
Summary of the invention
The embodiment of the present application provides a kind of document generating method, device and storage medium, can be used for solving the relevant technologies
Need user manually by the information input recorded in a file into another file, complicated for operation, inefficient problem.Technology
Scheme is as follows:
On the one hand, the embodiment of the present application provides a kind of document generating method, which comprises
Run the online Document Editing tool of more people;
By more online Document Editing tools of people, the first file of the first format is generated;
The content in first file is extracted, formatted text is generated;
The formatted text is handled by text processing facilities, generates the second file of the second format.
On the other hand, the embodiment of the present application provides a kind of file creating apparatus, and described device includes:
Tool runs module, for running the online Document Editing tool of more people;
First generation module, for generating the first file of the first format by more online Document Editing tools of people;
Second generation module generates formatted text for extracting the content in first file;
Third generation module generates the second lattice for handling by text processing facilities the formatted text
Second file of formula.
Another aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored in the storage medium
At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute
Code set or instruction set are stated as processor loads and executes to realize such as the document generating method as described in terms of above-mentioned.
Another aspect, the embodiment of the present application provide a kind of computer program product, when the computer program product is performed
When, it is used to execute document generating method described in above-mentioned aspect.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
By extracting in first file from the first file of the first format that the online Document Editing tool of more people generates
Content, generate formatted text, then the formatted text is handled by text processing facilities again, generation the second lattice
Second file of formula realizes automatically by the Content Transformation in a file into another file, manual without user
Input file content, it is easy to operate, efficient.
Also, since the first file is generated by the online Document Editing tool of more people, which supports that more people are total
With editor, realizes and the file content that more people edit jointly is converted into another file, take full advantage of the advantage of multiple person cooperational.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the flow chart for the document generating method that the application one embodiment provides;
Fig. 2 is the schematic diagram for the table creation page that the application one embodiment provides;
Fig. 3 is the schematic diagram for the table that the application one embodiment provides;
Fig. 4 is the schematic diagram for the sharing page that the application one embodiment provides;
Fig. 5 is the schematic diagram for the first file that the application one embodiment provides;
Fig. 6 is the schematic diagram for the formatted text that the application one embodiment provides;
Fig. 7 is the schematic diagram of the initial page for the mind map drawing tool that the application one embodiment provides;
Fig. 8 is the schematic diagram for the mind map that the application one embodiment provides;
Fig. 9 is the schematic diagram for the table that another embodiment of the application provides;
Figure 10, Figure 11 are the schematic diagrames of the script-editor page provided by the embodiments of the present application;
Figure 12 is the flow chart of the creation for the Map object that the application one embodiment provides;
Figure 13 is the flow chart of the generation for the formatted text that the application one embodiment provides;
Figure 14 is the block diagram for the file creating apparatus that the application one embodiment provides;
Figure 15 is the block diagram for the file creating apparatus that another embodiment of the application provides;
Figure 16 is the structural block diagram for the terminal that the application one embodiment provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
Referring to FIG. 1, the flow chart of the document generating method provided it illustrates the application one embodiment.This method can
To be executed by terminal, as terminal can be the electronics such as PC (Personal Computer, personal computer), tablet computer, mobile phone
Equipment.This method may include following steps:
Step 101, the online Document Editing tool of more people is run.
More online Document Editing tools of people be it is a kind of support multiple users simultaneously to the work checked, edited in line file
Tool.More online Document Editing tools of people can be is supplied to user's use in the form of application client, is also possible to
It is supplied to user's use in the form of web pages, the embodiment of the present application is not construed as limiting this.
Optionally, which supports to carry out the files such as document, table, lantern slide, list
Line editor, the embodiment of the present application are not construed as limiting file type.
Illustratively, the table provided Fig. 2 shows the online Document Editing tool of more people creates the page 10.Table creation
There is provided that there are many different forms to select for user in the page 10, for example, user click blank form creation control 11 can be with
A blank form is created, user, which clicks do list creation control 12, can create a do list.
Step 102, by the online Document Editing tool of more people, the first file of the first format is generated.
First file refers to that the file generated by the online Document Editing tool of more people, the first format refer to the text of the first file
Part format, such as the first file can be table, document or other formats.
Still taking the above example as an example, user can click the blank form creation control 11 in the table creation page 10 and create
A blank form 20 is built, which can be as shown in Figure 3.User edits blank form 20, and table is such as arranged
Lattice title " weekly ", and setting the corresponding content of gauge outfit 21, such as include member, work at present, amount of work, the time started,
State, progress etc..More online Document Editing tools of people have the function of sharing files, and user clicks shared control 22, jumps to
The sharing page 30 as shown in Figure 4.Sharing the page 30, the sharing link of the table can be generated in user, and by the sharing chain
At least one other user is given in sending and receiving, can check so that other users link according to the sharing, edit the table.It is exemplary
Ground, as shown in figure 4, user clicks " obtaining for shared link " control 31, generating should the corresponding sharing chain of " weekly " table
It connects, then user's selection " knowing anyone all editable of this link " option, and is inputted altogether in shared object input frame 32
Enjoy the name or e-mail address of object, then can should the corresponding sharing link of " weekly " table be sent to above-mentioned shared pair
As.As shown in figure 5, can link to open by the sharing and be somebody's turn to do " weekly " table 50 after shared object receives sharing link,
And it fills up a form according to gauge outfit 21.
Step 103, the content in the first file is extracted, formatted text is generated.
Formatted text refers to the text for carrying out typesetting to content according to preset format.For example, formatted text
In include several different levels data, same level alignment of data arrangement.
It may include the full content in the first file in formatted text, also may include in the part in the first file
Hold, the embodiment of the present application is not construed as limiting this.Formatted text can be generated by the online Document Editing tool of more people, can also be by
Third side plug generates, and the embodiment of the present application is not construed as limiting this.
Illustratively, in conjunction with reference Fig. 5 and Fig. 6, terminal extracts the content in " weekly " table 50 as shown in Figure 5, raw
At formatted text as shown in FIG. 6.
Step 104, formatted text is handled by text processing facilities, generates the second file of the second format.
Text processing facilities are a kind of tools for being handled text, and text handling implement can be to apply
The form of programmatic client is supplied to user's use, is also possible to be supplied to user's use, the embodiment of the present application in the form of web pages
This is not construed as limiting.
Content in second file includes the content of formatted text.Second format refers to the file format of the second file,
As the second file can be figure, table or other formats.Optionally, the first format and the second format are two different files
Format, such as the first format are document or table, and the second format is figure.
Position and presentation shape of each data that text processing facilities include according to formatted text in formatted text
Formula determines position and appearance form of each data in the second file.
Illustratively, when text processing facilities are mind map drawing tool, mind map drawing tool can be passed through
Formatted text is handled, mind map is generated.At this point it is possible to obtain mind map by following several sub-steps:
1, mind map drawing tool is run;
Mind map drawing tool refers to the tool for creating mind map.As shown in fig. 7, it illustrates the application one
The schematic diagram of the initial page 70 for the mind map drawing tool that a embodiment provides, user click " new in initial page 70
Build blank sheet " control 71, the figure creation page can be jumped to.
2, formatted text is affixed in the figure creation page that mind map drawing tool provides;
The figure creation page refers to the page for generating mind map.User is by formatted text from more people in line file
Duplication affixes in the figure creation page in edit tool.
3, according to formatted text, mind map is generated in the figure creation page.
After formatted text affixes to the figure creation page, mind map drawing tool can be according to formatted text packet
The each data and appearance form included generate corresponding mind map.Illustratively, user is literary by formatting as shown in FIG. 6
Originally it affixes in the figure creation page, generates mind map as shown in Figure 8.
In conclusion in technical solution provided by the embodiments of the present application, by being generated from the online Document Editing tool of more people
The first format the first file in, extract the content in first file, generate formatted text, then again by text
Science and engineering tool handles the formatted text, generates the second file of the second format, realizes a file automatically
In Content Transformation into another file, be not necessarily to the manual input file content of user, it is easy to operate, efficient.
Also, since the first file is generated by the online Document Editing tool of more people, which supports that more people are total
With editor, realizes and the file content that more people edit jointly is converted into another file, take full advantage of the advantage of multiple person cooperational.
In the alternative embodiment provided based on Fig. 2 embodiment, formatted text can be generated as follows:
The first, when getting script operating instruction, the script for generating formatted text is run.
Script operating instruction refers to the instruction for triggering Run Script.In the embodiment of the present application, foot is generated to triggering
The mode of this operating instruction is not construed as limiting, such as can be triggered by operational controls, voice, gesture mode.Terminal is being got
After script operating instruction, the script for generating formatted text is run.It " generates as shown in figure 9, user clicks and formats text
This " control 91, run the script for generating formatted text.
The above-mentioned script for generating formatted text can be write in advance by developer and be added online in more people
In Document Editing tool, user only needs to run the script when in use;Alternatively, the script can also voluntarily be write by user
And add in the online Document Editing tool of more people, the embodiment of the present application is not construed as limiting this.When the script is by developer
When writing in advance, the format of the formatted text generated by the script is fixed;When the script is voluntarily write by user
When, user can make free burial ground for the destitute by oneself and write the script according to the format of the formatted text of required generation, so that the lattice being subsequently generated
Formula text can preferably meet actual demand.
Optionally, script is generated by following steps:
1, the script-editor of more online Document Editing tools of people is run;
Still taking the above example as an example, there is " scripting editing under " tool " control 92 in the online Document Editing tool of more people
Device " control 93, user click " script-editor " control 93, then can run the script-editor, as shown in Figure 10, it illustrates
The schematic diagram of the scripting editing page 100 for the script-editor that the application one embodiment provides.
2, script is generated by script-editor.
User can use the script-editor and generate script.For example, as shown in Figure 10, foot of the user in script-editor
Script is write in this edit page 100.As shown in figure 11, user clicks " script generation " control after writing completion script
101, generate script.
The second, the content in the first file is extracted by script, generates formatted text.
In one example, the full content in the first file is extracted by script, generates formatted text;At another
In example, the partial content in the first file is extracted by script, generates formatted text.Which script extracts from the first file
A little contents can be determined when writing the script, and are incorporated into the script.
Optionally, this step includes following several sub-steps:
2.1, Map object is created by script;
Map object is for storing key-value pair.One key can correspond to one or more values.
2.2, the content in the first file is extracted by script, and the content is stored in the form of key-value pair to Map object
In;
With the first file for table shown in fig. 5, key is corresponding be title for, as shown in figure 12, the creation of Map object
Process can be as follows:
Step 201, new Map object is created;
Step 202, judge whether that the content in the first file can be found;If so, thening follow the steps 203;If it is not, then terminating
Process;
Step 203, title is found;
Step 204, judge in Map object with the presence or absence of key corresponding with the title;If it is not, thening follow the steps 205;If
It is to then follow the steps 206;
Step 205, increase a key in Map object;
Step 206, a record is added in the corresponding value of key.
Optionally, the corresponding value of key is recorded with array form.
2.3, Map object, output format text are traversed by script.
Optionally, step 2.3 includes following sub-step:
2.3.1, i-th stored in the form of key-value pair in Map object record is read by script, the initial value of i be 1 and
I is positive integer;
2.3.2, the corresponding main critical data of key in i-th record is exported by script, and after main critical data
Export the carriage return character;
2.3.3, the corresponding each secondary critical data of the value being sequentially output in i-th record by script, and each
Tab and carriage return character are exported after secondary critical data;
2.3.4, i=i+1 is enabled, and reads i-th stored in the form of key-value pair in Map object note from by script again
The step of record, starts to execute, and when in Map object without the record not being read, terminates process, obtains formatted text.
Using main critical data as title, secondary critical data is for work at present, state and progress, generation is such as Fig. 6 institute
The flow chart of the formatted text shown is as shown in figure 13:
Step 301, judge whether to find a record in Map object;If so, thening follow the steps 302;If it is not, then
Terminate process;
Step 302, title and carriage return are exported;
Step 303, work at present is found;
Step 304, tab and carriage return is added, is output in result;
Step 305, state and progress are found;
Step 306, tab and carriage return is added, is output in result.
In conclusion in technical solution provided by the embodiments of the present application, by by the data in the first file with key-value pair
Form store into Map object, and Map object is traversed by script, output format text realizes automatic using script
Change ground to read file content and generate formatted text, it is flexible and efficient.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Figure 14 is please referred to, it illustrates the block diagrams for the file creating apparatus that the application one embodiment provides.Device tool
Have and realize the exemplary function of the above method, the function it is real can also to be executed corresponding software by hardware realization by hardware
It is existing.The device 1400 may include: tool operation module 1410, the first generation module 1420, the second generation module 1430 and the
Three generation modules 1440.
The tool runs module 1410, for running the online Document Editing tool of more people.
First generation module 1420, for generating the first format by more online Document Editing tools of people
First file.
Second generation module 1430 generates formatted text for extracting the content in first file.
The third generation module 1440, it is raw for being handled by text processing facilities the formatted text
At the second file of the second format.
In conclusion in technical solution provided by the embodiments of the present application, by being generated from the online Document Editing tool of more people
The first format the first file in, extract the content in first file, generate formatted text, then again by text
Science and engineering tool handles the formatted text, generates the second file of the second format, realizes a file automatically
In Content Transformation into another file, be not necessarily to the manual input file content of user, it is easy to operate, efficient.
Optionally, the third generation module 1440, comprising: lead figure and generate submodule 1441.
It is described lead figure generate submodule 1441, for by mind map drawing tool to the formatted text at
Reason generates mind map.
Optionally, the figure of leading generates submodule 1441, is used for:
Run the mind map drawing tool;
The formatted text is affixed in the figure creation page that the mind map drawing tool provides;
According to the formatted text, the mind map is generated in the described image creation page.
Optionally, second generation module 1430, comprising: script runs submodule 1431 and text generation submodule
1432。
The script runs submodule 1431, for running for generating the lattice when getting script operating instruction
The script of formula text.
The text generation submodule 1432 is generated for extracting the content in first file by the script
The formatted text.
Optionally, the text generation submodule 1432, comprising: Object Creation unit 1433, content storage unit 1434
With text output unit 1435.
The Object Creation unit 1433, for creating Map object by the script.
The content storage unit 1434, for extracting the content in first file by the script, and by institute
Content is stated to be stored in the form of key-value pair into the Map object.
The text output unit 1435 exports the formatting text for traversing the Map object by the script
This.
Optionally, the text output unit 1435, is used for:
I-th stored in the form of the key-value pair in Map object record is read by the script, the i's
Initial value is 1 and the i is positive integer;
The corresponding main critical data of key in i-th record is exported by the script, and in the main crucial number
According to exporting the carriage return character later;
The corresponding each secondary critical data of value being sequentially output in i-th record by the script, and every
Tab and the carriage return character are exported after a secondary critical data;
I=i+1 is enabled, and is deposited in the form of the key-value pair from described read in the Map object by the script again
The step of i-th record of storage, starts to execute, and when in the Map object without the record not being read, terminates process, obtains
The formatted text.
Optionally, second generation module 1430, further includes: script generates submodule 1436.
The script generates submodule 1436, is used for:
Run the script-editor of the online Document Editing tool of more people;
The script is generated by the script-editor.
It should be noted that device provided by the above embodiment, when realizing its function, only with above-mentioned each functional module
It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution,
The content structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition,
Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this
In repeat no more.
Figure 16 is please referred to, it illustrates the structural block diagrams for the terminal 1600 that the application one embodiment provides.Such as PC, hand
Machine etc..The terminal 1600 can be used for implementing the document generating method provided in above-described embodiment.
In general, terminal 1600 includes: processor 1601 and memory 1602.
Processor 1601 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 1601 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 1601 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 1601 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1601 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 1602 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 1602 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1602 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1601 for realizing this Shen
Please in embodiment of the method provide document generating method.
In some embodiments, terminal 1600 is also optional includes: peripheral device interface 1603 and at least one periphery are set
It is standby.It can be connected by bus or signal wire between processor 1601, memory 1602 and peripheral device interface 1603.It is each outer
Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1603.Specifically, peripheral equipment can wrap
It includes: at least one of display screen 1604, voicefrequency circuit 1605, communication interface 1606 and power supply 1607.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1600 of structure shown in Figure 16
Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
In this example in embodiment, a kind of terminal is additionally provided, the terminal includes processor and memory, the storage
At least one instruction, at least a Duan Chengxu, code set or instruction set are stored in device.At least one instruction, at least one section
Program, code set or instruction set are configured to be executed by one or more than one processor, to realize above-mentioned file generated side
Method.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, is stored in the storage medium
At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute
It states code set or described instruction collection and realizes above-mentioned document generating method when being executed by the processor of terminal.
Optionally, above-mentioned computer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
In the exemplary embodiment, a kind of computer program product is additionally provided, when the computer program product is performed
When, for realizing above-mentioned document generating method.
It should be understood that referenced herein " multiple " refer to two or more."and/or", description association
The incidence relation of object indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A
And B, individualism B these three situations.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".In addition, herein
Described in number of steps, the merely exemplary a kind of possible execution sequencing shown between step, in some other implementations
In example, above-mentioned steps can not also be executed according to number order, and such as the step of two different numbers is performed simultaneously or two
The step of different numbers, executes according to the sequence opposite with diagram, and the embodiment of the present application is not construed as limiting this.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the exemplary embodiments of the application, all in spirit herein not to limit the application
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (10)
1. a kind of document generating method, which is characterized in that the described method includes:
Run the online Document Editing tool of more people;
By more online Document Editing tools of people, the first file of the first format is generated;
The content in first file is extracted, formatted text is generated;
The formatted text is handled by text processing facilities, generates the second file of the second format.
2. the method according to claim 1, wherein it is described by text processing facilities to the formatted text
It is handled, generates the second file of the second format, comprising:
The formatted text is handled by mind map drawing tool, generates mind map.
3. according to the method described in claim 2, it is characterized in that, it is described by mind map drawing tool to the formatting
Text is handled, and mind map is generated, comprising:
Run the mind map drawing tool;
The formatted text is affixed in the figure creation page that the mind map drawing tool provides;
According to the formatted text, the mind map is generated in the figure creation page.
4. method according to any one of claims 1 to 3, which is characterized in that interior in extraction first file
Hold, generate formatted text, comprising:
When getting script operating instruction, the script for generating the formatted text is run;
The content in first file is extracted by the script, generates the formatted text.
5. according to the method described in claim 4, it is characterized in that, described extracted in first file by the script
Content generates the formatted text, comprising:
Map object is created by the script;
The content in first file is extracted by the script, and the content is stored in the form of key-value pair to described
In Map object;
The Map object is traversed by the script, exports the formatted text.
6. according to the method described in claim 5, it is characterized in that, described traverse the Map object, output by the script
The formatted text, comprising:
I-th stored in the form of the key-value pair in Map object record is read by the script, the i's is initial
Value is that the 1 and i is positive integer;
By the script export it is described i-th record in the corresponding main critical data of key, and the main critical data it
After export the carriage return character;
The corresponding each secondary critical data of value being sequentially output in i-th record by the script, and in each institute
It states secondary critical data and exports tab and the carriage return character later;
I=i+1 is enabled, and reads the storage in the form of the key-value pair in the Map object by the script from described again
The step of i-th record, starts to execute, and when in the Map object without the record not being read, terminates process, obtains described
Formatted text.
7. according to the method described in claim 4, it is characterized in that, the script run for generating the formatted text
Before, further includes:
Run the script-editor of the online Document Editing tool of more people;
The script is generated by the script-editor.
8. a kind of file creating apparatus, which is characterized in that described device includes:
Tool runs module, for running the online Document Editing tool of more people;
First generation module, for generating the first file of the first format by more online Document Editing tools of people;
Second generation module generates formatted text for extracting the content in first file;
Third generation module generates the second format for handling by text processing facilities the formatted text
Second file.
9. device according to claim 8, which is characterized in that second generation module, comprising:
Script runs submodule, for running the foot for generating the formatted text when getting script operating instruction
This;
Text generation submodule generates the formatting text for extracting the content in first file by the script
This.
10. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction
Collection is loaded by processor and is executed to realize method as described in any one of claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910190146.XA CN109933766B (en) | 2019-03-13 | 2019-03-13 | File generation method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910190146.XA CN109933766B (en) | 2019-03-13 | 2019-03-13 | File generation method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109933766A true CN109933766A (en) | 2019-06-25 |
CN109933766B CN109933766B (en) | 2023-07-28 |
Family
ID=66986986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910190146.XA Active CN109933766B (en) | 2019-03-13 | 2019-03-13 | File generation method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109933766B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377910A (en) * | 2019-07-22 | 2019-10-25 | 北京大学 | A kind of processing method, device, equipment and the storage medium of table description |
CN111506543A (en) * | 2020-04-22 | 2020-08-07 | 北京奕为汽车科技有限公司 | M file generation method and device |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6424978B1 (en) * | 1997-12-05 | 2002-07-23 | Siemens Corporate Research, Inc. | Formatting card-based hypermedia documents by automatic scripting |
KR20080085105A (en) * | 2007-01-22 | 2008-09-23 | 김영주 | On-line collaborative authoring system and method for synchronizing |
US20120036210A1 (en) * | 2009-03-09 | 2012-02-09 | Rajaram Balajee | System and method to use collaborative mind maps |
WO2013032137A2 (en) * | 2011-08-29 | 2013-03-07 | (주) 마인드메이플코리아 | System and method for jointly editing a mind map |
US20130144917A1 (en) * | 2011-12-05 | 2013-06-06 | International Business Machines Corporation | Integrating mind mapping technology with case modeling |
US20140337790A1 (en) * | 2013-05-10 | 2014-11-13 | Moonjung Kim | Mobile terminal and method for controlling the same |
US20160342678A1 (en) * | 2015-05-21 | 2016-11-24 | Ronald Louis Newman | Manipulation of arbitrarily related data |
CN106294664A (en) * | 2016-08-03 | 2017-01-04 | 广州视睿电子科技有限公司 | A kind of method and apparatus generating mind map |
KR20170042956A (en) * | 2015-10-12 | 2017-04-20 | 삼성에스디에스 주식회사 | Mind map server, system and method for serving mind map of using the same |
WO2018134845A1 (en) * | 2017-01-18 | 2018-07-26 | Gaurav Goel | An improved system and method for handling contents of multiple formats |
CN108549664A (en) * | 2018-03-20 | 2018-09-18 | 北京道至易科技有限公司 | A kind of document file management system |
CN108595646A (en) * | 2018-04-26 | 2018-09-28 | 天津字节跳动科技有限公司 | The comment method and apparatus of online document |
CN108647305A (en) * | 2018-05-09 | 2018-10-12 | 天津字节跳动科技有限公司 | document format conversion method and device |
-
2019
- 2019-03-13 CN CN201910190146.XA patent/CN109933766B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6424978B1 (en) * | 1997-12-05 | 2002-07-23 | Siemens Corporate Research, Inc. | Formatting card-based hypermedia documents by automatic scripting |
KR20080085105A (en) * | 2007-01-22 | 2008-09-23 | 김영주 | On-line collaborative authoring system and method for synchronizing |
US20120036210A1 (en) * | 2009-03-09 | 2012-02-09 | Rajaram Balajee | System and method to use collaborative mind maps |
WO2013032137A2 (en) * | 2011-08-29 | 2013-03-07 | (주) 마인드메이플코리아 | System and method for jointly editing a mind map |
US20130144917A1 (en) * | 2011-12-05 | 2013-06-06 | International Business Machines Corporation | Integrating mind mapping technology with case modeling |
US20140337790A1 (en) * | 2013-05-10 | 2014-11-13 | Moonjung Kim | Mobile terminal and method for controlling the same |
US20160342678A1 (en) * | 2015-05-21 | 2016-11-24 | Ronald Louis Newman | Manipulation of arbitrarily related data |
KR20170042956A (en) * | 2015-10-12 | 2017-04-20 | 삼성에스디에스 주식회사 | Mind map server, system and method for serving mind map of using the same |
CN106294664A (en) * | 2016-08-03 | 2017-01-04 | 广州视睿电子科技有限公司 | A kind of method and apparatus generating mind map |
WO2018134845A1 (en) * | 2017-01-18 | 2018-07-26 | Gaurav Goel | An improved system and method for handling contents of multiple formats |
CN108549664A (en) * | 2018-03-20 | 2018-09-18 | 北京道至易科技有限公司 | A kind of document file management system |
CN108595646A (en) * | 2018-04-26 | 2018-09-28 | 天津字节跳动科技有限公司 | The comment method and apparatus of online document |
CN108647305A (en) * | 2018-05-09 | 2018-10-12 | 天津字节跳动科技有限公司 | document format conversion method and device |
Non-Patent Citations (2)
Title |
---|
华晓宇;陈国明;: "应用视角下思维导图软件的比较与选用策略", 现代教育技术, no. 01 * |
张海燕;刘小霞;: "思维导图工具集锦", 中国信息技术教育, no. 15 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377910A (en) * | 2019-07-22 | 2019-10-25 | 北京大学 | A kind of processing method, device, equipment and the storage medium of table description |
CN110377910B (en) * | 2019-07-22 | 2024-03-05 | 北京大学 | Processing method, device, equipment and storage medium for table description |
CN111506543A (en) * | 2020-04-22 | 2020-08-07 | 北京奕为汽车科技有限公司 | M file generation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109933766B (en) | 2023-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10997364B2 (en) | Operations on sound files associated with cells in spreadsheets | |
US9383888B2 (en) | Optimized joint document review | |
US20140195896A1 (en) | Conversion of a presentation to darwin information typing architecture (dita) | |
US20140164900A1 (en) | Appending content with annotation | |
US10353990B2 (en) | Creating accessible, translatable multimedia presentations | |
CN104267947A (en) | Method and device for editing popup picture | |
CN107145482A (en) | Article generation method and device, equipment and computer-readable recording medium based on artificial intelligence | |
CN106796584A (en) | Annotation is preserved as comment | |
TW201525730A (en) | Annotation hint display | |
CN101874233B (en) | Logical structure design surface | |
CN107016094A (en) | A kind of project shared file multi-person synergy development approach, apparatus and system | |
CN105867820A (en) | Text editing method and device for touch screen | |
CN111259644A (en) | Rich text processing method, editor, equipment and storage medium | |
CN109933766A (en) | Document generating method, device and storage medium | |
CN107133206A (en) | A kind of digital content makes and demonstration tool and its application | |
CN110688145B (en) | Android MVP code automatic generation method and device, medium and electronic equipment | |
CN111506306B (en) | Method and device for writing active script and electronic equipment | |
CN113031944B (en) | Business opening device and method based on template | |
CN110990006A (en) | Form management system and form generation device | |
KR101498533B1 (en) | Component separate display based electronic document display device and method | |
CN105718434A (en) | Natural language formula editing method and system | |
KR20140096225A (en) | Interactive multimedia E-book authoring apparatus and method | |
CN116225902A (en) | Method, device and equipment for generating test cases | |
KR20230016055A (en) | Video processing method, device, device and computer readable storage medium | |
KR102076550B1 (en) | Spreadsheet editing apparatus and method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |