CN112306336A - Document content display method and device - Google Patents

Document content display method and device Download PDF

Info

Publication number
CN112306336A
CN112306336A CN201910704589.6A CN201910704589A CN112306336A CN 112306336 A CN112306336 A CN 112306336A CN 201910704589 A CN201910704589 A CN 201910704589A CN 112306336 A CN112306336 A CN 112306336A
Authority
CN
China
Prior art keywords
document
target
thumbnail
document content
target document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910704589.6A
Other languages
Chinese (zh)
Inventor
黄伟铭
李雪妮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software 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 filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201910704589.6A priority Critical patent/CN112306336A/en
Publication of CN112306336A publication Critical patent/CN112306336A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a document content display method and a document content display device, wherein the method comprises the following steps: receiving a click instruction aiming at a thumbnail in a target document, wherein the target document comprises a text document or a table document, and the thumbnail is the thumbnail of the document content of the target document; calculating the position of the document content corresponding to the thumbnail position in the target document as a target position according to the thumbnail position indicated by the click instruction, the display size of the target document and a preset scaling; and displaying the document content corresponding to the target position in the target document. By applying the document content display scheme provided by the embodiment of the application, a user can preview document content through the thumbnail and can click the document content which the user wants to display in the thumbnail. Therefore, the electronic equipment can quickly and accurately display the document content according to the click instruction of the user for the thumbnail, so that the office efficiency can be improved.

Description

Document content display method and device
Technical Field
The present application relates to the field of office software technologies, and in particular, to a method and an apparatus for displaying document contents.
Background
Currently, when a user reads a text document or a form document with a large number of pages, the user often needs to drag a scroll bar so that the electronic device interface can display the document content that the user wants to view.
However, in this manner of dragging the scroll bar, the user needs to perform multiple up and down dragging operations before the document content that the user wants to view is displayed on the interface of the electronic device. That is, the manner of dragging the scroll bar cannot quickly and accurately display the document contents that the user wants to view.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for displaying document content, so as to quickly and accurately display document content that a user wants to view, thereby improving office efficiency. The specific technical scheme is as follows:
in a first aspect, a document content display method is provided, and the method includes:
receiving a click instruction aiming at the thumbnail in the target document; the target document comprises a text document or a table document, and the thumbnail is a thumbnail of the document content of the target document.
Calculating the position of the document content corresponding to the thumbnail position in the target document as a target position according to the thumbnail position indicated by the click instruction, the display size of the target document and a preset scaling; wherein the preset scaling is a reduction scale of the display size of the thumbnail relative to the display size of the target document.
And displaying the document content corresponding to the target position in the target document.
Optionally, before the step of receiving a click instruction for a thumbnail in the target document, the method further includes:
and generating a thumbnail of the document content recorded with the target document according to a preset scaling.
The thumbnail is displayed on the right side of the target document.
Optionally, after the step of generating the thumbnail of the document content recorded with the target document, the method further includes:
an update instruction for document content of the target document is received.
And updating the document content of the target document according to the updating instruction to obtain the updated target document.
And triggering the step of generating the thumbnail of the document content recorded with the target document according to the preset scaling.
Optionally, after the step of displaying the document content corresponding to the target position in the target document, the method further includes:
and determining the document content currently shown in the target document as the target document content.
The highlight mark records a thumbnail area of the target document content.
Optionally, after the step of displaying the document content corresponding to the target position in the target document, the method further includes:
highlighting the document content corresponding to the target position.
In a second aspect, there is provided a document content display apparatus, the apparatus comprising:
the first receiving module is used for receiving a click instruction aiming at the thumbnail in the target document; the target document comprises a text document or a table document, and the thumbnail is a thumbnail of the document content of the target document.
The computing module is used for computing the position of the document content corresponding to the thumbnail position in the target document as a target position according to the thumbnail position indicated by the click instruction, the display size of the target document and a preset zoom scale; wherein the preset scaling is a reduction scale of the display size of the thumbnail relative to the display size of the target document.
And the first display module is used for displaying the document content corresponding to the target position in the target document.
Optionally, the document content display device further comprises.
And the generating module is used for generating the thumbnail of the document content recorded with the target document according to the preset scaling before receiving the click instruction aiming at the thumbnail in the target document.
And the second display module is used for displaying the thumbnail on the right side of the target document.
Optionally, the document content display device further includes:
and the second receiving module is used for receiving an update instruction aiming at the document content of the target document after generating the thumbnail of the document content recorded with the target document.
And the updating module is used for updating the document content of the target document according to the updating instruction to obtain the updated target document.
And the triggering module is used for triggering the generating module to execute the step of generating the thumbnail of the document content recorded with the target document according to the preset scaling.
Optionally, the document content display device further includes:
and the determining module is used for determining the currently displayed document content in the target document as the target document content after displaying the document content corresponding to the target position in the target document.
And the first marking module is used for highlighting the thumbnail area recorded with the target document content.
Optionally, the document content display device further includes:
and the second marking module is used for highlighting the document content corresponding to the target position after displaying the document content corresponding to the target position in the target document.
In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor adapted to perform the method steps of any of the first aspect when executing a program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, having stored therein a computer program which, when executed by a processor, carries out the method steps of any of the first aspects.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method steps of any of the first aspects described above.
In an embodiment of the application, the electronic device may receive a click instruction for a thumbnail in a target document. The target document can comprise a text document or a table document, and the thumbnail is a thumbnail of the document content of the target document. Then, the position of the document content corresponding to the thumbnail position in the target document can be calculated as the target position according to the thumbnail position indicated by the click instruction, the display size of the target document and the preset zoom scale. Wherein the preset zoom scale is a reduction scale of the display size of the thumbnail with respect to the display size of the target document. Thereafter, the document content corresponding to the target location in the target document may be displayed. In this way, the user can preview the document content of the target document through the thumbnail, and can click on the document content that the user wants to display in the thumbnail. Therefore, the electronic equipment can quickly determine the target position of the document content which is wanted to be viewed by the user in the target document according to the click instruction of the user for the thumbnail. Furthermore, the document content corresponding to the target position in the target document can be displayed quickly. That is, the document contents that the user wants to view can be displayed quickly and accurately. The user does not need to manually drag the scroll bar for many times to enable the electronic equipment to display the content to be checked, the time for displaying the document content to be checked by the user is shortened, and therefore the office efficiency of the user can be improved.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a document content display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface for displaying document contents according to an embodiment of the present application;
FIG. 3 is a flowchart of another document content display method provided in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a document content display apparatus according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a document content display apparatus according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a document content display apparatus according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a document content display apparatus according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of a document content display apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a document content display method, which can be applied to electronic equipment. The electronic device may have a text document or table document display function. For example, the terminal may be a PC (personal computer) terminal. The text document may include text, pictures, and the like, and the embodiment of the present application is not limited.
The following will describe a document content display method provided in an embodiment of the present application in detail with reference to specific embodiments, as shown in fig. 1, the specific steps are as follows:
step 101, receiving a click instruction aiming at a thumbnail in a target document; the target document comprises a text document or a table document, and the thumbnail is a thumbnail of the document content of the target document.
In the embodiment of the application, the target document displayed by the electronic equipment can be a text document, and the thumbnail of the document content recorded with the text document can be displayed while the text document is displayed. In addition, the target document displayed by the electronic equipment can also be a table document, and the thumbnail of the document content recorded with the table document can be displayed at the same time of displaying the table document. The user can preview the document content thumbnail, select a specific position in the document content thumbnail and click.
In this way, when the user has a picture-text impression on the document content of the target document, the user can accurately find the content which the user wants to view in the thumbnail by previewing the thumbnail. Then, the position of the content desired to be viewed in the thumbnail can be clicked. Thus, the electronic device may receive a click instruction for the thumbnail in the target document.
102, calculating the position of the document content corresponding to the thumbnail position in the target document as a target position according to the thumbnail position indicated by the click instruction, the display size of the target document and a preset zoom scale; wherein the preset scaling is a reduction scale of the display size of the thumbnail relative to the display size of the target document.
In the embodiment of the application, after receiving a click instruction of a user, the electronic device may calculate a position of document content corresponding to the thumbnail position in the target document as the target position according to the thumbnail position indicated by the click instruction, the display size of the target document, and a preset zoom scale. Wherein the preset scaling is a reduction scale of the display size of the thumbnail relative to the display size of the target document.
For example, when the document content of the text document is scaled according to a preset scaling, for example, the preset scaling is 15 times smaller, and when the size of the text document is 45 pixels wide and 15 pixels long, the size of the document content thumbnail of the text document is 3 pixels wide and 1 pixel long. When the user clicks the position of the thumbnail with the length of 0.8 pixel and the width of 1 pixel, the electronic device may calculate that the position of the clicked position on the text document corresponds to the position with the length of 12 pixels and the width of 15 pixels, and the line corresponding to the position in the text content is the target position. The electronic equipment calculates the target position by the method, and can accurately determine the position of the document content corresponding to the thumbnail position in the target document under the condition that the thumbnail position indicated by the click instruction is known.
And 103, displaying the document content corresponding to the target position in the target document.
In the embodiment of the application, the electronic device may display the document content corresponding to the target position in the target document according to the calculated target position. The user can specifically click the thumbnail to a specific position in the thumbnail, and when the electronic device displays the document content corresponding to the target position, the document content corresponding to the corresponding row can be displayed in the middle of the page according to the row corresponding to the specific position in the document content. In the case that the user accurately selects the click position, the electronic device can quickly and accurately locate and display the document content that the user wants to query.
Optionally, before the step of receiving a click instruction for the thumbnail in the target document, the method may further include the following steps:
step one, generating a thumbnail of the document content recorded with the target document according to a preset scaling.
In the embodiment of the application, the electronic device can zoom the document content of the target document according to the preset zoom scale to generate the thumbnail recorded with the document content. For example, a text document having a size of 90 pixels wide and 15 pixels long is reduced by 15 times in accordance with the scaling ratio, and the content of the text document is reduced, so that a thumbnail having a size of 6 pixels wide and 1 pixel long is generated.
In the embodiment of the present application, the text document and the form document as the target document belong to a typeset streaming document, and paging according to page numbers is not strictly required in the display and editing processes, so that in the generated thumbnail, the thumbnail content is not subjected to specific paging processing.
And step two, displaying the thumbnail on the right side of the target document.
In the embodiment of the application, the electronic device may display the generated thumbnail on the right side of the target document. The electronic equipment can receive a scrolling instruction of a user for a target document and update the content of the displayed document on the current display page, and can also receive a scrolling instruction of a document content thumbnail of the target document and update the content of the currently displayed thumbnail. By scrolling the thumbnail of the document content recorded with the target document, the user can preview the document content of the whole target document, so that the user can click the corresponding position on the thumbnail according to the document content required to be displayed.
Specifically, after the step of generating the thumbnail in which the document content of the target document is recorded, the method may further include the following steps:
step one, receiving an update instruction aiming at the document content of a target document.
In the embodiment of the application, a user can edit the document content of the target document, wherein the document content of the target document includes update instructions such as adding, deleting or modifying the document content of the target document.
And step two, updating the document content of the target document according to the updating instruction to obtain an updated target document.
In the embodiment of the application, after receiving the update instruction for the document content of the target document, the electronic device may perform corresponding editing and updating on the document content of the target document according to the update instruction, and generate the updated target document.
And step three, triggering the step of generating the thumbnail of the document content recorded with the target document according to the preset scaling.
In the embodiment of the application, after obtaining the updated target document, the electronic device may trigger the step of generating the thumbnail of the document content recorded with the target document according to the preset zoom ratio, and update the thumbnail of the document content according to the updated document content of the target document and the preset zoom ratio to generate the thumbnail of the document content recorded with the updated target document.
Optionally, after the step of displaying the document content corresponding to the target position in the target document, the method may further include the following steps:
step one, determining the currently displayed document content in the target document as the target document content.
In the embodiment of the application, the electronic device may determine, according to the position of the thumbnail indicated by the user click instruction and a preset zoom scale, the document content of a specific line corresponding to the position of the thumbnail in the target document, where the document content corresponding to the specific line is the target document content.
And step two, recording the thumbnail area of the target document content in the highlight mark.
In the embodiment of the application, the electronic device may calculate a corresponding area of the target document content in the thumbnail according to the position of the target document content in the target document and a preset zoom scale, and highlight the thumbnail area. When reading the target document, the user may have an overall understanding of the location of the target document content throughout the target document by determining the highlighted thumbnail region.
As shown in fig. 2, a schematic interface for displaying document content is provided for an embodiment of the present application, where the display interface includes a document toolbar, a current display interface of a target document, a current display page of a thumbnail, and a highlighted identification area in the thumbnail, which is represented by a shaded area. Specifically, the currently displayed page of the target document is the partial content of the second page and the partial content of the third page of the document, and the thumbnails display partial thumbnails of the first page, partial thumbnails of the fourth page, and thumbnails of the second page and the third page in the currently displayed page, wherein the highlighted thumbnail content corresponds to the document content of the target document displayed on the current page. Because the thumbnails have no clear pages, the electronic device highlights corresponding thumbnail areas of the currently displayed page, namely, the partial content of the second page and the partial content of the third page, and the areas are marked by shading in the schematic diagram to represent the thumbnail areas corresponding to the highlighted areas.
Optionally, after displaying the document content corresponding to the target position in the target document, the method further includes:
highlighting the document content corresponding to the target position.
In the embodiment of the application, after the electronic device displays the document content corresponding to the click position on the current page, highlighting the corresponding document content in the current displayed page of the target document.
In the embodiment of the application, the electronic device may display the corresponding document content according to the calculated target position. The user clicks the thumbnail to a certain line, and when the electronic device displays the target position, the document content corresponding to the clicked line can be displayed in the center of the page. The electronic equipment can quickly position and display the document content which the user wants to inquire under the condition that the user accurately judges and selects the click position.
In the embodiment of the present application, a flowchart of another document content display method is provided, and as shown in fig. 3, the document content display method may include the following steps:
s301: generating a thumbnail of the document content recorded with the target document;
s302: displaying the thumbnail on the right side of the target document;
s303: according to the document content displayed on the current display page and a preset scaling, calculating a thumbnail area corresponding to the zoomed front document content area on the thumbnail, and highlighting and identifying the thumbnail area;
s304: when a user scrolls the document, the highlighted identification frame on the thumbnail is refreshed in real time;
s305: judging whether a click instruction of a user for the thumbnail in the target document is received; if yes, go to step S306;
s306: when a user clicks a specific position on a thumbnail, the electronic equipment calculates the position of the document content corresponding to the clicked position in a target document, namely a target position, according to the clicked thumbnail position and a preset scaling;
s307: displaying the document content corresponding to the click position, and highlighting the document content;
s308: after the electronic device ends executing step S307, the electronic device executes step S303.
According to the document content display method provided by the embodiment of the application, a user can preview the document content of the target document through the thumbnail, and can click the document content which the user wants to display in the thumbnail. Accordingly, the electronic device can receive a click command of a user for the thumbnail in the target document, wherein the target document comprises a text document and a table document, and can locate the corresponding document content in the target document and display the corresponding document content according to the click command. The document content display realized by the method can quickly and accurately display the document content which the user wants to view, save the time for confirming the document position again by scrolling the document up and down, and improve the office efficiency.
Based on the same technical concept, an embodiment of the present application further provides a document content display apparatus, as shown in fig. 4, which is applied to an electronic device, and includes:
a first receiving module 401, configured to receive a click instruction for a thumbnail in a target document; the target document comprises a text document or a table document, and the thumbnail is a thumbnail of the document content of the target document.
A calculating module 402, configured to calculate, according to the thumbnail position indicated by the click instruction, the display size of the target document, and a preset zoom scale, a position of the document content corresponding to the thumbnail position in the target document as a target position; wherein the preset scaling is a reduction scale of the display size of the thumbnail relative to the display size of the target document.
A first display module 403, configured to display a document content corresponding to the target location in the target document.
Optionally, as shown in fig. 5, the document content display apparatus further includes:
and a generating module 404, configured to generate a thumbnail of the document content recorded with the target document according to the preset scaling before receiving a click instruction for the thumbnail in the target document.
A second display module 405, configured to display the thumbnail on the right side of the target document.
Optionally, as shown in fig. 6, the document content display apparatus further includes:
a second receiving module 406, configured to receive an update instruction for the document content of the target document after generating the thumbnail in which the document content of the target document is recorded.
And the updating module 407 is configured to update the document content of the target document according to the update instruction, so as to obtain the updated target document.
And a triggering module 408, configured to trigger the generating module to perform the step of generating the thumbnail of the document content recorded with the target document according to the preset scaling.
Optionally, as shown in fig. 7, the document content display apparatus further includes:
the determining module 409 is configured to determine, after displaying the document content corresponding to the target position in the target document, the document content currently displayed in the target document as the target document content.
The first marking module 4010 is configured to highlight the thumbnail area in which the target document content is recorded.
Alternatively, as shown in fig. 8, the document content display apparatus further includes:
the second marking module 4011 is configured to highlight and mark the document content corresponding to the target location after displaying the document content corresponding to the target location in the target document.
The embodiment of the present application further provides a document content display device, as shown in fig. 9, which includes a processor 901, a communication interface 902, a memory 903 and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904,
a memory 903 for storing computer programs;
the processor 901 is configured to implement any method step in the above-described document content display method embodiment when executing the program stored in the memory 903.
The communication bus mentioned in the network device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the network device and other devices.
The Memory may include a Random Access Memory (RAM) or a 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 processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, or discrete hardware components.
Based on the same technical concept, embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any one of the method steps in the above document content display method embodiment.
Based on the same technical concept, embodiments of the present application further provide a computer program product including instructions, which when run on a computer, cause the computer to perform any one of the method steps in the above document content display method embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (10)

1. A method for displaying document content, the method comprising:
receiving a click instruction aiming at the thumbnail in the target document; the target document comprises a text document or a table document, and the thumbnail is a thumbnail of the document content of the target document;
calculating the position of the document content corresponding to the thumbnail position in the target document as a target position according to the thumbnail position indicated by the click instruction, the display size of the target document and a preset zoom scale; wherein the preset scaling is a reduction scale of the display size of the thumbnail relative to the display size of the target document;
and displaying the document content corresponding to the target position in the target document.
2. The method of claim 1, further comprising, prior to the step of receiving a click command for a thumbnail in a target document:
generating a thumbnail of the document content recorded with the target document according to the preset scaling;
and displaying the thumbnail on the right side of the target document.
3. The method according to claim 2, further comprising, after the step of generating the thumbnail of the document content in which the target document is recorded:
receiving an update instruction for the document content of the target document;
updating the document content of the target document according to the updating instruction to obtain the updated target document;
and triggering the step of generating the thumbnail of the document content recorded with the target document according to the preset scaling.
4. The method according to claim 1, further comprising, after the step of displaying the document content corresponding to the target position in the target document:
determining the document content currently displayed in the target document as the target document content;
the highlight mark records a thumbnail area of the target document content.
5. The method according to claim 1, further comprising, after the step of displaying the document content corresponding to the target position in the target document:
highlighting the document content corresponding to the target position.
6. A document content display apparatus, characterized in that the apparatus comprises:
the first receiving module is used for receiving a click instruction aiming at the thumbnail in the target document; the target document comprises a text document or a table document, and the thumbnail is a thumbnail of the document content of the target document;
the calculation module is used for calculating the position of the document content corresponding to the thumbnail position in the target document as a target position according to the thumbnail position indicated by the click instruction, the display size of the target document and a preset zoom scale; wherein the preset scaling is a reduction scale of the display size of the thumbnail relative to the display size of the target document;
and the first display module is used for displaying the document content corresponding to the target position in the target document.
7. The apparatus of claim 6, further comprising:
the generating module is used for generating the thumbnail of the document content recorded with the target document according to the preset scaling before receiving a click instruction aiming at the thumbnail in the target document;
and the second display module is used for displaying the thumbnail on the right side of the target document.
8. The apparatus of claim 7, further comprising:
the second receiving module is used for receiving an updating instruction aiming at the document content of the target document after generating the thumbnail of the document content recorded with the target document;
the updating module is used for updating the document content of the target document according to the updating instruction to obtain the updated target document;
and the triggering module is used for triggering the generating module to execute the step of generating the thumbnail of the document content recorded with the target document according to the preset scaling.
9. The apparatus of claim 6, further comprising:
the determining module is used for determining the currently displayed document content in the target document as the target document content after displaying the document content corresponding to the target position in the target document;
and the first marking module is used for highlighting the thumbnail area recorded with the target document content.
10. The apparatus of claim 6, further comprising:
and the second marking module is used for highlighting the document content corresponding to the target position after displaying the document content corresponding to the target position in the target document.
CN201910704589.6A 2019-07-31 2019-07-31 Document content display method and device Pending CN112306336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910704589.6A CN112306336A (en) 2019-07-31 2019-07-31 Document content display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910704589.6A CN112306336A (en) 2019-07-31 2019-07-31 Document content display method and device

Publications (1)

Publication Number Publication Date
CN112306336A true CN112306336A (en) 2021-02-02

Family

ID=74486370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910704589.6A Pending CN112306336A (en) 2019-07-31 2019-07-31 Document content display method and device

Country Status (1)

Country Link
CN (1) CN112306336A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835584A (en) * 2021-09-28 2021-12-24 深圳集智数字科技有限公司 Page operation method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544199A (en) * 2012-07-12 2014-01-29 索尼公司 Display control apparatus, display control method, program, and communication system
CN104412257A (en) * 2012-07-12 2015-03-11 索尼公司 Display control device, display control method, program, and communication system
CN104636396A (en) * 2013-11-13 2015-05-20 阿里巴巴集团控股有限公司 Page positioning method and device
CN106095926A (en) * 2016-06-08 2016-11-09 广州视睿电子科技有限公司 Lantern slide control method for playing back and device
US20170344203A1 (en) * 2012-09-27 2017-11-30 Open Text Corporation Reorder and selection persistence of displayed objects

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544199A (en) * 2012-07-12 2014-01-29 索尼公司 Display control apparatus, display control method, program, and communication system
CN104412257A (en) * 2012-07-12 2015-03-11 索尼公司 Display control device, display control method, program, and communication system
US20170344203A1 (en) * 2012-09-27 2017-11-30 Open Text Corporation Reorder and selection persistence of displayed objects
CN104636396A (en) * 2013-11-13 2015-05-20 阿里巴巴集团控股有限公司 Page positioning method and device
CN106095926A (en) * 2016-06-08 2016-11-09 广州视睿电子科技有限公司 Lantern slide control method for playing back and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡宇 等: "《常用工具软件项目教程》", 31 August 2016 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835584A (en) * 2021-09-28 2021-12-24 深圳集智数字科技有限公司 Page operation method and device, electronic equipment and storage medium
CN113835584B (en) * 2021-09-28 2024-04-26 深圳须弥云图空间科技有限公司 Page operation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102123195B (en) Apparatus and method for providing bookmark service in communication terminal
CN110659092B (en) Webpage screenshot method and device, computer equipment and storage medium
CN111414727B (en) Editing method and device for PDF document header footer and electronic equipment
CN110781427A (en) Method, device, equipment and storage medium for calculating first screen time
CN113342249B (en) Content management method, device, equipment and storage medium capable of previewing in real time
CN109815243B (en) Structured storage method and device during document interface modification
CN111428452B (en) Annotation data storage method and device
CN112306336A (en) Document content display method and device
CN107450809B (en) Page interaction method and device and electronic terminal
CN111914517A (en) Document hyperlink creating method and device, electronic equipment and readable storage medium
CN112784541A (en) Method and device for replacing picture in document, electronic equipment and storage medium
CN112987992B (en) Navigation element display method and device and electronic equipment
CN112783382B (en) Method, device, terminal and storage medium for setting document icons
CN112784526A (en) Document page adjusting method and device
CN111506185B (en) Method, device, electronic equipment and storage medium for operating document
CN110908570B (en) Image processing method, device, terminal and storage medium
CN110795922B (en) Form information display method and device for PDF document and electronic equipment
CN107741992B (en) Network storage method and device for conference records, intelligent tablet and storage medium
CN111881050A (en) Method and device for clipping text layer and electronic equipment
CN112799564A (en) Method, device, electronic equipment and medium for inserting control in table
CN110019492B (en) Information display method and device
US9536013B2 (en) Method and apparatus for web browsing of handheld device
CN112181240B (en) Information display method and device
CN112417817A (en) PDF document format conversion method and device and electronic equipment
CN114185473B (en) Method, device, equipment and readable storage medium for displaying pictures in page

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202