Your signature for ReformatSelection()
is not right for the onAction
handler of a ribbon button.
It should be:
public void ReformatSelection(IRibbonControl control) {...}
You can get a list of all the Office Ribbon callbacks signatures here: http://msdn.microsoft.com/en-us/library/aa722523(v=office.12).aspx