Hi, does anyone know how to use Word Automation to insert page numbers for each section in a Word document, and the numbering scheme of each section is independent, not the same as previous?

Suppose that my Word document have 3 sections:
Section 1: 3 pages
Section 2: 2 pages
Section 3: 4 pages

So i want my pages number are:
The first 3 pages (section 1) page number is 1,2,3
next 2...