CN109992759A - Table objects edit methods, device, electronic equipment and storage medium - Google Patents
Table objects edit methods, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109992759A CN109992759A CN201711479213.7A CN201711479213A CN109992759A CN 109992759 A CN109992759 A CN 109992759A CN 201711479213 A CN201711479213 A CN 201711479213A CN 109992759 A CN109992759 A CN 109992759A
- Authority
- CN
- China
- Prior art keywords
- table objects
- editable
- extracted
- objects
- independent
- 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
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000004590 computer program Methods 0.000 claims description 12
- 230000006870 function Effects 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 3
- 230000001174 ascending effect Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000011897 real-time detection Methods 0.000 description 3
- 241000406668 Loxodonta cyclotis Species 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000017105 transposition Effects 0.000 description 1
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/177—Editing, e.g. inserting or deleting of tables; using ruled lines
-
- 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/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
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)
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a kind of table objects edit methods, device, electronic equipment and storage medium, this programme can decide whether the preset condition for meeting independent display table objects;If it is satisfied, generating the independent editable page;Extract the content and format of table objects to be extracted in destination document;It creates and shows on the independent editable page: the editable table objects with extracted content and format;Then when obtaining the target edit instruction for being directed to the editable table objects;According to the target edit instruction, the editable table objects are edited.Compared with prior art, the had content of editable table objects in this programme is identical as the had content of table objects to be extracted, user achieves that the indirect editor to the table objects to be extracted by editing above-mentioned editable table objects, meets at present for editor's demand of table objects embedded in electronic document.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of table objects edit methods, device, electronic equipment
And storage medium.
Background technique
Show data content in order to simple and clear, in word or file, presentation file, PDF (Portable
Document Format, portable document format) in the electronic documents such as document, table objects can be set, needs are showed
Data content is placed into table objects, so it is clear and concise by data content exposure to user, as shown in Figure 1, text is literary
A table objects are provided in shelves.With popularizing for paperless office, the above-mentioned electronic document for being provided with table objects makes
With very generally.
It is a part in electronic document that the table objects in above-mentioned electronic document, which are arranged in, is directed in these electronic documents
Table objects do not support editing service usually, and e.g., the table in PDF document can not be edited;Or it is only propped up for table objects
Simple editing service is held, such as the table in word or file can only carry out editing fonts, font size operation, but can not carry out weight
New sort operation.
So presently, there are the eager demands edited to the table objects in above-mentioned electronic document.
Summary of the invention
Be designed to provide a kind of table objects edit methods, device, electronic equipment and the storage of the embodiment of the present invention are situated between
Matter, to realize the editor to table objects in electronic document.Specific technical solution is as follows:
In order to achieve the above object, in a first aspect, the embodiment of the invention provides a kind of table objects edit methods, the method
Include:
Judge whether the preset condition for meeting independent display table objects;
If it is satisfied, generating the independent editable page;
Extract the content and format of table objects to be extracted in destination document;
It creates and shows on the independent editable page: the editable table pair with extracted content and format
As;
Obtain the target edit instruction for being directed to the editable table objects;
According to the target edit instruction, the editable table objects are edited.
Optionally, the target edit instruction is ordering instruction;
Correspondingly, described according to the target edit instruction, the step of editing the editable table objects, comprising:
According to the ordering instruction, the editable table objects are ranked up.
It is optionally, described to judge whether the step of meeting the preset condition of independent display table objects, comprising:
With the presence or absence of table objects to be extracted in the content that detection destination document is currently shown;
If it does, determining the preset condition for meeting independent display table objects.
It is optionally, described to judge whether the step of meeting the preset condition of independent display table objects, comprising:
Judge whether to obtain the independent idsplay order for table objects to be extracted in destination document that user inputs;
If it is, determining the preset condition for meeting independent display table objects.
Optionally, described according to the target edit instruction, after the step of editing the editable table objects, institute
State method further include:
By the table objects to be extracted replacement in the destination document are as follows: the edited editable table objects.
Optionally, the independent editable page includes the H5 page or client's end page with displaying table objects function
Face.
Second aspect, the embodiment of the invention provides a kind of table objects editing device, described device includes:
Judgment module, the preset condition for judging whether to meet independent display table objects;
Generation module, for generating the independent editable page in the case where the judging result of the judgment module, which is, is;
Extraction module, for extracting the content and format of table objects to be extracted in destination document;
Creation module, for creating and showing on the independent editable page: with extracted content and format
Editable table objects;
Module is obtained, for obtaining the target edit instruction for being directed to the editable table objects;
Editor module, for editing the editable table objects according to the target edit instruction.
Optionally, the target edit instruction is ordering instruction;
Correspondingly, the editor module, is specifically used for:
According to the ordering instruction, the editable table objects are ranked up.
Optionally, the judgment module, is specifically used for:
With the presence or absence of table objects to be extracted in the content that detection destination document is currently shown;
If it does, determining the preset condition for meeting independent display table objects.
Optionally, the judgment module, is specifically used for:
Judge whether to obtain the independent idsplay order for table objects to be extracted in destination document that user inputs;
If it is, determining the preset condition for meeting independent display table objects.
Optionally, described device further include:
Replacement module, for edited in the editable table objects, by the table to be extracted in the destination document
Lattice object replacement are as follows: the edited editable table objects.
Optionally, the independent editable page includes the H5 page or client's end page with displaying table objects function
Face.
The third aspect, the embodiment of the invention provides a kind of electronic equipment, including processor and memory, in which:
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described table objects edit methods institute
The method and step stated.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Dielectric memory contains computer program, and the computer program realizes any of the above-described table objects editing side when being executed by processor
Method and step described in method.
5th aspect, the embodiment of the invention provides a kind of computer program products comprising instruction, when it is in computer
When upper operation, so that computer executes method and step described in any of the above-described table objects edit methods.
6th aspect, the embodiment of the invention provides a kind of computer programs, when run on a computer, make to succeed in one's scheme
Calculation machine executes method and step described in any of the above-described table objects edit methods.
As known from the above, in scheme provided in an embodiment of the present invention, it can be determined that whether meet independent display table objects
Preset condition;If it is satisfied, generating the independent editable page;Extract the content and lattice of table objects to be extracted in destination document
Formula;It creates and shows on the independent editable page: the editable table objects with extracted content and format;Then
When obtaining the target edit instruction for being directed to the editable table objects;It, can described in editor according to the target edit instruction
Edit table objects.
Compared with prior art, in scheme provided in an embodiment of the present invention, editable table objects are with aforementioned wait mention
The table objects of table objects content and format are taken, so the had content of editable table objects and table objects institute to be extracted
Identical with content, user achieves that the indirect volume to the table objects to be extracted by editing above-mentioned editable table objects
Volume, meet at present for editor's demand of table objects embedded in electronic document;In addition, if in editable table objects quilt
After editor, above-mentioned table objects to be extracted are replaced with edited editable table objects, be both equivalent to table pair to be extracted
The direct editing of elephant.
Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach all the above excellent simultaneously
Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the terminal interface schematic diagram for being provided with the word or file of table objects;
Fig. 2 is a kind of flow diagram of table objects edit methods provided in an embodiment of the present invention;
Fig. 3 be the present embodiments relate to displaying have editable table objects the independent editable page a kind of signal
Figure;
Fig. 4 be for the present embodiments relate to displaying have editable table objects the independent editable page another kind
Schematic diagram;
Fig. 5 is a kind of structural schematic diagram of table objects editing device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In order to realize the edit operation for the table objects being embedded in electronic document, the present invention provides a kind of tables pair
As edit methods, device, electronic equipment and storage medium, first below to a kind of table objects edit methods provided by the invention
It describes in detail.
Firstly the need of explanation, it is mechanical, electrical that table objects edit methods provided in an embodiment of the present invention can be applied to hand
The terminals such as brain, the terminal can open it is aforementioned include the electronic document of table objects, such as the hand of PDF reader is installed
Machine, the embodiment of the present invention do not limit the specific type of the terminal.In addition, method provided in an embodiment of the present invention can be at end
What end executed in the case where opening following destination documents.
A kind of table objects edit methods provided in an embodiment of the present invention, as shown in Fig. 2, the method includes S101~
S106:
S101: judge whether the preset condition for meeting independent display table objects.
Whether the terminal that the preset condition can be the embodiment of the present invention needs to be implemented sentencing for following step S102~S106
Broken strip part, if meeting the preset condition, terminal executes following step S102~S106, and otherwise terminal does not execute following step
S102~S106.In the embodiment of the present invention, the specific implementation of step S101 can be varied, and the embodiment of the present invention is simultaneously
The specific implementation of step S101 is not limited.
It is described to judge whether to meet independent display table objects as a kind of optional implementation of the embodiment of the present invention
The step of preset condition (S101), may include:
With the presence or absence of table objects to be extracted in the content that detection destination document is currently shown;
If it does, determining the preset condition for meeting independent display table objects.
Destination document can be the document that has been opened on the display interface of above-mentioned terminal, and the type of the destination document can be with
It is word or file, such as WPS (Word Processing System, word processor) word or file, Microsoft of Kingsoft software
Word document;The type of the destination document is also possible to presentation file, such as the WPS presentation file of Kingsoft software, the PPT of Microsoft
(PowerPoint) document;The type of the destination document can also be that PDF document etc., the embodiment of the present invention do not limit the target
The specific type of document.
For example, user, which currently passes through terminal, checks a PDF document, then the PDF document can be used as implementation of the present invention
Destination document in example.
It should be noted that above-mentioned table objects to be extracted can be complete table objects in destination document,
It can be the table objects that the unit lattice in destination document in complete table object are constituted.As shown in Figure 1, in text text
Table objects are embedded in shelves, wherein the word content in word or file in addition to table objects is not shown;It is complete in Fig. 1
Table objects can be used as the table objects to be extracted in the embodiment of the present invention.
And user is during checking destination document, if the display interface of terminal only shows in destination document one
The unit lattice of complete table object, then the unit lattice having shown that at table objects can be used as it is of the invention real
Apply the table objects to be extracted in example;Such as assume that the display interface of terminal only shows preceding 10 of complete table objects in Fig. 1
Row cell, the then table objects that the preceding 10 row cell having shown that on the display interface of terminal is constituted can be used as the present invention
Table objects to be extracted in embodiment.
In this implementation, for destination document, terminal can be to be currently displayed in end in real-time detection destination document
It whether there is above-mentioned table objects to be extracted in content on the display interface at end, if it is present determining to meet independent display
The preset condition of table objects.
It is appreciated that in aforementioned implementation, as long as the form image to be extracted in destination document is revealed, just
It can directly determine the preset condition for meeting independent display table objects, but be not every in destination document in some cases
One table objects requires independently to be shown, for example, user does not need to compile the data content in table objects
Volume etc., so the optional implementation of another kind as the embodiment of the present invention, described to judge whether to meet independent display table pair
The step of preset condition (S101) of elephant, may include:
Judge whether to obtain the independent idsplay order for table objects to be extracted in destination document that user inputs;If
It obtains, determines the preset condition for meeting independent display table objects.
The concrete mode that user inputs above-mentioned independent idsplay order has very much, such as first way: above-mentioned terminal is examined in real time
Whether include table objects, if detected the presence of, generating one is if surveying in the content that destination document is currently revealed
The no prompt information independently shown, and shown in the display interface of terminal, so that user is needing detected by editor
Table objects in the case where, independent idsplay order of the input for the table objects being detected in destination document.
Illustratively, it includes table objects A that terminal, which detects in content that destination document is currently revealed, then is directed to
The table objects generate a prompt information whether independently shown, and show a dialogue in the display interface of terminal
Frame: " whether the table objects currently shown need independent display ", and the bottom of the dialog box is also set up there are two virtual push button
"Yes" and "No", after user sees the dialog box, if clicking virtual push button "Yes", terminal acquisition user's input is directed to table
The independent idsplay order of lattice object A.
For another example the second way: in the content that above-mentioned terminal real-time detection destination document is currently revealed whether include
Table objects are directly shown in terminal display interface locating for the table objects being detected if detected the presence of
A button that can be clicked is generated in region, after user clicks button, terminal directly obtains being detected for this for user's input
The independent idsplay order of the table objects arrived.
For another example the third mode, user show during browsing above-mentioned destination document when on the display interface of terminal
When having table objects, user can be double-clicked or frame selects the table objects, and terminal obtains the double-click that user is directed to the table objects
Or when frame selection operation signal, directly determine that itself obtains the independent idsplay order for the table objects of user's input.
Certainly, above-mentioned three kinds more specific implementations are only the exemplary introductions to the embodiment of the present invention, and the present invention is real
It applies example and does not limit the independence for table objects to be extracted in destination document that terminal judges whether acquisition user's input herein
The specific implementation of idsplay order.
It is appreciated that identical with a upper implementation be, in this implementation, table objects to be extracted can be target
Complete table objects in document, the table completely shown as shown in figure 1;Optionally, the table objects to be extracted can also be with
For the sub-table object chosen in the complete table object in the destination document by user.
The sub-table object can be made of new the unit lattice in the complete table object in destination document
Table objects, for example, the preceding 12 row cell of complete table objects can form a new table objects in Fig. 1, this is new
Table objects belong to the complete table object in above-mentioned destination document, so be referred to as complete table object sub-table pair
As.
Illustratively, destination document currently shows complete table object, which is to have 20 rows, 6 column
Table objects, user utilize mouse frame to select preceding 15 row and preceding 4 column of complete table object in the display interface, then terminal at this time
Can using 15 rows before the complete table object and preceding 4 the constituted sub-table object of column as in the embodiment of the present invention wait mention
Table objects are taken, and determine that the independent display for table objects to be extracted in destination document for itself obtaining user's input refers to
It enables.
If the judging result of step S101 be it is yes, execute step S102: generate the independent editable page.
The independent editable page can refer to the page separate and distinct from displaying target document, it should be noted that should
Independent editable page needs are used to creation table objects, so the independent editable page should be that can support creation simultaneously
Show the page of table objects.
In the embodiment of the present invention, the independent editable page may include the H5 page or have show table objects function
The customer terminal webpage of energy.Wherein, H5 is also referred to as Html (hypertext markup language) 5.
It is above-mentioned that there is the page for showing the customer terminal webpage of table objects function as a kind of client, and the client has
There is the function of showing table objects, such as the client is the common spread sheet software of spreadsheet of Kingsoft software, the present invention
Embodiment does not limit the specific type of the client.
S103: the content and format of table objects to be extracted in destination document are extracted.
Wherein, the content in table objects to be extracted can be understood as the text (including number) in table objects to be extracted
Content, the row that the format in table objects to be extracted can be understood as table objects to be extracted is high, the high format of column, and the present invention is real
Apply that example does not limit the content of the table objects to be extracted and format is referred to has meaning, it is only necessary to guarantee that terminal can be by
Content and format according to table objects to be extracted construct table objects identical with table objects to be extracted displaying content.
S104: it creates and shows on the independent editable page: the editable table with extracted content and format
Lattice object.
It is appreciated that in the word content for including in editable table objects and the text for including in table objects to be extracted
Hold identical, for example, table objects in Fig. 1 are the table objects to be extracted in the embodiment of the present invention, the table objects in Fig. 2 are
Editable table objects in the embodiment of the present invention, it is found that although table objects to be extracted are with editable table objects
Table objects on the different pages, but word content shown by the two is identical.In addition, the editable table objects branch
Editor is held, user can be instructed with input editing to its corresponding edit operation of progress.
S105: the target edit instruction for being directed to the editable table objects is obtained.
The target edit instruction usually can be user's input, the above-mentioned editable table objects of editor edit instructions,
In the embodiment of the present invention, which can be any type edit instruction for editable table objects, such as adjust
Whole font, adjustment font size, Merge Cells, insertion text or the instruction for modifying text etc., the embodiment of the present invention and the unlimited mesh
Mark the specific type of edit instruction.
Example 1, after above-mentioned editable table objects are revealed, the font size of text is 8 pounds in editable table objects,
In order to more clearly see the word content in editable table objects, user clicks on interface selects font for " 10
Pound ", then terminal obtains the target edit instruction for being directed to the editable table objects, and the target edit instruction are as follows: can compile
Collect the edit instruction that the text font size in table objects is revised as " 10 pounds ".
Example 2, after above-mentioned editable table objects are revealed, cell 1 of the user in editable table objects
Middle input text " Kingsoft ", then terminal obtains the target edit instruction for being directed to editable table objects, and the target edit instruction
Are as follows: the edit instruction in text " Kingsoft " will be inserted into the cell 1 in editable table objects.
S106: according to the target edit instruction, the editable table objects are edited.
After the target edit instruction editor editable table objects, the above-mentioned independent editable page shows and is compiled
Editable table objects after volume.As above-mentioned example 1 is compiled after the target edit instruction editor editable table objects
The font size for the text in editable table objects collected is 10 pounds;For another example above-mentioned example 2, according to target edit instruction editor, this can
After editing table objects, in editable table objects to be edited, text " Kingsoft " is inserted into cell 1.
Although being appreciated that in the embodiment of the present invention that final table objects to be edited are the editable table objects,
It is that content in the editable table objects is identical as aforementioned table objects to be extracted, so user is by editing the editable table
Lattice object is equivalent to and edits above-mentioned table objects to be extracted indirectly.
In addition, user after having checked the editable table objects, can close the above-mentioned independent editable page, Jin Erji
The continuous other content checked in destination document.
In the embodiment of the present invention, in order to achieve the effect that the above-mentioned table objects to be extracted of direct editing, described according to institute
After the step of stating target edit instruction, editing editable table objects (S106), the method can also include:
By the table objects to be extracted replacement in the destination document are as follows: the edited editable table objects.
I.e. in embodiments of the present invention, it in above-mentioned destination document, is replaced completely with edited editable table objects
Fall original table objects to be extracted, completes the direct editing to table objects to be extracted.
Illustratively, above-mentioned destination document is PDF document, and user has found that there are wrong words " to sing in table objects to be extracted
Brother ", then user " can will sing brother " for the input of editable table objects corresponding to table objects to be extracted and replace with " singing "
Target edit instruction, it is original in editable table objects after editing the editable table objects according to the target edit instruction
" singing brother " be replaced by " singing ", the table objects to be extracted in destination document can be replaced at this time are as follows: it is edited can
Edit table objects.
Optionally, edited in editable table objects, terminal can directly execute above-mentioned by the target text automatically
Table objects to be extracted replacement in shelves are as follows: the step of the edited editable table objects;And as another optional
Implementation, terminal can after the replacement instruction for receiving user's transmission, just execute it is above-mentioned by the destination document to
Extract table objects replacement are as follows: the step of the edited editable table objects.
For example, editable table objects are edited, generated on the above-mentioned independent editable page and show " whether replace text
The prompting frame of table objects in shelves ", there are also virtual push button "Yes" and "No" under the prompting frame, user clicks "Yes", and then terminal is connect
Replacement instruction is received, the above-mentioned table objects to be extracted by the destination document is executed and replaces are as follows: can be compiled described in edited
The step of collecting table objects.
As optional implementation a kind of in the embodiment of the present invention, the target edit instruction is ordering instruction.
It is appreciated that the ordering instruction can be and pre-enter, it is also possible to user and checks above-mentioned editable table
It is inputted after object.Wherein, ordering instruction can refer to the finger how to sort according to specified rule to the data in table objects
It enables, the sequence of table objects can be common ascending order, descending or any customized sortord.
Illustratively, as shown in figure 3, in the above-mentioned independent editable page other than showing editable table objects,
Independent editable page bottom is additionally provided with " sequence " button;As shown in figure 4, user can choose in editable table objects
A certain column, then click " sequence " button, then the independent editable page pop up three options " ascending sort ", " descending sort " with
And " customized sequence ", user click a certain option, can input ordering instruction corresponding with institute's click option, such as click
" ascending sort ", then terminal obtains the ordering instruction of ascending sort.
Certainly, above-mentioned example explanation, which is not constituted, limits the embodiment of the present invention, and those skilled in the art completely can be with
The ordering instruction is obtained based on other modes.
Correspondingly, described according to the target edit instruction, the step of editing the editable table objects, comprising:
According to the ordering instruction, the editable table objects are ranked up.
Such as Fig. 4, " B " in editable table objects is currently chosen to arrange, if the ordering instruction is specially " ascending sort "
Instruction, then terminal is according to the ordering instruction, and after being ranked up to editable table objects, rower is that two rows of " 2 " and " 3 " need
Transposition completes the sequence carried out to editable table objects.
In addition, can equally be executed above-mentioned by the target text after the editable table objects are performed sorting operation
Table objects to be extracted replacement in shelves are as follows: the step of the edited editable table objects.
It is appreciated that cannot achieve in the non-form document such as current word or file, presentation file and PDF document
To the sorting operation of table objects, and the embodiment of the present invention can be realized by aforesaid operations, be met at present to being embedded in document
Table objects be ranked up the demand of operation.
As known from the above, in scheme provided in this embodiment, editable table objects are with aforementioned table pair to be extracted
As the table objects of content and format, so the had content of editable table objects and the had content of table objects to be extracted
Identical, user achieves that the indirect editor to the table objects to be extracted by editing above-mentioned editable table objects, meets
At present for editor's demand of table objects embedded in electronic document;In addition, if edited in editable table objects,
Above-mentioned table objects to be extracted are replaced with edited editable table objects, be both equivalent to the direct of table objects to be extracted
Editor.
Come below by a specific example to a kind of table objects edit methods progress letter provided in an embodiment of the present invention
It is single to introduce.
As shown in Figure 1, destination document is a word or file, and it include table objects in the word or file, the table objects
For a list of results, under display state as shown in Figure 1, in the content that terminal real-time detection is presently displaying into the destination document
There are table objects to be extracted, i.e., table objects shown in FIG. 1.Then terminal generates a H5 page at this time;Then, terminal mentions again
The content and format of the table objects to be extracted are taken, and creates and shows on the H5 page generated: there is extracted content
With the editable table objects of format, as shown in Figure 3.
In the above-mentioned independent editable page other than showing editable table objects, independent editable page bottom is also
It is provided with " sequence " button;As shown in figure 4, user can choose a certain column in editable table objects, then click the " row
Sequence " button, then the independent editable page pops up three options " ascending sort ", " descending sort " and " customized sequence ", uses
" descending sort " is clicked at family, then terminal obtains the ordering instruction of descending sort.
Then, terminal is ranked up operation to editable table objects according to the instruction of the descending sort.In addition, the H5
The upper right corner setting of the page virtual close button as shown in Figure 3 and Figure 4, when user clicks the close button, which can
The prompting frame of " whether replacing the table objects in document " can be popped up in editing interface, there are also virtual push buttons under the prompting frame
"Yes" and "No", user click "Yes", then terminal receives replacement instruction, and terminal is by the table to be extracted in destination document at this time
Object replaces with the editable table objects after sequence, turns off the independent editable page;If clicking "No", terminal is straight
It connects and closes the independent editable page, so that user continues the other content in browsing objective document.
Corresponding to embodiment of the method shown in Fig. 2, the embodiment of the invention also provides a kind of table objects editing devices, such as scheme
Shown in 5, described device includes:
Judgment module 110, the preset condition for judging whether to meet independent display table objects;
Generation module 120, in the case where the judging result of the judgment module 110, which is, is, generating can independently to be compiled
Collect the page;
Extraction module 130, for extracting the content and format of table objects to be extracted in destination document;
Creation module 140, for creating and showing on the independent editable page: having extracted content and format
Editable table objects;
Module 150 is obtained, for obtaining the target edit instruction for being directed to the editable table objects;
Editor module 160, for editing the editable table objects according to the target edit instruction.
Optionally, the target edit instruction is ordering instruction;
Correspondingly, the editor module, can be specifically used for:
According to the ordering instruction, the editable table objects are ranked up.
As a kind of optional implementation of the embodiment of the present invention, the judgment module 110 can be specifically used for:
With the presence or absence of table objects to be extracted in the content that detection destination document is currently shown;
If it does, determining the preset condition for meeting independent display table objects.
As the optional implementation of another kind of the embodiment of the present invention, the judgment module can be specifically used for:
Judge whether to obtain the independent idsplay order for table objects to be extracted in destination document that user inputs;
If it is, determining the preset condition for meeting independent display table objects.
Optionally, described device can also include:
Replacement module, for edited in the editable table objects, by the table to be extracted in the destination document
Lattice object replacement are as follows: the edited editable table objects.
Optionally, the independent editable page may include the H5 page or the client with displaying table objects function
End page face.
As known from the above, in scheme provided in this embodiment, editable table objects are with aforementioned table pair to be extracted
As the table objects of content and format, so the had content of editable table objects and the had content of table objects to be extracted
Identical, user achieves that the indirect editor to the table objects to be extracted by editing above-mentioned editable table objects, meets
At present for editor's demand of table objects embedded in electronic document;In addition, if edited in editable table objects,
Above-mentioned table objects to be extracted are replaced with edited editable table objects, be both equivalent to the direct of table objects to be extracted
Editor.
Corresponding to embodiment of the method shown in Fig. 2, the embodiment of the invention also provides a kind of electronic equipment, as shown in fig. 6, packet
Include processor 210 and memory 220, wherein
Memory 220, for storing computer program;
Processor 210 when for executing the program stored on memory 220, realizes following steps:
Judge whether the preset condition for meeting independent display table objects;
If it is satisfied, generating the independent editable page;
Extract the content and format of table objects to be extracted in destination document;
It creates and shows on the independent editable page: the editable table pair with extracted content and format
As;
Obtain the target edit instruction for being directed to the editable table objects;
According to the target edit instruction, the editable table objects are edited.
Specific implementation and relevant explanation content about each step of this method may refer to above-mentioned method shown in Fig. 2
Embodiment, this will not be repeated here.
Above-mentioned electronic equipment can have the communication interface realized and communicated between above-mentioned electronic equipment and other equipment.
Above-mentioned processor 210, communication interface, memory 220 complete mutual communication by communication bus, this place
It is total that the communication bus mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI)
Line or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..This is logical
Letter bus can be divided into address bus, data/address bus, control bus etc..
Memory 220 may include random access memory (Random Access Memory, RAM), also may include
Nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory
It can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor 210 can be general processor, including central processing unit (Central Processing
Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital
Signal Processing, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components.
As known from the above, in scheme provided in this embodiment, editable table objects are with aforementioned table pair to be extracted
As the table objects of content and format, so the had content of editable table objects and the had content of table objects to be extracted
Identical, user achieves that the indirect editor to the table objects to be extracted by editing above-mentioned editable table objects, meets
At present for editor's demand of table objects embedded in electronic document;In addition, if edited in editable table objects,
Above-mentioned table objects to be extracted are replaced with edited editable table objects, be both equivalent to the direct of table objects to be extracted
Editor.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can
It reads to be stored with instruction in storage medium, when run on a computer, so that computer executes any institute in above-described embodiment
The table objects edit methods stated.
As known from the above, in scheme provided in this embodiment, editable table objects are with aforementioned table pair to be extracted
As the table objects of content and format, so the had content of editable table objects and the had content of table objects to be extracted
Identical, user achieves that the indirect editor to the table objects to be extracted by editing above-mentioned editable table objects, meets
At present for editor's demand of table objects embedded in electronic document;In addition, if edited in editable table objects,
Above-mentioned table objects to be extracted are replaced with edited editable table objects, be both equivalent to the direct of table objects to be extracted
Editor.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it
When running on computers, so that computer executes method and step described in any of the above-described table objects edit methods.
As known from the above, in scheme provided in this embodiment, editable table objects are with aforementioned table pair to be extracted
As the table objects of content and format, so the had content of editable table objects and the had content of table objects to be extracted
Identical, user achieves that the indirect editor to the table objects to be extracted by editing above-mentioned editable table objects, meets
At present for editor's demand of table objects embedded in electronic document;In addition, if edited in editable table objects,
Above-mentioned table objects to be extracted are replaced with edited editable table objects, be both equivalent to the direct of table objects to be extracted
Editor.
In another embodiment provided by the invention, a kind of computer program is additionally provided, when it runs on computers
When, so that computer executes method and step described in any of the above-described table objects edit methods.
As known from the above, in scheme provided in this embodiment, editable table objects are with aforementioned table pair to be extracted
As the table objects of content and format, so the had content of editable table objects and the had content of table objects to be extracted
Identical, user achieves that the indirect editor to the table objects to be extracted by editing above-mentioned editable table objects, meets
At present for editor's demand of table objects embedded in electronic document;In addition, if edited in editable table objects,
Above-mentioned table objects to be extracted are replaced with edited editable table objects, be both equivalent to the direct of table objects to be extracted
Editor.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For electronic equipment, computer readable storage medium, computer program product and computer program embodiments, since it is basic
It is similar to embodiment of the method, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (14)
1. a kind of table objects edit methods, which is characterized in that the described method includes:
Judge whether the preset condition for meeting independent display table objects;
If it is satisfied, generating the independent editable page;
Extract the content and format of table objects to be extracted in destination document;
It creates and shows on the independent editable page: the editable table objects with extracted content and format;
Obtain the target edit instruction for being directed to the editable table objects;
According to the target edit instruction, the editable table objects are edited.
2. the method according to claim 1, wherein the target edit instruction is ordering instruction;
Correspondingly, described according to the target edit instruction, the step of editing the editable table objects, comprising:
According to the ordering instruction, the editable table objects are ranked up.
3. the method according to claim 1, wherein described judge whether to meet the pre- of independent display table objects
If the step of condition, comprising:
With the presence or absence of table objects to be extracted in the content that detection destination document is currently shown;
If it does, determining the preset condition for meeting independent display table objects.
4. the method according to claim 1, wherein described judge whether to meet the pre- of independent display table objects
If the step of condition, comprising:
Judge whether to obtain the independent idsplay order for table objects to be extracted in destination document that user inputs;
If it is, determining the preset condition for meeting independent display table objects.
5. method according to any one of claims 1 to 4, which is characterized in that described according to the target edit instruction,
After the step of editing the editable table objects, the method also includes:
By the table objects to be extracted replacement in the destination document are as follows: the edited editable table objects.
6. according to the method described in claim 5, it is characterized in that, the independent editable page includes the H5 page or has
Show the customer terminal webpage of table objects function.
7. a kind of table objects editing device, which is characterized in that described device includes:
Judgment module, the preset condition for judging whether to meet independent display table objects;
Generation module, for generating the independent editable page in the case where the judging result of the judgment module, which is, is;
Extraction module, for extracting the content and format of table objects to be extracted in destination document;
Creation module, for creating and showing on the independent editable page: compiling with extracted content and format
Collect table objects;
Module is obtained, for obtaining the target edit instruction for being directed to the editable table objects;
Editor module, for editing the editable table objects according to the target edit instruction.
8. device according to claim 7, which is characterized in that the target edit instruction is ordering instruction;
Correspondingly, the editor module, is specifically used for:
According to the ordering instruction, the editable table objects are ranked up.
9. device according to claim 7, which is characterized in that the judgment module is specifically used for:
With the presence or absence of table objects to be extracted in the content that detection destination document is currently shown;
If it does, determining the preset condition for meeting independent display table objects.
10. device according to claim 7, which is characterized in that the judgment module is specifically used for:
Judge whether to obtain the independent idsplay order for table objects to be extracted in destination document that user inputs;
If it is, determining the preset condition for meeting independent display table objects.
11. according to the described in any item devices of claim 7~10, which is characterized in that described device further include:
Replacement module, for edited in the editable table objects, by the table pair to be extracted in the destination document
As replacement are as follows: the edited editable table objects.
12. device according to claim 11, which is characterized in that the independent editable page includes the H5 page or tool
There is the customer terminal webpage for showing table objects function.
13. a kind of electronic equipment, which is characterized in that including processor and memory, in which:
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1~6.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program realizes claim 1~6 any method and step when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711479213.7A CN109992759B (en) | 2017-12-29 | 2017-12-29 | Table object editing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711479213.7A CN109992759B (en) | 2017-12-29 | 2017-12-29 | Table object editing method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109992759A true CN109992759A (en) | 2019-07-09 |
CN109992759B CN109992759B (en) | 2023-12-01 |
Family
ID=67108976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711479213.7A Active CN109992759B (en) | 2017-12-29 | 2017-12-29 | Table object editing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109992759B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111797603A (en) * | 2020-07-02 | 2020-10-20 | 北京字节跳动网络技术有限公司 | Method and device for browsing table in document, electronic equipment and storage medium |
CN112329401A (en) * | 2019-08-05 | 2021-02-05 | 珠海金山办公软件有限公司 | Document management method and device and electronic equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040210818A1 (en) * | 2002-06-28 | 2004-10-21 | Microsoft Corporation | Word-processing document stored in a single XML file that may be manipulated by applications that understand XML |
CN1848081A (en) * | 2000-04-14 | 2006-10-18 | 皮克塞(研究)有限公司 | User interface systems and methods for viewing and manipulating digital documents |
CN101866335A (en) * | 2010-06-14 | 2010-10-20 | 深圳市万兴软件有限公司 | Form processing method and device in document conversion |
JP2011141677A (en) * | 2010-01-06 | 2011-07-21 | Canon Inc | Apparatus and method for digitizing documents |
CN102982089A (en) * | 2011-11-02 | 2013-03-20 | 微软公司 | Visual navigation of documents by object |
CN103019532A (en) * | 2012-11-23 | 2013-04-03 | 中兴通讯股份有限公司 | Field processing method and device |
CN103562841A (en) * | 2011-05-31 | 2014-02-05 | 苹果公司 | Devices, methods, and graphical user interfaces for document manipulation |
US20140068423A1 (en) * | 2012-08-29 | 2014-03-06 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method, and non-transitory computer-readable medium |
CN104731813A (en) * | 2013-12-23 | 2015-06-24 | 珠海金山办公软件有限公司 | Form file display method and system |
CN105302787A (en) * | 2015-11-10 | 2016-02-03 | 浪潮软件股份有限公司 | Method and device for table data editing |
CN106970897A (en) * | 2017-04-05 | 2017-07-21 | 北京小米移动软件有限公司 | The method to set up and equipment of text formatting |
-
2017
- 2017-12-29 CN CN201711479213.7A patent/CN109992759B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848081A (en) * | 2000-04-14 | 2006-10-18 | 皮克塞(研究)有限公司 | User interface systems and methods for viewing and manipulating digital documents |
US20040210818A1 (en) * | 2002-06-28 | 2004-10-21 | Microsoft Corporation | Word-processing document stored in a single XML file that may be manipulated by applications that understand XML |
JP2011141677A (en) * | 2010-01-06 | 2011-07-21 | Canon Inc | Apparatus and method for digitizing documents |
CN101866335A (en) * | 2010-06-14 | 2010-10-20 | 深圳市万兴软件有限公司 | Form processing method and device in document conversion |
CN103562841A (en) * | 2011-05-31 | 2014-02-05 | 苹果公司 | Devices, methods, and graphical user interfaces for document manipulation |
CN102982089A (en) * | 2011-11-02 | 2013-03-20 | 微软公司 | Visual navigation of documents by object |
US20140068423A1 (en) * | 2012-08-29 | 2014-03-06 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method, and non-transitory computer-readable medium |
CN103019532A (en) * | 2012-11-23 | 2013-04-03 | 中兴通讯股份有限公司 | Field processing method and device |
CN104731813A (en) * | 2013-12-23 | 2015-06-24 | 珠海金山办公软件有限公司 | Form file display method and system |
CN105302787A (en) * | 2015-11-10 | 2016-02-03 | 浪潮软件股份有限公司 | Method and device for table data editing |
CN106970897A (en) * | 2017-04-05 | 2017-07-21 | 北京小米移动软件有限公司 | The method to set up and equipment of text formatting |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112329401A (en) * | 2019-08-05 | 2021-02-05 | 珠海金山办公软件有限公司 | Document management method and device and electronic equipment |
CN111797603A (en) * | 2020-07-02 | 2020-10-20 | 北京字节跳动网络技术有限公司 | Method and device for browsing table in document, electronic equipment and storage medium |
WO2022002066A1 (en) * | 2020-07-02 | 2022-01-06 | 北京字节跳动网络技术有限公司 | Method and apparatus for browsing table in document, and electronic device and storage medium |
CN111797603B (en) * | 2020-07-02 | 2022-02-01 | 北京字节跳动网络技术有限公司 | Method and device for browsing table in document, electronic equipment and storage medium |
KR20220127334A (en) * | 2020-07-02 | 2022-09-19 | 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 | Table browsing methods, devices, electronic devices and storage media in documents |
JP2023509233A (en) * | 2020-07-02 | 2023-03-07 | 北京字節跳動網絡技術有限公司 | In-document table browsing method, device, electronic device, and storage medium |
US11720235B2 (en) | 2020-07-02 | 2023-08-08 | Beijing Bytedance Network Technology Co., Ltd. | Method and apparatus for browsing table in document, and electronic device and storage medium |
KR102570255B1 (en) | 2020-07-02 | 2023-08-23 | 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 | Table browsing method in document, device, electronic device and storage medium |
JP7334362B2 (en) | 2020-07-02 | 2023-08-28 | 北京字節跳動網絡技術有限公司 | In-document table browsing method, device, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109992759B (en) | 2023-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7246306B2 (en) | Web information presentation structure for web page authoring | |
CN105824787B (en) | A kind of control method and system of html template dynamic configuration | |
CN104391786B (en) | Webpage automatization test system and its method | |
US20080172219A1 (en) | Foreign language translator in a document editor | |
Hussain et al. | Using linguistic knowledge to classify non-functional requirements in SRS documents | |
US20140006913A1 (en) | Visual template extraction | |
CN103500257B (en) | DWG-format drawing identification method and system | |
CN109992750A (en) | Table objects screening technique, device, electronic equipment and storage medium | |
CN110096275B (en) | Page processing method and device | |
CN111831384B (en) | Language switching method, device, equipment and storage medium | |
US20110191381A1 (en) | Interactive System for Extracting Data from a Website | |
CN105868166A (en) | Regular expression generation method and system | |
US9195653B2 (en) | Identification of in-context resources that are not fully localized | |
CN106027785A (en) | Voice processing method and terminal | |
CN106708484A (en) | Page creating method and apparatus | |
CN101976394B (en) | Data acquiring and counting system and method | |
CN109634579A (en) | Code generating method, device, computer installation and storage medium | |
WO2015035119A1 (en) | Library indexing system and method | |
CN109992759A (en) | Table objects edit methods, device, electronic equipment and storage medium | |
CN102915228A (en) | Menu toolbar integration system and method | |
CN110390063A (en) | A kind of data analysis method, device, medium and electronic equipment | |
CN102298577A (en) | Method and device for detecting spelling of document edition | |
US10242139B2 (en) | Scheme and design markup language for interoperability of electronic design application tool and browser | |
Tiedemann | Improved text extraction from PDF documents for large-scale natural language processing | |
CN115469849B (en) | Service processing system, method, electronic equipment and storage medium |
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 |