New item to popup menu in writer

Hello, i wanted to know, how to add a new menu item which has submenu to popup menu in writer ; ref : http://opengrok.libreoffice.org/xref/core/sw/source/ui/app/mn.src

This is probably a question better asked of the Developers than users.