insert page number

There is a cool feature in X7 where you can insert page numbers under Layout, Insert Page Number...

Is this a macro and is there a way to extract its functions?

 

P.S - do not confuse this with the corel page numbering macro in global macros.