We might not have implemented this feature yet.
Would you like to try and add it to the index/svg functionality? It
would be useful to other extensions too.
I'd be happy to take a look at it, but I'm not quite sure how to approach this. My use of C++ is usually restricted to programming graphical environments in Qt/OpenGL — there are a lot of C++ aspects I'm not familiar with.
Best,
Pieter