How to show description of Macro method
Posted: Thu Feb 11, 2016 9:27 am
Hi,
I need to show description of Macro. I have written one macro function like this,
' This function gives the Total Pages of the current file
Function TotalPages()
Dim cont
cont = ThisComponent.getCurrentController()
TotalPages = cont.PageCount
End Function
Please look above Function(TotalPages()), I have written the description as "' This function gives the Total Pages of the current file".
But this description was not shown when you go Tools--> Macros --> Run Macro and (You can see now "Macro Selector" Dialogue) click on macro name and see description box(bottom of the dialogue), here my description was not shown what I gave for TotalPages().
Please find the attachment for more details.
Please help to find the way to show description
Thank you in advance.
With Regards,
James
I need to show description of Macro. I have written one macro function like this,
' This function gives the Total Pages of the current file
Function TotalPages()
Dim cont
cont = ThisComponent.getCurrentController()
TotalPages = cont.PageCount
End Function
Please look above Function(TotalPages()), I have written the description as "' This function gives the Total Pages of the current file".
But this description was not shown when you go Tools--> Macros --> Run Macro and (You can see now "Macro Selector" Dialogue) click on macro name and see description box(bottom of the dialogue), here my description was not shown what I gave for TotalPages().
Please find the attachment for more details.
Please help to find the way to show description
Thank you in advance.
With Regards,
James