Jxls allows you define custom commands.
An example how to do this can be seen in UserCommandExcelMarkupDemo.java.