Recently I have come across a new rule concerning an indirect speech.. Which of them is more preferable?

She said, "I am glad to see you" - She said that she was glad to see me

OR She welcomed me

I got one book which prefers the second one... of which I am not quite sure...

I may be using this in my future paper / exam