Class PageMargins
java.lang.Object
com.independentsoft.office.word.sections.PageMargins
The Class PageMargins.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the bottom.intGets the footer.intGets the gutter.intGets the header.intgetLeft()Gets the left.intgetRight()Gets the right.intgetTop()Gets the top.voidsetBottom(int bottom)Sets the bottom.voidsetFooter(int footer)Sets the footer.voidsetGutter(int gutter)Sets the gutter.voidsetHeader(int header)Sets the header.voidsetLeft(int left)Sets the left.voidsetRight(int right)Sets the right.voidsetTop(int top)Sets the top.toString()
-
Constructor Details
-
PageMargins
public PageMargins()Instantiates a new page margins.
-
-
Method Details
-
clone
-
toString
-
getBottom
public int getBottom()Gets the bottom.- Returns:
- the bottom
-
setBottom
public void setBottom(int bottom)Sets the bottom.- Parameters:
bottom- the new bottom
-
getGutter
public int getGutter()Gets the gutter.- Returns:
- the gutter
-
setGutter
public void setGutter(int gutter)Sets the gutter.- Parameters:
gutter- the new gutter
-
getHeader
public int getHeader()Gets the header.- Returns:
- the header
-
setHeader
public void setHeader(int header)Sets the header.- Parameters:
header- the new header
-
getLeft
public int getLeft()Gets the left.- Returns:
- the left
-
setLeft
public void setLeft(int left)Sets the left.- Parameters:
left- the new left
-
getRight
public int getRight()Gets the right.- Returns:
- the right
-
setRight
public void setRight(int right)Sets the right.- Parameters:
right- the new right
-
getTop
public int getTop()Gets the top.- Returns:
- the top
-
setTop
public void setTop(int top)Sets the top.- Parameters:
top- the new top
-