Movatterモバイル変換


[0]ホーム

URL:


CN111291202B - A highlight display method and device based on PPT - Google Patents

A highlight display method and device based on PPT
Download PDF

Info

Publication number
CN111291202B
CN111291202BCN201811497023.2ACN201811497023ACN111291202BCN 111291202 BCN111291202 BCN 111291202BCN 201811497023 ACN201811497023 ACN 201811497023ACN 111291202 BCN111291202 BCN 111291202B
Authority
CN
China
Prior art keywords
area
ppt
interface
selected area
brightness value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811497023.2A
Other languages
Chinese (zh)
Other versions
CN111291202A (en
Inventor
何文力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co LtdfiledCriticalBeijing Qihoo Technology Co Ltd
Priority to CN201811497023.2ApriorityCriticalpatent/CN111291202B/en
Publication of CN111291202ApublicationCriticalpatent/CN111291202A/en
Application grantedgrantedCritical
Publication of CN111291202BpublicationCriticalpatent/CN111291202B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供了一种基于PPT的高亮显示方法及装置,该方法包括:当接收到用户在PPT界面上对其选定区域的高亮触发操作时,基于浏览器界面的预设坐标原点,确定选定区域的起始位置坐标及各边边长;以选定区域的起始位置坐标及各边边长为划分依据,在浏览器界面上划分出除选定区域之外的多个区域,将划分出的区域作为非高亮区域;在PPT界面上绘制与非高亮区域相重叠的具有预设亮度值的区域,其中,预设亮度值小于选定区域的亮度值。本发明实施例中基于PPT的高亮显示方式既保留了高亮区域的图像质量,又节约了图像二次处理所需的人力资源或机器资源,提高了PPT的高亮显示效率。

The present invention provides a method and device for highlighting based on PPT, the method comprising: when receiving a highlight trigger operation of a selected area by a user on a PPT interface, determining the starting position coordinates and the lengths of each side of the selected area based on a preset coordinate origin of a browser interface; 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 using the divided areas as non-highlight areas; drawing an area with a preset brightness value overlapping with the non-highlight area on the PPT interface, wherein the preset brightness value is less than the brightness value of the selected area. The highlighting display method based on PPT in the embodiment of the present invention not only retains the image quality of the highlight area, but also saves the human resources or machine resources required for secondary image processing, thereby improving the highlighting efficiency of PPT.

Description

PPT-based highlighting method and device
Technical Field
The invention relates to the technical field of data processing, in particular to a highlighting method and device based on PPT.
Background
In the existing scheme, a user usually needs to use special PPT software to finish the production of the PPT file, and the follow-up user needs to use the special PPT software when opening the produced PPT file on other terminals, but the versions of the PPT software on different terminals are possibly different, so that the phenomenon that the PPT file cannot be opened due to the incompatibility problem of copyrights of the PPT software can occur.
If the function of making the PPT is applied to the browser webpage, the problems can be effectively avoided. Because the PPT file can be demonstrated or produced through the corresponding webpage as long as the browser is installed on the terminal, the problem that the PPT software version is not compatible is solved, and the user does not need to additionally install special PPT software on the terminal, so that the storage space of the terminal is saved, and the operation experience of the user is improved. In addition, when a browser is actually used for demonstrating or making a PPT file, in order to achieve a better PPT exhibiting effect, in some cases, a user wants to mark the content of a highlight by adding the highlight to the PPT file, but the highlighting scheme of the existing PPT software generally performs secondary processing on a picture needing to be highlighted, and in this way, not only loss of image quality is caused, but also human resources or machine resources are consumed for image processing. Therefore, how to reduce manual operation while ensuring image quality and achieve the effect of having a highlight region in the PPT interface is a technical problem that needs to be solved at present.
Disclosure of Invention
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a PPT-based highlighting method and apparatus that overcomes or at least partially solves the above problems.
According to an aspect of the present invention, there is provided a PPT-based highlighting method, applied to a browser, including:
When a highlight trigger operation of a user on a selected area of the PPT interface is received, determining starting position coordinates and side lengths of all sides of the selected area based on a preset origin of coordinates of the browser interface;
Dividing a plurality of areas except the selected area on the browser interface by taking the initial position coordinates and the side lengths of all sides of the selected area as dividing basis, and taking the divided areas as non-highlight areas;
And drawing a region which is overlapped with the non-highlight region and has a preset brightness value on the PPT interface, wherein the preset brightness value is smaller than the brightness value of the selected region.
Optionally, before receiving the highlight triggering operation of the user on the selected area of the PPT interface, the method further comprises:
Receiving a frame selection operation of a user on any area on the PPT interface;
and setting any area corresponding to the box selection operation as a selected area for highlighting.
Optionally, determining the starting position coordinates and the side lengths of the selected area based on the preset origin of coordinates of the browser interface includes:
Determining a starting point corresponding to the frame selection operation of the user, and taking the starting point as the starting position of the selected area;
And acquiring a preset origin of coordinates of the browser interface, and determining the initial position coordinates and the side lengths of all sides of the selected area according to the preset origin of coordinates.
Optionally, dividing a plurality of areas except the selected area on the browser interface based on the initial position coordinates of the selected area and the side lengths of the sides, including:
analyzing whether the shape of the selected area is rectangular;
if so, dividing four areas except the selected area on the browser interface according to the initial position coordinates of the selected area and the side lengths of the sides.
Optionally, the method further includes dividing a plurality of areas except the selected area on the browser interface based on the initial position coordinates and the side lengths of the selected area, and after the divided areas are used as non-highlight areas, further including:
acquiring a prestored side length of the browser interface;
And calculating the area of each divided non-highlight region and the position relative to the selected region according to the side length of the browser interface, the initial position coordinates of the selected region and the side lengths of the selected region.
Optionally, drawing a region with a preset brightness value overlapping with the non-highlight region on the PPT interface includes:
Drawing areas which are the same as the areas of the non-highlight areas and the same relative to the selected areas on the PPT interface;
And setting the brightness of the area drawn on the PPT interface to be the preset brightness value.
Optionally, after drawing the region with the preset brightness value overlapping with the non-highlight region on the PPT interface, the method further includes:
associating an area with a preset brightness value with a specified operation;
And when the PPT is demonstrated, if the appointed operation of the user is received, the area with the preset brightness value associated with the appointed operation is called and displayed on the current PPT interface.
Optionally, after drawing the region with the preset brightness value overlapping with the non-highlight region on the PPT interface, the method further includes:
Sending the PPT file with the preset brightness value area drawn on the PPT interface to a server, and storing the PPT file by the server;
And when receiving the viewing and/or editing operation of the user on the PPT file, retrieving the stored PPT file from the server, and executing the viewing and/or editing operation of the user.
According to another aspect of the present invention, there is also provided a PPT-based highlighting device, for use in a browser, including:
The determining module is suitable for determining the initial position coordinates and the side lengths of all sides of the selected area based on the preset coordinate origin of the browser interface when the highlight trigger operation of the user on the selected area of the PPT interface is received;
The dividing module is suitable for dividing a plurality of areas except the selected area on the browser interface by taking the initial position coordinates and the side lengths of all sides of the selected area as dividing basis, and taking the divided areas as non-highlight areas;
And the drawing module is suitable for drawing the area which is overlapped with the non-highlight area and has a preset brightness value on the PPT interface, wherein the preset brightness value is smaller than the brightness value of the selected area.
Optionally, the apparatus further comprises:
The receiving module is suitable for receiving the frame selection operation of a user on the PPT interface before the determining module determines the initial position coordinates and the side lengths of all sides of the selected area based on the preset coordinate origin of the browser interface;
And the setting module is suitable for setting any area corresponding to the frame selection operation as a selected area for highlighting.
Optionally, the determining module is further adapted to:
Determining a starting point corresponding to the frame selection operation of the user, and taking the starting point as the starting position of the selected area;
And acquiring a preset origin of coordinates of the browser interface, and determining the initial position coordinates and the side lengths of all sides of the selected area according to the preset origin of coordinates.
Optionally, the partitioning module is further adapted to:
analyzing whether the shape of the selected area is rectangular;
if so, dividing four areas except the selected area on the browser interface according to the initial position coordinates of the selected area and the side lengths of the sides.
Optionally, the apparatus further comprises:
The acquisition module is suitable for dividing a plurality of areas except the selected area on the browser interface by taking the initial position coordinates and the side lengths of all sides of the selected area as division basis, and acquiring the side lengths of the pre-stored browser interface after taking the divided areas as non-highlight areas;
The calculation module is suitable for calculating the area of each divided non-highlight region and the position relative to the selected region according to the side length of the browser interface, the initial position coordinates of the selected region and the side lengths of the sides of the selected region.
Optionally, the rendering module is further adapted to:
Drawing areas which are the same as the areas of the non-highlight areas and the same relative to the selected areas on the PPT interface;
And setting the brightness of the area drawn on the PPT interface to be the preset brightness value.
Optionally, the apparatus further comprises:
The association module is suitable for the drawing module to associate the area with the preset brightness value with the appointed operation after drawing the area with the preset brightness value, which is overlapped with the non-highlight area, on the PPT interface;
And the calling module is suitable for calling the area with the preset brightness value associated with the appointed operation and displaying the area on the current PPT interface when the appointed operation of the user is received during the PPT demonstration.
Optionally, the apparatus further comprises:
the storage module is suitable for the drawing module to send the PPT file with the preset brightness value area drawn on the PPT interface to a server after drawing the area with the preset brightness value overlapped with the non-highlight area on the PPT interface, and the server stores the PPT file;
And the execution module is suitable for retrieving the stored PPT file from the server when receiving the viewing and/or editing operation of the user on the PPT file, and executing the viewing and/or editing operation of the user.
According to yet another aspect of the present invention, there is also provided a computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform the PPT-based highlighting method of any of the embodiments above.
According to yet another aspect of the present invention there is also provided a computing device comprising a processor, a memory storing computer program code, which when executed by the processor, causes the computing device to perform the PPT-based highlighting method of any of the embodiments above.
In the embodiment of the invention, the PPT file can be checked or edited by the browser, and when the content in the PPT file is highlighted by the browser, if the browser receives the highlighting triggering operation of the user on the selected area of the PPT interface, the initial position coordinates and the side lengths of all sides of the selected area can be determined firstly based on the preset coordinate origin of the browser interface. Then, a plurality of areas except the selected area are divided on the browser interface based on the initial position coordinates of the selected area and the side lengths of the sides, and the divided areas are used as non-highlight areas. And drawing a region with a preset brightness value, which is overlapped with the non-highlight region, on the PPT interface, wherein the preset brightness value is smaller than the brightness value of the selected region. Therefore, the embodiment of the invention can realize the production or viewing of the PPT through the webpage of the browser without special PPT software, thereby effectively avoiding the phenomenon that the PPT file is not opened because of the incompatibility problem of the copyright of the PPT software. And when the partial area on the PPT interface is highlighted, only the area which is not highlighted is determined and the brightness reduction treatment is carried out, and the secondary treatment on the image which needs to be highlighted is not needed, so that the image quality of the highlighted area is reserved, the manpower resource or the machine resource which is needed by the secondary treatment of the image is saved, and the highlighting efficiency of the PPT is improved.
In the embodiment of the invention, as the highlight region is dynamically generated, a user only needs to delineate the highlight region and does not need to manually carry out secondary processing on the image, thereby avoiding the defect of reduced image quality.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
The above, as well as additional objectives, advantages, and features of the present invention will become apparent to those skilled in the art from the following detailed description of a specific embodiment of the present invention when read in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 shows a flow diagram of a PPT-based highlighting method according to one embodiment of the present invention;
FIG. 2 illustrates a schematic diagram of the division of non-highlight regions on a browser interface where the highlight regions are located, according to one embodiment of the invention;
FIG. 3 shows a schematic diagram of the structure of a PPT-based highlighting apparatus according to an embodiment of the present invention;
FIG. 4 shows a schematic structural diagram of a PPT-based highlighting apparatus according to another embodiment of the present invention;
fig. 5 shows a schematic structural view of a PPT-based highlighting device according to yet another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to solve the technical problems, the embodiment of the invention provides a highlighting method based on PPT, which can be applied to a browser. FIG. 1 shows a flow diagram of a PPT-based highlighting method according to one embodiment of the present invention. Referring to fig. 1, the method at least includes steps S102 to S106.
Step S102, when a highlight trigger operation of a user on a selected area of the PPT interface is received, starting position coordinates and side lengths of all sides of the selected area are determined based on a preset origin of coordinates of the browser interface.
Step S104, dividing a plurality of areas except the selected area on the browser interface based on the initial position coordinates of the selected area and the side lengths of the sides, and taking the divided areas as non-highlight areas.
And S106, drawing a region with a preset brightness value, which is overlapped with the non-highlight region, on the PPT interface, wherein the preset brightness value is smaller than the brightness value of the selected region.
According to the embodiment of the invention, the PPT can be manufactured or checked through the webpage of the browser without special PPT software, so that the phenomenon that the PPT file cannot be opened due to incompatibility of copyrights of the PPT software is effectively avoided. And when the partial area on the PPT interface is highlighted, only the area which is not highlighted is determined and the brightness reduction treatment is carried out, and the secondary treatment on the image which needs to be highlighted is not needed, so that the image quality of the highlighted area is reserved, the manpower resource or the machine resource which is needed by the secondary treatment of the image is saved, and the highlighting efficiency of the PPT is improved.
In an embodiment of the present invention, before receiving a user's operation of highlighting a selected area on a PPT interface, the user performs a corresponding operation of selecting an area to be highlighted on the PPT interface, for example, the user performs a corresponding operation of selecting an arbitrary area (i.e., an area to be highlighted). Here, the region corresponding to the user's selection operation may be a sentence text on the PPT interface, or at least one line of text content, or may be an image or a partial image, or the like, which is not specifically limited herein. When the browser receives the frame selection operation of the user on the PPT interface on any area, the arbitrary area corresponding to the frame selection operation is set as the selected area for highlighting.
Referring to step S102, in an embodiment of the present invention, when determining the coordinates of the start position and the side lengths of the selected area based on the preset origin of coordinates of the browser interface, the start point corresponding to the frame selection operation of the user may be determined first, and the determined start point is used as the start position of the selected area. And then, acquiring a preset origin of coordinates of the browser interface, and determining the initial position coordinates and the side lengths of all sides of the selected area according to the preset origin of coordinates.
In this embodiment, if the selected area corresponding to the frame selection operation is a quadrilateral area, and the operation track of the frame selection operation is from the upper left corner to the lower right corner of the selected area, at this time, the vertex of the upper left corner of the selected area may be used as the starting point corresponding to the frame selection operation, that is, the starting position of the selected area.
The embodiment of the invention also presets a coordinate origin for the browser interface, for example, the vertex of the upper left corner of the browser interface can be set as the coordinate origin (0, 0), and then the initial position coordinates and the side lengths of all sides of the selected area can be determined according to the coordinate origin (0, 0). Referring to fig. 2, a rectangular area 5 is a selected area (i.e., a highlight area) corresponding to a user frame selection operation, an outermost frame represents a browser interface, a coordinate origin (0, 0) of the browser interface is a vertex on an upper left corner of the browser interface, a starting position coordinate of the obtained fixed area is determined to be (x, y), and the rectangular area 5 is w in length and h in width.
In this embodiment, other positions in the browser interface may also be selected as the origin of coordinates, which is not specifically limited herein.
Referring to step S104 above, in an embodiment of the present invention, the number of the plurality of non-highlight regions other than the selected region divided on the browser interface may be arbitrary. However, the larger the number of non-highlight regions to be divided, the more parameters of the non-highlight regions to be determined later are, for example, the areas of a plurality of non-highlight regions need to be calculated, and the data calculation amount is large. Therefore, the number of divided non-highlight regions can be reduced as much as possible, thereby reducing the data calculation amount.
Typically, the selected area outlined by the user on the PPT interface is a rectangular area, while for rectangular areas where highlighting is required, the number of non-highlighted areas divided on the browser interface is preferably four. Therefore, in the embodiment of the present invention, when the non-highlight region is divided on the browser interface, whether the shape of the selected region is rectangular may be analyzed first, if so, four regions other than the selected region are divided on the browser interface based on the initial position coordinates of the selected region and the side lengths of the sides.
For example, referring to fig. 2, in the embodiment of the present invention, the selected area (i.e., the highlight area) is a rectangular area 5, and the four non-highlight areas divided on the browser interface are area 1, area 2, area 3, and area 4, respectively.
In an embodiment of the present invention, after a plurality of non-highlight regions are divided on the browser interface, in order to implement non-highlighting of the non-highlight regions, so that the highlight regions are highlighted, the area of each non-highlight region may be further calculated, and the position of each non-highlight region may be clarified. In this embodiment, the side length of the pre-stored browser interface, that is, the length and width of the browser interface, may be acquired first. And then, calculating the area of each divided non-highlight region according to the side length of the browser interface, the initial position coordinates of the selected region and the side lengths of the selected region, and determining the position of each non-highlight region relative to the selected region.
Still referring to fig. 2, assuming that the length a and width b of the browser interface are the same, the starting position coordinates of the selected area (i.e., the highlight area) are (x, y), the length w and width h of the selected area (i.e., the rectangular area 5), and the four non-highlight areas, i.e., the area 1, the area 2, the area 3, and the area 4 are all rectangular. Then, by calculating the length b and width x of region 1, the length w and width y of region 2, the length b and width a-x-w of region 3, and the length w and width b-y-h of region 4. Here, although the values on the coordinate axes have positive and negative divisions, the length of the side of each region and the calculated value of the length of the side in the embodiment of the present invention are all absolute values of the values in the coordinate axes. In addition, it is also possible to determine that the region 1, the region 2, the region 3, and the region 4 are located at the left side, the upper side, the right side, and the lower side of the rectangular region 5, respectively.
Referring to step S106 above, in an embodiment of the present invention, when an area with a preset luminance value overlapping with a non-highlight area is drawn on the PPT interface, the area drawing with the preset luminance value may be performed according to the area of each non-highlight area and the determined position of each non-highlight area calculated in the above embodiment. Specifically, first, regions having the same area as the respective non-highlight regions and the same position with respect to the selected region are drawn on the PPT interface. And then, setting the brightness of the area drawn on the PPT interface as a corresponding preset brightness value, wherein the preset brightness value is smaller than the brightness value of the selected area, so that the highlight display of the selected area can be realized.
The foregoing embodiment describes a process of implementing highlighting on a PPT interface, in general, after the PPT is manufactured, the PPT is mainly used for demonstrating and explaining for other people, and when the PPT is demonstrated and explained for other people, in order to more clearly embody a highlighting area and draw attention of a user watching the PPT to the highlighting area, a state before the PPT interface is not subjected to highlighting may be displayed first, and when a user performs a specified operation, a state after the PPT interface is subjected to highlighting may be displayed again.
Specifically, after the region with the preset brightness value overlapping with the non-highlight region is drawn on the PPT interface, the region with the preset brightness value can be associated with the specified operation, and in the process of demonstrating the PPT, if the current PPT interface is the region with the preset brightness value overlapping with the non-highlight region, the region with the preset brightness value associated with the specified operation can be called and displayed on the current PPT interface when the specified operation of the user is received. The designating operation may include a single click operation, a double click operation, a sliding operation, etc., and the designating operation is not particularly limited in the embodiment of the present invention.
In another embodiment of the present invention, when a user creates a PPT file through a browser web page and highlights the PPT, the user typically needs to log in to an account where the user creates the PPT, where the account may be an account where a PPT website is created, or may be a browser account. Therefore, after the user completes the preparation of the PPT file, the PPT file with the preset brightness value area drawn on the PPT interface can be sent to the corresponding server, the server stores the PPT file, and the stored PPT file can be associated with the user account. And when receiving the viewing and/or editing operation of the user on the PPT file, retrieving the stored PPT file associated with the user account from the server, and executing the viewing and/or editing operation of the user.
Therefore, by adopting the scheme of the application, the production of the PPT file and the highlighting of the content of the PPT file can be realized by installing the browser on the terminal, the terminal does not need to be provided with special PPT software, and the problem that whether the PPT software version is compatible with the PPT file to be demonstrated is not required.
Based on the same inventive concept, the embodiment of the invention also provides a highlighting device based on the PPT, which is applied to a browser. Fig. 3 shows a schematic structural view of a PPT-based highlighting device according to an embodiment of the present invention. Referring to fig. 3, the PPT-based highlighting apparatus 300 includes a determining module 310, a dividing module 320, and a drawing module 330.
The functions of the components or devices of the PPT-based highlighting apparatus 300 according to embodiments of the present invention and the connection relationship between the components will now be described:
The determining module 310 is adapted to determine, when a highlight trigger operation of a user on a selected area of the PPT interface is received, starting position coordinates and side lengths of each side of the selected area based on a preset origin of coordinates of the browser interface;
The dividing module 320 is coupled to the determining module 310, and is adapted to divide a plurality of areas except the selected area on the browser interface based on the initial position coordinates and the side lengths of the selected area, and the divided areas are used as non-highlight areas;
The drawing module 330, coupled to the dividing module 320, is adapted to draw an area overlapping the non-highlight area on the PPT interface with a preset luminance value, wherein the preset luminance value is smaller than the luminance value of the selected area.
In an embodiment of the invention, the partitioning module 320 is further adapted to analyze whether the shape of the selected area is rectangular. If so, dividing four areas except the selected area on the browser interface according to the initial position coordinates of the selected area and the side lengths of the sides.
The embodiment of the invention also provides another highlighting device based on the PPT, which is applied to the browser. Fig. 4 shows a schematic structural view of a PPT-based highlighting device according to another embodiment of the present invention. Referring to fig. 4, the PPT-based highlighting apparatus 300 includes a receiving module 340, a setting module 350, an obtaining module 360, and a calculating module 370, in addition to the above-described modules.
The receiving module 340 is coupled to the determining module 310, and is adapted to receive a frame selection operation of the user on the PPT interface for any region before the determining module 310 determines the starting position coordinates and the side lengths of the selected region based on the preset origin of coordinates of the browser interface.
A setting module 350, coupled to the receiving module 340 and the determining module 310, respectively, is adapted to set an arbitrary region corresponding to the framing operation as the selected region for highlighting.
The obtaining module 360 is coupled to the dividing module 320, and is adapted to obtain the side length of the pre-stored browser interface after dividing the plurality of areas except the selected area on the browser interface based on the initial position coordinates and the side lengths of the selected area by the dividing module 320 and using the divided areas as the non-highlight areas.
The calculating module 370, coupled to the obtaining module 360, is adapted to calculate the area of each divided non-highlight region and the position relative to the selected region according to the side length of the browser interface, the starting position coordinates of the selected region and the side lengths of the selected region.
In an embodiment of the present invention, the determining module 310 is further adapted to determine a starting point corresponding to the frame selection operation of the user, and use the starting point as the starting position of the selected area. And acquiring a preset coordinate origin of the browser interface, and determining the initial position coordinates and the side lengths of all sides of the selected area according to the preset coordinate origin.
In an embodiment of the present invention, the drawing module 330 is further adapted to draw an area on the PPT interface that is the same as the area of each non-highlight region and the same location relative to the selected region. The brightness of the area drawn on the PPT interface is set to a preset brightness value.
The embodiment of the invention also provides a highlighting device based on the PPT, which is applied to the browser. Fig. 5 shows a schematic structural view of a PPT-based highlighting device according to another embodiment of the present invention. Referring to fig. 5, PPT-based highlighting apparatus 300 includes, in addition to the above-described modules, an association module 380, a retrieval module 390, a storage module 400, and an execution module 410.
An association module 380, coupled to the drawing module 330, is adapted to associate the region with the preset intensity value with the specified operation after the drawing module 330 draws the region with the preset intensity value overlapping the non-highlight region on the PPT interface.
The retrieving module 390 is coupled to the associating module 380, and is adapted to retrieve, when the PPT is presented, the region associated with the specified operation and having the preset brightness value and be displayed on the current PPT interface if the specified operation of the user is received.
And the storage module 400 is coupled with the drawing module 330, and is suitable for the drawing module 330 to send the PPT file with the preset brightness value area drawn on the PPT interface to the server after drawing the area with the preset brightness value overlapping with the non-highlight area on the PPT interface, and the server stores the PPT file.
An execution module 410, coupled to the storage module 400, is adapted to retrieve the stored PPT file from the server and execute the user's viewing and/or editing operations when the user's viewing and/or editing operations on the PPT file are received.
Embodiments of the invention also provide a computer storage medium storing computer program code that, when run on a computing device, causes the computing device to perform the PPT-based highlighting method of any of the embodiments above.
Embodiments of the invention also provide a computing device comprising a processor, a memory storing computer program code that, when executed by the processor, causes the computing device to perform the PPT-based highlighting method of any of the embodiments above.
According to any one of the above preferred embodiments or a combination of the preferred embodiments, the following advantageous effects can be achieved according to the embodiments of the present invention:
In the embodiment of the invention, the PPT file can be checked or edited by the browser, and when the content in the PPT file is highlighted by the browser, if the browser receives the highlighting triggering operation of the user on the selected area of the PPT interface, the initial position coordinates and the side lengths of all sides of the selected area can be determined firstly based on the preset coordinate origin of the browser interface. Then, a plurality of areas except the selected area are divided on the browser interface based on the initial position coordinates of the selected area and the side lengths of the sides, and the divided areas are used as non-highlight areas. And drawing a region with a preset brightness value, which is overlapped with the non-highlight region, on the PPT interface, wherein the preset brightness value is smaller than the brightness value of the selected region. Therefore, the embodiment of the invention can realize the production or viewing of the PPT through the webpage of the browser without special PPT software, thereby effectively avoiding the phenomenon that the PPT file is not opened because of the incompatibility problem of the copyright of the PPT software. And when the partial area on the PPT interface is highlighted, only the area which is not highlighted is determined and the brightness reduction treatment is carried out, and the secondary treatment on the image which needs to be highlighted is not needed, so that the image quality of the highlighted area is reserved, the manpower resource or the machine resource which is needed by the secondary treatment of the image is saved, and the highlighting efficiency of the PPT is improved.
It will be clear to those skilled in the art that the specific working procedures of the above-described systems, devices and units may refer to the corresponding procedures in the foregoing method embodiments, and are not repeated herein for brevity.
In addition, each functional unit in the embodiments of the present invention may be physically independent, two or more functional units may be integrated together, or all functional units may be integrated in one processing unit. The integrated functional units may be implemented in hardware or in software or firmware.
Those skilled in the art will appreciate that the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in essence or in whole or in part in the form of a software product stored in a storage medium, comprising instructions for causing a computing device (e.g., a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present invention when the instructions are executed. The storage medium includes various media capable of storing program codes, such as a U disk, a mobile hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Or all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a personal computer, a server, or a computing device such as a network device) associated with program instructions, which may be stored in a computer-readable storage medium, which when executed by a processor of the computing device, performs all or part of the steps of the method of embodiments of the present invention.
It should be noted that the above embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that modifications may be made to the technical solution described in the above embodiments or equivalents may be substituted for some or all of the technical features thereof without departing from the scope of the present invention.

Claims (18)

Translated fromChinese
1.一种基于PPT的高亮显示方法,应用于浏览器中,包括:1. A highlighting method based on PPT, applied in a browser, comprising:当接收到用户在PPT界面上对其选定区域的高亮触发操作时,基于所述浏览器界面的预设坐标原点,确定所述选定区域的起始位置坐标及各边边长;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;在所述PPT界面上绘制与所述非高亮区域相重叠的具有预设亮度值的区域,其中,所述预设亮度值小于所述选定区域的亮度值;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;其中,在演示PPT的过程中,若当前PPT界面为预先绘制有与非高亮区域相重叠的具有预设亮度值的区域,当接收到用户的指定操作时,调取与指定操作关联的具有预设亮度值的区域,并展示在当前PPT界面上。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.根据权利要求1所述的方法,其中,接收用户在PPT界面上对其选定区域的高亮触发操作之前,还包括:2. The method according to claim 1, wherein before receiving a user's highlight trigger operation on a selected area on a PPT interface, the method further comprises:接收用户在所述PPT界面上对任意区域的框选操作;Receiving a user's 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.根据权利要求2所述的方法,其中,基于所述浏览器界面的预设坐标原点,确定所述选定区域的起始位置坐标及各边边长,包括:3. The method according to claim 2, wherein 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 comprises:确定所述用户的框选操作对应的起始点,将所述起始点作为所述选定区域的起始位置;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.根据权利要求1-3任一项所述的方法,其中,以所述选定区域的起始位置坐标及各边边长为划分依据,在所述浏览器界面上划分出除所述选定区域之外的多个区域,包括:4. The method according to any one of claims 1 to 3, wherein the starting position coordinates and the lengths of each side of the selected area are used as the basis for division, and a plurality of areas other than the selected area are divided on the browser interface, comprising:分析所述选定区域的形状是否为矩形;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 the sides.5.根据权利要求1-3任一项所述的方法,其中,以所述选定区域的起始位置坐标及各边边长为划分依据,在所述浏览器界面上划分出除所述选定区域之外的多个区域,将划分出的区域作为非高亮区域之后,还包括:5. The method according to any one of claims 1 to 3, wherein, based on the starting position coordinates and the lengths of each side of the selected area as the basis for division, a plurality of areas other than the selected area are divided on the browser interface, and after the divided areas are used as non-highlighted areas, the method further comprises:获取预先存储的所述浏览器界面的边长;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.根据权利要求5所述的方法,其中,在所述PPT界面上绘制与所述非高亮区域相重叠的具有预设亮度值的区域,包括: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 comprises:在所述PPT界面上绘制与各个非高亮区域的面积相同、且相对于所述选定区域的位置相同的区域;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;将在所述PPT界面上绘制的区域的亮度设置为所述预设亮度值。The brightness of the area drawn on the PPT interface is set to the preset brightness value.7.根据权利要求1-3任一项所述的方法,其中,在所述PPT界面上绘制与所述非高亮区域相重叠的具有预设亮度值的区域之后,还包括: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 comprises:将具有预设亮度值的区域与指定操作建立关联;Associating a region having a preset brightness value with a specified operation;在演示PPT时,若接收到用户的所述指定操作,调取与所述指定操作关联的具有所述预设亮度值的区域,并展示在当前PPT界面上。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.根据权利要求1-3任一项所述的方法,其中,在所述PPT界面上绘制与所述非高亮区域相重叠的具有预设亮度值的区域之后,还包括: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 comprises:将所述PPT界面上绘制的具有所述预设亮度值区域的PPT文件发送至服务器中,由所述服务器将所述PPT文件进行存储;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;当接收到用户对所述PPT文件的查看和/或编辑操作时,从所述服务器中调取存储的PPT文件,并执行所述用户的查看和/或编辑操作。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.一种基于PPT的高亮显示装置,应用于浏览器中,包括:9. A highlight display device based on PPT, applied in a browser, comprising:确定模块,适于当接收到用户在PPT界面上对其选定区域的高亮触发操作时,基于所述浏览器界面的预设坐标原点,确定所述选定区域的起始位置坐标及各边边长;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;绘制模块,适于在所述PPT界面上绘制与所述非高亮区域相重叠的具有预设亮度值的区域,其中,所述预设亮度值小于所述选定区域的亮度值,其中,在演示PPT的过程中,若当前PPT界面为预先绘制有与非高亮区域相重叠的具有预设亮度值的区域,当接收到用户的指定操作时,调取与指定操作关联的具有预设亮度值的区域,并展示在当前PPT界面上。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.根据权利要求9所述的装置,其中,还包括:10. The device according to claim 9, further comprising:接收模块,适于在所述确定模块基于所述浏览器界面的预设坐标原点,确定所述选定区域的起始位置坐标及各边边长之前,接收用户在所述PPT界面上对任意区域的框选操作;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.根据权利要求10所述的装置,其中,所述确定模块还适于:11. The apparatus according to claim 10, wherein the determining 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.根据权利要求9-11任一项所述的装置,其中,所述划分模块还适于:12. The apparatus according to any one of claims 9 to 11, wherein the partitioning module is further 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 the sides.13.根据权利要求9-11任一项所述的装置,其中,还包括:13. The device according to any one of claims 9 to 11, further comprising:获取模块,适于在所述划分模块以所述选定区域的起始位置坐标及各边边长为划分依据,在所述浏览器界面上划分出除所述选定区域之外的多个区域,将划分出的区域作为非高亮区域之后,获取预先存储的所述浏览器界面的边长;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 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.根据权利要求13所述的装置,其中,所述绘制模块还适于:14. The apparatus according to claim 13, wherein the drawing module is further adapted to:在所述PPT界面上绘制与各个非高亮区域的面积相同、且相对于所述选定区域的位置相同的区域;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;将在所述PPT界面上绘制的区域的亮度设置为所述预设亮度值。The brightness of the area drawn on the PPT interface is set to the preset brightness value.15.根据权利要求9-11任一项所述的装置,其中,还包括:15. The device according to any one of claims 9 to 11, further comprising:关联模块,适于所述绘制模块在所述PPT界面上绘制与所述非高亮区域相重叠的具有预设亮度值的区域之后,将具有预设亮度值的区域与指定操作建立关联;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;调取模块,适于在演示PPT时,若接收到用户的所述指定操作,调取与所述指定操作关联的具有所述预设亮度值的区域,并展示在当前PPT界面上。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.根据权利要求9-11任一项所述的装置,其中,还包括:16. The device according to any one of claims 9 to 11, further comprising:存储模块,适于所述绘制模块在所述PPT界面上绘制与所述非高亮区域相重叠的具有预设亮度值的区域之后,将所述PPT界面上绘制的具有所述预设亮度值区域的PPT文件发送至服务器中,由所述服务器将所述PPT文件进行存储;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;执行模块,适于当接收到用户对所述PPT文件的查看和/或编辑操作时,从所述服务器中调取存储的PPT文件,并执行所述用户的查看和/或编辑操作。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.一种计算机存储介质,所述计算机存储介质存储有计算机程序代码,当所述计算机程序代码在计算设备上运行时,导致所述计算设备执行权利要求1-8任一项所述的基于PPT的高亮显示方法。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.一种计算设备,包括:处理器;存储有计算机程序代码的存储器;当所述计算机程序代码被所述处理器运行时,导致所述计算设备执行权利要求1-8任一项所述的基于PPT的高亮显示方法。18. A computing device, comprising: a processor; a memory storing a computer program code; when the computer program code is executed by the processor, the computing device executes the PPT-based highlighting method according to any one of claims 1 to 8.
CN201811497023.2A2018-12-072018-12-07 A highlight display method and device based on PPTActiveCN111291202B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811497023.2ACN111291202B (en)2018-12-072018-12-07 A highlight display method and device based on PPT

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811497023.2ACN111291202B (en)2018-12-072018-12-07 A highlight display method and device based on PPT

Publications (2)

Publication NumberPublication Date
CN111291202A CN111291202A (en)2020-06-16
CN111291202Btrue CN111291202B (en)2025-03-28

Family

ID=71029184

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811497023.2AActiveCN111291202B (en)2018-12-072018-12-07 A highlight display method and device based on PPT

Country Status (1)

CountryLink
CN (1)CN111291202B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101299250A (en)*2007-04-302008-11-05深圳华飚科技有限公司On-line cooperating lantern slide manufacturing service system
CN104769922A (en)*2012-11-302015-07-08东莞宇龙通信科技有限公司Terminal and control method for screen backlight
CN105426079A (en)*2015-11-252016-03-23小米科技有限责任公司Picture brightness adjustment method and apparatus

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7006668B2 (en)*1999-12-282006-02-28Canon Kabushiki KaishaImage processing method and image processing apparatus
JP2011013294A (en)*2009-06-302011-01-20Toshiba CorpInformation processing apparatus and luminance control method
CN102662558B (en)*2012-03-132018-02-13中兴通讯股份有限公司Word chooses method and apparatus and electronic equipment
CN103353878A (en)*2013-06-142013-10-16陆昀Method for displaying files of different file formats in webpage
CN103309564A (en)*2013-07-012013-09-18贝壳网际(北京)安全技术有限公司Element information display method and device
EP3028220A4 (en)*2013-07-292017-04-05Nikon CorporationMultiple phase method for image deconvolution
CN103685754B (en)*2013-12-162018-04-10上海斐讯数据通信技术有限公司A kind of backlight of mobile terminal adjusting method and mobile terminal
JP6876617B2 (en)*2015-12-172021-05-26パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Display method and display device
CN105574813B (en)*2015-12-312019-03-01青岛海信移动通信技术股份有限公司A kind of image processing method and device
CN106201257B (en)*2016-06-282019-04-05Oppo广东移动通信有限公司Control method, control device and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101299250A (en)*2007-04-302008-11-05深圳华飚科技有限公司On-line cooperating lantern slide manufacturing service system
CN104769922A (en)*2012-11-302015-07-08东莞宇龙通信科技有限公司Terminal and control method for screen backlight
CN105426079A (en)*2015-11-252016-03-23小米科技有限责任公司Picture brightness adjustment method and apparatus

Also Published As

Publication numberPublication date
CN111291202A (en)2020-06-16

Similar Documents

PublicationPublication DateTitle
CN107885848B (en)Webpage screen capturing method based on web technology
US9619275B2 (en)Data processing method, apparatus and mobile terminal
CN111240669B (en)Interface generation method and device, electronic equipment and computer storage medium
CN106610829B (en)Webpage screenshot method and device
CN106610831B (en)Webpage screenshot method and device
US10163048B2 (en)Method and device for page synchronization
CN107451272B (en)Information display method, medium, device and computing equipment
CN106296760B (en)Picture clipping method and device
CN111399831A (en)Page display method and device, storage medium and electronic device
CN104778194A (en)Search method and device based on touch operation
CN107450915B (en)Method for rapidly intercepting multi-screen long image
US20160203381A1 (en)Method and apparatus for adsorbing straight line/line segment, method and apparatus for constructing polygon
WO2015180448A1 (en)Method and device for switching playing mode of mobile terminal, storage medium and program
CN108647348A (en)Textual presentation method, apparatus, equipment and storage medium
CN111078785A (en)Method and device for visually displaying data, electronic equipment and storage medium
CN106648571B (en)Method and device for calibrating application interface
US11532106B2 (en)Color gradient capture from source image content
CN103514272A (en)Method and device for providing thumbnail corresponding to webpage content
CN113345048B (en)Geographic information image editing method and device and computer equipment
CN111291202B (en) A highlight display method and device based on PPT
US20160125614A1 (en)Information processing method and electronic device
CN107608733B (en)Picture display method and device and terminal equipment
CN107621951B (en)View level optimization method and device
CN106648338B (en)Method and device for editing data
CN110889057A (en)Business data visualization method and business object visualization device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp