net.sf.jasperreports.engine.export.ooxml
public final class Utility extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
emu(float points)
Convert an int value from points to EMU (multiply with 12700)
|
static java.lang.String |
getIndent(int i) |
static int |
halfPoint(float pixels) |
protected static java.lang.String |
replaceNewLineWithLineBreak(java.lang.String source) |
static double |
translatePixelsToInches(double pixels) |
static double |
translatePixelsToInchesRound(double pixels) |
static double |
translatePixelsToInchesWithNoRoundOff(double pixels) |
static int |
twip(float points)
Convert a float value to twips (multiply with 20)
|
public static java.lang.String getIndent(int i)
public static double translatePixelsToInches(double pixels)
public static double translatePixelsToInchesRound(double pixels)
public static double translatePixelsToInchesWithNoRoundOff(double pixels)
protected static java.lang.String replaceNewLineWithLineBreak(java.lang.String source)
public static int twip(float points)
points
- value that need to be convertedpublic static int emu(float points)
points
- value that needs to be convertedpublic static int halfPoint(float pixels)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com