This lively tune appears in John Playford's "The Dancing Master" of 1650.
Here in two versions;
If all the world were paper for PIANO
Cecil Sharpe's arrangement
If all the world were paper LEADSHEET
(melody and chords)
Listen to an audio sample here;