示例#1
0
    internal void method_0(BinaryReader A_0)
    {
        int num = A_0.ReadInt32();

        this.int_0 = num & 15;
        this.int_1 = (num & 0xfff0) >> 4;
        this.escherRecordType_0 = (EscherRecordType)((int)((num & 0xffff0000L) >> 0x10));
        this.int_2 = A_0.ReadInt32();
    }
示例#2
0
        /**
         * Gets the escher type of this record
         *
         * @return  the escher type
         */
        public EscherRecordType getType()
        {
            if (type == null)
            {
                type = EscherRecordType.getType(recordId);
            }

            return(type);
        }
示例#3
0
        /**
         * Constructor
         *
         * @param val the escher record value
         */
        private EscherRecordType(int val)
        {
            value = val;

            EscherRecordType[] newtypes = new EscherRecordType[types.Length + 1];
            System.Array.Copy(types, 0, newtypes, 0, types.Length);
            newtypes[types.Length] = this;
            types = newtypes;
        }
示例#4
0
 internal Class266 method_4(EscherRecordType A_0)
 {
     for (int i = 0; i < this.class1063_0.Count; i++)
     {
         Class266 class2 = this.class1063_0.method_0(i);
         if (class2.method_3().method_8() == A_0)
         {
             return(class2);
         }
     }
     return(null);
 }
示例#5
0
        /**
         * Accessor to get the item from a particular value
         *
         * @param val the escher record value
         * @return the type corresponding to val, or UNKNOWN if a match could not
         * be found
         */
        public static EscherRecordType getType(int val)
        {
            EscherRecordType type = UNKNOWN;

            for (int i = 0; i < types.Length; i++)
            {
                if (val == types[i].value)
                {
                    type = types[i];
                    break;
                }
            }

            return(type);
        }
示例#6
0
 internal Class272(EscherRecordType A_0)
 {
     this.class1063_0 = new Class1063();
     base.method_3().method_3(true);
     base.method_3().method_9(A_0);
 }
示例#7
0
 /**
  * Constructor
  *
  * @param type the type
  */
 protected EscherRecord(EscherRecordType type)
 {
     data = new EscherRecordData(type);
 }
 /**
  * Constructor
  *
  * @param type the type
  */
 protected EscherRecord(EscherRecordType type)
 {
     data = new EscherRecordData(type);
 }
示例#9
0
 /**
  * Constructor
  *
  * @param type the type
  */
 protected EscherAtom(EscherRecordType type)
     : base(type)
 {
 }
示例#10
0
 /**
  * Constructor
  *
  * @param t the type of the escher record
  */
 public EscherRecordData(EscherRecordType t)
 {
     type     = t;
     recordId = type.getValue();
 }
示例#11
0
 private static BlipImageType smethod_0(EscherRecordType A_0)
 {
     return((BlipImageType)(A_0 - 0xf018));
 }
        /**
         * Gets the escher type of this record
         *
         * @return  the escher type
         */
        public EscherRecordType getType()
        {
            if (type == null)
                {
                type = EscherRecordType.getType(recordId);
                }

            return type;
        }
 /**
  * Constructor
  *
  * @param t the type of the escher record
  */
 public EscherRecordData(EscherRecordType t)
 {
     type = t;
     recordId = type.getValue();
 }
示例#14
0
 internal void method_9(EscherRecordType A_0)
 {
     this.escherRecordType_0 = A_0;
 }
示例#15
0
 internal Class266(EscherRecordType A_0, int A_1) : this()
 {
     this.class768_0.method_9(A_0);
     this.class768_0.method_5(A_1);
 }
 /**
  * Constructor used when writing out escher data
  *
  * @param type the type
  */
 protected EscherContainer(EscherRecordType type)
     : base(type)
 {
     setContainer(true);
     children = new ArrayList();
 }