@Internal public final class StyleSheet extends java.lang.Object implements HDFType
Fields documentation is quotes from Microsoft Office Word 97-2007 Binary File Format (.doc) Specification, page 36 of 210
Modifier and Type | Field and Description |
---|---|
static int |
NIL_STYLE |
Constructor and Description |
---|
StyleSheet(byte[] tableStream,
int offset)
StyleSheet constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
CharacterProperties |
getCharacterStyle(int styleIndex)
Deprecated.
|
byte[] |
getCHPX(int styleIndex) |
byte[] |
getPAPX(int styleIndex) |
ParagraphProperties |
getParagraphStyle(int styleIndex)
Deprecated.
|
StyleDescription |
getStyleDescription(int styleIndex)
Gets the StyleDescription at index x.
|
int |
numStyles()
Gets the number of styles in the style sheet.
|
void |
writeTo(HWPFOutputStream out) |
public static final int NIL_STYLE
public StyleSheet(byte[] tableStream, int offset)
tableStream
- A byte array containing a document's raw stylesheet
info. Found by using FileInformationBlock.getFcStshf() and
FileInformationBLock.getLcbStshf()public void writeTo(HWPFOutputStream out) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int numStyles()
public StyleDescription getStyleDescription(int styleIndex)
styleIndex
- the index of the desired StyleDescription.@Deprecated public CharacterProperties getCharacterStyle(int styleIndex)
@Deprecated public ParagraphProperties getParagraphStyle(int styleIndex)
public byte[] getCHPX(int styleIndex)
public byte[] getPAPX(int styleIndex)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.