Added API for getting text content from presentation