1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 25 #ifndef _FPSERVICEINFO_HXX_ 26 #define _FPSERVICEINFO_HXX_ 27 28 //------------------------------------------------------------------------ 29 // defines 30 //------------------------------------------------------------------------ 31 32 // the service name is a description of a set of 33 // interfaces (is the same as component categories in COM) 34 35 #define TMPL95_FILEOPEN_READONLY_VERSION_BOX_ID 1000 36 #define TMPL2000_FILEOPEN_READONLY_VERSION_BOX_ID 1001 37 38 #define TMPL95_FILEOPEN_LINK_PREVIEW_BOX_ID 2000 39 #define TMPL2000_FILEOPEN_LINK_PREVIEW_BOX_ID 2001 40 41 #define TMPL95_FILEOPEN_AUTOEXT_TEMPLATE_BOX_ID 3000 42 #define TMPL2000_FILEOPEN_AUTOEXT_TEMPLATE_BOX_ID 3001 43 44 #define TMPL95_FILESAVE_AUTOEXT_PASSWORD_BOX_ID 4000 45 #define TMPL2000_FILESAVE_AUTOEXT_PASSWORD_BOX_ID 4001 46 47 #define TMPL95_AUTOEXT_PASSWORD_FILTEROPTION_BOX 5000 48 #define TMPL2000_AUTOEXT_PASSWORD_FILTEROPTION_BOX 5001 49 50 #define TMPL95_PLAY_PUSHBUTTON 6000 51 #define TMPL2000_PLAY_PUSHBUTTON 6001 52 53 #define TMPL95_AUTOEXT_SELECTION_BOX 7000 54 #define TMPL2000_AUTOEXT_SELECTION_BOX 7001 55 56 #define TMPL95_FILEOPEN_LINK_PREVIEW_BOX_SIMPLE_ID 8000 57 #define TMPL2000_FILEOPEN_LINK_PREVIEW_BOX_SIMPLE_ID 8001 58 59 #define TMPL95_FILESAVE_AUTOEXT 9000 60 #define TMPL2000_FILESAVE_AUTOEXT 9001 61 62 // the service names 63 #define FILE_PICKER_SERVICE_NAME "com.sun.star.ui.dialogs.SystemFilePicker" 64 65 // the implementation names 66 #define FILE_PICKER_IMPL_NAME "com.sun.star.ui.dialogs.Win32FilePicker" 67 68 // the registry key names 69 // a key under which this service will be registered, Format: -> "/ImplName/UNO/SERVICES/ServiceName" 70 // < Implementation-Name ></UNO/SERVICES/>< Service-Name > 71 #define FILE_PICKER_REGKEY_NAME "/com.sun.star.ui.dialogs.Win32FilePicker/UNO/SERVICES/com.sun.star.ui.dialogs.SystemFilePicker" 72 73 #endif 74