Subversion Repositories DevTools

Rev

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

Rev 2124 Rev 2132
Line 38... Line 38...
38
         CONSIDER_API_DIAGRAMS_ONLY,
38
         CONSIDER_API_DIAGRAMS_ONLY,
39
         CONSIDER_API_PACKAGES_ONLY,
39
         CONSIDER_API_PACKAGES_ONLY,
40
         RESTRICT_FOR_LINKED_PACKAGES_ONLY,
40
         RESTRICT_FOR_LINKED_PACKAGES_ONLY,
41
         USE_NUM_PARA_FOR_GENERATED_TEST_CASES,
41
         USE_NUM_PARA_FOR_GENERATED_TEST_CASES,
42
         SUPPRESS_REQUIREMENT_NOTES,
42
         SUPPRESS_REQUIREMENT_NOTES,
-
 
43
         FORCE_HEADING_TABS_TO_2_5_CM,
43
 
44
 
44
         UNKNOWN = -1
45
         UNKNOWN = -1
45
      };
46
      };
46
 
47
 
47
      // local class to collect together stuff for a discrete boolean option
48
      // local class to collect together stuff for a discrete boolean option
Line 171... Line 172...
171
         boolopts.Add(new boolopt(1, boolean_options_e.USE_NUM_PARA_FOR_GENERATED_TEST_CASES,       
172
         boolopts.Add(new boolopt(1, boolean_options_e.USE_NUM_PARA_FOR_GENERATED_TEST_CASES,       
172
                                  "UseNumParaForGeneratedTestCases", 
173
                                  "UseNumParaForGeneratedTestCases", 
173
                                  "Use NumPara Styles For Generated Test Case Sections", 
174
                                  "Use NumPara Styles For Generated Test Case Sections", 
174
                                  true) );
175
                                  true) );
175
 
176
 
-
 
177
         boolopts.Add(new boolopt(1, boolean_options_e.FORCE_HEADING_TABS_TO_2_5_CM,
-
 
178
                                  "ForceHeadingTabsTo2_5cm",
-
 
179
                                  "Force Heading Style Tabs To 2.5cm",
-
 
180
                                  false) );
176
 
181
 
177
         // Create element types list
182
         // Create element types list
178
         if (opt_ElementTypes == null)
183
         if (opt_ElementTypes == null)
179
            opt_ElementTypes = new ArrayList();
184
            opt_ElementTypes = new ArrayList();
180
         opt_ElementTypes.Clear();
185
         opt_ElementTypes.Clear();
Line 333... Line 338...
333
         optionValue(EA_DocGenOptions.boolean_options_e.CONSIDER_API_DIAGRAMS_ONLY, false);
338
         optionValue(EA_DocGenOptions.boolean_options_e.CONSIDER_API_DIAGRAMS_ONLY, false);
334
         optionValue(EA_DocGenOptions.boolean_options_e.CONSIDER_API_PACKAGES_ONLY, false);
339
         optionValue(EA_DocGenOptions.boolean_options_e.CONSIDER_API_PACKAGES_ONLY, false);
335
         optionValue(EA_DocGenOptions.boolean_options_e.RESTRICT_FOR_LINKED_PACKAGES_ONLY, true);
340
         optionValue(EA_DocGenOptions.boolean_options_e.RESTRICT_FOR_LINKED_PACKAGES_ONLY, true);
336
         optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_REQUIREMENT_NOTES, false);
341
         optionValue(EA_DocGenOptions.boolean_options_e.SUPPRESS_REQUIREMENT_NOTES, false);
337
         optionValue(EA_DocGenOptions.boolean_options_e.USE_NUM_PARA_FOR_GENERATED_TEST_CASES, true);
342
         optionValue(EA_DocGenOptions.boolean_options_e.USE_NUM_PARA_FOR_GENERATED_TEST_CASES, true);
-
 
343
         optionValue(EA_DocGenOptions.boolean_options_e.FORCE_HEADING_TABS_TO_2_5_CM, false);
338
      }
344
      }
339
 
345
 
340
 
346
 
341
      /// <summary>
347
      /// <summary>
342
      /// Looks for the EA_DocGen element in the selected package. To generate a document
348
      /// Looks for the EA_DocGen element in the selected package. To generate a document
Line 393... Line 399...
393
 
399
 
394
            // Extract the content of the EA_DocGen element notes section, into a list of
400
            // Extract the content of the EA_DocGen element notes section, into a list of
395
            // strings.
401
            // strings.
396
            string delimStr = "\n";
402
            string delimStr = "\n";
397
            char [] delim = delimStr.ToCharArray();
403
            char [] delim = delimStr.ToCharArray();
398
            options_string = theElement.Notes.ToString().Split(delim,400);
404
            options_string = theElement.Notes.Split(delim,400);
399
               
405
               
400
            int i = 0;
406
            int i = 0;
401
            foreach(string s in options_string)
407
            foreach(string s in options_string)
402
            {
408
            {
403
               options_string[i] = s.Trim();
409
               options_string[i] = s.Trim();