Initial and final state effects in the x-ray absorption process of La1-xSrxMnO3