Some aspects of Euler's theory of integration