Class NormalAutoFit
java.lang.Object
com.independentsoft.office.drawing.NormalAutoFit
The Class NormalAutoFit.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new normal auto fit.NormalAutoFit(double fontScale, double lineSpaceReduction)Instantiates a new normal auto fit. -
Method Summary
Modifier and TypeMethodDescriptionclone()doubleGets the font scale.doubleGets the line space reduction.voidsetFontScale(double fontScale)Sets the font scale.voidsetLineSpaceReduction(double lineSpaceReduction)Sets the line space reduction.toString()
-
Constructor Details
-
NormalAutoFit
public NormalAutoFit()Instantiates a new normal auto fit. -
NormalAutoFit
public NormalAutoFit(double fontScale, double lineSpaceReduction)Instantiates a new normal auto fit.- Parameters:
fontScale- the font scalelineSpaceReduction- the line space reduction
-
-
Method Details
-
clone
-
toString
-
getFontScale
public double getFontScale()Gets the font scale.- Returns:
- the font scale
-
setFontScale
public void setFontScale(double fontScale)Sets the font scale.- Parameters:
fontScale- the new font scale
-
getLineSpaceReduction
public double getLineSpaceReduction()Gets the line space reduction.- Returns:
- the line space reduction
-
setLineSpaceReduction
public void setLineSpaceReduction(double lineSpaceReduction)Sets the line space reduction.- Parameters:
lineSpaceReduction- the new line space reduction
-