Executing LO Basic Macro during Rendering (for Formatting Text)
I'm using POD to generate documents with dynamic contents. However, one of the contents needs dynamic formatting.
For example, in the string 'creative force' I want to bold the word 'creative' but not 'force'.
So, if I can code something like this it would be great.
>> from appy.pod.renderer import Renderer
>> commercial = '<b>creative</b> force'
>> renderer = Renderer(
But I understand that this is not supported.
So what I am trying now is to use basic macro. The macro basically will just search for the word 'creative' and then bold it. I then attached it to the event 'Save Document As' hoping that when the renderer creates the output the macro will also run. But it seems it does not trigger the macro.
So any suggestion on how I can do this?