5 Attribute VB_Name = "IssueInfo"
6 Attribute VB_GlobalNameSpace = False
7 Attribute VB_Creatable = False
8 Attribute VB_PredeclaredId = False
9 Attribute VB_Exposed = False
10 '/*************************************************************************
12 ' * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
14 ' * Copyright
2008 by Sun Microsystems, Inc.
16 ' * OpenOffice.org - a multi-platform office productivity suite
18 ' * $RCSfile: IssueInfo.cls,v $
20 ' * This file is part of OpenOffice.org.
22 ' * OpenOffice.org is free software: you can redistribute it and/or modify
23 ' * it under the terms of the GNU Lesser General Public License version
3
24 ' * only, as published by the Free Software Foundation.
26 ' * OpenOffice.org is distributed in the hope that it will be useful,
27 ' * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 ' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 ' * GNU Lesser General Public License version
3 for more details
30 ' * (a copy is included in the LICENSE file that accompanied this code).
32 ' * You should have received a copy of the GNU Lesser General Public License
33 ' * version
3 along with OpenOffice.org. If not, see
34 ' * <http://www.openoffice.org/license.html>
35 ' * for a copy of the LGPLv3 License.
37 ' ************************************************************************/
41 Private mIssueID As Integer
42 Private mIssueType As String
43 Private mSubType As String
44 Private mIssueTypeXML As String
45 Private mSubTypeXML As String
46 Private mLocationXML As String
47 Private mLocation As String
48 Private mSubLocation As Variant
50 Private mColumn As Variant
51 Private mAttributes As Collection
52 Private mValues As Collection
53 Private mPreparable As Boolean
56 Public Property Get CLocationDocument() As String
57 CLocationDocument = RID_STR_COMMON_RESULTS_LOCATION_TYPE_DOCUMENT
59 Public Property Get CLocationPage() As String
60 CLocationPage = RID_STR_COMMON_RESULTS_LOCATION_TYPE_PAGE
62 Public Property Get CLocationWorkBook() As String
63 CLocationWorkBook = RID_STR_COMMON_RESULTS_LOCATION_TYPE_WORKBOOK
65 Public Property Get CLocationSheet() As String
66 CLocationSheet = RID_STR_COMMON_RESULTS_LOCATION_TYPE_SHEET
68 Public Property Get CLocationPresentation() As String
69 CLocationPresentation = RID_STR_COMMON_RESULTS_LOCATION_TYPE_PRESENTATION
71 Public Property Get CLocationSlide() As String
72 CLocationSlide = RID_STR_COMMON_RESULTS_LOCATION_TYPE_SLIDE
75 'General XML Constants - NOT localised
76 Public Property Get CXMLLocationDocument() As String
77 CXMLLocationDocument = "Document"
79 Public Property Get CXMLLocationPage() As String
80 CXMLLocationPage = "Page"
82 Public Property Get CXMLLocationWorkBook() As String
83 CXMLLocationWorkBook = "Workbook"
85 Public Property Get CXMLLocationSheet() As String
86 CXMLLocationSheet = "Sheet"
88 Public Property Get CXMLLocationPresentation() As String
89 CXMLLocationPresentation = "Presentation"
91 Public Property Get CXMLLocationSlide() As String
92 CXMLLocationSlide = "Slide"
96 Public Property Get IssueID() As Integer
100 Public Property Let IssueID(ByVal vNewValue As Integer)
103 Public Property Get IssueType() As String
104 IssueType = mIssueType
107 Public Property Let IssueType(ByVal vNewValue As String)
108 mIssueType = vNewValue
110 Public Property Get IssueTypeXML() As String
111 IssueTypeXML = mIssueTypeXML
114 Public Property Let IssueTypeXML(ByVal vNewValue As String)
115 mIssueTypeXML = vNewValue
117 Public Property Get SubType() As String
121 Public Property Let SubType(ByVal vNewValue As String)
124 Public Property Get SubTypeXML() As String
125 SubTypeXML = mSubTypeXML
128 Public Property Let SubTypeXML(ByVal vNewValue As String)
129 mSubTypeXML = vNewValue
132 Public Property Get Location() As String
136 Public Property Let Location(ByVal vNewValue As String)
137 mLocation = vNewValue
139 Public Property Get locationXML() As String
140 locationXML = mLocationXML
143 Public Property Let locationXML(ByVal vNewValue As String)
144 mLocationXML = vNewValue
147 Public Property Get SubLocation() As Variant
148 SubLocation = mSubLocation
151 Public Property Let SubLocation(ByVal vNewValue As Variant)
152 mSubLocation = vNewValue
155 Public Property Get Line() As Long
159 Public Property Let Line(ByVal vNewValue As Long)
162 Public Property Get column() As Variant
166 Public Property Let column(ByVal vNewValue As Variant)
170 Public Property Get Attributes() As Collection
171 Set Attributes = mAttributes
174 Public Property Let Attributes(ByVal vNewValue As Collection)
175 Set mAttributes = vNewValue
177 Public Property Get Values() As Collection
181 Public Property Let Values(ByVal vNewValue As Collection)
182 Set mValues = vNewValue
185 Public Property Get Preparable() As Boolean
186 Preparable = mPreparable
189 Public Property Let Preparable(ByVal vNewValue As Boolean)
190 mPreparable = vNewValue
195 Private Sub Class_Initialize()
196 Set mAttributes = New Collection
197 Set mValues = New Collection
204 Private Sub Class_Terminate()
205 Set mAttributes = Nothing
206 Set mValues = Nothing