@Deprecated public final class StyleSheet extends Object implements HDFType
Constructor and Description |
---|
StyleSheet(byte[] styleSheet)
Deprecated.
StyleSheet constructor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
getFlag(int x)
Deprecated.
Converts an int into a boolean.
|
StyleDescription |
getStyleDescription(int x)
Deprecated.
Gets the StyleDescription at index x.
|
static Object |
uncompressProperty(byte[] grpprl,
Object parent,
StyleSheet styleSheet)
Deprecated.
Used to uncompress a property stored in a grpprl.
|
static Object |
uncompressProperty(byte[] grpprl,
Object parent,
StyleSheet styleSheet,
boolean doIstd)
Deprecated.
Used to uncompress a property stored in a grpprl.
|
public StyleSheet(byte[] styleSheet)
styleSheet
- A byte array containing a document's raw stylesheet
info. Found by using FileInformationBlock.getFcStshf() and
FileInformationBLock.getLcbStshf()public StyleDescription getStyleDescription(int x)
x
- the index of the desired StyleDescription.public static Object uncompressProperty(byte[] grpprl, Object parent, StyleSheet styleSheet)
grpprl
- The compressed form of the property.parent
- The base property of the property.styleSheet
- The document's stylesheet.public static Object uncompressProperty(byte[] grpprl, Object parent, StyleSheet styleSheet, boolean doIstd)
grpprl
- The compressed form of the property.parent
- The base property of the property.styleSheet
- The document's stylesheet.public static boolean getFlag(int x)
x
- The int to convert.Copyright © 2023. All rights reserved.