| Package | Description |
|---|---|
| org.odftoolkit.odfdom.type |
| Modifier and Type | Method and Description |
|---|---|
static Length.Unit |
Length.parseUnit(String length)
Returns the Unit of the given length.
|
static Length.Unit |
Length.Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Length.Unit[] |
Length.Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Length.mapToUnit(Length.Unit destinationUnit) |
static String |
Length.mapToUnit(String length,
Length.Unit destinationUnit)
Maps the a length string to a different unit
|
static double |
Length.parseDouble(String length,
Length.Unit destinationUnit)
Maps the a length string to a different unit
|
static int |
Length.parseInt(String length,
Length.Unit destinationUnit)
Returns the value of the given length as int.
|
static long |
Length.parseLong(String length,
Length.Unit destinationUnit)
Maps the a length string to a different unit
|
Copyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.