1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: res_SecondaryAxisCheckBoxes_tmpl.hrc,v $
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 ************************************************************************/
30 #ifndef _CHART2_SECONDARYAXISCHECKBOXES_HXX
31 #define _CHART2_SECONDARYAXISCHECKBOXES_HXX
33 #define SECONDARYAXISCHECKBOXES_WIDTH 42
34 #define SECONDARYAXISCHECKBOXES_HEIGHT 10
36 #define SECONDARYAXISCHECKBOXES( xpos, ypos, xOffset, yOffset ) \
37 CheckBox CB_X_SECONDARY \
39 HelpID = HID_SCH_CB_SECONDARY_XAXIS; \
40 Pos = MAP_APPFONT ( xpos , ypos ); \
41 Size = MAP_APPFONT ( SECONDARYAXISCHECKBOXES_WIDTH , SECONDARYAXISCHECKBOXES_HEIGHT ); \
43 Text [ en-US ] = "X ~axis"; \
45 CheckBox CB_Y_SECONDARY \
47 HelpID = HID_SCH_CB_SECONDARY_YAXIS; \
48 Pos = MAP_APPFONT ( xpos+xOffset , ypos+yOffset ); \
49 Size = MAP_APPFONT ( SECONDARYAXISCHECKBOXES_WIDTH , SECONDARYAXISCHECKBOXES_HEIGHT ); \
51 Text [ en-US ] = "Y ax~is"; \
53 CheckBox CB_Z_SECONDARY \
55 HelpID = HID_SCH_CB_SECONDARY_ZAXIS; \
56 Pos = MAP_APPFONT ( xpos+2*xOffset , ypos+2*yOffset ); \
57 Size = MAP_APPFONT ( SECONDARYAXISCHECKBOXES_WIDTH , SECONDARYAXISCHECKBOXES_HEIGHT ); \
59 Text [ en-US ] = "Z axi~s"; \