Somewhat connected to tdf#165180, it would probably be good to be able to create 'modern' versions of macro-enabled documents. Currently, any VBA document we create or modify will be forced into a 2007 format. At least for DOCM this can be significant - and the rest of the formats might as well come along for the ride. The same thing is needed for VBA Templates. However, AFAICS, we do not currently support exporting VBA Templates - at least not via the Linux GUI. (Even with SAL_USE_VCLPLUGIN=gen instdir/program/soffice, the resulting .xltm or .dotm is not valid in Excel/Word.) Import should be possible via the 2007 Template filters, so templates are a very low priority.
https://gerrit.libreoffice.org/c/core/+/196789
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/e145133093c2f550dd592a5702c819698d87c4a1 tdf#170261: dotx 2007 is no longer the preferred template. It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "libreoffice-26-2": https://git.libreoffice.org/core/commit/6726d3a3d8851431925466dc3dd3a50123011514 tdf#170261: dotx 2007 is no longer the preferred template. It will be available in 26.2.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b5b2413db60ac2cb01a01a8c6d2c52bf7726caee tdf#170261: introduce XLSM 2010 (VBA) filters It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/df7e61358b4d3b24eb6834c52abdb32dc2e9b3f4 tdf#170261: introduce DOCM 2010 (VBA) filters It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.