Beispiel #1
0
 /**
  * Constructor - used when writing
  *
  * @param st the shape type
  * @param sid the shape id
  * @param p persistence flags
  */
 public Sp(ShapeType st, int sid, int p)
     : base(EscherRecordType.SP)
 {
     setVersion(2);
     shapeType        = st.getValue();
     shapeId          = sid;
     persistenceFlags = p;
     setInstance(shapeType);
 }
Beispiel #2
0
 /**
  * Constructor - used when writing
  *
  * @param st the shape type
  * @param sid the shape id
  * @param p persistence flags
  */
 public Sp(ShapeType st,int sid,int p)
     : base(EscherRecordType.SP)
 {
     setVersion(2);
     shapeType = st.getValue();
     shapeId = sid;
     persistenceFlags = p;
     setInstance(shapeType);
 }