public CT_Cell3D() { this.extLstField = new CT_OfficeArtExtensionList(); this.lightRigField = new CT_LightRig(); this.bevelField = new CT_Bevel(); this.prstMaterialField = ST_PresetMaterialType.plastic; }
public CT_Cell3D() { this.extLstField = new CT_OfficeArtExtensionList(); this.lightRigField = new CT_LightRig(); this.bevelField = new CT_Bevel(); this.prstMaterialField = ST_PresetMaterialType.plastic; }
public static CT_LightRig Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) { return(null); } CT_LightRig ctObj = new CT_LightRig(); if (node.Attributes["rig"] != null) { ctObj.rig = (ST_LightRigType)Enum.Parse(typeof(ST_LightRigType), node.Attributes["rig"].Value); } if (node.Attributes["dir"] != null) { ctObj.dir = (ST_LightRigDirection)Enum.Parse(typeof(ST_LightRigDirection), node.Attributes["dir"].Value); } foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "rot") { ctObj.rot = CT_SphereCoords.Parse(childNode, namespaceManager); } } return(ctObj); }
public CT_Scene3D() { this.extLstField = new CT_OfficeArtExtensionList(); this.backdropField = new CT_Backdrop(); this.lightRigField = new CT_LightRig(); this.cameraField = new CT_Camera(); }
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); }
public CT_Scene3D() { this.extLstField = new CT_OfficeArtExtensionList(); this.backdropField = new CT_Backdrop(); this.lightRigField = new CT_LightRig(); this.cameraField = new CT_Camera(); }
public static CT_LightRig Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_LightRig ctObj = new CT_LightRig(); if (node.Attributes["rig"] != null) ctObj.rig = (ST_LightRigType)Enum.Parse(typeof(ST_LightRigType), node.Attributes["rig"].Value); if (node.Attributes["dir"] != null) ctObj.dir = (ST_LightRigDirection)Enum.Parse(typeof(ST_LightRigDirection), node.Attributes["dir"].Value); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "rot") ctObj.rot = CT_SphereCoords.Parse(childNode, namespaceManager); } return ctObj; }