merge the formfield patch from ooo-build
[ooovba.git] / fpicker / source / win32 / filepicker / FPServiceInfo.hxx
blob6b7f6ef534d396daea84609b618e9afbb11d9b78
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: FPServiceInfo.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
32 #ifndef _FPSERVICEINFO_HXX_
33 #define _FPSERVICEINFO_HXX_
35 //------------------------------------------------------------------------
36 // defines
37 //------------------------------------------------------------------------
39 // the service name is a description of a set of
40 // interfaces (is the same as component categories in COM)
42 #define TMPL95_FILEOPEN_READONLY_VERSION_BOX_ID 1000
43 #define TMPL2000_FILEOPEN_READONLY_VERSION_BOX_ID 1001
45 #define TMPL95_FILEOPEN_LINK_PREVIEW_BOX_ID 2000
46 #define TMPL2000_FILEOPEN_LINK_PREVIEW_BOX_ID 2001
48 #define TMPL95_FILEOPEN_AUTOEXT_TEMPLATE_BOX_ID 3000
49 #define TMPL2000_FILEOPEN_AUTOEXT_TEMPLATE_BOX_ID 3001
51 #define TMPL95_FILESAVE_AUTOEXT_PASSWORD_BOX_ID 4000
52 #define TMPL2000_FILESAVE_AUTOEXT_PASSWORD_BOX_ID 4001
54 #define TMPL95_AUTOEXT_PASSWORD_FILTEROPTION_BOX 5000
55 #define TMPL2000_AUTOEXT_PASSWORD_FILTEROPTION_BOX 5001
57 #define TMPL95_PLAY_PUSHBUTTON 6000
58 #define TMPL2000_PLAY_PUSHBUTTON 6001
60 #define TMPL95_AUTOEXT_SELECTION_BOX 7000
61 #define TMPL2000_AUTOEXT_SELECTION_BOX 7001
63 #define TMPL95_FILEOPEN_LINK_PREVIEW_BOX_SIMPLE_ID 8000
64 #define TMPL2000_FILEOPEN_LINK_PREVIEW_BOX_SIMPLE_ID 8001
66 #define TMPL95_FILESAVE_AUTOEXT 9000
67 #define TMPL2000_FILESAVE_AUTOEXT 9001
69 // the service names
70 #define FILE_PICKER_SERVICE_NAME "com.sun.star.ui.dialogs.SystemFilePicker"
72 // the implementation names
73 #define FILE_PICKER_IMPL_NAME "com.sun.star.ui.dialogs.Win32FilePicker"
75 // the registry key names
76 // a key under which this service will be registered, Format: -> "/ImplName/UNO/SERVICES/ServiceName"
77 // < Implementation-Name ></UNO/SERVICES/>< Service-Name >
78 #define FILE_PICKER_REGKEY_NAME "/com.sun.star.ui.dialogs.Win32FilePicker/UNO/SERVICES/com.sun.star.ui.dialogs.SystemFilePicker"
80 #endif