public class XWPFUtils
extends java.lang.Object
| Constructor and Description |
|---|
XWPFUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.math.BigInteger |
bigIntegerValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHpsMeasure dxa) |
static Color |
darken(int r,
int g,
int b,
double percent) |
static float |
floatValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STMeasurementOrPercent dxa) |
static float |
floatValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STSignedTwipsMeasure dxa) |
static float |
floatValue(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTwipsMeasure dxa) |
static PageOrientation |
getPageOrientation(org.openxmlformats.schemas.wordprocessingml.x2006.main.STPageOrientation.Enum orientation) |
static boolean |
isContinuousSection(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSectPr sectPr) |
static boolean |
isCTOnOff(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTOnOff onoff)
For isBold, isItalic etc
|
static boolean |
isOn(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STOnOff onoff) |
static Color |
lighten(int r,
int g,
int b,
double percent) |
static java.lang.String |
toHexString(Color color) |
public static boolean isContinuousSection(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSectPr sectPr)
public static PageOrientation getPageOrientation(org.openxmlformats.schemas.wordprocessingml.x2006.main.STPageOrientation.Enum orientation)
public static java.lang.String toHexString(Color color)
public static Color darken(int r, int g, int b, double percent) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static Color lighten(int r, int g, int b, double percent) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static boolean isCTOnOff(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTOnOff onoff)
public static boolean isOn(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STOnOff onoff)
public static float floatValue(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTwipsMeasure dxa)
public static float floatValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STSignedTwipsMeasure dxa)
public static float floatValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STMeasurementOrPercent dxa)
public static java.math.BigInteger bigIntegerValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHpsMeasure dxa)
Copyright © 2022. All Rights Reserved.