简体   繁体   中英

Use Excel to Export clipboard function

I try to replace the 'Export to Excel' function with a 'Export to OpenOffice' function. Pasting data of the clipboard to OpenOffice already works. I would like to use the code of the 'Export to Excel' function which copies the grid data to the clipboard (kernel side). So is there any way to call that function or a workaround?

It is also no option to modify SysGridExportToExcel because the Export to Excel Button which copies the grid data to the clipboard and then proceeds to call performPushAndFormatting is deactivated if there is no Excel installed (also kernel side).

Have a look into the class SysGridExportToExcel
There is a method performPushAndFormatting which is called during the export and performs the data transfer to Excel.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM