Hi everybody,
I have a question and I hope you can help me. I have written my own macro. It is like an Info-Macro, but it should be a little bit different and it should include another icon. My question is, how can I include this icon into my macro? https://srv-kastor-14.psad.de/confluence/download/attachments/352387585/aufrufezeichen.pngIt should stay before a title.
Hier is my code:
<ac:macro ac:name="panel">
<ac:parameter ac:name="borderStyle">solid</ac:parameter>
<ac:parameter ac:name="borderColor">#02236a</ac:parameter>
<ac:parameter ac:name="borderWidth">2</ac:parameter>
<ac:rich-text-body>
<span style ="color:#02236a"><b>$!paramTitle</b></span>
<span style ="color:#02236a">$body</span>
</ac:rich-text-body>
</ac:macro>
Hier is an Example, how it should look like:
I hope you can help me.
Thank U,
Best regards,
Zoriana
Hi Zoriana,
It would probably look something like this:
<ac:macro ac:name="panel"> <ac:parameter ac:name="borderStyle">solid</ac:parameter> <ac:parameter ac:name="borderColor">#02236a</ac:parameter> <ac:parameter ac:name="borderWidth">2</ac:parameter> <ac:rich-text-body> <img src="https://srv-kastor-14.psad.de/confluence/download/attachments/352387585/aufrufezeichen.png"> <span style ="color:#02236a"><b>$!paramTitle</b></span> <span style ="color:#02236a">$body</span> </ac:rich-text-body> </ac:macro>
Let me know if it works.
Stephen
Hi, thank U very much. It works. It was so simple.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephen, I have another question:
I use hier a Panel-Macro and while converting the page with this macro to pdf it looks like a panel and my formatting (in my macro) will not be applied (in pdf). I wanted to adopt my macro in content formatting in template, but I don't know how should it be done. I have already tried a lot of variants but it does not work.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.