I really do not perfectly understand this but what i read have you tried looking at woffice?
I think it should do the trick:)