Class PageSetup
- java.lang.Object
-
- com.levigo.jadice.server.msoffice.config.PageSetup
-
public class PageSetup extends Object
-
-
Constructor Summary
Constructors Constructor Description PageSetup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static float
asFloat(String value)
String
getBottomMargin()
float
getBottomMarginAsFloat()
String
getLeftMargin()
float
getLeftMarginAsFloat()
String
getRightMargin()
float
getRightMarginAsFloat()
String
getTopMargin()
float
getTopMarginAsFloat()
void
setBottomMargin(String bottomMargin)
void
setLeftMargin(String leftMargin)
void
setRightMargin(String rightMargin)
void
setTopMargin(String topMargin)
-
-
-
Method Detail
-
getTopMargin
public String getTopMargin()
-
setTopMargin
public void setTopMargin(String topMargin)
-
getTopMarginAsFloat
public float getTopMarginAsFloat() throws NumberFormatException
- Throws:
NumberFormatException
-
getBottomMargin
public String getBottomMargin()
-
getBottomMarginAsFloat
public float getBottomMarginAsFloat() throws NumberFormatException
- Throws:
NumberFormatException
-
setBottomMargin
public void setBottomMargin(String bottomMargin)
-
getLeftMargin
public String getLeftMargin()
-
getLeftMarginAsFloat
public float getLeftMarginAsFloat() throws NumberFormatException
- Throws:
NumberFormatException
-
setLeftMargin
public void setLeftMargin(String leftMargin)
-
getRightMargin
public String getRightMargin()
-
getRightMarginAsFloat
public float getRightMarginAsFloat() throws NumberFormatException
- Throws:
NumberFormatException
-
setRightMargin
public void setRightMargin(String rightMargin)
-
asFloat
protected static float asFloat(String value) throws NumberFormatException
- Throws:
NumberFormatException
-
-