CN109992751B - Method and device for magnifying and displaying table objects, electronic equipment and storage medium - Google Patents

Method and device for magnifying and displaying table objects, electronic equipment and storage medium Download PDF

Info

Publication number
CN109992751B
CN109992751B CN201711488057.0A CN201711488057A CN109992751B CN 109992751 B CN109992751 B CN 109992751B CN 201711488057 A CN201711488057 A CN 201711488057A CN 109992751 B CN109992751 B CN 109992751B
Authority
CN
China
Prior art keywords
table object
extracted
target
content
displaying
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
CN201711488057.0A
Other languages
Chinese (zh)
Other versions
CN109992751A (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 CN201711488057.0A priority Critical patent/CN109992751B/en
Publication of CN109992751A publication Critical patent/CN109992751A/en
Application granted granted Critical
Publication of CN109992751B publication Critical patent/CN109992751B/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/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines

Abstract

The embodiment of the invention provides an enlarged display method, an enlarged display device, electronic equipment and a storage medium for a form object, wherein in the scheme, whether preset conditions for independently displaying the form object are met can be judged; 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 target table object having the extracted content and format; and then when an enlarged display instruction aiming at the target table object is obtained, enlarging and displaying the target table object according to the enlarged display instruction. Compared with the prior art, the method and the device have the advantages that the problem that the contents in the form object to be extracted cannot be seen clearly due to the limitation of the maximum display proportion of the document when the user directly enlarges the target document to view the form object to be extracted is effectively avoided.

Description

Method and device for magnifying and displaying table objects, 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 magnifying and displaying 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.
In the electronic document with the table object, the set table object is a part of the content in the electronic document, and when a user needs to enlarge and view the table object in the electronic document, the user can only enlarge and view the table object by increasing the display proportion of the whole electronic document; however, the display scale of the electronic document is limited, and even when the electronic document is enlarged to the maximum display scale, there may be a problem in that the form object is too small to clearly view the contents in the form object.
Disclosure of Invention
The embodiment of the invention aims to provide an enlarged display method and device for table objects, electronic equipment and a storage medium, so as to realize clear viewing 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 magnifying and displaying 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 target table object having the extracted content and format;
obtaining an enlarged display instruction aiming at the target table object;
and displaying the target table object in an enlarged manner according to the enlarged display 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 table object to be extracted is a sub-table object selected by the user from the complete table objects in the target document.
Optionally, the creating and displaying on the independently editable page: a step of a target table 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 target table object having the extracted content and format.
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 an enlarged display apparatus for a table object, including:
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 target table object having the extracted content and format;
the obtaining module is used for obtaining an enlarged display instruction aiming at the target table object;
and the display module is used for magnifying and displaying the target table object according to the magnifying and displaying 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 table object to be extracted is a sub-table object selected by the user from the complete table objects in the target document.
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 target table object having the extracted content and format.
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 the amplifying display method of any table object when executing the program stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements the method steps described in any of the above table objects in the method for magnifying display.
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 the method for magnifying display of any of the table objects described above.
In a sixth aspect, an embodiment of the present invention provides a computer program, which when run on a computer, causes the computer to perform the method steps described in the method for magnifying and displaying any of the table objects 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 target table object having the extracted content and format; and then when an enlarged display instruction aiming at the target table object is obtained, enlarging and displaying the target table object according to the enlarged display instruction.
Compared with the prior art, in the scheme provided by the embodiment of the invention, the target table object is the table object with the content and the format of the table object to be extracted, so that the content of the target table object is the same as that of the table object to be extracted, and a user can clearly check the content in the target table object, namely the content in the table object to be extracted by amplifying the target table object, thereby avoiding the problem that the user cannot see the content in the table object to be extracted due to the limitation of the maximum display proportion of the document when directly amplifying the target document to check the table object to be extracted.
In addition, in the scheme provided by the embodiment of the invention, the magnifying and viewing operation is only needed to be executed on the independently editable page without magnifying and viewing in the target document, so that the display and typesetting of the content in the target document are not affected.
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 method for magnifying and displaying a table object according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an independently editable page displaying a target form object according to an embodiment of the invention;
FIG. 4 is an enlarged schematic view of the independently editable page of FIG. 3;
fig. 5 is a schematic structural diagram of an enlarged display device for a table object according to an embodiment of the present invention;
fig. 6 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 clearly view contents in a table object in an electronic document, the invention provides an enlarged display method, an enlarged display device, electronic equipment and a storage medium of the table object.
Firstly, it should be noted that the method for amplifying and displaying the form 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 electronic document containing the form 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 method for amplifying and displaying a table object, as shown in fig. 2, the method 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 form image to be extracted 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 data content in the form object is displayed clearly, so as to be another alternative 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 according to the requirement.
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 target table object having the extracted content and format.
It can be understood that the text content included in the target 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 target table object in the embodiment of the present invention, and it can be found that although the table object to be extracted and the target table object are the table objects on different pages, the text content displayed by the two table objects are the same.
The text attribute value of the target table object may be the same as or different from the text attribute value of the table 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 the target table object (S104) having the extracted contents and formats 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 target table object having the extracted content and format.
That is, in the present implementation, the text attribute value of the created target table object is the text attribute value of the table object input by the user. Before the target table object is created, the terminal pops up a selection box of the text attribute value of the table object, and the user can select the text attribute value required by the user in the selection box, so that the terminal obtains the text attribute value of the table object input by the user, and further, the text in the target table object created by the terminal has the text attribute value of the table object input by the user.
For example, if the font of the 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 target form object created by the terminal will be Song Ti and the font size will be 10 lbs.
S105: and obtaining an enlarged display instruction aiming at the target table object.
The enlarged display instruction is generally input by a user, for example, in the case where the above-described target form object is displayed in the screen of the mobile phone terminal, the user touches the screen of the mobile phone terminal with two fingertips and increases the distance between the two fingertips, and the mobile phone terminal can obtain the enlarged display instruction for the target form object.
For another example, in the case that the above target table object is displayed in the screen of the computer terminal, the user presses the "Ctrl" key on the keyboard and scrolls the mouse wheel forward, so that the computer terminal can obtain an enlarged display instruction for the target table object.
It will be appreciated that the above two modes are merely exemplary of specific ways for the terminal to obtain the above-described enlarged display instruction, and are not limiting.
S106: and displaying the target table object in an enlarged manner according to the enlarged display instruction.
The square big display instruction may generally include a square big multiple, and the terminal may enlarge and display the target table object according to the magnification.
It can be understood that, in the embodiment of the present invention, although the target table object is finally displayed in an enlarged manner, the content in the target table object is the same as that of the table object to be extracted, so that the user views the target table object in an enlarged manner, that is, views the target table object in an enlarged manner.
In contrast, when the user directly zooms in and views the form object to be extracted in the target document, the whole target document is zoomed in, the target document is generally set with a maximum display proportion, for example, 500%, and if the target document is at the maximum display proportion, the form object to be extracted still cannot be seen clearly, and the purpose of zoomed in and displaying the form object to be extracted cannot be achieved by zooming in the target document.
In contrast, in the embodiment of the present invention, the target table object is created in the independently editable page, and when the target table object is displayed in an enlarged manner, the target table object is not limited by the maximum display scale of the target document, so that the content in the target table object can be clearly viewed.
In addition, in the embodiment of the present invention, after the terminal generates and displays the target table object, in addition to magnifying and displaying the target table object, when obtaining a zoom-out instruction for the target table object, the terminal may zoom out and display the target table object according to the zoom-out instruction.
In addition, after the user finishes viewing the target table object, the independent editable page can be closed, so that other contents in the target document can be continuously viewed.
Compared with the prior art, in the scheme provided by the embodiment, the target table object is the table object with the content and the format of the table object to be extracted, so that the content of the target table object is the same as that of the table object to be extracted, and a user can clearly check the content in the target table object, namely the content in the table object to be extracted, by amplifying the target table object, thereby avoiding the problem that the user cannot see the content in the table object to be extracted due to the limitation of the maximum display proportion of the document when directly amplifying the target document to check the table object to be extracted.
In addition, in the scheme provided by the embodiment, the magnifying and viewing operation is only needed to be executed on the independently editable page without magnifying and viewing in the target document, so that the display and typesetting of the content in the target document are not affected.
The following describes a method for displaying a table object in an enlarged manner according to an 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: the target table object with extracted content and format is shown in fig. 3.
After the target table object is displayed, the user inputs an enlarged display instruction for the target table object, and the terminal enlarges and displays the target table object according to the enlarged instruction, as shown in fig. 4. In addition, as shown in fig. 3 and fig. 4, a virtual close button is set in the upper right corner of the H5 page, and when the user clicks the close button, the user can end the viewing operation of the target table object and continue to browse other contents in the target document.
Corresponding to the method embodiment shown in fig. 2, the embodiment of the invention also provides an enlarged display device for a table object, as shown in fig. 5, 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 target table object having the extracted content and format;
an obtaining module 150, configured to obtain an enlarged display instruction for the target table object;
and the display module 160 is configured to enlarge and display the target table object according to the enlarged display instruction.
As an alternative implementation manner of 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.
As an alternative implementation manner of 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.
Specifically, the table object to be extracted may be a sub-table object selected by the user from the complete table objects in the target document.
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 target table object having the extracted content and format.
Alternatively, the independently editable page may include an H5 page or a client page having a presentation form object function.
Compared with the prior art, in the scheme provided by the embodiment, the target table object is the table object with the content and the format of the table object to be extracted, so that the content of the target table object is the same as that of the table object to be extracted, and a user can clearly check the content in the target table object, namely the content in the table object to be extracted, by amplifying the target table object, thereby avoiding the problem that the user cannot see the content in the table object to be extracted due to the limitation of the maximum display proportion of the document when directly amplifying the target document to check the table object to be extracted.
In addition, in the scheme provided by the embodiment, the magnifying and viewing operation is only needed to be executed on the independently editable page without magnifying and viewing in the target document, so that the display and typesetting of the content in the target document are not affected.
Corresponding to the method embodiment shown in fig. 2, the embodiment of the invention also provides an electronic device, as shown in fig. 6, 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 target table object having the extracted content and format;
obtaining an enlarged display instruction aiming at the target table object;
and displaying the target table object in an enlarged manner according to the enlarged display 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.
Compared with the prior art, in the scheme provided by the embodiment, the target table object is the table object with the content and the format of the table object to be extracted, so that the content of the target table object is the same as that of the table object to be extracted, and a user can clearly check the content in the target table object, namely the content in the table object to be extracted, by amplifying the target table object, thereby avoiding the problem that the user cannot see the content in the table object to be extracted due to the limitation of the maximum display proportion of the document when directly amplifying the target document to check the table object to be extracted.
In addition, in the scheme provided by the embodiment, the magnifying and viewing operation is only needed to be executed on the independently editable page without magnifying and viewing in the target document, so that the display and typesetting of the content in the target document are not affected.
In yet another embodiment of the present invention, a computer readable storage medium is provided, where instructions are stored, which when executed on a computer, cause the computer to perform the method for magnifying and displaying a table object according to any of the above embodiments.
Compared with the prior art, in the scheme provided by the embodiment, the target table object is the table object with the content and the format of the table object to be extracted, so that the content of the target table object is the same as that of the table object to be extracted, and a user can clearly check the content in the target table object, namely the content in the table object to be extracted, by amplifying the target table object, thereby avoiding the problem that the user cannot see the content in the table object to be extracted due to the limitation of the maximum display proportion of the document when directly amplifying the target document to check the table object to be extracted.
In addition, in the scheme provided by the embodiment, the magnifying and viewing operation is only needed to be executed on the independently editable page without magnifying and viewing in the target document, so that the display and typesetting of the content in the target document are not affected.
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 the method for magnifying display of any of the table objects described above is also provided.
Compared with the prior art, in the scheme provided by the embodiment, the target table object is the table object with the content and the format of the table object to be extracted, so that the content of the target table object is the same as that of the table object to be extracted, and a user can clearly check the content in the target table object, namely the content in the table object to be extracted, by amplifying the target table object, thereby avoiding the problem that the user cannot see the content in the table object to be extracted due to the limitation of the maximum display proportion of the document when directly amplifying the target document to check the table object to be extracted.
In addition, in the scheme provided by the embodiment, the magnifying and viewing operation is only needed to be executed on the independently editable page without magnifying and viewing in the target document, so that the display and typesetting of the content in the target document are not affected.
In a further 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 the method for magnifying display of any of the table objects described above.
Compared with the prior art, in the scheme provided by the embodiment, the target table object is the table object with the content and the format of the table object to be extracted, so that the content of the target table object is the same as that of the table object to be extracted, and a user can clearly check the content in the target table object, namely the content in the table object to be extracted, by amplifying the target table object, thereby avoiding the problem that the user cannot see the content in the table object to be extracted due to the limitation of the maximum display proportion of the document when directly amplifying the target document to check the table object to be extracted.
In addition, in the scheme provided by the embodiment, the magnifying and viewing operation is only needed to be executed on the independently editable page without magnifying and viewing in the target document, so that the display and typesetting of the content in the target document are not affected.
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 (8)

1. A method for magnifying 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 table object to be extracted in a target document; the table object to be extracted is a sub-table object selected by a user from the complete table objects in the target document;
creating and displaying on the independently editable page: a target table object having the extracted content and format;
obtaining an enlarged display instruction aiming at the target table object;
according to the amplifying display instruction, amplifying and displaying the target table object;
the step of judging whether the preset condition of the independent display form object is met comprises the following steps:
detecting whether a table object to be extracted exists in the content currently displayed by the target document;
if yes, judging that preset conditions of the independent display form objects are met;
the creating and displaying on the independently editable page: the target table object with extracted content and format includes:
creating and displaying on the independently editable page according to the text attribute value: a target table object having the extracted content and format; the text attribute value is the text attribute value of the table object input by the user.
2. 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.
3. The method according to any one of claims 1-2, wherein the independently editable page comprises an H5 page or a client page with a presentation form object function.
4. An enlarged display device for a form object, the device 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 the table object to be extracted in the target document; the table object to be extracted is a sub-table object selected by a user from the complete table objects in the target document;
the creation module is used for creating and displaying on the independent editable page: a target table object having the extracted content and format;
the obtaining module is used for obtaining an enlarged display instruction aiming at the target table object;
the display module is used for magnifying and displaying the target table object according to the magnifying and displaying instruction;
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 yes, judging that preset conditions of the independent display form objects are met;
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 target table object having the extracted content and format.
5. The apparatus of claim 4, 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.
6. The apparatus according to any one of claims 4 to 5, wherein the independently editable page includes an H5 page or a client page having a function of displaying a table object.
7. An electronic device comprising a processor and a memory, wherein:
a memory for storing a computer program;
a processor for implementing the steps of the method of any one of claims 1 to 3 when executing a program stored on a memory.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the steps of the method of any of claims 1-3.
CN201711488057.0A 2017-12-29 2017-12-29 Method and device for magnifying and displaying table objects, electronic equipment and storage medium Active CN109992751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711488057.0A CN109992751B (en) 2017-12-29 2017-12-29 Method and device for magnifying and displaying table objects, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711488057.0A CN109992751B (en) 2017-12-29 2017-12-29 Method and device for magnifying and displaying table objects, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109992751A CN109992751A (en) 2019-07-09
CN109992751B true CN109992751B (en) 2023-12-01

Family

ID=67111095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711488057.0A Active CN109992751B (en) 2017-12-29 2017-12-29 Method and device for magnifying and displaying table objects, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109992751B (en)

Citations (13)

* Cited by examiner, † Cited by third party
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
CN102541817A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and device for previewing digital files
CN102629180A (en) * 2011-01-07 2012-08-08 微软公司 Natural input for spreadsheet actions
CN102646008A (en) * 2011-02-16 2012-08-22 汉王科技股份有限公司 Method and device for displaying multi-display page of document by electronic reader
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
CN103853806A (en) * 2013-09-26 2014-06-11 深圳海联讯科技股份有限公司 Method and device for converting table
CN104731813A (en) * 2013-12-23 2015-06-24 珠海金山办公软件有限公司 Form file display method and system
CN105144069A (en) * 2013-03-13 2015-12-09 微软技术许可有限责任公司 Semantic zoom-based navigation of displayed content
CN105912519A (en) * 2016-05-27 2016-08-31 北京京东尚科信息技术有限公司 Electronic document typesetting method and typesetting device
CN106327545A (en) * 2016-08-19 2017-01-11 江苏中威科技软件系统有限公司 Vector line amplification drawing method
CN106970897A (en) * 2017-04-05 2017-07-21 北京小米移动软件有限公司 The method to set up and equipment of text formatting

Patent Citations (14)

* Cited by examiner, † Cited by third party
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
CN102541817A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and device for previewing digital files
CN102629180A (en) * 2011-01-07 2012-08-08 微软公司 Natural input for spreadsheet actions
CN102646008A (en) * 2011-02-16 2012-08-22 汉王科技股份有限公司 Method and device for displaying multi-display page of document by electronic reader
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
CN103019532A (en) * 2012-11-23 2013-04-03 中兴通讯股份有限公司 Field processing method and device
CN105144069A (en) * 2013-03-13 2015-12-09 微软技术许可有限责任公司 Semantic zoom-based navigation of displayed content
CN103853806A (en) * 2013-09-26 2014-06-11 深圳海联讯科技股份有限公司 Method and device for converting table
CN104731813A (en) * 2013-12-23 2015-06-24 珠海金山办公软件有限公司 Form file display method and system
WO2015096634A1 (en) * 2013-12-23 2015-07-02 北京金山办公软件有限公司 Tabular file display method and system
CN105912519A (en) * 2016-05-27 2016-08-31 北京京东尚科信息技术有限公司 Electronic document typesetting method and typesetting device
CN106327545A (en) * 2016-08-19 2017-01-11 江苏中威科技软件系统有限公司 Vector line amplification drawing method
CN106970897A (en) * 2017-04-05 2017-07-21 北京小米移动软件有限公司 The method to set up and equipment of text formatting

Also Published As

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

Similar Documents

Publication Publication Date Title
CN107015751B (en) Optimal display and scaling of objects and text in a document
US9507519B2 (en) Methods and apparatus for dynamically adapting a virtual keyboard
US8683003B2 (en) Hyperlink with graphical cue
CN104978317B (en) Webpage generation method and device, website generation method and website establishment server
US20210287570A1 (en) Systems and methods for accessible widget selection
CN108681404B (en) Electronic device and control method thereof
TWI611338B (en) Method for zooming screen and electronic apparatus and computer program product using the same
CN106484266A (en) A kind of text handling method and device
JP2012059248A (en) System, method, and program for detecting and creating form field
US20150186019A1 (en) Method and apparatus for manipulating and presenting images included in webpages
KR101580003B1 (en) Graphical user interface for non mouse-based activation of links
CN103605783A (en) Webpage display method and device
US20130174033A1 (en) HTML5 Selector for Web Page Content Selection
CN105488051B (en) Webpage processing method and device
EP2699986A1 (en) Touch screen selection
US20120254797A1 (en) Information processor and computer program product
US20160232151A1 (en) Responsive course design system and method
CN112988006A (en) Display method, display device, electronic equipment and storage medium
CN109992750B (en) Table object screening method and device, electronic equipment and storage medium
CN106648571B (en) Method and device for calibrating application interface
US20130111333A1 (en) Scaling objects while maintaining object structure
CN109992759B (en) Table object editing method and device, electronic equipment and storage medium
CN109992751B (en) Method and device for magnifying and displaying table objects, electronic equipment and storage medium
CN111143001A (en) Language detection method of terminal, user equipment, storage medium and device
KR101294458B1 (en) Apparatus and method of inputting text in mobile 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