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 Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractWordUtils.NumberingState
-
Field Summary
Fields Modifier and Type Field Description static floatTWIPS_PER_INCHstatic intTWIPS_PER_PT
-
Constructor Summary
Constructors Constructor Description AbstractWordUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetBorderType(BorderCode borderCode)static StringgetBorderWidth(BorderCode borderCode)static StringgetBulletText(AbstractWordUtils.NumberingState numberingState, HWPFList list, char level)static StringgetColor(int ico)static StringgetColor24(int argbValue)static StringgetJustification(int js)static StringgetLanguage(int languageCode)static StringgetListItemNumberLabel(int number, int format)static StringgetOpacity(int argbValue)static HWPFDocumentCoreloadDoc(File docFile)static HWPFDocumentCoreloadDoc(InputStream inputStream)static HWPFDocumentCoreloadDoc(DirectoryNode root)static HWPFDocumentCoreloadDoc(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 String getBorderType(BorderCode borderCode)
-
getBorderWidth
public static String getBorderWidth(BorderCode borderCode)
-
getBulletText
public static String getBulletText(AbstractWordUtils.NumberingState numberingState, HWPFList list, char level)
-
getColor
public static String getColor(int ico)
-
getOpacity
public static String getOpacity(int argbValue)
-
getColor24
public static String getColor24(int argbValue)
-
getJustification
public static String getJustification(int js)
-
getLanguage
public static String getLanguage(int languageCode)
-
getListItemNumberLabel
public static String getListItemNumberLabel(int number, int format)
-
loadDoc
public static HWPFDocumentCore loadDoc(DirectoryNode root) throws IOException
- Throws:
IOException
-
loadDoc
public static HWPFDocumentCore loadDoc(File docFile) throws IOException
- Throws:
IOException
-
loadDoc
public static HWPFDocumentCore loadDoc(InputStream inputStream) throws IOException
- Throws:
IOException
-
loadDoc
public static HWPFDocumentCore loadDoc(POIFSFileSystem poifsFileSystem) throws IOException
- Throws:
IOException
-
-