merged tag ooo/OOO330_m14
[LibreOffice.git] / chart2 / source / controller / dialogs / CommonResources.hrc
blob8a3ae8f9f63c892cb93c741ce158b10a9176f2d5
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 #ifndef _CHART2_RESOURCE_HXX
28 #define _CHART2_RESOURCE_HXX
30 #define BUTTONS_OK_CANCEL_HELP( xPos, yPos, xOffset, yOffset ) \
31 OKButton BTN_OK \
32 { \
33     Pos = MAP_APPFONT ( xPos , yPos ) ; \
34     Size = MAP_APPFONT ( 50 , 14 ) ; \
35     TabStop = TRUE ; \
36     DefButton = TRUE ; \
37 }; \
38 CancelButton BTN_CANCEL \
39 { \
40     Pos = MAP_APPFONT ( xPos+xOffset , yPos+yOffset  ) ; \
41     Size = MAP_APPFONT ( 50 , 14 ) ; \
42     TabStop = TRUE ; \
43 }; \
44 HelpButton BTN_HELP \
45 { \
46     Pos = MAP_APPFONT ( xPos+xOffset+xOffset , yPos+yOffset+yOffset  ) ; \
47     Size = MAP_APPFONT ( 50 , 14 ) ; \
48     TabStop = TRUE ; \
51 #define BUTTONS_OK_CANCEL_HELP_STACKED( xPos ) \
52 BUTTONS_OK_CANCEL_HELP( xPos, 6, 0, 17 )
54 #define BUTTONS_HELP_OK_CANCEL( xPos, yPos, xOffset, yOffset ) \
55 HelpButton BTN_HELP \
56 { \
57     Pos = MAP_APPFONT ( xPos , yPos ) ; \
58     Size = MAP_APPFONT ( 50 , 14 ) ; \
59     TabStop = TRUE ; \
60 }; \
61 OKButton BTN_OK \
62 { \
63     Pos = MAP_APPFONT ( xPos+xOffset , yPos+yOffset  ) ; \
64     Size = MAP_APPFONT ( 50 , 14 ) ; \
65     TabStop = TRUE ; \
66     DefButton = TRUE ; \
67 }; \
68 CancelButton BTN_CANCEL \
69 { \
70     Pos = MAP_APPFONT ( xPos+xOffset+xOffset , yPos+yOffset+yOffset  ) ; \
71     Size = MAP_APPFONT ( 50 , 14 ) ; \
72     TabStop = TRUE ; \
75 #define BUTTONS_HELP_OK_CANCEL_NEXT( xPos, yPos ) \
76 BUTTONS_HELP_OK_CANCEL( xPos, yPos, 53, 0 )
79 #endif