What sort of Tax Laws do we have?

This morning an article by the Sydney Morning Herald caught my eye:

http://www.smh.com.au/business/the-economy/big-business-shirks-fair-share-of-tax-load-20140928-3gtm2.html

 

A lot of big companies avoid paying tax and it is all legal!

I wonder whether our government can do anything about this. If for instance a company is registered in a tax haven country how on earth can they then be taxed in their own country? Really, does anyone know, what can be done about this? Do any governments care to change all this? Is there a way to change it?