/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: contdlg.src,v $
 * $Revision: 1.39 $
 *
 * 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 ---------------------------------------------------------------
#include "helpid.hrc"
#include "contdlg.hrc"

#define MASKCOLOR   MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ;

 // RID_SVXDLG_CONTOUR ----------------------------------------------------
FloatingWindow RID_SVXDLG_CONTOUR
{
    OutputSize = TRUE ;
    Hide = TRUE ;
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( 270 , 213 ) ;
    Text [ en-US ] = "Contour Editor" ;
    Sizeable = TRUE ;
    Moveable = TRUE ;
    Closeable = TRUE ;
    Zoomable = TRUE ;
    ToolBox TBX1
    {
        SVLook = TRUE ;
        Pos = MAP_APPFONT ( 6 , 6 ) ;
        HelpId = HID_CONTDLG_TOOLBOX ;
        ItemList =
        {
            ToolBoxItem
            {
                Identifier = TBI_APPLY ;
                HelpId = HID_CONTDLG_APPLY ;
                Text [ en-US ] = "Apply" ;
            };
            ToolBoxItem
            {
                Type = TOOLBOXITEM_SEPARATOR ;
            };
            ToolBoxItem
            {
                Identifier = TBI_WORKPLACE ;
                HelpId = HID_CONTDLG_WORKPLACE ;
                Text [ en-US ] = "Workspace" ;
                AutoCheck = TRUE ;
            };
            ToolBoxItem
            {
                Type = TOOLBOXITEM_SEPARATOR ;
            };
            ToolBoxItem
            {
                Identifier = TBI_SELECT ;
                HelpId = HID_CONTDLG_SELECT ;
                RadioCheck = TRUE ;
                AutoCheck = TRUE ;
                Text [ en-US ] = "Select" ;
            };
            ToolBoxItem
            {
                Identifier = TBI_RECT ;
                HelpId = HID_CONTDLG_RECT ;
                RadioCheck = TRUE ;
                AutoCheck = TRUE ;
                Text [ en-US ] = "Rectangle" ;
            };
            ToolBoxItem
            {
                Identifier = TBI_CIRCLE ;
                HelpId = HID_CONTDLG_CIRCLE ;
                RadioCheck = TRUE ;
                AutoCheck = TRUE ;
                Text [ en-US ] = "Ellipse" ;
            };
            ToolBoxItem
            {
                Identifier = TBI_POLY ;
                HelpId = HID_CONTDLG_POLY ;
                RadioCheck = TRUE ;
                AutoCheck = TRUE ;
                Text [ en-US ] = "Polygon" ;
            };
            ToolBoxItem
            {
                Type = TOOLBOXITEM_SEPARATOR ;
            };
            ToolBoxItem
            {
                Identifier = TBI_POLYEDIT ;
                HelpId = HID_CONTDLG_POLYEDIT ;
                Text [ en-US ] = "Edit Points" ;
                AutoCheck = TRUE ;
            };
            ToolBoxItem
            {
                Identifier = TBI_POLYMOVE ;
                HelpId = HID_CONTDLG_POLYMOVE ;
                Text [ en-US ] = "Move Points" ;
                RadioCheck = TRUE ;
                AutoCheck = TRUE ;
            };
            ToolBoxItem
            {
                Identifier = TBI_POLYINSERT ;
                HelpId = HID_CONTDLG_POLYINSERT ;
                Text [ en-US ] = "Insert Points" ;
                RadioCheck = TRUE ;
                AutoCheck = TRUE ;
            };
            ToolBoxItem
            {
                Identifier = TBI_POLYDELETE ;
                HelpId = HID_CONTDLG_POLYDELETE ;
                Text [ en-US ] = "Delete Points" ;
            };
            ToolBoxItem
            {
                Type = TOOLBOXITEM_SEPARATOR ;
            };
            ToolBoxItem
            {
                Identifier = TBI_AUTOCONTOUR ;
                HelpId = HID_CONTDLG_AUTOCONTOUR ;
                Text [ en-US ] = "AutoContour" ;
            };
            ToolBoxItem
            {
                Type = TOOLBOXITEM_SEPARATOR ;
            };
            ToolBoxItem
            {
                Identifier = TBI_UNDO ;
                HelpId = HID_CONTDLG_UNDO ;

                Text [ en-US ] = "Undo " ;
            };
            ToolBoxItem
            {
                Identifier = TBI_REDO ;
                HelpId = HID_CONTDLG_REDO ;


                Text [ en-US ] = "Redo " ;
            };
            ToolBoxItem
            {
                Identifier = TBI_PIPETTE ;
                HelpId = HID_CONTDLG_PIPETTE ;
                Text [ en-US ] = "Eyedropper" ;
                AutoCheck = TRUE ;
            };
        };
    };
    MetricField MTF_TOLERANCE
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 0 , 0 ) ;
        Size = MAP_APPFONT ( 28 , 12 ) ;
        TabStop = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Maximum = 99 ;
        Last = 99 ;
        SpinSize = 1 ;
        Unit = FUNIT_CUSTOM ;
        QuickHelpText [ en-US ] = "Color Tolerance" ;
        CustomUnitText [ en-US ] = "%" ;
    };
    Control CTL_CONTOUR
    {
        Border = TRUE ;
        SVLook = TRUE ;
        Pos = MAP_APPFONT ( 6 , 24 ) ;
        HelpId = HID_CONTDLG_GRAPHWND ;
    };

#define CONTOURDLG_IDLIST \
        IdList =            \
        {                   \
            TBI_APPLY ; \
            TBI_WORKPLACE ; \
            TBI_SELECT ;    \
            TBI_RECT ;  \
            TBI_CIRCLE ;    \
            TBI_POLY ;  \
            TBI_POLYEDIT ;  \
            TBI_POLYMOVE ;  \
            TBI_POLYINSERT ; \
            TBI_POLYDELETE ;    \
            TBI_AUTOCONTOUR ;   \
            TBI_UNDO ;  \
            TBI_REDO ;  \
            TBI_PIPETTE ; \
        }; \
        IdCount = { 14 ; };

    ImageList CD_IMAPDLG
    {
        Prefix = "cd";
        MASKCOLOR
        CONTOURDLG_IDLIST
    };
    ImageList CDH_IMAPDLG
    {
        Prefix = "cdh";
        MASKCOLOR
        CONTOURDLG_IDLIST
    };
};
/******************************************************************************/
String STR_CONTOURDLG_MODIFY
{
    Text [ en-US ] = "The contour has been modified.\nDo you want to save the changes?" ;
};
String STR_CONTOURDLG_NEWPIPETTE
{
    Text [ en-US ] = "Do you want to create a new contour?" ;
};
String STR_CONTOURDLG_WORKPLACE
{
    Text [ en-US ] = "Setting a new workspace will\ncause the contour to be deleted.\nAre you sure you want to continue?" ;
};
String STR_CONTOURDLG_LINKED
{
    Text [ en-US ] = "This graphic object is linked to the document. Do you want to unlink the graphics in order to edit it?" ;
};
/******************************************************************************/