A highlight display method and device based on PPT
By implementing the PPT-based highlighting method in the browser, the problem of image quality loss and copyright incompatibility caused by highlighting of existing PPT software is solved, and the highlighting effect is efficient and resource-saving.
Patent Information
- Application Number
- CN201811497023.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-07
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2038-12-07
AI Technical Summary
The highlighting scheme of existing PPT software will perform secondary processing of images, resulting in loss of image quality and requires manpower or machine resources to process. Due to copyright incompatibility issues, PPT files may not be opened normally on different terminals.
By implementing the PPT-based highlighting method in the browser, when the user selects a highlight area on the PPT interface, he determines the starting position and side length of the selected area based on the preset coordinate origin of the browser interface, divides out non-highlight areas, and draws an area with preset brightness values on the PPT interface to achieve highlighting.
This method does not require dedicated PPT software, avoids copyright incompatibility issues, improves user experience, and saves manpower or machine resources required for secondary image processing, and retains the image quality of the highlighted area.
Smart Images

Figure CN111291202B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a PPT-based highlighting method and device. Background Art
[0002] In the existing solution, users usually need to use dedicated PPT software to complete the production of PPT files. Subsequent users also need to use dedicated PPT software to open the completed PPT files on other terminals. However, the PPT software versions on different terminals may be different, which will cause the PPT software to be unable to open the PPT file due to copyright incompatibility issues.
[0003] If the function of making PPT is applied to the browser web page, the above problems can be effectively avoided. Because as long as a browser is installed on the terminal, the PPT file can be demonstrated or made through the corresponding web page, and there is no problem of incompatibility of PPT software versions, and the user does not need to install special PPT software on the terminal, which not only saves terminal storage space, but also improves the user's operating experience. In addition, when the browser is actually used to demonstrate or make PPT files, in order to achieve a better PPT display effect, in some cases the user hopes to add highlights to the PPT file to mark the key content, but the highlight display scheme of the existing PPT software usually performs secondary processing on the pictures that need to be highlighted. This method not only leads to the loss of image quality, but also requires human resources or machine resources for image processing. Therefore, how to ensure image quality while reducing manual operation and achieve the effect of having a highlighted area in the PPT interface is a technical problem that urgently needs to be solved. Summary of the invention
[0004] In view of the above problems, the present invention is proposed to provide a PPT-based highlighting method and device that overcomes the above problems or at least partially solves the above problems.
[0005] According to one aspect of the present invention, a PPT-based highlighting method is provided, which is applied in a browser and includes:
[0006] When receiving a highlight trigger operation of a selected area by a user on the PPT interface, determining the starting position coordinates and the lengths of each side of the selected area based on a preset coordinate origin of the browser interface;
[0007] Using the starting position coordinates and the lengths of each side of the selected area as a basis for division, a plurality of areas other than the selected area are divided on the browser interface, and the divided areas are used as non-highlight areas;
[0008] An area with a preset brightness value overlapping with the non-highlighted area is drawn on the PPT interface, wherein the preset brightness value is smaller than the brightness value of the selected area.
[0009] Optionally, before receiving a highlight trigger operation of a selected area by a user on a PPT interface, the method further includes:
[0010] Receiving a user's frame selection operation on any area on the PPT interface;
[0011] Any area corresponding to the frame selection operation is set as a selected area for highlighting.
[0012] Optionally, based on a preset coordinate origin of the browser interface, determining the starting position coordinates and the lengths of each side of the selected area includes:
[0013] Determine a starting point corresponding to the user's frame selection operation, and use the starting point as the starting position of the selected area;
[0014] The preset coordinate origin of the browser interface is obtained, and the starting position coordinates and the lengths of each side of the selected area are determined according to the preset coordinate origin.
[0015] Optionally, based on the starting position coordinates and the lengths of each side of the selected area, a plurality of areas other than the selected area are divided on the browser interface, including:
[0016] Analyzing whether the shape of the selected area is a rectangle;
[0017] If so, four areas other than the selected area are divided on the browser interface based on the starting position coordinates of the selected area and the lengths of each side.
[0018] Optionally, the method further comprises: dividing a plurality of areas other than the selected area on the browser interface based on the starting position coordinates and the lengths of each side of the selected area, and taking the divided areas as non-highlighted areas;
[0019] Obtaining the pre-stored side length of the browser interface;
[0020] The area of each non-highlighted area divided and its position relative to the selected area are calculated according to the side length of the browser interface, the starting position coordinates of the selected area and the side lengths of each side of the selected area.
[0021] Optionally, drawing an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface includes:
[0022] Draw an area on the PPT interface that is the same area as each non-highlighted area and has the same position relative to the selected area;
[0023] The brightness of the area drawn on the PPT interface is set to the preset brightness value.
[0024] Optionally, after drawing an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface, the method further includes:
[0025] Associating a region having a preset brightness value with a specified operation;
[0026] When presenting PPT, if the user's specified operation is received, the area with the preset brightness value associated with the specified operation is retrieved and displayed on the current PPT interface.
[0027] Optionally, after drawing an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface, the method further includes:
[0028] Sending the PPT file with the preset brightness value area drawn on the PPT interface to the server, and the server storing the PPT file;
[0029] When a user's viewing and / or editing operation on the PPT file is received, the stored PPT file is retrieved from the server, and the user's viewing and / or editing operation is executed.
[0030] According to another aspect of the present invention, there is also provided a PPT-based highlight display device, which is applied in a browser and includes:
[0031] A determination module, adapted to determine the starting position coordinates and the lengths of each side of the selected area based on a preset coordinate origin of the browser interface when receiving a highlight trigger operation of the selected area by the user on the PPT interface;
[0032] a division module, adapted to divide a plurality of regions other than the selected region on the browser interface based on the starting position coordinates and the lengths of the sides of the selected region, and use the divided regions as non-highlight regions;
[0033] A drawing module is adapted to draw an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface, wherein the preset brightness value is smaller than the brightness value of the selected area.
[0034] Optionally, the device further comprises:
[0035] A receiving module, adapted to receive a user's frame selection operation on any area on the PPT interface before the determining module determines the starting position coordinates and the lengths of each side of the selected area based on a preset coordinate origin of the browser interface;
[0036] The setting module is adapted to set any area corresponding to the frame selection operation as a selected area for highlighting.
[0037] Optionally, the determination module is further adapted to:
[0038] Determine a starting point corresponding to the user's frame selection operation, and use the starting point as the starting position of the selected area;
[0039] The preset coordinate origin of the browser interface is obtained, and the starting position coordinates and the lengths of each side of the selected area are determined according to the preset coordinate origin.
[0040] Optionally, the partitioning module is further adapted to:
[0041] Analyzing whether the shape of the selected area is a rectangle;
[0042] If so, four areas other than the selected area are divided on the browser interface based on the starting position coordinates of the selected area and the lengths of each side.
[0043] Optionally, the device further comprises:
[0044] an acquisition module, adapted to divide the browser interface into a plurality of regions other than the selected region based on the starting position coordinates and the lengths of the sides of the selected region in the division module, and after using the divided regions as non-highlight regions, obtain the pre-stored side lengths of the browser interface;
[0045] The calculation module is adapted to calculate the area of each non-highlighted area divided and its position relative to the selected area according to the side length of the browser interface, the starting position coordinates of the selected area and the side lengths of each side of the selected area.
[0046] Optionally, the drawing module is further adapted to:
[0047] Draw an area on the PPT interface that is the same area as each non-highlighted area and has the same position relative to the selected area;
[0048] The brightness of the area drawn on the PPT interface is set to the preset brightness value.
[0049] Optionally, the device further comprises:
[0050] an associating module, adapted to associate the area with the preset brightness value with a specified operation after the drawing module draws the area with the preset brightness value overlapping with the non-highlighted area on the PPT interface;
[0051] The calling module is suitable for calling the area with the preset brightness value associated with the specified operation and displaying it on the current PPT interface when receiving the user's specified operation during PPT presentation.
[0052] Optionally, the device further comprises:
[0053] A storage module, adapted to send the PPT file of the area with the preset brightness value drawn on the PPT interface to the server after the drawing module draws the area with the preset brightness value overlapping the non-highlighted area on the PPT interface, and the server stores the PPT file;
[0054] The execution module is adapted to retrieve the stored PPT file from the server and execute the viewing and / or editing operation of the user when receiving the viewing and / or editing operation of the user on the PPT file.
[0055] According to another aspect of the present invention, a computer storage medium is provided, wherein the computer storage medium stores computer program code, and when the computer program code is executed on a computing device, the computing device is caused to execute the PPT-based highlighting method in any of the above embodiments.
[0056] According to another aspect of the present invention, a computing device is provided, comprising: a processor; a memory storing computer program code; when the computer program code is executed by the processor, the computing device executes the PPT-based highlighting method in any of the above embodiments.
[0057] In an embodiment of the present invention, a PPT file can be viewed or edited through a browser. When highlighting the content in a PPT file using a browser, if the browser receives a highlight trigger operation of a selected area by a user on the PPT interface, the starting position coordinates and the lengths of each side of the selected area can be determined based on the preset coordinate origin of the browser interface. Then, based on the starting position coordinates and the lengths of each side of the selected area, multiple areas other than the selected area are divided on the browser interface, and the divided areas are used as non-highlighted areas. Furthermore, an area with a preset brightness value overlapping the non-highlighted area is drawn on the PPT interface, wherein the preset brightness value is less than the brightness value of the selected area. Thus, an embodiment of the present invention can realize the production or viewing of PPT through the web page of the browser without the need for dedicated PPT software, thereby effectively avoiding the phenomenon that the PPT software cannot open the PPT file due to copyright incompatibility issues. Moreover, when highlighting a part of the area on the PPT interface, it is only necessary to determine the non-highlighted area and reduce the brightness. There is no need to perform secondary processing on the image to be highlighted. This not only retains the image quality of the highlighted area, but also saves the human resources or machine resources required for secondary image processing, thereby improving the highlighting efficiency of PPT.
[0058] In the embodiment of the present invention, since the highlight area of the technical solution is dynamically generated, the user only needs to circle the highlight area and does not need to manually perform secondary processing on the image, thereby avoiding the disadvantage of reduced image quality.
[0059] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below.
[0060] Based on the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will become more aware of the above and other objects, advantages and features of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0062] Figure 1 A schematic diagram of a process of a highlight display method based on PPT according to an embodiment of the present invention is shown;
[0063] Figure 2A schematic diagram of dividing a non-highlighted area on a browser interface where a highlighted area is located according to an embodiment of the present invention is shown;
[0064] Figure 3 A schematic structural diagram of a PPT-based highlight display device according to an embodiment of the present invention is shown;
[0065] Figure 4 A schematic structural diagram of a PPT-based highlight display device according to another embodiment of the present invention is shown;
[0066] Figure 5 A schematic structural diagram of a PPT-based highlight display device according to yet another embodiment of the present invention is shown. DETAILED DESCRIPTION
[0067] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0068] In order to solve the above technical problems, an embodiment of the present invention provides a PPT-based highlighting method, which can be applied in a browser. Figure 1 FIG. 4 is a flow chart showing a method for highlighting based on PPT according to an embodiment of the present invention. Figure 1 The method at least includes steps S102 to S106.
[0069] Step S102, when receiving a highlight trigger operation of the user on the PPT interface for the selected area, the starting position coordinates and the lengths of each side of the selected area are determined based on the preset coordinate origin of the browser interface.
[0070] Step S104, dividing a plurality of areas except the selected area on the browser interface based on the starting position coordinates and the lengths of the sides of the selected area, and using the divided areas as non-highlighted areas.
[0071] Step S106, drawing an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface, wherein the preset brightness value is smaller than the brightness value of the selected area.
[0072] The embodiment of the present invention can realize the production or viewing of PPT through the web page of the browser without the need for dedicated PPT software, thereby effectively avoiding the phenomenon that the PPT software cannot open the PPT file due to copyright incompatibility issues. In addition, when highlighting a part of the area on the PPT interface, it is only necessary to determine the non-highlighted area and reduce the brightness, without the need to perform secondary processing on the image to be highlighted, thereby retaining the image quality of the highlighted area, saving the human resources or machine resources required for the secondary processing of the image, and improving the highlighting efficiency of the PPT.
[0073] In one embodiment of the present invention, before receiving a highlight trigger operation of a selected area by a user on a PPT interface, the user will first perform a corresponding selection operation on the area to be highlighted on the PPT interface, for example, the user performs a corresponding frame selection operation on an arbitrary area (i.e., the area to be highlighted). Here, the area corresponding to the frame selection operation by the user can be a sentence of text on the PPT interface, or at least a line of text content, or an image or a portion of an image, etc., which is not specifically limited here. When the browser receives a frame selection operation of an arbitrary area by the user on the PPT interface, the arbitrary area corresponding to the frame selection operation will be set as the selected area for highlighting.
[0074] Referring to step S102 above, in one embodiment of the present invention, when determining the starting position coordinates and the lengths of each side of the selected area based on the preset coordinate origin of the browser interface, the starting point corresponding to the user's frame selection operation can be first determined, and the determined starting point is used as the starting position of the selected area. Then, the preset coordinate origin of the browser interface is obtained, and the starting position coordinates and the lengths of each side of the selected area are determined based on the preset coordinate origin.
[0075] In this embodiment, if the selected area corresponding to the frame selection operation is a rectangular area, and the operation trajectory of the frame selection operation is from the upper left corner to the lower right corner of the selected area, at this time, the upper left corner vertex of the selected area can be used as the starting point corresponding to the frame selection operation, that is, the starting position of the selected area.
[0076] The embodiment of the present invention also pre-sets the coordinate origin for the browser interface. For example, the vertex at the upper left corner of the browser interface can be set as the coordinate origin (0,0), and then the starting position coordinates and the lengths of each side of the selected area can be determined based on the coordinate origin (0,0). Figure 2 , rectangular area 5 is the selected area (i.e., the highlighted area) corresponding to the user's frame selection operation, the outermost frame represents the browser interface, the coordinate origin (0,0) of the browser interface is the vertex on the upper left corner of the browser interface, and the starting position coordinates of the determined area are determined to be (x, y), and the length of rectangular area 5 is w, and the width is h.
[0077] In this embodiment, other positions in the browser interface may also be selected as the coordinate origin, which is not specifically limited here.
[0078] Referring to step S104 above, in one embodiment of the present invention, the number of the multiple non-highlighted areas divided on the browser interface except the selected area can be arbitrary. However, the more the number of non-highlighted areas divided, the more parameters of the non-highlighted areas need to be determined later, for example, the area of multiple non-highlighted areas needs to be calculated, and the amount of data calculation is large. Therefore, the number of non-highlighted areas divided can be made as small as possible, thereby reducing the amount of data calculation.
[0079] Generally, the selected area selected by the user on the PPT interface is a rectangular area, and for the rectangular area that needs to be highlighted, the number of non-highlighted areas divided on the browser interface is preferably four. Therefore, in the embodiment of the present invention, when dividing the non-highlighted area on the browser interface, it is also possible to first analyze whether the shape of the selected area is a rectangle. If so, the starting position coordinates and the length of each side of the selected area are used as the basis for division, and four areas other than the selected area are divided on the browser interface.
[0080] For example, see Figure 2 In the embodiment of the present invention, the selected area (ie, the highlighted area) is the rectangular area 5, and the four non-highlighted areas divided on the browser interface are area 1, area 2, area 3, and area 4, respectively.
[0081] In one embodiment of the present invention, after a plurality of non-highlighted areas are divided on the browser interface, in order to realize non-highlighted display of the non-highlighted areas so that the highlighted areas are highlighted, the area of each non-highlighted area can be further calculated, and the position of each non-highlighted area can be clarified. In this embodiment, the side length of the browser interface stored in advance, that is, the length and width of the browser interface, can be obtained first. Then, based on the side length of the browser interface, the starting position coordinates of the selected area, and the side lengths of each side of the selected area, the area of each non-highlighted area divided is calculated, and the position of each non-highlighted area relative to the selected area is determined.
[0082] Still Figure 2The content shown is used as an example for explanation. Assume that the length of the browser interface is a and the width is b, the starting position coordinates of the selected area (i.e., the highlighted area) are (x, y), the length of the selected area (i.e., the rectangular area 5) is w and the width is h, and the four non-highlighted areas, i.e., area 1, area 2, area 3, and area 4, are all rectangular. Then, by calculation, it can be known that the length of area 1 is b and the width is x, the length of area 2 is w and the width is y, the length of area 3 is b and the width is axw, and the length of area 4 is w and the width is byh. It should be noted here that although the values on the coordinate axis are positive and negative, the length of the side of each area in the embodiment of the present invention and the calculated value of the side length are the absolute values of the values in the coordinate axis. In addition, it can also be determined that area 1, area 2, area 3, and area 4 are respectively located on the left side, upper side, right side, and lower side of the rectangular area 5.
[0083] Referring to step S106 above, in one embodiment of the present invention, when drawing an area with a preset brightness value overlapping with a non-highlighted area on a PPT interface, the area with the preset brightness value can be drawn based on the area of each non-highlighted area calculated in the above embodiment and the position of each non-highlighted area determined. Specifically, first draw an area on the PPT interface that is the same area as each non-highlighted area and has the same position relative to the selected area. Then, set the brightness of the area drawn on the PPT interface to the corresponding preset brightness value. Of course, the preset brightness value should be less than the brightness value of the selected area, so that the selected area can be highlighted. The embodiment of the present invention does not limit the specific value of the preset brightness value.
[0084] The above embodiment introduces the process of realizing highlight display on the PPT interface. Usually, after the PPT is produced, it is mainly used for demonstration and explanation to others. When demonstrating and explaining the PPT to others, in order to more clearly reflect the highlighted area and attract the attention of users watching the PPT to the highlighted area, the state of the PPT interface before highlighting can be displayed first. When the user performs a specified operation, the state of the PPT interface after highlighting can be displayed.
[0085] Specifically, after drawing an area with a preset brightness value overlapping with a non-highlighted area on the PPT interface, the area with the preset brightness value can also be associated with a specified operation. During the PPT presentation, if the current PPT interface is pre-drawn with an area with a preset brightness value overlapping with a non-highlighted area, then when receiving a user's specified operation, the area with a preset brightness value associated with the specified operation can be retrieved and displayed on the current PPT interface. The specified operation may include a single-click operation, a double-click operation, a sliding operation, etc., and the embodiment of the present invention does not specifically limit the specified operation.
[0086] In another embodiment of the present invention, when a user creates a PPT file through a browser webpage and realizes highlighting based on PPT, it is usually necessary to log in to the user's account for creating the PPT, which can be an account for creating the PPT website or a browser account. Therefore, after the user completes the creation of the PPT file, the PPT file with a preset brightness value area drawn on the PPT interface can be sent to the corresponding server, and the server can store the PPT file, and the stored PPT file can also be associated with the user account. When the user's viewing and / or editing operation on the PPT file is received, the stored PPT file associated with the user account is retrieved from the server, and the user's viewing and / or editing operation is performed.
[0087] Therefore, by adopting the solution of the present application, the creation of PPT files and the highlighting of PPT file contents can be achieved by installing a browser on the terminal. There is no need to install special PPT software on the terminal, and there is no need to worry about whether the PPT software version is compatible with the PPT file to be demonstrated.
[0088] Based on the same inventive concept, an embodiment of the present invention further provides a PPT-based highlight display device, which is applied in a browser. Figure 3 FIG. 4 shows a schematic diagram of a structure of a PPT-based highlight display device according to an embodiment of the present invention. Figure 3 The PPT-based highlight display device 300 includes a determination module 310 , a division module 320 , and a drawing module 330 .
[0089] The functions of the components or devices of the PPT-based highlight display device 300 according to the embodiment of the present invention and the connection relationship between the components are now introduced:
[0090] The determination module 310 is adapted to determine the starting position coordinates and the lengths of each side of the selected area based on the preset coordinate origin of the browser interface when receiving a highlight trigger operation of the selected area by the user on the PPT interface;
[0091] The dividing module 320 is coupled to the determining module 310 and is adapted to divide a plurality of regions other than the selected region on the browser interface based on the starting position coordinates and the lengths of the sides of the selected region, and use the divided regions as non-highlight regions;
[0092] The drawing module 330 is coupled with the dividing module 320 and is adapted to draw an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface, wherein the preset brightness value is smaller than the brightness value of the selected area.
[0093] In one embodiment of the present invention, the division module 320 is further adapted to analyze whether the shape of the selected area is a rectangle. If so, four areas other than the selected area are divided on the browser interface based on the starting position coordinates and the lengths of the sides of the selected area.
[0094] The embodiment of the present invention also provides another PPT-based highlight display device, which is applied in a browser. Figure 4 FIG. 2 shows a schematic diagram of a PPT-based highlight display device according to another embodiment of the present invention. Figure 4 In addition to the above modules, the PPT-based highlight display device 300 further includes a receiving module 340 , a setting module 350 , an acquisition module 360 , and a calculation module 370 .
[0095] The receiving module 340 is coupled to the determining module 310 and is suitable for receiving a user's selection operation on any area on the PPT interface before the determining module 310 determines the starting position coordinates and the lengths of each side of the selected area based on the preset coordinate origin of the browser interface.
[0096] The setting module 350 is coupled to the receiving module 340 and the determining module 310 respectively, and is adapted to set any area corresponding to the frame selection operation as a selected area for highlighting.
[0097] The acquisition module 360 is coupled with the division module 320, and is suitable for the division module 320 to divide the browser interface into multiple areas other than the selected area based on the starting position coordinates of the selected area and the lengths of each side, and after the divided areas are used as non-highlighted areas, obtain the pre-stored side lengths of the browser interface.
[0098] The calculation module 370 is coupled to the acquisition module 360 and is adapted to calculate the area of each non-highlighted area and its position relative to the selected area based on the side length of the browser interface, the starting position coordinates of the selected area and the side lengths of the selected area.
[0099] In one embodiment of the present invention, the determination module 310 is further adapted to determine the starting point corresponding to the user's frame selection operation, and use the starting point as the starting position of the selected area. Obtain the preset coordinate origin of the browser interface, and determine the starting position coordinates and the lengths of each side of the selected area based on the preset coordinate origin.
[0100] In one embodiment of the present invention, the drawing module 330 is further adapted to draw on the PPT interface an area having the same area as each non-highlighted area and the same position relative to the selected area, and setting the brightness of the area drawn on the PPT interface to a preset brightness value.
[0101] The embodiment of the invention also provides another PPT-based highlight display device, which is applied in a browser. Figure 5 FIG. 2 shows a schematic diagram of a PPT-based highlight display device according to another embodiment of the present invention. Figure 5 In addition to the above modules, the PPT-based highlight display device 300 further includes an association module 380 , a retrieval module 390 , a storage module 400 , and an execution module 410 .
[0102] The association module 380 is coupled to the drawing module 330 and is adapted to associate the area with the preset brightness value with the designated operation after the drawing module 330 draws the area with the preset brightness value overlapping with the non-highlighted area on the PPT interface.
[0103] The retrieval module 390 is coupled with the association module 380 and is suitable for retrieving the area with a preset brightness value associated with the specified operation and displaying it on the current PPT interface when receiving a specified operation from the user during PPT presentation.
[0104] The storage module 400 is coupled to the drawing module 330 and is suitable for sending the PPT file of the area with preset brightness value drawn on the PPT interface to the server after the drawing module 330 draws the area with preset brightness value overlapping with the non-highlighted area on the PPT interface, and the server stores the PPT file.
[0105] The execution module 410 is coupled to the storage module 400 and is adapted to retrieve the stored PPT file from the server and execute the user's viewing and / or editing operation when receiving a user's viewing and / or editing operation on the PPT file.
[0106] An embodiment of the invention further provides a computer storage medium storing computer program code. When the computer program code runs on a computing device, the computing device is caused to execute the PPT-based highlighting method in any of the above embodiments.
[0107] An embodiment of the invention further provides a computing device, comprising: a processor; a memory storing computer program code; when the computer program code is executed by the processor, the computing device executes the PPT-based highlighting method in any of the above embodiments.
[0108] According to any one of the above preferred embodiments or a combination of multiple preferred embodiments, the embodiments of the present invention can achieve the following beneficial effects:
[0109] In an embodiment of the present invention, a PPT file can be viewed or edited through a browser. When highlighting the content in a PPT file using a browser, if the browser receives a highlight trigger operation of a selected area by a user on the PPT interface, the starting position coordinates and the lengths of each side of the selected area can be determined based on the preset coordinate origin of the browser interface. Then, based on the starting position coordinates and the lengths of each side of the selected area, multiple areas other than the selected area are divided on the browser interface, and the divided areas are used as non-highlighted areas. Furthermore, an area with a preset brightness value overlapping the non-highlighted area is drawn on the PPT interface, wherein the preset brightness value is less than the brightness value of the selected area. Thus, an embodiment of the present invention can realize the production or viewing of PPT through the web page of the browser without the need for dedicated PPT software, thereby effectively avoiding the phenomenon that the PPT software cannot open the PPT file due to copyright incompatibility issues. Moreover, when highlighting a part of the area on the PPT interface, it is only necessary to determine the non-highlighted area and reduce the brightness. There is no need to perform secondary processing on the image to be highlighted. This not only retains the image quality of the highlighted area, but also saves the human resources or machine resources required for secondary image processing, thereby improving the highlighting efficiency of PPT.
[0110] Those skilled in the art can clearly understand that the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and for the sake of brevity, they are not further described here.
[0111] In addition, the functional units in various embodiments of the present invention may be physically independent of each other, or two or more functional units may be integrated together, or all functional units may be integrated into one processing unit. The above integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
[0112] Those skilled in the art can understand that if the integrated functional unit is implemented in the form of software and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can essentially or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, which includes a number of instructions to enable a computing device (such as a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention when running the instructions. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes.
[0113] Alternatively, all or part of the steps of implementing the aforementioned method embodiments may be accomplished by hardware associated with program instructions (such as a computing device such as a personal computer, a server, or a network device), and the program instructions may be stored in a computer-readable storage medium. When the program instructions are executed by a processor of a computing device, the computing device executes all or part of the steps of the methods described in the embodiments of the present invention.
[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that within the spirit and principles of the present invention, the technical solutions described in the aforementioned embodiments can still be modified, or some or all of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate from the protection scope of the present invention.
Claims
1. A highlighting method based on PPT, applied in a browser, comprising: When receiving a highlight trigger operation of a selected area by a user on the PPT interface, determining the starting position coordinates and the lengths of each side of the selected area based on a preset coordinate origin of the browser interface; Using the starting position coordinates and the lengths of each side of the selected area as a basis for division, a plurality of areas other than the selected area are divided on the browser interface, and the divided areas are used as non-highlight areas; Drawing an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface, wherein the preset brightness value is less than the brightness value of the selected area; Among them, during the PPT presentation process, if the current PPT interface is a pre-drawn area with a preset brightness value overlapping with the non-highlighted area, when the user's specified operation is received, the area with the preset brightness value associated with the specified operation is called and displayed on the current PPT interface.
2. The method according to claim 1, wherein: Before receiving the highlight trigger operation of the user's selected area on the PPT interface, it also includes: Receiving a user's frame selection operation on any area on the PPT interface; Any area corresponding to the frame selection operation is set as a selected area for highlighting.
3. The method according to claim 2, wherein: Based on the preset coordinate origin of the browser interface, determining the starting position coordinates and the lengths of each side of the selected area includes: Determine a starting point corresponding to the user's frame selection operation, and use the starting point as the starting position of the selected area; The preset coordinate origin of the browser interface is obtained, and the starting position coordinates and the lengths of each side of the selected area are determined according to the preset coordinate origin.
4. The method according to any one of claims 1 to 3, wherein: Based on the starting position coordinates and the lengths of the sides of the selected area, a plurality of areas other than the selected area are divided on the browser interface, including: Analyzing whether the shape of the selected area is a rectangle; If so, four areas other than the selected area are divided on the browser interface based on the starting position coordinates of the selected area and the lengths of each side.
5. The method according to any one of claims 1 to 3, wherein: The method further comprises: dividing a plurality of areas other than the selected area on the browser interface based on the starting position coordinates and the lengths of the sides of the selected area, and taking the divided areas as non-highlighted areas; Obtaining the pre-stored side length of the browser interface; The area of each non-highlighted area divided and its position relative to the selected area are calculated according to the side length of the browser interface, the starting position coordinates of the selected area and the side lengths of each side of the selected area.
6. The method according to claim 5, wherein: Drawing an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface includes: Draw an area on the PPT interface that is the same area as each non-highlighted area and has the same position relative to the selected area; The brightness of the area drawn on the PPT interface is set to the preset brightness value.
7. The method according to any one of claims 1 to 3, wherein: After drawing an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface, the method further includes: Associating a region having a preset brightness value with a specified operation; When presenting PPT, if the user's specified operation is received, the area with the preset brightness value associated with the specified operation is retrieved and displayed on the current PPT interface.
8. The method according to any one of claims 1 to 3, wherein: After drawing an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface, the method further includes: Sending the PPT file with the preset brightness value area drawn on the PPT interface to the server, and the server storing the PPT file; When a user's viewing and / or editing operation on the PPT file is received, the stored PPT file is retrieved from the server, and the user's viewing and / or editing operation is executed.
9. A highlight display device based on PPT, applied in a browser, comprising: A determination module, adapted to determine the starting position coordinates and the lengths of each side of the selected area based on a preset coordinate origin of the browser interface when receiving a highlight trigger operation of the selected area by the user on the PPT interface; a division module, adapted to divide a plurality of regions other than the selected region on the browser interface based on the starting position coordinates and the lengths of the sides of the selected region, and use the divided regions as non-highlight regions; A drawing module is suitable for drawing an area with a preset brightness value overlapping with the non-highlighted area on the PPT interface, wherein the preset brightness value is less than the brightness value of the selected area. During the PPT presentation, if the current PPT interface is pre-drawn with an area with a preset brightness value overlapping with the non-highlighted area, when a user's specified operation is received, the area with the preset brightness value associated with the specified operation is retrieved and displayed on the current PPT interface.
10. The device according to claim 9, wherein: Also includes: A receiving module, adapted to receive a user's frame selection operation on any area on the PPT interface before the determining module determines the starting position coordinates and the lengths of each side of the selected area based on a preset coordinate origin of the browser interface; The setting module is adapted to set any area corresponding to the frame selection operation as a selected area for highlighting.
11. The device according to claim 10, wherein: The determination module is further adapted to: Determine a starting point corresponding to the user's frame selection operation, and use the starting point as the starting position of the selected area; The preset coordinate origin of the browser interface is obtained, and the starting position coordinates and the lengths of each side of the selected area are determined according to the preset coordinate origin.
12. The device according to any one of claims 9 to 11, wherein: The partitioning module is also adapted to: Analyzing whether the shape of the selected area is a rectangle; If so, four areas other than the selected area are divided on the browser interface based on the starting position coordinates of the selected area and the lengths of each side.
13. The device according to any one of claims 9 to 11, wherein: Also includes: an acquisition module, adapted to divide the browser interface into a plurality of regions other than the selected region based on the starting position coordinates and the lengths of the sides of the selected region in the division module, and after using the divided regions as non-highlight regions, obtain the pre-stored side lengths of the browser interface; The calculation module is adapted to calculate the area of each non-highlighted area divided and its position relative to the selected area according to the side length of the browser interface, the starting position coordinates of the selected area and the side lengths of each side of the selected area.
14. The device according to claim 13, wherein: The drawing module is also suitable for: Draw an area on the PPT interface that is the same area as each non-highlighted area and has the same position relative to the selected area; The brightness of the area drawn on the PPT interface is set to the preset brightness value.
15. The device according to any one of claims 9 to 11, wherein: Also includes: an associating module, adapted to associate the area with the preset brightness value with a specified operation after the drawing module draws the area with the preset brightness value overlapping with the non-highlighted area on the PPT interface; The calling module is suitable for calling the area with the preset brightness value associated with the specified operation and displaying it on the current PPT interface when receiving the user's specified operation during PPT presentation.
16. The device according to any one of claims 9 to 11, wherein: Also includes: A storage module, adapted to send the PPT file of the area with the preset brightness value drawn on the PPT interface to the server after the drawing module draws the area with the preset brightness value overlapping the non-highlighted area on the PPT interface, and the server stores the PPT file; The execution module is adapted to retrieve the stored PPT file from the server and execute the viewing and / or editing operation of the user when receiving the viewing and / or editing operation of the user on the PPT file.
17. A computer storage medium storing a computer program code, which, when executed on a computing device, causes the computing device to execute the PPT-based highlighting method according to any one of claims 1 to 8.
18. A computing device comprising: processor; a memory storing computer program code; When the computer program code is executed by the processor, it causes the computing device to execute the PPT-based highlighting method according to any one of claims 1 to 8.
Citation Information
Patent Citations
On-line cooperating lantern slide manufacturing service system
CN101299250A
Terminal and control method for screen backlight
CN104769922A
Picture brightness adjustment method and apparatus
CN105426079A