Example #1
0
        /**
         * Used to get the ParagraphHeight of a PAPX at a particular index.
         * @param index
         * @return The ParagraphHeight
         */
        private ParagraphHeight GetParagraphHeight(int index)
        {
            int pheOffset = _offset + 1 + (((_crun + 1) * 4) + (index * 13));

            ParagraphHeight phe = new ParagraphHeight(_fkp, pheOffset);

            return(phe);
        }
Example #2
0
        public PAPX(int fcStart, int fcEnd, CharIndexTranslator translator, SprmBuffer buf, byte[] dataStream)
            : base(fcStart, fcEnd, translator, buf)
        {

            _phe = new ParagraphHeight();
            buf = FindHuge(buf, dataStream);
            if (buf != null)
                _buf = buf;
        }
Example #3
0
 public PAPX(int charStart, int charEnd, byte[] papx, ParagraphHeight phe,
             byte[] dataStream):
     base(charStart, charEnd, new SprmBuffer(papx, 2))
 {
     _phe = phe;
     SprmBuffer buf = FindHuge(new SprmBuffer(papx, 2), dataStream);
     if (buf != null)
         _buf = buf;
 }
Example #4
0
        public PAPX(int fcStart, int fcEnd, CharIndexTranslator translator, byte[] papx, ParagraphHeight phe, byte[] dataStream)
            : base(fcStart, fcEnd, translator, new SprmBuffer(papx,2))
        {

            _phe = phe;
            SprmBuffer buf = FindHuge(new SprmBuffer(papx,2), dataStream);
            if (buf != null)
                _buf = buf;
        }
Example #5
0
 public PAPX(int charStart, int charEnd, SprmBuffer buf):
     base(charStart, charEnd, buf)
 {
     
     _phe = new ParagraphHeight();
 }
Example #6
0
 public PAPX(int charStart, int charEnd, SprmBuffer buf) :
     base(charStart, charEnd, buf)
 {
     _phe = new ParagraphHeight();
 }
Example #7
0
        /**
         * Used to get the ParagraphHeight of a PAPX at a particular index.
         * @param index
         * @return The ParagraphHeight
         */
        private ParagraphHeight GetParagraphHeight(int index)
        {
            int pheOffset = _offset + 1 + (((_crun + 1) * 4) + (index * 13));

            ParagraphHeight phe = new ParagraphHeight(_fkp, pheOffset);

            return phe;
        }