org.apache.poi.xwpf.converter.core.utils
Class XWPFUtils

java.lang.Object
  extended by org.apache.poi.xwpf.converter.core.utils.XWPFUtils

public class XWPFUtils
extends Object


Constructor Summary
XWPFUtils()
           
 
Method Summary
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 String toHexString(Color color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWPFUtils

public XWPFUtils()
Method Detail

isContinuousSection

public static boolean isContinuousSection(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSectPr sectPr)

getPageOrientation

public static PageOrientation getPageOrientation(org.openxmlformats.schemas.wordprocessingml.x2006.main.STPageOrientation.Enum orientation)

toHexString

public static String toHexString(Color color)

darken

public static Color darken(int r,
                           int g,
                           int b,
                           double percent)
                    throws IllegalArgumentException
Throws:
IllegalArgumentException

lighten

public static Color lighten(int r,
                            int g,
                            int b,
                            double percent)
                     throws IllegalArgumentException
Throws:
IllegalArgumentException

isCTOnOff

public static boolean isCTOnOff(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTOnOff onoff)
For isBold, isItalic etc



Copyright © 2013. All rights reserved.