producingExcelOutput() Returns TRUE if the device name is "XLS" or "XLSX"; otherwise FALSE. Syntax Boolean producingExcelOutput() Example See Output a single-sheet document to Excel (Java).