From your question, your consider the margins as defining the area where your text will be printed. With elementary arithmetic, you can compute the Writer-style margins dimensions then customise your page style in the Header or Footer tab. Spacing measures the white space between the header/footer and the text area. Size is the minimal height devoted to the header/footer and can made fixed if you uncheck the dynamic height check box.