You need to keep in mind that there is two totally different contexts: the concept of “Confluence Macro” only exist during the execution of the confluence filter, after that there is only XWiki macros calls (and some of them are missing an implementation).
So as I said in the previous message there is only two things you can do:
- change the way the Confluence Macro is converted (by implementing a converter) during the import (so this converter has to be there before you execute the filter and it’s only used once)
- provide an implementation for missing XWiki macros (which happen to have similar name and parameters than the Confluence macro that was in the source content) which ended up in your wiki pages after the import
You cannot magically “add the actual Confluence macro to XWIKI”. First because that macro is not in the content you give in input (you only have calls to those macros) and anyway in XWiki you only have XWiki macros so someone has to implement an XWiki macro which behave like the Confluence macro you want to use which can be a lot of work for some macros (that’s what https://store.xwiki.com/xwiki/bin/view/Extension/ProMacros/ is about).