private static void CreateRuleSetDocument(DocX body, System.Workflow.Activities.Rules.RuleSet ruleSet)
        {
            string ruleSetString = RuleTranslator.ConvertRuleSet(ruleSet, false);

            body.DocumentWorkflow(ruleSet.Name);
            body.DocumentDescription(ruleSetString);
        }
        private void CreateWorkflow(DocX body)
        {
            for (int i = 0; i < _activities.Count; i++)
            {
                ActivityChainModel classData = _activities[i];
                body.DocumentWorkflow(classData.WorkflowType.Name, null);

                BuildActivities(body, classData.ActivityTree);
            }
        }