| |
|
| java.lang.Object org.apache.poi.hwpf.model.StyleSheet
StyleSheet | public class StyleSheet implements HDFType(Code) | | Represents a document's stylesheet. A word documents formatting is stored as
compressed styles that are based on styles contained in the stylesheet. This
class also contains static utility functions to uncompress different
formatting properties.
author: Ryan Ackley |
Constructor Summary | |
public | StyleSheet(byte[] tableStream, int offset) StyleSheet constructor. |
NIL_STYLE | final public static int NIL_STYLE(Code) | | |
StyleSheet | public StyleSheet(byte[] tableStream, int offset)(Code) | | StyleSheet constructor. Loads a document's stylesheet information,
Parameters: tableStream - A byte array containing a document's raw stylesheetinfo. Found by using FileInformationBlock.getFcStshf() andFileInformationBLock.getLcbStshf() |
getStyleDescription | public StyleDescription getStyleDescription(int x)(Code) | | Gets the StyleDescription at index x.
Parameters: x - the index of the desired StyleDescription. |
numStyles | public int numStyles()(Code) | | Gets the number of styles in the style sheet.
The number of styles in the style sheet. |
|
|
|