Documentation of 'org.apache.poi.util.Units' Java class
Units
org.apache.poi.util

Class Units



  • public class Units
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      Units() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Units

        public Units()
    • Method Detail

      • toEMU

        public static int toEMU(double points)
        Converts points to EMUs
        Parameters:
        points - points
        Returns:
        emus
      • toPoints

        public static double toPoints(long emu)
        Converts EMUs to points
        Parameters:
        emu - emu
        Returns:
        points
      • fixedPointToDecimal

        public static double fixedPointToDecimal(int fixedPoint)
        Converts a value of type FixedPoint to a decimal number
        Parameters:
        fixedPoint -
        Returns:
        decimal number
        See Also:
        [MS-OSHARED] - 2.2.1.6 FixedPoint

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.