/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #include ModalDialog GRID_DIALOG { HelpID = "extensions:ModalDialog:GRID_DIALOG"; OutputSize = TRUE ; SVLook = TRUE ; Pos = MAP_APPFONT ( 10 , 10 ) ; Size = MAP_APPFONT ( 300, 200 ) ; Moveable = TRUE ; Closeable = TRUE ; OKButton GRID_DIALOG_OK_BTN { Pos = MAP_APPFONT( 245, 5 ); Size = MAP_APPFONT( 50, 15 ); DefButton = TRUE; }; CancelButton GRID_DIALOG_CANCEL_BTN { Pos = MAP_APPFONT ( 245 , 25 ) ; Size = MAP_APPFONT ( 50 , 15 ) ; }; ListBox GRID_DIALOG_TYPE_BOX { HelpID = "extensions:ListBox:GRID_DIALOG:GRID_DIALOG_TYPE_BOX"; Border = TRUE ; Dropdown = TRUE ; Pos = MAP_APPFONT( 245, 45 ); Size = MAP_APPFONT( 50, 130 ); }; PushButton GRID_DIALOG_RESET_BTN { HelpID = "extensions:PushButton:GRID_DIALOG:GRID_DIALOG_RESET_BTN"; Pos = MAP_APPFONT( 245, 65 ); Size = MAP_APPFONT( 50, 15 ); Text [ en-US ] = "Set"; }; Bitmap GRID_DIALOG_HANDLE_BMP { File = "handle.bmp"; }; String RESET_TYPE_LINEAR_ASCENDING { Text [ en-US ] = "Linear ascending"; }; String RESET_TYPE_LINEAR_DESCENDING { Text [ en-US ] = "Linear descending"; }; String RESET_TYPE_RESET { Text [ en-US ] = "Original values"; }; String RESET_TYPE_EXPONENTIAL { Text [ en-US ] = "Exponential increasing"; }; };