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 28#include "dlg_InsertAxis_Grid.hrc" 29#include "SchSlotIds.hxx" 30#include "HelpIds.hrc" 31#include "CommonResources.hrc" 32#include "res_SecondaryAxisCheckBoxes.hrc" 33 34ModalDialog DLG_AXIS_OR_GRID 35{ 36 HelpID = HID_INSERT_AXIS ; 37 OutputSize = TRUE ; 38 SVLook = TRUE ; 39 //Size = MAP_APPFONT ( 160 , 99 ) ; 40 Size = MAP_APPFONT ( 160 , 113 ) ; 41 Moveable = TRUE ; 42 43 FixedLine FL_PRIMARY_AXIS 44 { 45 Pos = MAP_APPFONT ( 6 , 3 ) ; 46 Size = MAP_APPFONT ( 92 , 8 ) ; 47 Text [ en-US ] = "Axes" ; 48 }; 49 FixedLine FL_PRIMARY_GRID 50 { 51 Hide = TRUE ; 52 Pos = MAP_APPFONT ( 6 , 3 ) ; 53 Size = MAP_APPFONT ( 92 , 8 ) ; 54 Text [ en-US ] = "Major grids" ; 55 }; 56 CheckBox CB_X_PRIMARY 57 { 58 HelpID = HID_SCH_CB_XAXIS; 59 60 Pos = MAP_APPFONT ( 12 , 14 ); 61 Size = MAP_APPFONT ( 80 , 10 ); 62 TabStop = TRUE; 63 Text [ en-US ] = "~X axis"; 64 }; 65 CheckBox CB_Y_PRIMARY 66 { 67 HelpID = HID_SCH_CB_YAXIS; 68 69 Pos = MAP_APPFONT ( 12 , 28 ); 70 Size = MAP_APPFONT ( 80 , 10 ); 71 TabStop = TRUE; 72 Text [ en-US ] = "~Y axis"; 73 }; 74 CheckBox CB_Z_PRIMARY 75 { 76 HelpID = HID_SCH_CB_ZAXIS; 77 78 Pos = MAP_APPFONT ( 12 , 42 ); 79 Size = MAP_APPFONT ( 80 , 10 ); 80 TabStop = TRUE; 81 Text [ en-US ] = "~Z axis"; 82 }; 83 84 FixedLine FL_SECONDARY_AXIS 85 { 86 Pos = MAP_APPFONT ( 6 , 58 ) ; 87 Size = MAP_APPFONT ( 92 , 8 ) ; 88 Text [ en-US ] = "Secondary axes" ; 89 }; 90 FixedLine FL_SECONDARY_GRID 91 { 92 Hide = TRUE ; 93 Pos = MAP_APPFONT ( 6 , 58 ) ; 94 Size = MAP_APPFONT ( 92 , 8 ) ; 95 Text [ en-US ] = "Minor grids" ; 96 }; 97 SECONDARYAXISCHECKBOXES( 12, 69, 0, 14 ) 98 BUTTONS_OK_CANCEL_HELP_STACKED(104) 99}; 100