Class StyleExtRecord

  • All Implemented Interfaces:
    Duplicatable, GenericRecord

    public final class StyleExtRecord
    extends ContinuableRecord
    The StyleExt record follow the Style record
    Author:
    henrichen see [MS-XLS].pdf 2.4.270 StyleExt page 437
    • Constructor Detail

      • StyleExtRecord

        public StyleExtRecord​(int bits,
                              int iCategory,
                              BuiltInStyle builtInData,
                              String stName,
                              XFProp[] xfProps)
      • StyleExtRecord

        public StyleExtRecord​(RecordInputStream in)
        construct a HeaderFooterRecord record. No fields are interpreted and the record will be serialized in its original form more or less
        Parameters:
        in - the RecordInputstream to read the record from
    • Method Detail

      • getSid

        public short getSid()
        Description copied from class: Record
        return the non static version of the id for this record.
        Specified by:
        getSid in class Record
        Returns:
        he id for this record
      • getProperty

        public XFProp getProperty​(int xfPropType)
      • isBuiltIn

        public boolean isBuiltIn()
      • setBuiltIn

        public void setBuiltIn​(boolean flag)
      • isHidden

        public boolean isHidden()
      • setHidden

        public void setHidden​(boolean flag)
      • isCustom

        public boolean isCustom()
      • setCustom

        public void setCustom​(boolean flag)
      • getCategory

        public int getCategory()
      • setCategory

        public void setCategory​(int category)
      • setBuiltInData

        public void setBuiltInData​(BuiltInStyle data)
      • getName

        public String getName()
      • getDataSize

        protected int getDataSize()
      • serialize

        protected void serialize​(ContinuableRecordOutput out)
        Description copied from class: ContinuableRecord
        Serializes this record's content to the supplied data output.

        The standard BIFF header (ushort sid, ushort size) has been handled by the superclass, so only BIFF data should be written by this method. Simple data types can be written with the standard LittleEndianOutput methods. Methods from ContinuableRecordOutput can be used to serialize strings (with ContinueRecords being written as required). If necessary, implementors can explicitly start ContinueRecords (regardless of the amount of remaining space).

        Specified by:
        serialize in class ContinuableRecord
        Parameters:
        out - a data output stream