|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.util.Units
public class Units
Field Summary | |
---|---|
static int |
EMU_PER_PIXEL
|
static int |
EMU_PER_POINT
|
Constructor Summary | |
---|---|
Units()
|
Method Summary | |
---|---|
static double |
fixedPointToDecimal(int fixedPoint)
Converts a value of type FixedPoint to a decimal number |
static int |
toEMU(double points)
Converts points to EMUs |
static double |
toPoints(long emu)
Converts EMUs to points |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EMU_PER_PIXEL
public static final int EMU_PER_POINT
Constructor Detail |
---|
public Units()
Method Detail |
---|
public static int toEMU(double points)
points
- points
public static double toPoints(long emu)
emu
- emu
public static double fixedPointToDecimal(int fixedPoint)
fixedPoint
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |