示例#1
0
 public PartInfo(OPCPackage containingPackage, PartInfo templatePartInfo)
 {
     this.Id = templatePartInfo.Id;
     this.Type = templatePartInfo.Type;
     this.Target = templatePartInfo.Target;
     this.External = templatePartInfo.External;
     this.RelatedTo = templatePartInfo.RelatedTo;
     this.m_containingPackage = containingPackage;
     m_relationships = new Relationships();
 }
示例#2
0
 public PartInfo(OPCPackage containingPackage)
 {
     m_containingPackage = containingPackage;
     m_relationships = new Relationships();
 }
示例#3
0
 public void LoadRelationships(Stream str)
 {
     m_relationships = new Relationships(m_containingPackage, str, AbsolutePath());
 }