/*************************************************************************
 *
 * 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
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#include "app.hrc"
#include "res_bmp.hrc"
#include "dlgsnap.hrc"
#include "helpids.h"

ModalDialog DLG_SNAPLINE
{
    HelpID = CMD_SID_CAPTUREPOINT ;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 140 , 125 ) ;
    Text [ en-US ] = "New Snap Object" ;
    Moveable = TRUE ;
    OKButton BTN_OK
    {
        Pos = MAP_APPFONT ( 88 , 6  ) ;
        Size = MAP_APPFONT ( 46 , 14 ) ;
        TabStop = TRUE ;
        DefButton = TRUE ;
    };
    CancelButton BTN_CANCEL
    {
        Pos = MAP_APPFONT ( 88 , 23  ) ;
        Size = MAP_APPFONT ( 46 , 14 ) ;
        TabStop = TRUE ;
    };
    HelpButton BTN_HELP
    {
        Pos = MAP_APPFONT ( 88 , 43  ) ;
        Size = MAP_APPFONT ( 46 , 14 ) ;
        TabStop = TRUE ;
    };
    PushButton BTN_DELETE
    {
        HelpID = "sd:PushButton:DLG_SNAPLINE:BTN_DELETE";
        Pos = MAP_APPFONT ( 88 , 63  ) ;
        Size = MAP_APPFONT ( 46 , 14 ) ;
        Text [ en-US ] = "~Delete" ;
        TabStop = TRUE ;
    };
    FixedLine FL_POSITION
    {
        Pos = MAP_APPFONT ( 6 , 3  ) ;
        Size = MAP_APPFONT ( 76 , 8 ) ;
        Text [ en-US ] = "Position" ;
    };
    FixedText FT_X
    {
        Pos = MAP_APPFONT ( 12 , 16  ) ;
        Size = MAP_APPFONT ( 7 , 10 ) ;
        Text = "~X" ;
    };
    MetricField MTR_FLD_X
    {
        HelpID = "sd:MetricField:DLG_SNAPLINE:MTR_FLD_X";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 22 , 14  ) ;
        Size = MAP_APPFONT ( 54 , 12 ) ;
        TabStop = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Minimum = -5000000 ;
        Maximum = 5000000 ;
        StrictFormat = TRUE ;
        DecimalDigits = 2 ;
        Unit = FUNIT_MM ;
        First = -5000000 ;
        Last = 5000000 ;
        SpinSize = 50 ;
    };
    FixedText FT_Y
    {
        Pos = MAP_APPFONT ( 12 , 32 ) ;
        Size = MAP_APPFONT ( 7 , 10 ) ;
        Text = "~Y" ;
    };
    MetricField MTR_FLD_Y
    {
        HelpID = "sd:MetricField:DLG_SNAPLINE:MTR_FLD_Y";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 22 , 30  ) ;
        Size = MAP_APPFONT ( 54 , 12 ) ;
        TabStop = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Minimum = -5000000 ;
        Maximum = 5000000 ;
        StrictFormat = TRUE ;
        DecimalDigits = 2 ;
        Unit = FUNIT_MM ;
        First = -5000000 ;
        Last = 5000000 ;
        SpinSize = 50 ;
    };
    FixedLine FL_DIRECTION
    {
        Pos = MAP_APPFONT ( 6 , 50  ) ;
        Size = MAP_APPFONT ( 76 , 8 ) ;
        Text [ en-US ] = "Type" ;
    };
    ImageRadioButton RB_POINT
    {
        HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_POINT";
        Pos = MAP_APPFONT ( 12 , 61  ) ;
        Size = MAP_APPFONT ( 64 , 16 ) ;
        Text [ en-US ] = "~Point" ;
        TabStop = TRUE ;
        RadioButtonImage = Image
        {
            MaskColor = IMAGE_MASK_STDCOLOR;
            ImageBitmap = Bitmap { File = "hlppoint.bmp" ; };
        };
    };
    ImageRadioButton RB_VERTICAL
    {
        HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_VERTICAL";
        Pos = MAP_APPFONT ( 12 , 81  ) ;
        Size = MAP_APPFONT ( 64 , 16 ) ;
        Text [ en-US ] = "~Vertical" ;
        TabStop = TRUE ;
        RadioButtonImage = Image
        {
            MaskColor = IMAGE_MASK_STDCOLOR;
            ImageBitmap = Bitmap { File = "hlplvert.bmp" ; };
        };
    };
    ImageRadioButton RB_HORIZONTAL
    {
        HelpID = "sd:ImageRadioButton:DLG_SNAPLINE:RB_HORIZONTAL";
        Pos = MAP_APPFONT ( 12 , 101  ) ;
        Size = MAP_APPFONT ( 65 , 16 ) ;
        Text [ en-US ] = "Hori~zontal" ;
        TabStop = TRUE ;
        RadioButtonImage = Image
        {
            MaskColor = IMAGE_MASK_STDCOLOR;
            ImageBitmap = Bitmap { File = "hlplhorz.bmp" ; };
        };
    };
};
