add the filter function in office.