Esempio n. 1
0
 public CT_Scene3D()
 {
     this.extLstField = new CT_OfficeArtExtensionList();
     this.backdropField = new CT_Backdrop();
     this.lightRigField = new CT_LightRig();
     this.cameraField = new CT_Camera();
 }
Esempio n. 2
0
        public static CT_Backdrop Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_Backdrop ctObj = new CT_Backdrop();

            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "anchor")
                {
                    ctObj.anchor = CT_Point3D.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "norm")
                {
                    ctObj.norm = CT_Vector3D.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "up")
                {
                    ctObj.up = CT_Vector3D.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "extLst")
                {
                    ctObj.extLst = CT_OfficeArtExtensionList.Parse(childNode, namespaceManager);
                }
            }
            return(ctObj);
        }
Esempio n. 3
0
        public static CT_Scene3D Parse(XmlNode node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_Scene3D ctObj = new CT_Scene3D();

            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.LocalName == "camera")
                {
                    ctObj.camera = CT_Camera.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "lightRig")
                {
                    ctObj.lightRig = CT_LightRig.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "backdrop")
                {
                    ctObj.backdrop = CT_Backdrop.Parse(childNode, namespaceManager);
                }
                else if (childNode.LocalName == "extLst")
                {
                    ctObj.extLst = CT_OfficeArtExtensionList.Parse(childNode, namespaceManager);
                }
            }
            return(ctObj);
        }
Esempio n. 4
0
 public CT_Scene3D()
 {
     this.extLstField   = new CT_OfficeArtExtensionList();
     this.backdropField = new CT_Backdrop();
     this.lightRigField = new CT_LightRig();
     this.cameraField   = new CT_Camera();
 }
Esempio n. 5
0
 public static CT_Backdrop Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_Backdrop ctObj = new CT_Backdrop();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "anchor")
             ctObj.anchor = CT_Point3D.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "norm")
             ctObj.norm = CT_Vector3D.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "up")
             ctObj.up = CT_Vector3D.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "extLst")
             ctObj.extLst = CT_OfficeArtExtensionList.Parse(childNode, namespaceManager);
     }
     return ctObj;
 }