예제 #1
0
파일: FibRgFcLcb.cs 프로젝트: zzy092/npoi
        public void Deserialize(HWPFStream stream)
        {
            cbRgFcLcb = stream.ReadShort();
            switch (cbRgFcLcb)
            {
            case 0x005D:
                fibRgFcLcb97 = new FibRgFcLcb97();
                fibRgFcLcb97.Deserialize(stream);
                break;

            case 0x006C:
                fibRgFcLcb2000 = new FibRgFcLcb2000();
                fibRgFcLcb2000.Deserialize(stream);
                fibRgFcLcb97 = fibRgFcLcb2000.fibRgFcLcb97;
                break;

            case 0x0088:
                fibRgFcLcb2002 = new FibRgFcLcb2002();
                fibRgFcLcb2002.Deserialize(stream);
                fibRgFcLcb97   = fibRgFcLcb2002.fibRgFcLcb2000.fibRgFcLcb97;
                fibRgFcLcb2000 = fibRgFcLcb2002.fibRgFcLcb2000;
                break;

            case 0x00A4:
                fibRgFcLcb2003 = new FibRgFcLcb2003();
                fibRgFcLcb2003.Deserialize(stream);
                fibRgFcLcb97   = fibRgFcLcb2003.fibRgFcLcb2002.fibRgFcLcb2000.fibRgFcLcb97;
                fibRgFcLcb2000 = fibRgFcLcb2003.fibRgFcLcb2002.fibRgFcLcb2000;
                fibRgFcLcb2002 = fibRgFcLcb2003.fibRgFcLcb2002;
                break;

            case 0x00B7:
                fibRgFcLcb2007 = new FibRgFcLcb2007();
                fibRgFcLcb2007.Deserialize(stream);
                fibRgFcLcb97   = fibRgFcLcb2007.fibRgFcLcb2003.fibRgFcLcb2002.fibRgFcLcb2000.fibRgFcLcb97;
                fibRgFcLcb2000 = fibRgFcLcb2007.fibRgFcLcb2003.fibRgFcLcb2002.fibRgFcLcb2000;
                fibRgFcLcb2002 = fibRgFcLcb2007.fibRgFcLcb2003.fibRgFcLcb2002;
                fibRgFcLcb2003 = fibRgFcLcb2007.fibRgFcLcb2003;
                break;
            }
        }
예제 #2
0
        public void Deserialize(HWPFStream stream)
        {
            fibRgFcLcb97 = new FibRgFcLcb97();
            fibRgFcLcb97.Deserialize(stream);

            fcPlcfTch = stream.ReadInt();
            lcbPlcfTch = stream.ReadInt();
            fcRmdThreading = stream.ReadInt();
            lcbRmdThreading = stream.ReadInt();
            fcMid = stream.ReadInt();
            lcbMid = stream.ReadInt();
            fcSttbRgtplc = stream.ReadInt();
            lcbSttbRgtplc = stream.ReadInt();
            fcMsoEnvelope = stream.ReadInt();
            lcbMsoEnvelope = stream.ReadInt();
            fcPlcfLad = stream.ReadInt();
            lcbPlcfLad = stream.ReadInt();
            fcRgDofr = stream.ReadInt();
            lcbRgDofr = stream.ReadInt();
            fcPlcosl = stream.ReadInt();
            lcbPlcosl = stream.ReadInt();
            fcPlcfCookieOld = stream.ReadInt();
            lcbPlcfCookieOld = stream.ReadInt();
            fcPgdMotherOld = stream.ReadInt();
            lcbPgdMotherOld = stream.ReadInt();
            fcBkdMotherOld = stream.ReadInt();
            lcbBkdMotherOld = stream.ReadInt();
            fcPgdFtnOld = stream.ReadInt();
            lcbPgdFtnOld = stream.ReadInt();
            fcBkdFtnOld = stream.ReadInt();
            lcbBkdFtnOld = stream.ReadInt();
            fcPgdEdnOld = stream.ReadInt();
            lcbPgdEdnOld = stream.ReadInt();
            fcBkdEdnOld = stream.ReadInt();
            lcbBkdEdnOld = stream.ReadInt();
            
        }
예제 #3
0
파일: FibRgFcLcb.cs 프로젝트: ctddjyds/npoi
 public void Deserialize(HWPFStream stream)
 {
     cbRgFcLcb = stream.ReadShort();
     switch (cbRgFcLcb)
     {
         case 0x005D:
             fibRgFcLcb97 = new FibRgFcLcb97();
             fibRgFcLcb97.Deserialize(stream);
             break;
         case 0x006C:
             fibRgFcLcb2000 = new FibRgFcLcb2000();
             fibRgFcLcb2000.Deserialize(stream);
             fibRgFcLcb97 = fibRgFcLcb2000.fibRgFcLcb97;
             break;
         case 0x0088:
             fibRgFcLcb2002 = new FibRgFcLcb2002();
             fibRgFcLcb2002.Deserialize(stream);
             fibRgFcLcb97 = fibRgFcLcb2002.fibRgFcLcb2000.fibRgFcLcb97;
             fibRgFcLcb2000 = fibRgFcLcb2002.fibRgFcLcb2000;
             break;
         case 0x00A4 :
             fibRgFcLcb2003 = new FibRgFcLcb2003();
             fibRgFcLcb2003.Deserialize(stream);
             fibRgFcLcb97 = fibRgFcLcb2003.fibRgFcLcb2002.fibRgFcLcb2000.fibRgFcLcb97;
             fibRgFcLcb2000 = fibRgFcLcb2003.fibRgFcLcb2002.fibRgFcLcb2000;
             fibRgFcLcb2002 = fibRgFcLcb2003.fibRgFcLcb2002;
             break;
         case 0x00B7:
             fibRgFcLcb2007 = new FibRgFcLcb2007();
             fibRgFcLcb2007.Deserialize(stream);
             fibRgFcLcb97 = fibRgFcLcb2007.fibRgFcLcb2003.fibRgFcLcb2002.fibRgFcLcb2000.fibRgFcLcb97;
             fibRgFcLcb2000 = fibRgFcLcb2007.fibRgFcLcb2003.fibRgFcLcb2002.fibRgFcLcb2000;
             fibRgFcLcb2002 = fibRgFcLcb2007.fibRgFcLcb2003.fibRgFcLcb2002;
             fibRgFcLcb2003 = fibRgFcLcb2007.fibRgFcLcb2003;
             break;
     }
 }
예제 #4
0
        public void Deserialize(HWPFStream stream)
        {
            fibRgFcLcb97 = new FibRgFcLcb97();
            fibRgFcLcb97.Deserialize(stream);

            fcPlcfTch        = stream.ReadInt();
            lcbPlcfTch       = stream.ReadInt();
            fcRmdThreading   = stream.ReadInt();
            lcbRmdThreading  = stream.ReadInt();
            fcMid            = stream.ReadInt();
            lcbMid           = stream.ReadInt();
            fcSttbRgtplc     = stream.ReadInt();
            lcbSttbRgtplc    = stream.ReadInt();
            fcMsoEnvelope    = stream.ReadInt();
            lcbMsoEnvelope   = stream.ReadInt();
            fcPlcfLad        = stream.ReadInt();
            lcbPlcfLad       = stream.ReadInt();
            fcRgDofr         = stream.ReadInt();
            lcbRgDofr        = stream.ReadInt();
            fcPlcosl         = stream.ReadInt();
            lcbPlcosl        = stream.ReadInt();
            fcPlcfCookieOld  = stream.ReadInt();
            lcbPlcfCookieOld = stream.ReadInt();
            fcPgdMotherOld   = stream.ReadInt();
            lcbPgdMotherOld  = stream.ReadInt();
            fcBkdMotherOld   = stream.ReadInt();
            lcbBkdMotherOld  = stream.ReadInt();
            fcPgdFtnOld      = stream.ReadInt();
            lcbPgdFtnOld     = stream.ReadInt();
            fcBkdFtnOld      = stream.ReadInt();
            lcbBkdFtnOld     = stream.ReadInt();
            fcPgdEdnOld      = stream.ReadInt();
            lcbPgdEdnOld     = stream.ReadInt();
            fcBkdEdnOld      = stream.ReadInt();
            lcbBkdEdnOld     = stream.ReadInt();
        }