1*d4a3fa4bSAndrew Rist'*************************************************************************
2*d4a3fa4bSAndrew Rist'
3*d4a3fa4bSAndrew Rist'  Licensed to the Apache Software Foundation (ASF) under one
4*d4a3fa4bSAndrew Rist'  or more contributor license agreements.  See the NOTICE file
5*d4a3fa4bSAndrew Rist'  distributed with this work for additional information
6*d4a3fa4bSAndrew Rist'  regarding copyright ownership.  The ASF licenses this file
7*d4a3fa4bSAndrew Rist'  to you under the Apache License, Version 2.0 (the
8*d4a3fa4bSAndrew Rist'  "License"); you may not use this file except in compliance
9*d4a3fa4bSAndrew Rist'  with the License.  You may obtain a copy of the License at
10*d4a3fa4bSAndrew Rist'
11*d4a3fa4bSAndrew Rist'    http://www.apache.org/licenses/LICENSE-2.0
12*d4a3fa4bSAndrew Rist'
13*d4a3fa4bSAndrew Rist'  Unless required by applicable law or agreed to in writing,
14*d4a3fa4bSAndrew Rist'  software distributed under the License is distributed on an
15*d4a3fa4bSAndrew Rist'  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d4a3fa4bSAndrew Rist'  KIND, either express or implied.  See the License for the
17*d4a3fa4bSAndrew Rist'  specific language governing permissions and limitations
18*d4a3fa4bSAndrew Rist'  under the License.
19*d4a3fa4bSAndrew Rist'
20*d4a3fa4bSAndrew Rist'*************************************************************************
21cdf0e10cSrcweir
22cdf0e10cSrcweirPublic xlStrings As StringDataManager
23cdf0e10cSrcweir
24cdf0e10cSrcweirPrivate Sub Workbook_Open()
25cdf0e10cSrcweir    Set xlStrings = New StringDataManager
26cdf0e10cSrcweir
27cdf0e10cSrcweir    xlStrings.InitStringData (GetResourceDataFileName(ThisWorkbook.Path))
28cdf0e10cSrcweir    LoadCommonStrings xlStrings
29cdf0e10cSrcweir    LoadExcelStrings xlStrings
30cdf0e10cSrcweir    LoadResultsStrings xlStrings
31cdf0e10cSrcweir    Set xlStrings = Nothing
32cdf0e10cSrcweir
33cdf0e10cSrcweir    SetWBDriverText
34cdf0e10cSrcweirEnd Sub
35cdf0e10cSrcweir
36cdf0e10cSrcweirPublic Sub SetWBDriverText()
37cdf0e10cSrcweir    On Error Resume Next
38cdf0e10cSrcweir    CAPP_DOCPROP_LOCATION = RID_STR_COMMON_RESULTS_LOCATION_TYPE_DOCUMENT
39cdf0e10cSrcweir    ThisWorkbook.Names("RID_STR_DVR_XL_EXCEL_DRIVER").RefersToRange.Cells(1, 1) = RID_STR_DVR_XL_EXCEL_DRIVER
40cdf0e10cSrcweir    ThisWorkbook.Names("RID_STR_DVR_XL_ISSUES").RefersToRange.Cells(1, 1) = RID_STR_DVR_XL_ISSUES
41cdf0e10cSrcweir    ThisWorkbook.Names("RID_STR_DVR_XL_PURPOSE").RefersToRange.Cells(1, 1) = RID_STR_DVR_XL_PURPOSE
42cdf0e10cSrcweir    ThisWorkbook.Names("RID_STR_DVR_XL_READ_README").RefersToRange.Cells(1, 1) = RID_STR_DVR_XL_READ_README
43cdf0e10cSrcweir    ThisWorkbook.Names("RID_STR_DVR_XL_THE_MACROS").RefersToRange.Cells(1, 1) = RID_STR_DVR_XL_THE_MACROS
44cdf0e10cSrcweir    ThisWorkbook.Names("RID_STR_DVR_XL_THIS_DOC").RefersToRange.Cells(1, 1) = RID_STR_DVR_XL_THIS_DOC
45cdf0e10cSrcweir    ThisWorkbook.Names("RID_STR_DVR_XL_TITLE").RefersToRange.Cells(1, 1) = RID_STR_DVR_XL_TITLE
46cdf0e10cSrcweirEnd Sub
47cdf0e10cSrcweir
48