/*************************************************************************
 *
 * 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: pggrid.src,v $
 * $Revision: 1.26 $
 *
 * 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 "globals.hrc"
#include "pggrid.hrc"
#include "helpid.h"
TabPage TP_TEXTGRID_PAGE
{
    HelpID = HID_TEXTGRID_PAGE;
	Pos = MAP_APPFONT ( 0 , 0 ) ;
	Size = MAP_APPFONT ( 260 , 185 ) ;
	Hide = TRUE;
    FixedLine       FL_GRID_TYPE
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 164 , 8 ) ;
        Text [ en-US ] = "Grid" ;
	};
    RadioButton     RB_NOGRID
    {
        Pos = MAP_APPFONT ( 12 , 14 ) ;
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Size = MAP_APPFONT ( 158 , 10 ) ;
    //New
		Size = MAP_APPFONT ( 158 , 9 ) ;
    //End Grid Compatibility
        Text [ en-US ] = "No grid" ;
	};
    RadioButton     RB_LINESGRID
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 12 , 27 ) ;
        //Size = MAP_APPFONT ( 158 , 10 ) ;
    //New
    	Pos = MAP_APPFONT ( 12 , 26 ) ;
		Size = MAP_APPFONT ( 158 , 9 ) ;
    //End Grid Compatibility
        Text [ en-US ] = "Grid (lines only)" ;
	};
    //Grid Compatibility with MS Word, , 2010.04.30
    CheckBox 	CB_ACCROSSLINEFORLINES
	{
		Pos = MAP_APPFONT ( 20 , 38 );
		Size = MAP_APPFONT ( 158 , 9 );
		//, , 2010.06.12
		//follow UX's new design
		//Old
		//Text[ en-US ] = "Treat line grid only as visual reference" ;
		//New
		Text[ en-US ] = "Specify line grid as visual reference only" ;
		//End 8730
	};
    //End Grid Compatibility
    RadioButton     RB_CHARSGRID
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 12 , 40 ) ;
        //Size = MAP_APPFONT ( 158 , 10 ) ;
    //New
    	Pos = MAP_APPFONT ( 12 , 50 ) ;
        Size = MAP_APPFONT ( 158 , 9 ) ;
    //End Grid Compatibility
        Text [ en-US ] = "Grid (lines and characters)" ;
	};
    //Grid Compatibility with MS Word, , 2010.04.30
    CheckBox 	CB_ACCROSSLINEFORCHARS
	{
		Pos = MAP_APPFONT ( 20 , 62 ); 
		Size = MAP_APPFONT ( 158 , 9 );
		//, , 2010.06.12
		//follow UX's new design
		//Old
		//Text[ en-US ] = "Treat line grid only as visual reference" ;
		//New
		Text[ en-US ] = "Specify line grid as visual reference only" ;
		//End 8730
	};
    //End Grid Compatibility
    CheckBox        CB_SNAPTOCHARS
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 14 , 53 ) ;
        //Size = MAP_APPFONT ( 158 , 10 ) ;
    //New
    	Pos = MAP_APPFONT ( 20 , 74 ) ;
        Size = MAP_APPFONT ( 158 , 9 ) ;
    //End Grid Compatibility
        Text [ en-US ] = "~Snap to characters" ;
        Text [ zh-CN ] = "文字对齐字符网格" ;
    };
    Window          WN_EXAMPLE
    {
        Pos = MAP_APPFONT ( 176 , 6 ) ;
        Size = MAP_APPFONT ( 75 , 46 ) ;
    };
    FixedLine       FL_LAYOUT
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 6 , 69 ) ;
    //New
    	Pos = MAP_APPFONT ( 6 , 88 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Grid layout" ;
	};
    FixedText       FT_LINESPERPAGE
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 12 , 82 ) ;
    //New
    	Pos = MAP_APPFONT ( 12 , 101 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 59 , 8 ) ;
        Text [ en-US ] = "Lines per page" ;
	};
    NumericField    NF_LINESPERPAGE
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 74 , 80 ) ;
    //New
    	Pos = MAP_APPFONT ( 74 , 99 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 25 , 12 ) ;
        Border = TRUE ;
        TabStop = TRUE ;
		Left = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Minimum = 1 ;
        Maximum = 154 ;
		Value = 1 ;
		First = 1 ;
        Last = 154 ;
		SpinSize = 1 ;
    };
    FixedText       FT_TEXTSIZE
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 133 , 82 ) ;
    //New
    	Pos = MAP_APPFONT ( 133 , 101 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 80 , 8 ) ;
        Text [ en-US ] = "Max. base text size" ;
	};
    MetricField     MF_TEXTSIZE
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 216 , 80 ) ;
    //New
    	Pos = MAP_APPFONT ( 216 , 99 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 35 , 12 ) ;
        Border = TRUE ;
        TabStop = TRUE ;
		Left = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
        Minimum = 100 ;
		Maximum = 5600 ;
        DecimalDigits = 2 ;
        Unit = FUNIT_POINT ;
		First = 10 ;
		Last = 5600 ;
        SpinSize = 5 ;
    };
    FixedText       FT_CHARSPERLINE
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 12 , 98 ) ;
    //New
    	Pos = MAP_APPFONT ( 12 , 117 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 59 , 8 ) ;
        Text [ en-US ] = "Characters per line" ;
	};
    NumericField    NF_CHARSPERLINE
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 74 , 96 ) ;
    //New
    	Pos = MAP_APPFONT ( 74 , 115 ) ;
    //End Grid Compatibility	
        Size = MAP_APPFONT ( 25 , 12 ) ;
        Border = TRUE ;
        TabStop = TRUE ;
		Left = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Minimum = 1 ;
        Maximum = 233 ;
		Value = 1 ;
		First = 1 ;
        Last = 233 ;
		SpinSize = 1 ;
    };
    FixedText       FT_CHARWIDTH
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 133 , 98 ) ;
    //New
    	Pos = MAP_APPFONT ( 133 , 117 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 80 , 8 ) ;
        Text [ en-US ] = "Character ~width" ;
        Text [ zh-CN ] = "字符跨度" ;
	};
    MetricField     MF_CHARWIDTH
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 216 , 96 ) ;
    //New
    	Pos = MAP_APPFONT ( 216 , 115 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 35 , 12 ) ;
        Border = TRUE ;
        TabStop = TRUE ;
		Left = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
        Minimum = 100 ;
		Maximum = 5600 ;
        DecimalDigits = 2 ;
        Unit = FUNIT_POINT;
		First = 0 ;
		Last = 5600 ;
        SpinSize = 5 ;
    };
    FixedText       FT_RUBYSIZE
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 133 , 98 ) ;
    //New
    	Pos = MAP_APPFONT ( 133 , 117 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 80 , 8 ) ;
        Text [ en-US ] = "Max. Ruby text size" ;
	};
    MetricField     MF_RUBYSIZE
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 216 , 96 ) ;
    //New
    	Pos = MAP_APPFONT ( 216 , 115 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 35 , 12 ) ;
        Border = TRUE ;
        TabStop = TRUE ;
        Left = TRUE ;
        Repeat = TRUE ;
        Spin = TRUE ;
        Minimum = 100 ;
        Maximum = 5600 ;
        DecimalDigits = 2 ;
        Unit = FUNIT_POINT;
        First = 0 ;
        Last = 5600 ;
        SpinSize = 5 ;
    };
    CheckBox        CB_RUBYBELOW
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 14 , 112 ) ;
    //New
    	Pos = MAP_APPFONT ( 14 , 131 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 237 , 10 ) ;
        Text [ en-US ] = "Ruby text below/left from base text" ;
	};
    FixedLine       FL_DISPLAY
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 6 , 128 ) ;
    //New
    	Pos = MAP_APPFONT ( 6 , 146 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Grid display" ;
	};
    CheckBox        CB_DISPLAY
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 12 , 139 ) ;
    //New
    	Pos = MAP_APPFONT ( 12 , 157 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 118 , 10 ) ;
        Text [ en-US ] = "Display grid" ;
	};
    CheckBox        CB_PRINT
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
       // Pos = MAP_APPFONT ( 18 , 154 ) ;
    //New
    	Pos = MAP_APPFONT ( 18 , 169 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 112 , 10 ) ;
        Text [ en-US ] = "Print grid" ;
	};
    FixedText       FT_COLOR
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 133 , 139 ) ;
    //New
    	Pos = MAP_APPFONT ( 133 , 157 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 55 , 8 ) ;
        Text [ en-US ] = "Grid color" ;
	};
    ListBox         LB_COLOR
    {
    //Grid Compatibility with MS Word, , 2010.04.30
    //Old
        //Pos = MAP_APPFONT ( 191 , 137 ) ;
    //New
    	Pos = MAP_APPFONT ( 191 , 155 ) ;
    //End Grid Compatibility
        Size = MAP_APPFONT ( 60 , 50 ) ;
        TabStop = TRUE;
        Border = TRUE;
        DropDown = TRUE;
    };
};

