Package org.apache.poi.hwpf.converter
Class AbstractWordUtils
- java.lang.Object
-
- org.apache.poi.hwpf.converter.AbstractWordUtils
-
- Direct Known Subclasses:
WordToFoUtils
,WordToHtmlUtils
@Beta public class AbstractWordUtils extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractWordUtils.NumberingState
-
Field Summary
Fields Modifier and Type Field Description static float
TWIPS_PER_INCH
static int
TWIPS_PER_PT
-
Constructor Summary
Constructors Constructor Description AbstractWordUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getBorderType(BorderCode borderCode)
static java.lang.String
getBorderWidth(BorderCode borderCode)
static java.lang.String
getBulletText(AbstractWordUtils.NumberingState numberingState, HWPFList list, char level)
static java.lang.String
getColor(int ico)
static java.lang.String
getColor24(int argbValue)
static java.lang.String
getJustification(int js)
static java.lang.String
getLanguage(int languageCode)
static java.lang.String
getListItemNumberLabel(int number, int format)
static java.lang.String
getOpacity(int argbValue)
static HWPFDocumentCore
loadDoc(java.io.File docFile)
static HWPFDocumentCore
loadDoc(java.io.InputStream inputStream)
static HWPFDocumentCore
loadDoc(DirectoryNode root)
static HWPFDocumentCore
loadDoc(POIFSFileSystem poifsFileSystem)
-
-
-
Field Detail
-
TWIPS_PER_INCH
public static final float TWIPS_PER_INCH
- See Also:
- Constant Field Values
-
TWIPS_PER_PT
public static final int TWIPS_PER_PT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBorderType
public static java.lang.String getBorderType(BorderCode borderCode)
-
getBorderWidth
public static java.lang.String getBorderWidth(BorderCode borderCode)
-
getBulletText
public static java.lang.String getBulletText(AbstractWordUtils.NumberingState numberingState, HWPFList list, char level)
-
getColor
public static java.lang.String getColor(int ico)
-
getOpacity
public static java.lang.String getOpacity(int argbValue)
-
getColor24
public static java.lang.String getColor24(int argbValue)
-
getJustification
public static java.lang.String getJustification(int js)
-
getLanguage
public static java.lang.String getLanguage(int languageCode)
-
getListItemNumberLabel
public static java.lang.String getListItemNumberLabel(int number, int format)
-
loadDoc
public static HWPFDocumentCore loadDoc(DirectoryNode root) throws java.io.IOException
- Throws:
java.io.IOException
-
loadDoc
public static HWPFDocumentCore loadDoc(java.io.File docFile) throws java.io.IOException
- Throws:
java.io.IOException
-
loadDoc
public static HWPFDocumentCore loadDoc(java.io.InputStream inputStream) throws java.io.IOException
- Throws:
java.io.IOException
-
loadDoc
public static HWPFDocumentCore loadDoc(POIFSFileSystem poifsFileSystem) throws java.io.IOException
- Throws:
java.io.IOException
-
-