Subversion Repositories DevTools

Rev

Rev 2094 | Rev 2100 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2094 Rev 2096
Line 17... Line 17...
17
      public const string optstr_ElementHeadingStyleTransitionsToNumParaAtLevel = "ElementHeadingStyleTransitionsToNumParaAtLevel";
17
      public const string optstr_ElementHeadingStyleTransitionsToNumParaAtLevel = "ElementHeadingStyleTransitionsToNumParaAtLevel";
18
      public const string optstr_DisplayRequirementElementsAsSections = "DisplayRequirementElementsAsSections";
18
      public const string optstr_DisplayRequirementElementsAsSections = "DisplayRequirementElementsAsSections";
19
      public const string optstr_RequirementElementDisplayFormat      = "RequirementElementDisplayFormat";
19
      public const string optstr_RequirementElementDisplayFormat      = "RequirementElementDisplayFormat";
20
      public const string optstr_DisplayRequirementsWithStatus        = "DisplayRequirementsWithStatus";
20
      public const string optstr_DisplayRequirementsWithStatus        = "DisplayRequirementsWithStatus";
21
      public const string optstr_SuppressElementDescriptionMissingWarnings = "SuppressElementDescriptionMissingWarnings";
21
      public const string optstr_SuppressElementDescriptionMissingWarnings = "SuppressElementDescriptionMissingWarnings";
22
      public const string optstr_SuppressPrivateAttributres = "SuppressPrivateAttributres";
22
      public const string optstr_SuppressPrivateAttributes = "SuppressPrivateAttributes";
23
      public const string optstr_SuppressPrivateMethods     = "SuppressPrivateMethods";
23
      public const string optstr_SuppressPrivateMethods     = "SuppressPrivateMethods";
24
      public const string optstr_SuppressPrivateClasses     = "SuppressPrivateClasses";
24
      public const string optstr_SuppressPrivateClasses     = "SuppressPrivateClasses";
25
 
25
 
26
 
26
 
27
      private string [] options_string = null;
27
      private string [] options_string = null;
Line 35... Line 35...
35
      public bool opt_SuppressElementDescriptionMissingWarnings;
35
      public bool opt_SuppressElementDescriptionMissingWarnings;
36
 
36
 
37
      public bool opt_DisplayRequirementsWithStatus;
37
      public bool opt_DisplayRequirementsWithStatus;
38
 
38
 
39
      // Visibility options
39
      // Visibility options
40
      public bool opt_SuppressPrivateAttributes = true;
40
      public bool opt_SuppressPrivateAttributes;
41
      public bool opt_SuppressPrivateMethods     = true;
41
      public bool opt_SuppressPrivateMethods;
42
      public bool opt_SuppressPrivateClasses     = true;
42
      public bool opt_SuppressPrivateClasses;
43
 
43
 
44
 
44
 
45
 
45
 
46
 
46
 
47
      // Element Types list
47
      // Element Types list
Line 63... Line 63...
63
         opt_ElementHeadingTransitionLevel = 0;
63
         opt_ElementHeadingTransitionLevel = 0;
64
         opt_DisplayRequirementElementsAsSections = false;
64
         opt_DisplayRequirementElementsAsSections = false;
65
         opt_RequirementElementDisplayFormat = "[REQUIREMENT: %s]";
65
         opt_RequirementElementDisplayFormat = "[REQUIREMENT: %s]";
66
         opt_DisplayRequirementsWithStatus = true;
66
         opt_DisplayRequirementsWithStatus = true;
67
         opt_SuppressElementDescriptionMissingWarnings = false;
67
         opt_SuppressElementDescriptionMissingWarnings = false;
-
 
68
         opt_SuppressPrivateAttributes = true;
-
 
69
         opt_SuppressPrivateMethods    = true;
-
 
70
         opt_SuppressPrivateClasses    = true;
-
 
71
 
68
      }
72
      }
69
 
73
 
70
 
74
 
71
      /// <summary>
75
      /// <summary>
72
      /// Looks for the EA_DocGen element in the selected package. To generate a document
76
      /// Looks for the EA_DocGen element in the selected package. To generate a document
Line 263... Line 267...
263
                  }
267
                  }
264
                  else if (s.StartsWith(optstr_SuppressPrivateClasses))
268
                  else if (s.StartsWith(optstr_SuppressPrivateClasses))
265
                  {
269
                  {
266
                     opt_SuppressPrivateClasses = getOptionValue(s, opt_SuppressPrivateClasses);
270
                     opt_SuppressPrivateClasses = getOptionValue(s, opt_SuppressPrivateClasses);
267
                  }
271
                  }
268
                  else if (s.StartsWith(optstr_SuppressPrivateAttributres))
272
                  else if (s.StartsWith(optstr_SuppressPrivateAttributes))
269
                  {
273
                  {
270
                     opt_SuppressPrivateAttributes = getOptionValue(s, opt_SuppressPrivateAttributes);
274
                     opt_SuppressPrivateAttributes = getOptionValue(s, opt_SuppressPrivateAttributes);
271
                  }
275
                  }
272
                  else if (s.StartsWith(optstr_SuppressPrivateMethods))
276
                  else if (s.StartsWith(optstr_SuppressPrivateMethods))
273
                  {
277
                  {
Line 419... Line 423...
419
         // NumPara transition option
423
         // NumPara transition option
420
         updateEA_DocGen(ref sb, opt_ElementHeadingTransitionLevel, optstr_ElementHeadingStyleTransitionsToNumParaAtLevel);
424
         updateEA_DocGen(ref sb, opt_ElementHeadingTransitionLevel, optstr_ElementHeadingStyleTransitionsToNumParaAtLevel);
421
 
425
 
422
         // visibility options
426
         // visibility options
423
         updateEA_DocGen(ref sb, opt_SuppressPrivateClasses,    optstr_SuppressPrivateClasses);
427
         updateEA_DocGen(ref sb, opt_SuppressPrivateClasses,    optstr_SuppressPrivateClasses);
424
         updateEA_DocGen(ref sb, opt_SuppressPrivateAttributes, optstr_SuppressPrivateAttributres);
428
         updateEA_DocGen(ref sb, opt_SuppressPrivateAttributes, optstr_SuppressPrivateAttributes);
425
         updateEA_DocGen(ref sb, opt_SuppressPrivateMethods,    optstr_SuppressPrivateMethods);
429
         updateEA_DocGen(ref sb, opt_SuppressPrivateMethods,    optstr_SuppressPrivateMethods);
426
 
430
 
427
         // Element type filtering options
431
         // Element type filtering options
428
         if (opt_ElementTypes.Count > 0)
432
         if (opt_ElementTypes.Count > 0)
429
         {
433
         {