/*************************************************************************
 *
 * 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: instable.src,v $
 * $Revision: 1.32 $
 *
 * 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 "table.hrc"
#include "instable.hrc"
#include "cmdid.h"
#include "helpid.h"
 // #define DLG_INSERT_TABLE 256
ModalDialog DLG_INSERT_TABLE
{
	HelpID = FN_INSERT_TABLE ;
	OutputSize = TRUE ;
	SVLook = TRUE ;
    Size = MAP_APPFONT ( 280 , 166 ) ;
	Text [ en-US ] = "Create Table" ;
	Moveable = TRUE ;
	Edit ED_NAME
	{
		Border = TRUE ;
        Pos = MAP_APPFONT ( 53 , 6 ) ;
        Size = MAP_APPFONT ( 158, 12 ) ;
		TabStop = TRUE ;
	};
    FixedText FT_NAME
	{
        Pos = MAP_APPFONT ( 6 , 8 ) ;
        Size = MAP_APPFONT ( 45, 8 ) ;
		Text [ en-US ] = "Name";
	};
	FixedText FT_COL
	{
        Pos = MAP_APPFONT ( 12 , 34 ) ;
        Size = MAP_APPFONT ( 39 , 8 ) ;
		Text [ en-US ] = "~Columns" ;
		Left = TRUE ;
	};
	NumericField ED_COL
	{
		Border = TRUE ;
        Pos = MAP_APPFONT ( 53 , 32 ) ;
		Size = MAP_APPFONT ( 28 , 12 ) ;
		TabStop = TRUE ;
		Left = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Minimum = 1 ;
		Maximum = 99 ;
        Value = 2 ;
		First = 1 ;
		Last = 99 ;
	};
	FixedText FT_ROW
	{
        Pos = MAP_APPFONT ( 12 , 50 ) ;
        Size = MAP_APPFONT ( 39 , 8 ) ;
		Text [ en-US ] = "~Rows" ;
		Left = TRUE ;
	};
	NumericField ED_ROW
	{
		Border = TRUE ;
        Pos = MAP_APPFONT ( 53 , 48 ) ;
		Size = MAP_APPFONT ( 28 , 12 ) ;
		TabStop = TRUE ;
		Left = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Minimum = 1 ;
		Maximum = 99 ;
		Value = 2 ;
		First = 1 ;
		Last = 99 ;
	};
    FixedLine FL_TABLE
	{
        Pos = MAP_APPFONT ( 6 , 21 ) ;
        Size = MAP_APPFONT ( 212 , 8 ) ;
		Text [ en-US ] = "Size";
	};
	CheckBox CB_HEADER
	{
        Pos = MAP_APPFONT ( 12 , 74 ) ;
        //Table Row Header for ACC Supporting, , 2010.02.22
    	//Change X size
		//Size = MAP_APPFONT (113 , 10 ) ;
		//to
		//Modified , 5/10/2010
		//Size = MAP_APPFONT (55 , 10 ) ;
		Size = MAP_APPFONT (75 , 10 ) ;
		//End modificat, 5/10/2010
		//End table_row_header
		TabStop = TRUE ;
	//UI Wording on Dialog, , 2009.09.15
		//Text [ en-US ] = "Heading";
		Text [ en-US ] = "Col~umn Header";
	//End UI Wording on Dialog
	};
//Table Row Header for ACC Supporting, , 2010.02.22
//Delete below controls
	/*
	CheckBox CB_REPEAT_HEADER
	{
        Pos = MAP_APPFONT ( 21 , 88 ) ;
        Size = MAP_APPFONT ( 144 , 10 ) ;//UI Wording on Dialog, , 2009.09.15, old: Size = MAP_APPFONT ( 104 , 10 ) ;
		TabStop = TRUE ;
	//UI Wording on Dialog, , 2009.09.15
		//Text [ en-US ] = "Repeat heading";
		Text [ en-US ] = "Re~peats at the top of each page";
	//End UI Wording on Dialog
	};
	FixedText FT_REPEAT_HEADER
	{
        Pos = MAP_APPFONT ( 30 , 105 ) ;
        Size = MAP_APPFONT ( 95 , 10 ) ;
		Text [ en-US ] = "The first%POSITION_OF_CONTROL rows" ;
	};
	NumericField NF_REPEAT_HEADER
	{
		Border = TRUE ;
        Pos = MAP_APPFONT ( 130 , 104 ) ;
		Size = MAP_APPFONT ( 28 , 12 ) ;
		TabStop = TRUE ;
		Left = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Minimum = 1 ;
		Maximum = 1000 ;
		First = 1 ;
	};
	Window WIN_REPEAT_HEADER
	{
        Pos = MAP_APPFONT ( 30 , 102 ) ;
        Size = MAP_APPFONT ( 2 , 1 ) ;
	};
*/
//Add new controls
	NumericField NF_REPEAT_HEADER
	{
		Border = TRUE ;
		//Modified , 5/10/2010
    	//Pos = MAP_APPFONT ( 72 , 73 ) ;
    	Pos = MAP_APPFONT ( 87 , 73 ) ;
    	//End modificat, 5/10/2010
		Size = MAP_APPFONT ( 28 , 12 ) ;
		TabStop = TRUE ;
		Left = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Minimum = 1 ;
		Maximum = 1000 ;
		First = 1 ;
	};
	FixedText FT_REPEAT_HEADER
	{
		//Modified , 5/10/2010
		//Pos = MAP_APPFONT ( 104 , 74 ) ;
		Pos = MAP_APPFONT ( 119 , 74 ) ;
		//End modificat, 5/10/2010
        Size = MAP_APPFONT ( 95 , 10 ) ;
		Text [ en-US ] = "rows" ;
	};
	FixedText FT_EXPLAIN_REPEAT_HEADER
	{
        Pos = MAP_APPFONT ( 21 , 88 ) ;
        Size = MAP_APPFONT ( 144 , 10 ) ;
		TabStop = TRUE ;
		Text [ en-US ] = "Repeats at the top of each page";
	};
	CheckBox CB_LABEL
	{
        Pos = MAP_APPFONT ( 12 , 103 ) ;
		Size = MAP_APPFONT (55 , 10 ) ;
		TabStop = TRUE ;
		Text [ en-US ] = "Row ~label";
	};	
	NumericField NF_REPEAT_LABEL
	{
		Border = TRUE ;
		//Modified , 5/10/2010
    	//Pos = MAP_APPFONT ( 72 , 102 ) ;
    	Pos = MAP_APPFONT ( 87 , 102 ) ;
    	//End modificat, 5/10/2010
		Size = MAP_APPFONT ( 28 , 12 ) ;
		TabStop = TRUE ;
		Left = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Minimum = 1 ;
		Maximum = 1000 ;
		First = 1 ;
	};
	FixedText FT_REPEAT_LABEL
	{
		//Modified , 5/10/2010
		//Pos = MAP_APPFONT ( 104 , 103 ) ;
		Pos = MAP_APPFONT ( 119 , 103 ) ;
		//End modificat, 5/10/2010
        Size = MAP_APPFONT ( 95 , 10 ) ;
		Text [ en-US ] = "columns" ;
	};
//End table_row_header
	CheckBox CB_DONT_SPLIT
	{
        Pos = MAP_APPFONT ( 12 , 118 ) ;
		Size = MAP_APPFONT ( 113 , 10 ) ;
		Text [ en-US ] = "Don't split table";
		TabStop = TRUE ;
	};
	CheckBox CB_BORDER
	{
        Pos = MAP_APPFONT ( 12 , 132 ) ;
		Size = MAP_APPFONT ( 113 , 10 ) ;
		TabStop = TRUE ;
	//UI Wording on Dialog, , 2009.09.15
		//Text [ en-US ] = "Border";
		Text [ en-US ] = "~Display border";
	//End UI Wording on Dialog
	};
    PushButton BT_AUTOFORMAT
	{
        Pos = MAP_APPFONT ( 12 , 146 ) ;
        Size = MAP_APPFONT ( 76 , 14 ) ;//UI Wording on Dialog, , 2009.09.15, old: Size = MAP_APPFONT ( 66 , 14 ) ;
		TabStop = TRUE ;
	//UI Wording on Dialog, , 2009.09.15
		//Text [ en-US ] = "Auto~Format..." ;
		Text [ en-US ] = "Instant ~Formating" ;
	//End UI Wording on Dialog
	};
    FixedLine FL_OPTIONS
	{
        Pos = MAP_APPFONT ( 6 , 63 ) ;
        Size = MAP_APPFONT ( 212 , 8 ) ;
		Text [ en-US ] = "Options";
	};
	OKButton BT_OK
	{
		Pos = MAP_APPFONT ( 224 , 6 ) ;
		Size = MAP_APPFONT ( 50 , 14 ) ;
		TabStop = TRUE ;
		DefButton = TRUE ;
	};
	CancelButton BT_CANCEL
	{
		Pos = MAP_APPFONT ( 224 , 23 ) ;
		Size = MAP_APPFONT ( 50 , 14 ) ;
		TabStop = TRUE ;
	};
	HelpButton BT_HELP
	{
		Pos = MAP_APPFONT ( 224 , 43 ) ;
		Size = MAP_APPFONT ( 50 , 14 ) ;
		TabStop = TRUE ;
	};
};


