CN109992750B - Table object screening method and device, electronic equipment and storage medium - Google Patents

Table object screening method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109992750B
CN109992750B CN201711483970.1A CN201711483970A CN109992750B CN 109992750 B CN109992750 B CN 109992750B CN 201711483970 A CN201711483970 A CN 201711483970A CN 109992750 B CN109992750 B CN 109992750B
Authority
CN
China
Prior art keywords
screenable
extracted
table object
content
screening
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.)
Active
Application number
CN201711483970.1A
Other languages
Chinese (zh)
Other versions
CN109992750A (en
Inventor
黄露慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Kingsoft Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201711483970.1A priority Critical patent/CN109992750B/en
Publication of CN109992750A publication Critical patent/CN109992750A/en
Application granted granted Critical
Publication of CN109992750B publication Critical patent/CN109992750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines

Abstract

The embodiment of the invention provides a table object screening method, a device, electronic equipment and a storage medium, which can judge whether preset conditions for independently displaying table objects are met; if yes, generating an independent editable page; extracting the content and format of a table object to be extracted in a target document; creating and displaying on the independently editable page: a screenable form object having the extracted content and format; then when a target screening instruction for the screenable form object is obtained; and executing screening operation on the screenable form object according to the target screening instruction. Compared with the prior art, the content of the screenable form object in the scheme is the same as that of the form object to be extracted, and the screening operation of the user on the screenable form object is equivalent to the screening operation of the form object to be extracted, so that the urgent requirement of the current user on supporting the screening operation of the form object embedded in the electronic document is met.

Description

Table object screening method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for screening a table object, an electronic device, and a storage medium.
Background
In order to simply and clearly display the data content, a table object can be set in an electronic document such as a text document, a presentation document, a PDF (Portable Document Format ) document and the like, and the data content to be displayed is placed in the table object, so that the data content is clearly and simply displayed to a user, and as shown in fig. 1, one table object is set in the text document. With the popularization of paperless offices, the use of the above electronic documents provided with form objects is very widespread.
The form objects set in the electronic documents are part of the electronic documents, and the screening operation is not usually supported for the form objects in the electronic documents, for example, the screening operation cannot be performed for the form objects in the PDF documents, wherein the screening operation for the form objects represents an operation of screening data required by a user from the form objects.
There is an urgent need for supporting a screening operation for a table object in the above electronic document.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device, electronic equipment and a storage medium for screening table objects so as to realize the screening operation of the table objects in an electronic document. The specific technical scheme is as follows:
to achieve the above object, in a first aspect, an embodiment of the present invention provides a method for screening a table object, where the method includes:
judging whether preset conditions of the independent display form objects are met or not;
if yes, generating an independent editable page;
extracting the content and format of a table object to be extracted in a target document;
creating and displaying on the independently editable page: a screenable form object having the extracted content and format;
obtaining a target screening instruction aiming at the screenable form object;
and executing screening operation on the screenable form object according to the target screening instruction.
Optionally, the step of determining whether the preset condition of the independent display table object is met includes:
detecting whether a table object to be extracted exists in the content currently displayed by the target document;
if so, it is determined that the preset condition of the independent display form object is satisfied.
Optionally, the step of determining whether the preset condition of the independent display table object is met includes:
judging whether an independent display instruction which is input by a user and aims at a table object to be extracted in a target document is obtained or not;
if so, it is determined that the preset condition of the independent display form object is satisfied.
Optionally, the creating and displaying on the independently editable page: a step of a screenable form object having extracted content and format, comprising:
acquiring a text attribute value of a table object input by a user;
creating and displaying on the independently editable page according to the text attribute value: a screenable form object having extracted content and format.
Optionally, after the step of performing a screening operation on the screenable form object according to the target screening instruction, the method further includes:
marking the content screened from the screenable form objects;
replacing the table object to be extracted in the target document with: the marked screenable form object.
Optionally, the independently editable page includes an H5 page or a client page having a function of presenting a table object.
In a second aspect, an embodiment of the present invention provides a table object screening apparatus, where the apparatus includes:
the judging module is used for judging whether preset conditions of the independent display form objects are met or not;
the generation module is used for generating an independent editable page under the condition that the judging result of the judging module is yes;
the extraction module is used for extracting the content and format of the table object to be extracted in the target document;
the creation module is used for creating and displaying on the independent editable page: a screenable form object having the extracted content and format;
the obtaining module is used for obtaining a target screening instruction aiming at the screenable form object;
and the screening module is used for executing screening operation on the screenable form object according to the target screening instruction.
Optionally, the judging module is specifically configured to:
detecting whether a table object to be extracted exists in the content currently displayed by the target document;
if so, it is determined that the preset condition of the independent display form object is satisfied.
Optionally, the judging module is specifically configured to:
judging whether an independent display instruction which is input by a user and aims at a table object to be extracted in a target document is obtained or not;
if so, it is determined that the preset condition of the independent display form object is satisfied.
Optionally, the creating module includes:
the obtaining submodule is used for obtaining the text attribute value of the table object input by the user;
the creation sub-module is used for creating and displaying on the independently editable page according to the text attribute value: a screenable form object having extracted content and format.
Optionally, the apparatus further includes:
and the marking module is used for marking the content screened from the screenable table object after the screenable table object is subjected to screening operation.
The replacing module is used for replacing the table object to be extracted in the target document with the table object to be extracted after the filterable table object is marked: the marked screenable form object.
Optionally, the independently editable page includes an H5 page or a client page having a function of presenting a table object.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, wherein:
a memory for storing a computer program;
and the processor is used for realizing the method steps of any table object screening method when executing the program stored in the memory.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having a computer program stored therein, which when executed by a processor implements the method steps of any of the table object screening methods described above.
In a fifth aspect, embodiments of the present invention provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method steps of any of the table object screening methods described above.
In a sixth aspect, embodiments of the present invention provide a computer program which, when run on a computer, causes the computer to perform the method steps of any of the table object screening methods described above.
From the above, in the solution provided by the embodiment of the present invention, it can be determined whether the preset condition of independently displaying the table object is satisfied; if yes, generating an independent editable page; extracting the content and format of a table object to be extracted in a target document; creating and displaying on the independently editable page: a screenable form object having the extracted content and format; then when a target screening instruction for the screenable form object is obtained; and executing screening operation on the screenable form object according to the target screening instruction.
Compared with the prior art, in the scheme provided by the embodiment of the invention, the screenable form object is the form object with the content and the format of the form object to be extracted, so that the content of the screenable form object is the same as that of the form object to be extracted, and the screening operation of the user on the screenable form object is equivalent to the screening operation of the form object to be extracted, thereby meeting the urgent need of the current user for supporting the screening operation on the form object embedded in the electronic document.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a terminal interface for a text document provided with a form object;
fig. 2 is a flow chart of a table object screening method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an independent editable page with screenable form objects displayed in accordance with an embodiment of the invention;
FIG. 4 is another schematic diagram of an independently editable page displaying a screenable form object according to an embodiment of the invention;
FIG. 5 is a further schematic diagram of an independently editable page displaying a screenable form object in accordance with an embodiment of the invention;
FIG. 6 is a further schematic diagram of an independently editable page displaying a screenable form object in accordance with an embodiment of the invention;
fig. 7 is a schematic structural diagram of a table object screening device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to realize the screening operation of the table objects embedded in the electronic document, the invention provides a table object screening method, a device, electronic equipment and a storage medium.
Firstly, it should be noted that the method for screening a table object provided in the embodiment of the present invention may be applied to a terminal such as a mobile phone, a computer, etc., where the terminal may open the foregoing electronic document containing the table object, for example, a mobile phone with a PDF reader, and the embodiment of the present invention is not limited to a specific type of the terminal. In addition, the method provided by the embodiment of the invention can be executed under the condition that the terminal opens the following target document.
The embodiment of the invention provides a table object screening method, as shown in fig. 2, which comprises steps S101 to S106:
s101: and judging whether preset conditions of the independent display form object are met.
The preset condition may be a judging condition of whether the terminal in the embodiment of the present invention needs to execute the following steps S102 to S106, if the preset condition is satisfied, the terminal executes the following steps S102 to S106, otherwise, the terminal does not execute the following steps S102 to S106. In the embodiment of the present invention, the specific implementation manner of step S101 may be various, and the embodiment of the present invention is not limited to the specific implementation manner of step S101.
As an optional implementation manner of the embodiment of the present invention, the step of determining whether the preset condition (S101) of the independent display table object is satisfied may include:
detecting whether a table object to be extracted exists in the content currently displayed by the target document;
if so, it is determined that the preset condition of the independent display form object is satisfied.
The target document can be a document which is opened on a display interface of the terminal, and the type of the target document can be a text document, such as a WPS (Word Processing System ) text document of Jinshan software and a Word document of Microsoft; the target document can also be a presentation document, such as a WPS presentation document of Jinshan software and a PPT (PowerPoint) document of Microsoft; the kind of the target document may also be a PDF document or the like, and the embodiment of the present invention is not limited to the specific kind of the target document.
For example, if the user is currently viewing a PDF document through the terminal, the PDF document may be the target document in the embodiment of the present invention.
It should be noted that, the table object to be extracted may be a complete table object in the target document, or may be a table object formed by partial cells in the complete table object in the target document. As shown in fig. 1, a table object is embedded in a text document, wherein text contents except the table object in the text document are not shown in the figure; the complete table object in fig. 1 may be used as the table object to be extracted in the embodiment of the present invention.
In the process of viewing the target document, if the display interface of the terminal only displays part of cells of a complete table object in the target document, the table object formed by the displayed part of cells can be used as the table object to be extracted in the embodiment of the invention; for example, assuming that the display interface of the terminal only displays the first 10 rows of cells of the complete table object in fig. 1, the table object formed by the first 10 rows of cells already displayed on the display interface of the terminal may be used as the table object to be extracted in the embodiment of the present invention.
In this implementation manner, for the target document, the terminal may detect in real time whether the form object to be extracted exists in the content currently being displayed on the display interface of the terminal in the target document, and if so, determine that the preset condition of independently displaying the form object is satisfied.
It may be appreciated that in the foregoing implementation manner, if the to-be-extracted form image in the target document is displayed, it may be directly determined that the preset condition of the independently displayed form object is met, but in some cases, not every form object in the target document needs to be displayed independently, for example, the user does not need to perform the filtering operation on the form object, so as another optional implementation manner of the embodiment of the present invention, the step of determining whether the preset condition of the independently displayed form object is met (S101) may include:
judging whether an independent display instruction which is input by a user and aims at a table object to be extracted in a target document is obtained or not; if so, it is determined that the preset condition of the independent display form object is satisfied.
There are many specific ways of inputting the above independent display instruction by the user, as the first way: the terminal detects whether the content of the current displayed target document comprises a form object in real time, if yes, generates a prompt message whether to display independently, and displays the prompt message on a display interface of the terminal, so that a user inputs an independent display instruction for the detected form object in the target document under the condition that the detected form object needs to be screened.
For example, when the terminal detects that the content of the target document currently displayed includes the table object a, a prompt message indicating whether the table object is independently displayed is generated, and a dialog box is displayed on the display interface of the terminal: the method comprises the steps that whether a currently displayed table object needs to be displayed independently or not is judged, two virtual buttons, namely 'yes' and 'no', are further arranged at the bottom of a dialog box, and after a user sees the dialog box, if the virtual button is clicked, the terminal obtains an independent display instruction which is input by the user and aims at the table object A.
And as a second mode: and the terminal detects whether the content of the current displayed target document comprises a form object in real time, if yes, a clickable button is directly generated in the area where the detected form object is positioned in the terminal display interface, and after the user clicks the button, the terminal directly obtains an independent display instruction which is input by the user and aims at the detected form object.
In another third way, when the user browses the target document and a table object is displayed on the display interface of the terminal, the user can double-click or frame-select the table object, and when the terminal obtains a double-click or frame-select operation signal of the user for the table object, the terminal directly determines that the terminal obtains an independent display instruction of the table object input by the user.
Of course, the above three more specific implementations are merely exemplary descriptions of embodiments of the present invention, and the embodiments of the present invention are not limited to specific implementations in which the terminal determines whether to obtain the independent display instruction for the table object to be extracted in the target document, which is input by the user.
It can be appreciated that, as in the previous implementation, in this implementation, the table object to be extracted may be a complete table object in the target document, such as the table shown completely in fig. 1; optionally, the table object to be extracted may also be a sub-table object selected by the user from the complete table objects in the target document.
The sub-table object may be a new table object formed by partial cells in the complete table object in the target document, for example, the first 12 rows of cells in the complete table object in fig. 1 may form a new table object, which belongs to the complete table object in the target document, so called as a sub-table object of the complete table object.
The terminal can take a sub-table object formed by the first 15 rows and the first 4 columns of the complete table object as the table object to be extracted in the embodiment of the invention, and judge that the sub-table object obtains an independent display instruction input by the user aiming at the table object to be extracted in the target document.
If the determination result of step S101 is yes, step S102 is executed: an independently editable page is generated.
An independently editable page may refer to a page that is independent and distinct from the page on which the target document is displayed, and it should be noted that the independently editable page needs to be used to create a form object, so the independently editable page should be a page that can support the creation and presentation of a form object.
In the embodiment of the invention, the independently editable page can comprise an H5 page or a client page with a function of showing a table object. Wherein H5 is also referred to as Html (hypertext markup language) 5.
The client page with the function of displaying the table object is a page of a client, and the client has the function of displaying the table object, such as a conventional trial-and-error table software such as a table software of Jinshan software, which is not limited to a specific type of the client.
S103: and extracting the content and format of the table object to be extracted in the target document.
The content in the table object to be extracted can be understood as text (including numerals) content in the table object to be extracted, and the format in the table object to be extracted can be understood as a row format, a column format and the like of the table object to be extracted.
S104: creating and displaying on the independently editable page: a screenable form object having extracted content and format.
It is to be appreciated that a screenable form object may refer to a form object that supports a screening operation. In addition, the text content included in the screenable table object is the same as the text content included in the table object to be extracted, for example, the table object in fig. 1 is the table object to be extracted in the embodiment of the present invention, and the table object in fig. 2 is the screenable table object in the embodiment of the present invention, and it can be found that although the table object to be extracted and the screenable table object are table objects on different pages, the text content displayed by the two table objects are the same.
The text attribute value of the screenable form object may be the same as, or of course different from, the text attribute value of the form object to be extracted. The text attribute values may include attribute values such as font, font size, thickening, tilting, etc. of the text, and the embodiment of the present invention is not limited to the specific meaning of the text attribute values.
As an optional implementation manner of the embodiment of the present invention, the creating and displaying on the independently editable page: the step of a screenable form object (S104) having the extracted content and format may include:
acquiring a text attribute value of a table object input by a user;
creating and displaying on the independently editable page according to the text attribute value: a screenable form object having extracted content and format.
That is, in this implementation, the literal attribute value of the created screenable form object is the literal attribute value of the form object entered by the user. Before the terminal creates the screenable table object, a selection frame of the text attribute value of the table object is popped up, and the user can select the text attribute value required by the user in the selection frame, so that the terminal obtains the text attribute value of the table object input by the user, and further, the text in the screenable table object created by the terminal has the text attribute value of the table object input by the user.
For example, if the font size of the user-selected text is Song Ti and the font size is 10 lbs., the terminal obtains the text attribute value of the table object input by the user, including: the font is Song Ti, the font size is 10 pounds; at this time, even if the font of the text in the form object to be extracted is not Song Ti and the font size is not 10 lbs, the font size of the text in the screenable form object created by the terminal is Song Ti and the font size is 10 lbs.
S105: a target screening instruction for the screenable form object is obtained.
The target screening instructions may generally be user-entered screening instructions, such as user-entered screening instructions via a text entry box.
For example, the process of obtaining the target screening instruction in the embodiment of the present invention may be the following flow:
after the screenable table object is displayed, each column of the screenable table object generates a screening selection button, the user can click on the screening selection button corresponding to a certain column, then the terminal can generate and display a selectable field to be screened, if the user clicks on a certain field to be screened, the user is indicated to wish to screen a group of data of which the field in the column is the selected field to be screened, and meanwhile, the terminal obtains a target screening instruction: the fields in the column are filtered for a set of data for the selected field to be filtered.
S106: and executing screening operation on the screenable form object according to the target screening instruction.
As shown in fig. 3, assuming that the target screening instruction is a screening instruction for screening a person with an english score of "101", the terminal executes the screening instruction, and it may be understood that, after the screening instruction is executed, only a group of data corresponding to the person with an english score of "101", that is, the 5 th row in fig. 3, may be displayed in the screenable form object, except for the row and column labels.
It can be understood that, in the embodiment of the present invention, the filtering operation on the screenable table object can be implemented through the above operation, where the content of the screenable table object is the same as that of the table object to be extracted, and the filtering operation performed on the screenable table object by the user is equivalent to the filtering operation performed on the table object to be extracted, so as to meet the urgent need of the current user for supporting the filtering operation on the table object embedded in the electronic document.
For example, a table object exists in the PDF document, and the table object is a record table for recording the english, math and chinese three-family achievements of 100 students in a grade, and when the name of a student whose english score is 99 points needs to be checked, the name of a student whose english score is 99 points can be conveniently and quickly checked through the embodiment of the invention.
In the embodiment of the present invention, after the step of performing the filtering operation (S106) on the screenable form object according to the target filtering instruction, the method may further include the following steps 1 and 2:
step 1: marking the content screened from the screenable form objects;
it should be noted that, it is reasonable that the marking operation may be performed according to a user's instruction or may be performed automatically. The content selected may be selected cells, or may be a field in the selected cells; the marking of the content to be selected may be to thicken a text, highlight a cell or a field, or mark a color such as red or yellow.
Step 2: replacing the table object to be extracted in the target document with: the marked screenable form object.
In the embodiment of the invention, the original table object to be extracted is completely replaced by the marked filterable table object in the target document, so that the filtered content can be quickly found when the user views the table to be extracted again.
It should be noted that, in the case that no additional editing is performed on the screenable table object, the marked screenable table object is identical to the content in the table object to be extracted.
The target document is an exemplary PDF document, the form object to be extracted includes 20 lines of data, the terminal screens out the 12 th to 14 th lines of data, and then, according to a marking instruction input by a user, the terminal marks fields in the 12 th to 14 th lines of data as red, and at this time, the form object to be extracted in the target document can be replaced by: the marked screenable form object. Thereafter, the form data to be extracted displayed in the target document still contains 20 lines of data, but the fields in the 12 th to 14 th lines of data are marked red.
Alternatively, after the screenable form object is subjected to the marking operation, the terminal may directly and automatically perform the replacement of the form object to be extracted in the target document with: a step of marking the screenable form object; as another alternative implementation manner, after receiving the replacement instruction sent by the user, the terminal may execute the above replacement of the table object to be extracted in the target document with: and marking the screenable form objects.
For example, after the screenable form object is subjected to the marking operation, a prompt box of whether to replace the form object in the document is generated and displayed on the independent editable page, virtual buttons of yes and no are also arranged under the prompt box, and if the user clicks yes, the terminal receives a replacing instruction, and the replacing of the form object to be extracted in the target document is performed by: and marking the screenable form objects.
As can be seen from the above, in the solution provided in this embodiment, the screenable table object is a table object having the content and format of the table object to be extracted, so that the content of the screenable table object is the same as that of the table object to be extracted, and the screening operation performed by the user on the screenable table object is equivalent to the screening operation performed on the table object to be extracted, thereby meeting the urgent need of the current user for supporting the screening operation on the table object embedded in the electronic document.
The following describes a table object screening method provided by the embodiment of the present invention in a specific example.
As shown in fig. 1, the target document is a text document, the text document includes a table object, the table object is a score table, and in the display state shown in fig. 1, the terminal detects that the table object to be extracted exists in the content currently being displayed in the target document, that is, the table object shown in fig. 1 in real time. The terminal then generates an H5 page; then, the terminal re-extracts the content and format of the table object to be extracted, and creates and displays on the generated H5 page: a screenable form object having extracted content and format is shown in fig. 3.
As shown in fig. 3, in addition to the screenable form object displayed in the independent editable page, a "screening" button is also provided at the bottom of the independent editable page; as shown in fig. 4, when the user clicks the "filter" button on the display interface of the terminal, an "inverted triangle" filter selection button appears on each column of the selectable table object, and if the user clicks the filter selection button corresponding to column B, a dialog box showing selectable fields to be filtered, as shown in fig. 5, is popped up, where the dialog box includes the fields to be filtered "99", "98", "100" and "101". As shown in fig. 6, when the user clicks and selects the field "98" to be screened, the terminal obtains a target screening instruction: a set of data with field "98" in column B is filtered.
Then, the terminal screens a group of data with the field of "98" in the B column, that is, a row of data with the row label of "3" in fig. 3, from the screenable form object according to the target screening instruction, so as to complete the screening operation. In addition, as shown in fig. 3 to 6, a virtual close button is set at the upper right corner of the H5 page, and when the user clicks the close button after completing the above filtering operation, a prompt box of "whether to mark and replace a table object in a document" can be popped up in the independent editable interface, and if "yes" and "no" are also set under the prompt box, the user clicks "yes", then the terminal first makes a red mark for the screened cell, and then replaces the table object to be extracted in the target document with: the marked screenable form object.
Corresponding to the method embodiment shown in fig. 2, the embodiment of the invention also provides a table object screening device, as shown in fig. 7, where the device includes:
a judging module 110, configured to judge whether a preset condition of the independent display table object is satisfied;
a generating module 120, configured to generate an independently editable page if the determination result of the determining module 110 is yes;
an extracting module 130, configured to extract the content and format of the table object to be extracted in the target document;
a creation module 140, configured to create and display on the independently editable page: a screenable form object having the extracted content and format;
an obtaining module 150, configured to obtain a target screening instruction for the screenable form object;
and the filtering module 160 is configured to execute a filtering operation on the filterable table object according to the target filtering instruction.
Optionally, as an optional implementation manner in the embodiment of the present invention, the determining module 110 may be specifically configured to:
detecting whether a table object to be extracted exists in the content currently displayed by the target document;
if so, it is determined that the preset condition of the independent display form object is satisfied.
Optionally, as an optional implementation manner in the embodiment of the present invention, the determining module 110 may be specifically configured to:
judging whether an independent display instruction which is input by a user and aims at a table object to be extracted in a target document is obtained or not;
if so, it is determined that the preset condition of the independent display form object is satisfied.
Optionally, the creating module 140 may include:
the obtaining submodule is used for obtaining the text attribute value of the table object input by the user;
the creation sub-module is used for creating and displaying on the independently editable page according to the text attribute value: a screenable form object having extracted content and format.
Optionally, the apparatus may further include:
and the marking module is used for marking the content screened from the screenable table object after the screenable table object is subjected to screening operation.
The replacing module is used for replacing the table object to be extracted in the target document with the table object to be extracted after the filterable table object is marked: the marked screenable form object.
Alternatively, the independently editable page may include an H5 page or a client page having a presentation form object function.
As can be seen from the above, in the solution provided in this embodiment, the screenable table object is a table object having the content and format of the table object to be extracted, so that the content of the screenable table object is the same as that of the table object to be extracted, and the screening operation performed by the user on the screenable table object is equivalent to the screening operation performed on the table object to be extracted, thereby meeting the urgent need of the current user for supporting the screening operation on the table object embedded in the electronic document.
Corresponding to the method embodiment shown in fig. 2, the embodiment of the invention also provides an electronic device, as shown in fig. 8, comprising a processor 210 and a memory 220, wherein,
a memory 220 for storing a computer program;
the processor 210 is configured to execute the program stored in the memory 220, and implement the following steps:
judging whether preset conditions of the independent display form objects are met or not;
if yes, generating an independent editable page;
extracting the content and format of a table object to be extracted in a target document;
creating and displaying on the independently editable page: a screenable form object having the extracted content and format;
obtaining a target screening instruction aiming at the screenable form object;
and executing screening operation on the screenable form object according to the target screening instruction.
For a specific implementation of each step of the method, reference may be made to the method embodiment shown in fig. 2, and details are not described herein.
The electronic device may be provided with a communication interface for enabling communication between the electronic device and another device.
The processor 210, communication interface, and memory 220 described above communicate with each other via a communication bus, which may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The communication bus may be classified as an address bus, a data bus, a control bus, or the like.
The Memory 220 may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor 210 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
As can be seen from the above, in the solution provided in this embodiment, the screenable table object is a table object having the content and format of the table object to be extracted, so that the content of the screenable table object is the same as that of the table object to be extracted, and the screening operation performed by the user on the screenable table object is equivalent to the screening operation performed on the table object to be extracted, thereby meeting the urgent need of the current user for supporting the screening operation on the table object embedded in the electronic document.
In yet another embodiment of the present invention, a computer readable storage medium is provided, in which instructions are stored, which when run on a computer, cause the computer to perform the table object screening method according to any one of the above embodiments.
As can be seen from the above, in the solution provided in this embodiment, the screenable table object is a table object having the content and format of the table object to be extracted, so that the content of the screenable table object is the same as that of the table object to be extracted, and the screening operation performed by the user on the screenable table object is equivalent to the screening operation performed on the table object to be extracted, thereby meeting the urgent need of the current user for supporting the screening operation on the table object embedded in the electronic document.
In yet another embodiment of the present invention, a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method steps of any of the table object screening methods described above is also provided.
As can be seen from the above, in the solution provided in this embodiment, the screenable table object is a table object having the content and format of the table object to be extracted, so that the content of the screenable table object is the same as that of the table object to be extracted, and the screening operation performed by the user on the screenable table object is equivalent to the screening operation performed on the table object to be extracted, thereby meeting the urgent need of the current user for supporting the screening operation on the table object embedded in the electronic document.
In yet another embodiment of the present invention, a computer program is provided, which when run on a computer causes the computer to perform the method steps of any of the table object screening methods described above.
As can be seen from the above, in the solution provided in this embodiment, the screenable table object is a table object having the content and format of the table object to be extracted, so that the content of the screenable table object is the same as that of the table object to be extracted, and the screening operation performed by the user on the screenable table object is equivalent to the screening operation performed on the table object to be extracted, thereby meeting the urgent need of the current user for supporting the screening operation on the table object embedded in the electronic document.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for an apparatus, an electronic device, a computer-readable storage medium, a computer program product, and a computer program embodiment, the description is relatively simple, as relevant to the method embodiment, as it is substantially similar to the method embodiment.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (12)

1. A method for screening a table object, the method comprising:
judging whether preset conditions of the independent display form objects are met or not;
if yes, generating an independent editable page;
extracting the content and format of a form object to be extracted in a target document, wherein the screening operation is not supported for the form object in the target document;
creating and displaying on the independently editable page: a screenable form object having the extracted content and format;
obtaining a target screening instruction aiming at the screenable form object;
according to the target screening instruction, screening operation is carried out on the screenable form object;
marking the content screened from the screenable form objects;
replacing the table object to be extracted in the target document with: the marked screenable table object is identical to the content in the table object to be extracted.
2. The method of claim 1, wherein the step of determining whether a preset condition for independently displaying the table object is satisfied comprises:
detecting whether a table object to be extracted exists in the content currently displayed by the target document;
if so, it is determined that the preset condition of the independent display form object is satisfied.
3. The method of claim 1, wherein the step of determining whether a preset condition for independently displaying the table object is satisfied comprises:
judging whether an independent display instruction which is input by a user and aims at a table object to be extracted in a target document is obtained or not;
if so, it is determined that the preset condition of the independent display form object is satisfied.
4. The method of claim 1, wherein the creating and displaying on the independently editable page: a step of a screenable form object having extracted content and format, comprising:
acquiring a text attribute value of a table object input by a user;
creating and displaying on the independently editable page according to the text attribute value: a screenable form object having extracted content and format.
5. The method of claim 1, wherein the independently editable page comprises an H5 page or a client page with a presentation form object function.
6. A form object screening apparatus, the apparatus comprising:
the judging module is used for judging whether preset conditions of the independent display form objects are met or not;
the generation module is used for generating an independent editable page under the condition that the judging result of the judging module is yes;
the extraction module is used for extracting the content and format of a form object to be extracted in a target document, wherein the screening operation is not supported for the form object in the target document;
the creation module is used for creating and displaying on the independent editable page: a screenable form object having the extracted content and format;
the obtaining module is used for obtaining a target screening instruction aiming at the screenable form object;
the screening module is used for executing screening operation on the screenable form objects according to the target screening instruction;
the marking module is used for marking the content screened from the screenable form object after the screenable form object is subjected to screening operation;
the replacing module is used for replacing the table object to be extracted in the target document with the table object to be extracted after the filterable table object is marked: the marked screenable table object is identical to the content in the table object to be extracted.
7. The apparatus of claim 6, wherein the determining module is specifically configured to:
detecting whether a table object to be extracted exists in the content currently displayed by the target document;
if so, it is determined that the preset condition of the independent display form object is satisfied.
8. The apparatus of claim 6, wherein the determining module is specifically configured to:
judging whether an independent display instruction which is input by a user and aims at a table object to be extracted in a target document is obtained or not;
if so, it is determined that the preset condition of the independent display form object is satisfied.
9. The apparatus of claim 6, wherein the creation module comprises:
the obtaining submodule is used for obtaining the text attribute value of the table object input by the user;
the creation sub-module is used for creating and displaying on the independently editable page according to the text attribute value: a screenable form object having extracted content and format.
10. The apparatus of claim 6, wherein the independently editable page comprises an H5 page or a client page with a presentation form object function.
11. An electronic device comprising a processor and a memory, wherein:
a memory for storing a computer program;
a processor configured to implement the method of any one of claims 1 to 5 when executing a program stored on a memory.
12. A computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
CN201711483970.1A 2017-12-29 2017-12-29 Table object screening method and device, electronic equipment and storage medium Active CN109992750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711483970.1A CN109992750B (en) 2017-12-29 2017-12-29 Table object screening method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711483970.1A CN109992750B (en) 2017-12-29 2017-12-29 Table object screening method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109992750A CN109992750A (en) 2019-07-09
CN109992750B true CN109992750B (en) 2023-12-01

Family

ID=67110052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711483970.1A Active CN109992750B (en) 2017-12-29 2017-12-29 Table object screening method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109992750B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417816A (en) * 2019-08-19 2021-02-26 珠海金山办公软件有限公司 Format conversion method and device of Word document and electronic equipment
CN112446195B (en) * 2019-08-28 2022-05-13 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN112232198A (en) * 2020-10-15 2021-01-15 北京来也网络科技有限公司 Table content extraction method, device, equipment and medium based on RPA and AI
CN112486375A (en) * 2020-12-21 2021-03-12 信利(仁寿)高端显示科技有限公司 Method and device for screening and displaying in table software

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063422A (en) * 2010-12-29 2011-05-18 东莞市创锐电子技术有限公司 Method for embedding and displaying embedded control in table control
CN102982089A (en) * 2011-11-02 2013-03-20 微软公司 Visual navigation of documents by object
CN104731813A (en) * 2013-12-23 2015-06-24 珠海金山办公软件有限公司 Form file display method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063422A (en) * 2010-12-29 2011-05-18 东莞市创锐电子技术有限公司 Method for embedding and displaying embedded control in table control
CN102982089A (en) * 2011-11-02 2013-03-20 微软公司 Visual navigation of documents by object
CN104731813A (en) * 2013-12-23 2015-06-24 珠海金山办公软件有限公司 Form file display method and system

Also Published As

Publication number Publication date
CN109992750A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN109992750B (en) Table object screening method and device, electronic equipment and storage medium
CN104978317B (en) Webpage generation method and device, website generation method and website establishment server
JP2012059248A (en) System, method, and program for detecting and creating form field
JP6354457B2 (en) Application development support apparatus, data processing method thereof, and program
CN107832052B (en) Method and device for displaying preview page, storage medium and electronic equipment
US20130007578A1 (en) Method and apparatus for displaying component documents of a composite document
CN107797754A (en) The method and device and medium product that a kind of text replicates
JP2016535899A (en) Presenting fixed-format documents in reflowed form
CN106648571B (en) Method and device for calibrating application interface
EP3026575A1 (en) Method for referring to specific content on a web page and web browsing system
TW201308108A (en) System and method for integrating menus and toolbars
CN104899203B (en) Webpage generation method and device and terminal equipment
CN109992759B (en) Table object editing method and device, electronic equipment and storage medium
CN112612990A (en) Webpage analysis method, system and computer readable storage medium
US20150186363A1 (en) Search-Powered Language Usage Checks
CN109992751B (en) Method and device for magnifying and displaying table objects, electronic equipment and storage medium
CN111783408B (en) Cell pasting method and device, electronic equipment and storage medium
US11010978B2 (en) Method and system for generating augmented reality interactive content
JP2018136418A (en) Information processing apparatus, program, and information processing method
CN112035108A (en) User interface layout design method, system, terminal and medium
CN105511642A (en) Input method and input device
JP4960188B2 (en) Screen transition diagram display method and system
CN106095734B (en) Text display method and device
CN104238888A (en) Mobile terminal as well as method and device for globally viewing pictures of mobile terminal
CN110837336B (en) Information insertion method and device

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