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 22cdf0e10cSrcweirOption Explicit 23cdf0e10cSrcweir 24cdf0e10cSrcweirPublic ppStrings As StringDataManager 25cdf0e10cSrcweir 26cdf0e10cSrcweirPublic Sub Presentation_Open() 27cdf0e10cSrcweir MsgBox GetResourceDataFileName 28cdf0e10cSrcweir Set ppStrings = New StringDataManager 29cdf0e10cSrcweir 30cdf0e10cSrcweir ppStrings.InitStringData (GetResourceDataFileName) 31cdf0e10cSrcweir LoadCommonStrings ppStrings 32cdf0e10cSrcweir LoadPPStrings ppStrings 33cdf0e10cSrcweir Set ppStrings = Nothing 34cdf0e10cSrcweir 35cdf0e10cSrcweir SetPPDriverText 36cdf0e10cSrcweirEnd Sub 37cdf0e10cSrcweir 38cdf0e10cSrcweirSub SetPPDriverText() 39cdf0e10cSrcweir On Error Resume Next 40cdf0e10cSrcweir CAPP_DOCPROP_LOCATION = RID_STR_COMMON_RESULTS_LOCATION_TYPE_PRESENTATION 41cdf0e10cSrcweir ActivePresentation.Slides.item(1).Shapes.item("RID_STR_DVR_PP_TXT2").OLEFormat.Object.Text = RID_STR_DVR_PP_TXT2 42cdf0e10cSrcweir ActivePresentation.Slides.item(1).Shapes.item("RID_STR_DVR_PP_TXT3").OLEFormat.Object.Text = RID_STR_DVR_PP_TXT3 43cdf0e10cSrcweir ActivePresentation.Slides.item(1).Shapes.item("RID_STR_DVR_PP_TXT4").OLEFormat.Object.Text = RID_STR_DVR_PP_TXT4 44cdf0e10cSrcweir ActivePresentation.Slides.item(1).Shapes.item("RID_STR_DVR_PP_TXT5").OLEFormat.Object.Text = RID_STR_DVR_PP_TXT5 45cdf0e10cSrcweir ActivePresentation.Slides.item(1).Shapes.item("RID_STR_DVR_PP_TXT6").OLEFormat.Object.Text = RID_STR_DVR_PP_TXT6 46cdf0e10cSrcweir ActivePresentation.Slides.item(1).Shapes.item("RID_STR_DVR_PP_TXT7").OLEFormat.Object.Text = RID_STR_DVR_PP_TXT7 47cdf0e10cSrcweir ActivePresentation.Slides.item(1).Shapes.item("RID_STR_DVR_PP_TXT8").OLEFormat.Object.Text = RID_STR_DVR_PP_TXT8 48cdf0e10cSrcweirEnd Sub 49