The invention provides a method for realizing sorting and screening supporting functions of a PPT table, which comprises the following steps of: S1, receiving a PPT file input by a user, and creating a PPT object; s2, circularly traversing a Table table object in the PPT object, and putting the Table table object into a
List set with the name of a table
List; s3, reading a script in a self-defined format of the Table table object, and generating a
data processing instruction object; s4, preparing data to be filtered in the Table table object; s5, filtering the data; s6, sorting the data; s7, replacing the data in the Table table object; s8, deleting redundant table lines in the Table table object; and S9, generating a PPT file by the PPT object, and returning a result. On the basis of the script in the self-defined format, by analyzing the script, executing corresponding data screening and
data sorting operation, replacing the screened data into the PPT table and deleting redundant PPT table rows, sorting and screening of the data in the PPT table are completed, and the PPT table supports sorting and screening functions.