1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 #ifndef _CHART2_RESOURCE_HXX
28 #define _CHART2_RESOURCE_HXX
30 #define BUTTONS_OK_CANCEL_HELP( xPos, yPos, xOffset, yOffset ) \
33 Pos = MAP_APPFONT ( xPos , yPos ) ; \
34 Size = MAP_APPFONT ( 50 , 14 ) ; \
38 CancelButton BTN_CANCEL \
40 Pos = MAP_APPFONT ( xPos+xOffset , yPos+yOffset ) ; \
41 Size = MAP_APPFONT ( 50 , 14 ) ; \
46 Pos = MAP_APPFONT ( xPos+xOffset+xOffset , yPos+yOffset+yOffset ) ; \
47 Size = MAP_APPFONT ( 50 , 14 ) ; \
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 ) \
57 Pos = MAP_APPFONT ( xPos , yPos ) ; \
58 Size = MAP_APPFONT ( 50 , 14 ) ; \
63 Pos = MAP_APPFONT ( xPos+xOffset , yPos+yOffset ) ; \
64 Size = MAP_APPFONT ( 50 , 14 ) ; \
68 CancelButton BTN_CANCEL \
70 Pos = MAP_APPFONT ( xPos+xOffset+xOffset , yPos+yOffset+yOffset ) ; \
71 Size = MAP_APPFONT ( 50 , 14 ) ; \
75 #define BUTTONS_HELP_OK_CANCEL_NEXT( xPos, yPos ) \
76 BUTTONS_HELP_OK_CANCEL( xPos, yPos, 53, 0 )