public class XWPFUtils
extends java.lang.Object
| Constructor and Description |
|---|
XWPFUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Color |
darken(int r,
int g,
int b,
double percent) |
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 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)
Copyright © 2019. All Rights Reserved.