Example #1
0
        public static CT_Picture Parse(XElement node, XmlNamespaceManager namespaceManager)
        {
            if (node == null)
            {
                return(null);
            }
            CT_Picture ctObj = new CT_Picture();

            foreach (XElement childNode in node.ChildElements())
            {
                if (childNode.Name.LocalName == "movie")
                {
                    ctObj.movie = CT_Rel.Parse(childNode, namespaceManager);
                }
                else if (childNode.Name.LocalName == "control")
                {
                    ctObj.control = CT_Control.Parse(childNode, namespaceManager);
                }
                else if (childNode.Prefix() == "o")
                {
                    ctObj.ItemsElementName.Add(ItemsChoiceType9.office);
                    ctObj.Items.Add(childNode);
                }
                else if (childNode.Prefix() == "v")
                {
                    ctObj.ItemsElementName.Add(ItemsChoiceType9.vml);
                    ctObj.Items.Add(childNode);
                }
            }
            return(ctObj);
        }
Example #2
0
 public CT_Frame()
 {
     this.linkedToFileField    = new CT_OnOff();
     this.noResizeAllowedField = new CT_OnOff();
     this.scrollbarField       = new CT_FrameScrollbar();
     this.marHField            = new CT_PixelsMeasure();
     this.marWField            = new CT_PixelsMeasure();
     this.sourceFileNameField  = new CT_Rel();
     this.nameField            = new CT_String();
     this.szField = new CT_String();
 }
Example #3
0
 public CT_Frame()
 {
     this.linkedToFileField = new CT_OnOff();
     this.noResizeAllowedField = new CT_OnOff();
     this.scrollbarField = new CT_FrameScrollbar();
     this.marHField = new CT_PixelsMeasure();
     this.marWField = new CT_PixelsMeasure();
     this.sourceFileNameField = new CT_Rel();
     this.nameField = new CT_String();
     this.szField = new CT_String();
 }
Example #4
0
 public CT_Odso()
 {
     this.recipientDataField = new List<CT_Rel>();
     this.fieldMapDataField = new List<CT_OdsoFieldMapData>();
     this.fHdrField = new CT_OnOff();
     this.typeField = new CT_MailMergeSourceType();
     this.colDelimField = new CT_DecimalNumber();
     this.srcField = new CT_Rel();
     this.tableField = new CT_String();
     this.udlField = new CT_String();
 }
Example #5
0
 public CT_MailMerge()
 {
     this.odsoField = new CT_Odso();
     this.checkErrorsField = new CT_DecimalNumber();
     this.activeRecordField = new CT_DecimalNumber();
     this.viewMergedDataField = new CT_OnOff();
     this.mailAsAttachmentField = new CT_OnOff();
     this.mailSubjectField = new CT_String();
     this.addressFieldNameField = new CT_String();
     this.destinationField = new CT_MailMergeDest();
     this.doNotSuppressBlankLinesField = new CT_OnOff();
     this.headerSourceField = new CT_Rel();
     this.dataSourceField = new CT_Rel();
     this.queryField = new CT_String();
     this.connectStringField = new CT_String();
     this.dataTypeField = new CT_MailMergeDataType();
     this.linkToQueryField = new CT_OnOff();
     this.mainDocumentTypeField = new CT_MailMergeDocType();
 }
Example #6
0
 public CT_Picture()
 {
     this.controlField = new CT_Control();
     this.movieField = new CT_Rel();
 }
Example #7
0
 public CT_Picture()
 {
     this.controlField = new CT_Control();
     this.movieField   = new CT_Rel();
 }