| 2094 |
ghuddy |
1 |
using System;
|
|
|
2 |
|
|
|
3 |
namespace EA_DocGen
|
|
|
4 |
{
|
|
|
5 |
/// <summary>
|
|
|
6 |
/// Summary description for EA_Constants.
|
|
|
7 |
/// </summary>
|
|
|
8 |
public class EA_Constants
|
|
|
9 |
{
|
|
|
10 |
// Some style names used in EA_DocGen - most are expected to exist in the input template/doc
|
|
|
11 |
// but the Requirement formatting styles are programmatcally generated if they are found to not
|
|
|
12 |
// exist. The reason for this is that as of writing this add-in, they do not exist in the ERG
|
|
|
13 |
// standard template.
|
| 2098 |
ghuddy |
14 |
|
|
|
15 |
// Style names created programmatically if necessary
|
| 2094 |
ghuddy |
16 |
public const string styleName_ReqAppBody = "Requirements Approved Body";
|
|
|
17 |
public const string styleName_ReqAppHdr = "Requirements Approved Heading";
|
|
|
18 |
public const string styleName_ReqPropBody = "Requirements Proposed Body";
|
|
|
19 |
public const string styleName_ReqPropHdr = "Requirements Proposed Heading";
|
|
|
20 |
public const string styleName_ReqRejBody = "Requirements Rejected Body";
|
|
|
21 |
public const string styleName_ReqRejHdr = "Requirements Rejected Heading";
|
|
|
22 |
public const string styleName_ReqName = "Requirements Name";
|
| 2098 |
ghuddy |
23 |
|
|
|
24 |
public const string styleName_Body1_Left_2_5cm_Italic = "Body 1 Left 2.5cm Italic";
|
|
|
25 |
public const string styleName_Body1_Left_3_5cm_Italic = "Body 1 Left 3.5cm Italic";
|
|
|
26 |
public const string styleName_Body1_Left_3_5cm = "Body 1 Left 3.3cm";
|
|
|
27 |
public const string styleName_Body1_Left_4_5cm = "Body 1 Left 4.3cm";
|
|
|
28 |
public const string stylename_Parameter_Description = "Parameter Description";
|
|
|
29 |
|
|
|
30 |
// Style names we rely upon from the input template
|
| 2094 |
ghuddy |
31 |
public const string styleName_Body1 = "Body 1";
|
|
|
32 |
public const string styleName_Heading1 = "Heading 1";
|
|
|
33 |
public const string styleName_Heading2 = "Heading 2";
|
|
|
34 |
public const string styleName_Heading3 = "Heading 3";
|
|
|
35 |
public const string styleName_Heading4 = "Heading 4";
|
|
|
36 |
public const string styleName_Heading5 = "Heading 5";
|
|
|
37 |
public const string styleName_Heading6 = "Heading 6";
|
|
|
38 |
public const string styleName_Heading7 = "Heading 7";
|
|
|
39 |
public const string styleName_Heading8 = "Heading 8";
|
|
|
40 |
public const string styleName_Heading9 = "Heading 9";
|
| 2104 |
ghuddy |
41 |
public const string styleName_Heading10OrAbove = "Heading 10 Or Above";
|
|
|
42 |
|
| 2116 |
ghuddy |
43 |
public const string styleName_NumPara1 = "NumPara 1";
|
|
|
44 |
public const string styleName_NumPara2 = "NumPara 2";
|
|
|
45 |
public const string styleName_NumPara3 = "NumPara 3";
|
|
|
46 |
public const string styleName_NumPara4 = "NumPara 4";
|
|
|
47 |
public const string styleName_NumPara5 = "NumPara 5";
|
|
|
48 |
public const string styleName_NumPara6 = "NumPara 6";
|
|
|
49 |
public const string styleName_NumPara7 = "NumPara 7";
|
|
|
50 |
public const string styleName_NumPara8 = "NumPara 8";
|
|
|
51 |
public const string styleName_NumPara9 = "NumPara 9";
|
|
|
52 |
public const string styleName_NumPara10OrAbove = "NumPara 10 Or Above";
|
|
|
53 |
|
| 2126 |
ghuddy |
54 |
public const string styleName_ListIndent0 = "List Indent";
|
|
|
55 |
public const string styleName_ListIndent1 = "List Indent 1";
|
|
|
56 |
public const string styleName_ListIndent2 = "List Indent 2";
|
|
|
57 |
public const string styleName_ListIndent3 = "List Indent 3";
|
|
|
58 |
public const string styleName_ListIndent4 = "List Indent 4";
|
|
|
59 |
|
|
|
60 |
public const string styleName_ListBullet0 = "List Bullet";
|
|
|
61 |
public const string styleName_ListBullet1 = "List Bullet 1";
|
|
|
62 |
public const string styleName_ListBullet2 = "List Bullet 2";
|
|
|
63 |
public const string styleName_ListBullet3 = "List Bullet 3";
|
|
|
64 |
public const string styleName_ListBullet4 = "List Bullet 4";
|
|
|
65 |
|
|
|
66 |
public const string styleName_ListNumber0 = "List Number";
|
|
|
67 |
public const string styleName_ListNumber1 = "List Number 1";
|
|
|
68 |
public const string styleName_ListNumber2 = "List Number 2";
|
|
|
69 |
public const string styleName_ListNumber3 = "List Number 3";
|
|
|
70 |
public const string styleName_ListNumber4 = "List Number 4";
|
|
|
71 |
|
|
|
72 |
public const string styleName_AlphaList0 = "Alpha List";
|
|
|
73 |
public const string styleName_AlphaList1 = "Alpha List 1";
|
|
|
74 |
public const string styleName_AlphaList2 = "Alpha List 2";
|
|
|
75 |
public const string styleName_AlphaList3 = "Alpha List 3";
|
|
|
76 |
public const string styleName_AlphaList4 = "Alpha List 4";
|
|
|
77 |
|
|
|
78 |
public const string styleName_CodeText = "Code Text";
|
|
|
79 |
public const string styleName_Normal = "Normal";
|
|
|
80 |
public const string styleName_Note = "Note";
|
|
|
81 |
public const string styleName_Warning = "Warning";
|
|
|
82 |
|
|
|
83 |
|
| 2094 |
ghuddy |
84 |
public const string styleName_TableText = "Table Text";
|
|
|
85 |
public const string styleName_RefListNum = "Reference List Number";
|
|
|
86 |
public const string styleName_RefListText = "Reference List Text";
|
|
|
87 |
|
| 2126 |
ghuddy |
88 |
public const string styleName_Bold = "bold";
|
|
|
89 |
public const string styleName_Italic = "italic";
|
|
|
90 |
public const string styleName_Underline = "underline";
|
| 2136 |
brianf |
91 |
public const string styleName_Font_Color = "font_color";
|
| 2098 |
ghuddy |
92 |
|
| 2126 |
ghuddy |
93 |
|
| 2098 |
ghuddy |
94 |
// Names of special elements that control EA_DocGen's activities
|
| 2094 |
ghuddy |
95 |
public const string EA_DocGenElementType = "InformationItem";
|
|
|
96 |
public const string EA_DocGenBaseName = "EA_DocGen";
|
|
|
97 |
public const string EA_DocGenPackageLink = "EA_DocGenPackageLink";
|
|
|
98 |
public const string EA_DocGenDiagramLink = "EA_DocGenDiagramLink";
|
|
|
99 |
public const string EA_DocGenElementLink = "EA_DocGenElementLink";
|
| 2104 |
ghuddy |
100 |
public const string EA_DocGenNameLink = "EA_DocGenNameLink";
|
| 2094 |
ghuddy |
101 |
public const string EA_DocGenTable = "EA_DocGenTable";
|
|
|
102 |
public const string EA_DocGenText = "EA_DocGenText";
|
|
|
103 |
public const string EA_DocGenTestLink = "EA_DocGenTestLink";
|
|
|
104 |
public const string EA_DocGenTestTraceability = "EA_DocGenTestTraceability";
|
|
|
105 |
public const string EA_DocGenRelationshipMatrix = "EA_DocGenRelationshipMatrix";
|
|
|
106 |
|
| 2098 |
ghuddy |
107 |
// Name of stereotype of special EA_ReqPro element that must be ignored by EA_DocGen
|
| 2094 |
ghuddy |
108 |
public const string stereotype_ReqProDB = "ReqProDB";
|
|
|
109 |
|
|
|
110 |
|
| 2104 |
ghuddy |
111 |
public const string maxRecursionDepthException = "Max Recursion Depth (20) Exceeded";
|
|
|
112 |
public const int MAX_HEADING_LEVEL = 20;
|
| 2098 |
ghuddy |
113 |
|
| 2094 |
ghuddy |
114 |
public EA_Constants()
|
|
|
115 |
{
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
}
|
|
|
121 |
}
|