1cdf0e10cSrcweirVERSION 1.0 CLASS
2cdf0e10cSrcweirBEGIN
3cdf0e10cSrcweir  MultiUse = -1  'True
4cdf0e10cSrcweirEND
5cdf0e10cSrcweirAttribute VB_Name = "IssueInfo"
6cdf0e10cSrcweirAttribute VB_GlobalNameSpace = False
7cdf0e10cSrcweirAttribute VB_Creatable = False
8cdf0e10cSrcweirAttribute VB_PredeclaredId = False
9cdf0e10cSrcweirAttribute VB_Exposed = False
10*d4a3fa4bSAndrew Rist'*************************************************************************
11*d4a3fa4bSAndrew Rist'
12*d4a3fa4bSAndrew Rist'  Licensed to the Apache Software Foundation (ASF) under one
13*d4a3fa4bSAndrew Rist'  or more contributor license agreements.  See the NOTICE file
14*d4a3fa4bSAndrew Rist'  distributed with this work for additional information
15*d4a3fa4bSAndrew Rist'  regarding copyright ownership.  The ASF licenses this file
16*d4a3fa4bSAndrew Rist'  to you under the Apache License, Version 2.0 (the
17*d4a3fa4bSAndrew Rist'  "License"); you may not use this file except in compliance
18*d4a3fa4bSAndrew Rist'  with the License.  You may obtain a copy of the License at
19*d4a3fa4bSAndrew Rist'
20*d4a3fa4bSAndrew Rist'    http://www.apache.org/licenses/LICENSE-2.0
21*d4a3fa4bSAndrew Rist'
22*d4a3fa4bSAndrew Rist'  Unless required by applicable law or agreed to in writing,
23*d4a3fa4bSAndrew Rist'  software distributed under the License is distributed on an
24*d4a3fa4bSAndrew Rist'  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
25*d4a3fa4bSAndrew Rist'  KIND, either express or implied.  See the License for the
26*d4a3fa4bSAndrew Rist'  specific language governing permissions and limitations
27*d4a3fa4bSAndrew Rist'  under the License.
28*d4a3fa4bSAndrew Rist'
29*d4a3fa4bSAndrew Rist'*************************************************************************
30cdf0e10cSrcweir
31cdf0e10cSrcweirOption Explicit
32cdf0e10cSrcweir
33cdf0e10cSrcweirPrivate mIssueID As Integer
34cdf0e10cSrcweirPrivate mIssueType As String
35cdf0e10cSrcweirPrivate mSubType As String
36cdf0e10cSrcweirPrivate mIssueTypeXML As String
37cdf0e10cSrcweirPrivate mSubTypeXML As String
38cdf0e10cSrcweirPrivate mLocationXML As String
39cdf0e10cSrcweirPrivate mLocation As String
40cdf0e10cSrcweirPrivate mSubLocation As Variant
41cdf0e10cSrcweirPrivate mLine As Long
42cdf0e10cSrcweirPrivate mColumn As Variant
43cdf0e10cSrcweirPrivate mAttributes As Collection
44cdf0e10cSrcweirPrivate mValues As Collection
45cdf0e10cSrcweirPrivate mPreparable As Boolean
46cdf0e10cSrcweir
47cdf0e10cSrcweir'General Constants
48cdf0e10cSrcweirPublic Property Get CLocationDocument() As String
49cdf0e10cSrcweir    CLocationDocument = RID_STR_COMMON_RESULTS_LOCATION_TYPE_DOCUMENT
50cdf0e10cSrcweirEnd Property
51cdf0e10cSrcweirPublic Property Get CLocationPage() As String
52cdf0e10cSrcweir    CLocationPage = RID_STR_COMMON_RESULTS_LOCATION_TYPE_PAGE
53cdf0e10cSrcweirEnd Property
54cdf0e10cSrcweirPublic Property Get CLocationWorkBook() As String
55cdf0e10cSrcweir    CLocationWorkBook = RID_STR_COMMON_RESULTS_LOCATION_TYPE_WORKBOOK
56cdf0e10cSrcweirEnd Property
57cdf0e10cSrcweirPublic Property Get CLocationSheet() As String
58cdf0e10cSrcweir    CLocationSheet = RID_STR_COMMON_RESULTS_LOCATION_TYPE_SHEET
59cdf0e10cSrcweirEnd Property
60cdf0e10cSrcweirPublic Property Get CLocationPresentation() As String
61cdf0e10cSrcweir    CLocationPresentation = RID_STR_COMMON_RESULTS_LOCATION_TYPE_PRESENTATION
62cdf0e10cSrcweirEnd Property
63cdf0e10cSrcweirPublic Property Get CLocationSlide() As String
64cdf0e10cSrcweir    CLocationSlide = RID_STR_COMMON_RESULTS_LOCATION_TYPE_SLIDE
65cdf0e10cSrcweirEnd Property
66cdf0e10cSrcweir
67cdf0e10cSrcweir'General XML Constants - NOT localised
68cdf0e10cSrcweirPublic Property Get CXMLLocationDocument() As String
69cdf0e10cSrcweir    CXMLLocationDocument = "Document"
70cdf0e10cSrcweirEnd Property
71cdf0e10cSrcweirPublic Property Get CXMLLocationPage() As String
72cdf0e10cSrcweir    CXMLLocationPage = "Page"
73cdf0e10cSrcweirEnd Property
74cdf0e10cSrcweirPublic Property Get CXMLLocationWorkBook() As String
75cdf0e10cSrcweir    CXMLLocationWorkBook = "Workbook"
76cdf0e10cSrcweirEnd Property
77cdf0e10cSrcweirPublic Property Get CXMLLocationSheet() As String
78cdf0e10cSrcweir    CXMLLocationSheet = "Sheet"
79cdf0e10cSrcweirEnd Property
80cdf0e10cSrcweirPublic Property Get CXMLLocationPresentation() As String
81cdf0e10cSrcweir    CXMLLocationPresentation = "Presentation"
82cdf0e10cSrcweirEnd Property
83cdf0e10cSrcweirPublic Property Get CXMLLocationSlide() As String
84cdf0e10cSrcweir    CXMLLocationSlide = "Slide"
85cdf0e10cSrcweirEnd Property
86cdf0e10cSrcweir
87cdf0e10cSrcweir'Settable Properties
88cdf0e10cSrcweirPublic Property Get IssueID() As Integer
89cdf0e10cSrcweir    IssueID = mIssueID
90cdf0e10cSrcweirEnd Property
91cdf0e10cSrcweir
92cdf0e10cSrcweirPublic Property Let IssueID(ByVal vNewValue As Integer)
93cdf0e10cSrcweir    mIssueID = vNewValue
94cdf0e10cSrcweirEnd Property
95cdf0e10cSrcweirPublic Property Get IssueType() As String
96cdf0e10cSrcweir    IssueType = mIssueType
97cdf0e10cSrcweirEnd Property
98cdf0e10cSrcweir
99cdf0e10cSrcweirPublic Property Let IssueType(ByVal vNewValue As String)
100cdf0e10cSrcweir    mIssueType = vNewValue
101cdf0e10cSrcweirEnd Property
102cdf0e10cSrcweirPublic Property Get IssueTypeXML() As String
103cdf0e10cSrcweir    IssueTypeXML = mIssueTypeXML
104cdf0e10cSrcweirEnd Property
105cdf0e10cSrcweir
106cdf0e10cSrcweirPublic Property Let IssueTypeXML(ByVal vNewValue As String)
107cdf0e10cSrcweir    mIssueTypeXML = vNewValue
108cdf0e10cSrcweirEnd Property
109cdf0e10cSrcweirPublic Property Get SubType() As String
110cdf0e10cSrcweir    SubType = mSubType
111cdf0e10cSrcweirEnd Property
112cdf0e10cSrcweir
113cdf0e10cSrcweirPublic Property Let SubType(ByVal vNewValue As String)
114cdf0e10cSrcweir    mSubType = vNewValue
115cdf0e10cSrcweirEnd Property
116cdf0e10cSrcweirPublic Property Get SubTypeXML() As String
117cdf0e10cSrcweir    SubTypeXML = mSubTypeXML
118cdf0e10cSrcweirEnd Property
119cdf0e10cSrcweir
120cdf0e10cSrcweirPublic Property Let SubTypeXML(ByVal vNewValue As String)
121cdf0e10cSrcweir    mSubTypeXML = vNewValue
122cdf0e10cSrcweirEnd Property
123cdf0e10cSrcweir
124cdf0e10cSrcweirPublic Property Get Location() As String
125cdf0e10cSrcweir    Location = mLocation
126cdf0e10cSrcweirEnd Property
127cdf0e10cSrcweir
128cdf0e10cSrcweirPublic Property Let Location(ByVal vNewValue As String)
129cdf0e10cSrcweir    mLocation = vNewValue
130cdf0e10cSrcweirEnd Property
131cdf0e10cSrcweirPublic Property Get locationXML() As String
132cdf0e10cSrcweir    locationXML = mLocationXML
133cdf0e10cSrcweirEnd Property
134cdf0e10cSrcweir
135cdf0e10cSrcweirPublic Property Let locationXML(ByVal vNewValue As String)
136cdf0e10cSrcweir    mLocationXML = vNewValue
137cdf0e10cSrcweirEnd Property
138cdf0e10cSrcweir
139cdf0e10cSrcweirPublic Property Get SubLocation() As Variant
140cdf0e10cSrcweir    SubLocation = mSubLocation
141cdf0e10cSrcweirEnd Property
142cdf0e10cSrcweir
143cdf0e10cSrcweirPublic Property Let SubLocation(ByVal vNewValue As Variant)
144cdf0e10cSrcweir    mSubLocation = vNewValue
145cdf0e10cSrcweirEnd Property
146cdf0e10cSrcweir
147cdf0e10cSrcweirPublic Property Get Line() As Long
148cdf0e10cSrcweir    Line = mLine
149cdf0e10cSrcweirEnd Property
150cdf0e10cSrcweir
151cdf0e10cSrcweirPublic Property Let Line(ByVal vNewValue As Long)
152cdf0e10cSrcweir    mLine = vNewValue
153cdf0e10cSrcweirEnd Property
154cdf0e10cSrcweirPublic Property Get column() As Variant
155cdf0e10cSrcweir    column = mColumn
156cdf0e10cSrcweirEnd Property
157cdf0e10cSrcweir
158cdf0e10cSrcweirPublic Property Let column(ByVal vNewValue As Variant)
159cdf0e10cSrcweir    mColumn = vNewValue
160cdf0e10cSrcweirEnd Property
161cdf0e10cSrcweir
162cdf0e10cSrcweirPublic Property Get Attributes() As Collection
163cdf0e10cSrcweir    Set Attributes = mAttributes
164cdf0e10cSrcweirEnd Property
165cdf0e10cSrcweir
166cdf0e10cSrcweirPublic Property Let Attributes(ByVal vNewValue As Collection)
167cdf0e10cSrcweir    Set mAttributes = vNewValue
168cdf0e10cSrcweirEnd Property
169cdf0e10cSrcweirPublic Property Get Values() As Collection
170cdf0e10cSrcweir    Set Values = mValues
171cdf0e10cSrcweirEnd Property
172cdf0e10cSrcweir
173cdf0e10cSrcweirPublic Property Let Values(ByVal vNewValue As Collection)
174cdf0e10cSrcweir    Set mValues = vNewValue
175cdf0e10cSrcweirEnd Property
176cdf0e10cSrcweir
177cdf0e10cSrcweirPublic Property Get Preparable() As Boolean
178cdf0e10cSrcweir    Preparable = mPreparable
179cdf0e10cSrcweirEnd Property
180cdf0e10cSrcweir
181cdf0e10cSrcweirPublic Property Let Preparable(ByVal vNewValue As Boolean)
182cdf0e10cSrcweir    mPreparable = vNewValue
183cdf0e10cSrcweirEnd Property
184cdf0e10cSrcweir
185cdf0e10cSrcweir
186cdf0e10cSrcweir
187cdf0e10cSrcweirPrivate Sub Class_Initialize()
188cdf0e10cSrcweir    Set mAttributes = New Collection
189cdf0e10cSrcweir    Set mValues = New Collection
190cdf0e10cSrcweir    mIssueID = -1
191cdf0e10cSrcweir    mLine = -1
192cdf0e10cSrcweir    mColumn = ""
193cdf0e10cSrcweir    mSubLocation = ""
194cdf0e10cSrcweir    mPreparable = False
195cdf0e10cSrcweirEnd Sub
196cdf0e10cSrcweirPrivate Sub Class_Terminate()
197cdf0e10cSrcweir    Set mAttributes = Nothing
198cdf0e10cSrcweir    Set mValues = Nothing
199cdf0e10cSrcweirEnd Sub
200cdf0e10cSrcweir
201