Class CHPBinTable

  • Direct Known Subclasses:
    OldCHPBinTable

    @Internal
    public class CHPBinTable
    extends java.lang.Object
    This class holds all of the character formatting properties.
    • Constructor Detail

      • CHPBinTable

        public CHPBinTable()
      • CHPBinTable

        public CHPBinTable​(byte[] documentStream,
                           byte[] tableStream,
                           int offset,
                           int size,
                           CharIndexTranslator translator)
        Constructor used to read a binTable in from a Word document.
    • Method Detail

      • adjustForDelete

        public void adjustForDelete​(int listIndex,
                                    int offset,
                                    int length)
      • insert

        public void insert​(int listIndex,
                           int cpStart,
                           SprmBuffer buf)
      • adjustForInsert

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

        public java.util.List<CHPX> getTextRuns()
      • writeTo

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

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