/// <summary>
        /// Builds the Article Details based on the the data entered in the UI
        ///
        /// Retrieve the relevant information from the UI
        /// </summary>
        /// <returns></returns>
        public SitecoreServer.ArticleStruct GetArticleDetails()
        {
            var metadataParser = new ArticleDocumentMetadataParser(SitecoreAddin.WordApp.ActiveDocument);
            var articleDetails = new SitecoreServer.ArticleStruct
            {
                ArticleNumber      = articleInformationControl1.GetArticleNumber(),
                WebPublicationDate = articleInformationControl1.GetWebPublishDate(),
                ArticleCategory    = articleInformationControl1.GetSelectedArticleCategoryGuid(),
                Title                 = metadataParser.Title,
                LongSummary           = metadataParser.LongSummary,
                ShortSummary          = metadataParser.ShortSummary,
                Subtitle              = metadataParser.Subtitle,
                Deck                  = metadataParser.Deck,
                Issue                 = articleInformationControl1.GetSelectedIssue(),
                Publication           = articleInformationControl1.GetSelectedPublicationGuid(),
                Authors               = articleInformationControl1.GetSelectedAuthors().ToArray(),
                Editors               = articleInformationControl1.GetSelectedEditors().ToArray(),
                Industries            = _industryTabController.GetSelected(),
                Subjects              = _subjectsTabController.GetSelected(),
                Geography             = _geographyTabController.GetSelected(),
                MarketSegments        = _marketSegmentsTabController.GetSelected(),
                TherapeuticCategories = _therapeuticCategoriesTabController.GetSelected(),
                NotesToEditorial      = summaryControl1.GetNotesToEditors(),
                NotesToProduction     = summaryControl1.GetNotesToProduction()
            };

            return(articleDetails);
        }
 /// <summary>
 /// Sets the fields in the UI based on the inputted ArticleStruct
 /// </summary>
 /// <param name="articleDetails"></param>
 public void UpdateFields(SitecoreServer.ArticleStruct articleDetails)
 {
     articleInformationControl1.UpdateFields(articleDetails);
     //generalTagsControl.UpdateFields(whatever);
     _industryTabController.UpdateFields(articleDetails.Industries.ToList());
     _subjectsTabController.UpdateFields(articleDetails.Subjects.ToList());
     _geographyTabController.UpdateFields(articleDetails.Geography.ToList());
     _marketSegmentsTabController.UpdateFields(articleDetails.MarketSegments.ToList());
     _therapeuticCategoriesTabController.UpdateFields(articleDetails.TherapeuticCategories.ToList());
     summaryControl1.UpdateFields(articleDetails);
 }