Class EscherAggregate


  • public class EscherAggregate
    extends AbstractEscherHolderRecord
    This class is used to aggregate the MSODRAWING and OBJ record combinations. This is necessary due to the bizare way in which these records are serialized. What happens is that you get a combination of MSODRAWING -> OBJ -> MSODRAWING -> OBJ records but the escher records are serialized _across_ the MSODRAWING records.

    It gets even worse when you start looking at TXO records.

    So what we do with this class is aggregate lazily. That is we don't aggregate the MSODRAWING -> OBJ records unless we need to modify them.

    Author:
    Glen Stampoultzis (glens at apache.org)