xref: /AOO41X/main/migrationanalysis/src/driver_docs/sources/IssueInfo.cls (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweirVERSION 1.0 CLASS
2*cdf0e10cSrcweirBEGIN
3*cdf0e10cSrcweir  MultiUse = -1  'True
4*cdf0e10cSrcweirEND
5*cdf0e10cSrcweirAttribute VB_Name = "IssueInfo"
6*cdf0e10cSrcweirAttribute VB_GlobalNameSpace = False
7*cdf0e10cSrcweirAttribute VB_Creatable = False
8*cdf0e10cSrcweirAttribute VB_PredeclaredId = False
9*cdf0e10cSrcweirAttribute VB_Exposed = False
10*cdf0e10cSrcweir'/*************************************************************************
11*cdf0e10cSrcweir' *
12*cdf0e10cSrcweir' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
13*cdf0e10cSrcweir'
14*cdf0e10cSrcweir' Copyright 2000, 2010 Oracle and/or its affiliates.
15*cdf0e10cSrcweir'
16*cdf0e10cSrcweir' OpenOffice.org - a multi-platform office productivity suite
17*cdf0e10cSrcweir'
18*cdf0e10cSrcweir' This file is part of OpenOffice.org.
19*cdf0e10cSrcweir'
20*cdf0e10cSrcweir' OpenOffice.org is free software: you can redistribute it and/or modify
21*cdf0e10cSrcweir' it under the terms of the GNU Lesser General Public License version 3
22*cdf0e10cSrcweir' only, as published by the Free Software Foundation.
23*cdf0e10cSrcweir'
24*cdf0e10cSrcweir' OpenOffice.org is distributed in the hope that it will be useful,
25*cdf0e10cSrcweir' but WITHOUT ANY WARRANTY; without even the implied warranty of
26*cdf0e10cSrcweir' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27*cdf0e10cSrcweir' GNU Lesser General Public License version 3 for more details
28*cdf0e10cSrcweir' (a copy is included in the LICENSE file that accompanied this code).
29*cdf0e10cSrcweir'
30*cdf0e10cSrcweir' You should have received a copy of the GNU Lesser General Public License
31*cdf0e10cSrcweir' version 3 along with OpenOffice.org.  If not, see
32*cdf0e10cSrcweir' <http://www.openoffice.org/license.html>
33*cdf0e10cSrcweir' for a copy of the LGPLv3 License.
34*cdf0e10cSrcweir'
35*cdf0e10cSrcweir' ************************************************************************/
36*cdf0e10cSrcweir
37*cdf0e10cSrcweirOption Explicit
38*cdf0e10cSrcweir
39*cdf0e10cSrcweirPrivate mIssueID As Integer
40*cdf0e10cSrcweirPrivate mIssueType As String
41*cdf0e10cSrcweirPrivate mSubType As String
42*cdf0e10cSrcweirPrivate mIssueTypeXML As String
43*cdf0e10cSrcweirPrivate mSubTypeXML As String
44*cdf0e10cSrcweirPrivate mLocationXML As String
45*cdf0e10cSrcweirPrivate mLocation As String
46*cdf0e10cSrcweirPrivate mSubLocation As Variant
47*cdf0e10cSrcweirPrivate mLine As Long
48*cdf0e10cSrcweirPrivate mColumn As Variant
49*cdf0e10cSrcweirPrivate mAttributes As Collection
50*cdf0e10cSrcweirPrivate mValues As Collection
51*cdf0e10cSrcweirPrivate mPreparable As Boolean
52*cdf0e10cSrcweir
53*cdf0e10cSrcweir'General Constants
54*cdf0e10cSrcweirPublic Property Get CLocationDocument() As String
55*cdf0e10cSrcweir    CLocationDocument = RID_STR_COMMON_RESULTS_LOCATION_TYPE_DOCUMENT
56*cdf0e10cSrcweirEnd Property
57*cdf0e10cSrcweirPublic Property Get CLocationPage() As String
58*cdf0e10cSrcweir    CLocationPage = RID_STR_COMMON_RESULTS_LOCATION_TYPE_PAGE
59*cdf0e10cSrcweirEnd Property
60*cdf0e10cSrcweirPublic Property Get CLocationWorkBook() As String
61*cdf0e10cSrcweir    CLocationWorkBook = RID_STR_COMMON_RESULTS_LOCATION_TYPE_WORKBOOK
62*cdf0e10cSrcweirEnd Property
63*cdf0e10cSrcweirPublic Property Get CLocationSheet() As String
64*cdf0e10cSrcweir    CLocationSheet = RID_STR_COMMON_RESULTS_LOCATION_TYPE_SHEET
65*cdf0e10cSrcweirEnd Property
66*cdf0e10cSrcweirPublic Property Get CLocationPresentation() As String
67*cdf0e10cSrcweir    CLocationPresentation = RID_STR_COMMON_RESULTS_LOCATION_TYPE_PRESENTATION
68*cdf0e10cSrcweirEnd Property
69*cdf0e10cSrcweirPublic Property Get CLocationSlide() As String
70*cdf0e10cSrcweir    CLocationSlide = RID_STR_COMMON_RESULTS_LOCATION_TYPE_SLIDE
71*cdf0e10cSrcweirEnd Property
72*cdf0e10cSrcweir
73*cdf0e10cSrcweir'General XML Constants - NOT localised
74*cdf0e10cSrcweirPublic Property Get CXMLLocationDocument() As String
75*cdf0e10cSrcweir    CXMLLocationDocument = "Document"
76*cdf0e10cSrcweirEnd Property
77*cdf0e10cSrcweirPublic Property Get CXMLLocationPage() As String
78*cdf0e10cSrcweir    CXMLLocationPage = "Page"
79*cdf0e10cSrcweirEnd Property
80*cdf0e10cSrcweirPublic Property Get CXMLLocationWorkBook() As String
81*cdf0e10cSrcweir    CXMLLocationWorkBook = "Workbook"
82*cdf0e10cSrcweirEnd Property
83*cdf0e10cSrcweirPublic Property Get CXMLLocationSheet() As String
84*cdf0e10cSrcweir    CXMLLocationSheet = "Sheet"
85*cdf0e10cSrcweirEnd Property
86*cdf0e10cSrcweirPublic Property Get CXMLLocationPresentation() As String
87*cdf0e10cSrcweir    CXMLLocationPresentation = "Presentation"
88*cdf0e10cSrcweirEnd Property
89*cdf0e10cSrcweirPublic Property Get CXMLLocationSlide() As String
90*cdf0e10cSrcweir    CXMLLocationSlide = "Slide"
91*cdf0e10cSrcweirEnd Property
92*cdf0e10cSrcweir
93*cdf0e10cSrcweir'Settable Properties
94*cdf0e10cSrcweirPublic Property Get IssueID() As Integer
95*cdf0e10cSrcweir    IssueID = mIssueID
96*cdf0e10cSrcweirEnd Property
97*cdf0e10cSrcweir
98*cdf0e10cSrcweirPublic Property Let IssueID(ByVal vNewValue As Integer)
99*cdf0e10cSrcweir    mIssueID = vNewValue
100*cdf0e10cSrcweirEnd Property
101*cdf0e10cSrcweirPublic Property Get IssueType() As String
102*cdf0e10cSrcweir    IssueType = mIssueType
103*cdf0e10cSrcweirEnd Property
104*cdf0e10cSrcweir
105*cdf0e10cSrcweirPublic Property Let IssueType(ByVal vNewValue As String)
106*cdf0e10cSrcweir    mIssueType = vNewValue
107*cdf0e10cSrcweirEnd Property
108*cdf0e10cSrcweirPublic Property Get IssueTypeXML() As String
109*cdf0e10cSrcweir    IssueTypeXML = mIssueTypeXML
110*cdf0e10cSrcweirEnd Property
111*cdf0e10cSrcweir
112*cdf0e10cSrcweirPublic Property Let IssueTypeXML(ByVal vNewValue As String)
113*cdf0e10cSrcweir    mIssueTypeXML = vNewValue
114*cdf0e10cSrcweirEnd Property
115*cdf0e10cSrcweirPublic Property Get SubType() As String
116*cdf0e10cSrcweir    SubType = mSubType
117*cdf0e10cSrcweirEnd Property
118*cdf0e10cSrcweir
119*cdf0e10cSrcweirPublic Property Let SubType(ByVal vNewValue As String)
120*cdf0e10cSrcweir    mSubType = vNewValue
121*cdf0e10cSrcweirEnd Property
122*cdf0e10cSrcweirPublic Property Get SubTypeXML() As String
123*cdf0e10cSrcweir    SubTypeXML = mSubTypeXML
124*cdf0e10cSrcweirEnd Property
125*cdf0e10cSrcweir
126*cdf0e10cSrcweirPublic Property Let SubTypeXML(ByVal vNewValue As String)
127*cdf0e10cSrcweir    mSubTypeXML = vNewValue
128*cdf0e10cSrcweirEnd Property
129*cdf0e10cSrcweir
130*cdf0e10cSrcweirPublic Property Get Location() As String
131*cdf0e10cSrcweir    Location = mLocation
132*cdf0e10cSrcweirEnd Property
133*cdf0e10cSrcweir
134*cdf0e10cSrcweirPublic Property Let Location(ByVal vNewValue As String)
135*cdf0e10cSrcweir    mLocation = vNewValue
136*cdf0e10cSrcweirEnd Property
137*cdf0e10cSrcweirPublic Property Get locationXML() As String
138*cdf0e10cSrcweir    locationXML = mLocationXML
139*cdf0e10cSrcweirEnd Property
140*cdf0e10cSrcweir
141*cdf0e10cSrcweirPublic Property Let locationXML(ByVal vNewValue As String)
142*cdf0e10cSrcweir    mLocationXML = vNewValue
143*cdf0e10cSrcweirEnd Property
144*cdf0e10cSrcweir
145*cdf0e10cSrcweirPublic Property Get SubLocation() As Variant
146*cdf0e10cSrcweir    SubLocation = mSubLocation
147*cdf0e10cSrcweirEnd Property
148*cdf0e10cSrcweir
149*cdf0e10cSrcweirPublic Property Let SubLocation(ByVal vNewValue As Variant)
150*cdf0e10cSrcweir    mSubLocation = vNewValue
151*cdf0e10cSrcweirEnd Property
152*cdf0e10cSrcweir
153*cdf0e10cSrcweirPublic Property Get Line() As Long
154*cdf0e10cSrcweir    Line = mLine
155*cdf0e10cSrcweirEnd Property
156*cdf0e10cSrcweir
157*cdf0e10cSrcweirPublic Property Let Line(ByVal vNewValue As Long)
158*cdf0e10cSrcweir    mLine = vNewValue
159*cdf0e10cSrcweirEnd Property
160*cdf0e10cSrcweirPublic Property Get column() As Variant
161*cdf0e10cSrcweir    column = mColumn
162*cdf0e10cSrcweirEnd Property
163*cdf0e10cSrcweir
164*cdf0e10cSrcweirPublic Property Let column(ByVal vNewValue As Variant)
165*cdf0e10cSrcweir    mColumn = vNewValue
166*cdf0e10cSrcweirEnd Property
167*cdf0e10cSrcweir
168*cdf0e10cSrcweirPublic Property Get Attributes() As Collection
169*cdf0e10cSrcweir    Set Attributes = mAttributes
170*cdf0e10cSrcweirEnd Property
171*cdf0e10cSrcweir
172*cdf0e10cSrcweirPublic Property Let Attributes(ByVal vNewValue As Collection)
173*cdf0e10cSrcweir    Set mAttributes = vNewValue
174*cdf0e10cSrcweirEnd Property
175*cdf0e10cSrcweirPublic Property Get Values() As Collection
176*cdf0e10cSrcweir    Set Values = mValues
177*cdf0e10cSrcweirEnd Property
178*cdf0e10cSrcweir
179*cdf0e10cSrcweirPublic Property Let Values(ByVal vNewValue As Collection)
180*cdf0e10cSrcweir    Set mValues = vNewValue
181*cdf0e10cSrcweirEnd Property
182*cdf0e10cSrcweir
183*cdf0e10cSrcweirPublic Property Get Preparable() As Boolean
184*cdf0e10cSrcweir    Preparable = mPreparable
185*cdf0e10cSrcweirEnd Property
186*cdf0e10cSrcweir
187*cdf0e10cSrcweirPublic Property Let Preparable(ByVal vNewValue As Boolean)
188*cdf0e10cSrcweir    mPreparable = vNewValue
189*cdf0e10cSrcweirEnd Property
190*cdf0e10cSrcweir
191*cdf0e10cSrcweir
192*cdf0e10cSrcweir
193*cdf0e10cSrcweirPrivate Sub Class_Initialize()
194*cdf0e10cSrcweir    Set mAttributes = New Collection
195*cdf0e10cSrcweir    Set mValues = New Collection
196*cdf0e10cSrcweir    mIssueID = -1
197*cdf0e10cSrcweir    mLine = -1
198*cdf0e10cSrcweir    mColumn = ""
199*cdf0e10cSrcweir    mSubLocation = ""
200*cdf0e10cSrcweir    mPreparable = False
201*cdf0e10cSrcweirEnd Sub
202*cdf0e10cSrcweirPrivate Sub Class_Terminate()
203*cdf0e10cSrcweir    Set mAttributes = Nothing
204*cdf0e10cSrcweir    Set mValues = Nothing
205*cdf0e10cSrcweirEnd Sub
206*cdf0e10cSrcweir
207