BaseExtensions can be used to relocate shapes and tables in Word, and align them either to margin or to page as well as either horizontally or vertically.
Module is located here:
Define true if selected shape should be aligned to margins in the document.
Define true if selected shape should be aligned to page in the document.
Align shape vertically at the top.
Align shape vertically in the center.
Align shape vertically in the bottom.
Align shape horizontally to the left.
Align shape horizontally in the center.
Align shape horizontally to the right.
Add a vertical distance between either page or margin edge to middle of page.
Add a horizontal distance between either page or margin edge to middle of page.
In one button, two commands must be present, where the first will move shape horizontally and the second will move shape vertically. Here is an example:
<Cmd case="BaseExtensions:move-shape" horizontal="right" alignToMargin="true" distanceHorizontal="1"/>
<Cmd case="BaseExtensions:move-shape" vertical="top" alignToMargin="true" />
These commands will move the shape to be located horizontally to the right with a distance of 1 cm to the margin, and vertically at the top aligned to the margin.