{
}
- /** @deprecated POI 3.8 beta 4 */
- @Deprecated
- public static TableProperties uncompressTAP(byte[] grpprl, int offset)
- {
- TableProperties newProperties = new TableProperties();
-
- SprmIterator sprmIt = new SprmIterator(grpprl, offset);
-
- while (sprmIt.hasNext())
- {
- SprmOperation sprm = sprmIt.next();
-
- //TAPXs are actually PAPXs so we have to make sure we are only trying to
- //uncompress the right type of sprm.
- if (sprm.getType() == SprmOperation.TYPE_TAP)
- {
- try {
- unCompressTAPOperation(newProperties, sprm);
- } catch (ArrayIndexOutOfBoundsException ex) {
- logger.log( POILogger.ERROR, "Unable to apply ", sprm,
- ": ", ex, ex );
- }
- }
- }
-
- return newProperties;
- }
-
public static TableProperties uncompressTAP( SprmBuffer sprmBuffer )
{
TableProperties tableProperties;