Class SectionTable

  • Direct Known Subclasses:
    OldSectionTable

    @Internal
    public class SectionTable
    extends java.lang.Object
    Author:
    Ryan Ackley
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<SEPX> _sections  
      protected java.util.List<TextPiece> _text  
    • Constructor Summary

      Constructors 
      Constructor Description
      SectionTable()
      So we can know if things are unicode or not
      SectionTable​(byte[] documentStream, byte[] tableStream, int offset, int size, int fcMin, TextPieceTable tpt, int mainLength)  
    • Field Detail

      • _sections

        protected java.util.List<SEPX> _sections
      • _text

        protected java.util.List<TextPiece> _text
    • Constructor Detail

      • SectionTable

        public SectionTable()
        So we can know if things are unicode or not
      • SectionTable

        public SectionTable​(byte[] documentStream,
                            byte[] tableStream,
                            int offset,
                            int size,
                            int fcMin,
                            TextPieceTable tpt,
                            int mainLength)
    • Method Detail

      • adjustForInsert

        public void adjustForInsert​(int listIndex,
                                    int length)
      • getSections

        public java.util.List<SEPX> getSections()
      • writeTo

        @Deprecated
        public void writeTo​(HWPFFileSystem sys,
                            int fcMin)
                     throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • writeTo

        public void writeTo​(java.io.ByteArrayOutputStream wordDocumentStream,
                            java.io.ByteArrayOutputStream tableStream)
                     throws java.io.IOException
        Throws:
        java.io.IOException