/**************************************************************
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 *************************************************************/



// include ---------------------------------------------------------------
#include "helpid.hrc"
#include "labdlg.hrc"
#include <svx/dialogs.hrc>

// RID_SVXPAGE_CAPTION ---------------------------------------------------
TabPage RID_SVXPAGE_CAPTION
{
	HelpId = HID_CAPTION ;
	Hide = TRUE ;
	//Size = MAP_APPFONT ( 189, 97 ) ;
	Size = MAP_APPFONT ( 260, 185 ) ;
	Text [ en-US ] = "Callouts" ;
	Control CT_CAPTTYPE
	{
		HelpId = HID_CAPTION_CTL_TYPE ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 6, 6 ) ;
		Size = MAP_APPFONT ( 187, 38 ) ;
		TabStop = TRUE ;
	};
	FixedText FT_ABSTAND
	{
		Pos = MAP_APPFONT ( 6, 53 ) ;
		Size = MAP_APPFONT ( 42, 8 ) ;
		Text [ en-US ] = "~Spacing" ;
	};
	MetricField MF_ABSTAND
	{
		HelpID = "cui:MetricField:RID_SVXPAGE_CAPTION:MF_ABSTAND" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 50, 51 ) ;
		Size = MAP_APPFONT ( 50, 12 ) ;
		TabStop = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Maximum = 240000 ;
		StrictFormat = TRUE ;
		DecimalDigits = 2 ;
		Unit = FUNIT_MM ;
		SpinSize = 50 ;
	};
	FixedText FT_WINKEL
	{
		Pos = MAP_APPFONT ( 106, 53 ) ;
		Size = MAP_APPFONT ( 35, 8 ) ;
		Text [ en-US ] = "~Angle" ;
	};
	ListBox LB_WINKEL
	{
		HelpID = "cui:ListBox:RID_SVXPAGE_CAPTION:LB_WINKEL" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 143, 51 ) ;
		Size = MAP_APPFONT ( 50, 60 ) ;
		TabStop = TRUE ;
		DropDown = TRUE ;
		CurPos = 0 ;
		StringList [ en-US ] =
		{
			< "Free" ; 1 ; > ;
			< "30 Degrees" ; 3000 ;	> ;
			< "45 Degrees" ; 4500 ;	> ;
			< "60 Degrees" ; 6000 ;	> ;
			< "90 Degrees" ; 9000 ;	> ;
		};
	};
	FixedText FT_ANSATZ
	{
		Pos = MAP_APPFONT ( 6, 69 ) ;
		Size = MAP_APPFONT ( 42, 8 ) ;
		Text [ en-US ] = "~Extension" ;
	};
	ListBox LB_ANSATZ
	{
		HelpID = "cui:ListBox:RID_SVXPAGE_CAPTION:LB_ANSATZ" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 50, 67 ) ;
		Size = MAP_APPFONT ( 50, 60 ) ;
		TabStop = TRUE ;
		DropDown = TRUE ;
		CurPos = 0 ;
		StringList [ en-US ] =
		{
			< "Optimal" ; 4		; > ;
			< "From top" ; 3	; > ;
			< "From left" ; 3	; > ;
			< "Horizontal" ; 1	; > ;
			< "Vertical" ; 2	; > ;
		};
	};
	FixedText FT_UM
	{
		Pos = MAP_APPFONT ( 106, 69 ) ;
		Size = MAP_APPFONT ( 35, 8 ) ;
		Text [ en-US ] = "~By" ;
	};
	MetricField MF_ANSATZ
	{
		HelpID = "cui:MetricField:RID_SVXPAGE_CAPTION:MF_ANSATZ" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 143, 67 ) ;
		Size = MAP_APPFONT ( 50, 12 ) ;
		TabStop = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Maximum = 240000 ;
		StrictFormat = TRUE ;
		DecimalDigits = 2 ;
		Unit = FUNIT_MM ;
		SpinSize = 50 ;
	};
	FixedText FT_ANSATZ_REL
	{
		Pos = MAP_APPFONT ( 106, 69 ) ;
		Size = MAP_APPFONT ( 35, 8 ) ;
		Text [ en-US ] = "~Position" ;
	};
	ListBox LB_ANSATZ_REL
	{
		HelpID = "cui:ListBox:RID_SVXPAGE_CAPTION:LB_ANSATZ_REL" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 143, 67 ) ;
		Size = MAP_APPFONT ( 50, 60 ) ;
		TabStop = TRUE ;
		DropDown = TRUE ;
	};
	FixedText FT_LAENGE
	{
		Pos = MAP_APPFONT ( 6, 85 ) ;
		Size = MAP_APPFONT ( 42, 8 ) ;
		Text [ en-US ] = "~Length" ;
	};
	MetricField MF_LAENGE
	{
		HelpID = "cui:MetricField:RID_SVXPAGE_CAPTION:MF_LAENGE" ;
		Border = TRUE ;
		Pos = MAP_APPFONT ( 50, 83 ) ;
		Size = MAP_APPFONT ( 50, 12 ) ;
		TabStop = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Maximum = 240000 ;
		StrictFormat = TRUE ;
		DecimalDigits = 2 ;
		Unit = FUNIT_MM ;
		SpinSize = 50 ;
	};
	CheckBox CB_LAENGE
	{
		HelpID = "cui:CheckBox:RID_SVXPAGE_CAPTION:CB_LAENGE" ;
		Pos = MAP_APPFONT ( 106, 84 ) ;
		Size = MAP_APPFONT ( 50, 10 ) ;
		TabStop = TRUE ;
		Text [ en-US ] = "~Optimal" ;
	};
	String STR_CAPTTYPE_1
	{
		Text [ en-US ] = "Straight Line" ;
	};
	String STR_CAPTTYPE_2
	{
		Text [ en-US ] = "Angled Line" ;
	};
	String STR_CAPTTYPE_3
	{
		Text [ en-US ] = "Angled Connector Line" ;
	};
	String STR_CAPTTYPE_4
	{
		Text [ en-US ] = "Double-angled line" ;
	};
	String STR_HORZ_LIST
	{
		Text [ en-US ] = "Top;Middle;Bottom" ;
	};
	String STR_VERT_LIST
	{
		Text [ en-US ] = "Left;Middle;Right" ;
	};
	Bitmap BMP_CAPTTYPE_1
	{
		File = "legtyp1.png" ;
	};
	Bitmap BMP_CAPTTYPE_2
	{
		File = "legtyp2.png" ;
	};
	Bitmap BMP_CAPTTYPE_3
	{
		File = "legtyp3.png" ;
	};
	Bitmap BMP_CAPTTYPE_4
	{
		File = "legtyp4.png" ;
	};
	Bitmap BMP_CAPTTYPE_1_H
	{
		File = "legtyp1_hc.png" ;
	};
	Bitmap BMP_CAPTTYPE_2_H
	{
		File = "legtyp2_hc.png" ;
	};
	Bitmap BMP_CAPTTYPE_3_H
	{
		File = "legtyp3_hc.png" ;
	};
	Bitmap BMP_CAPTTYPE_4_H
	{
		File = "legtyp4_hc.png" ;
	};
};
// RID_SVXDLG_CAPTION ----------------------------------------------------

#define _POS_SIZE_TEXT \
				Text [ en-US ] = "Position and Size" ; \

TabDialog RID_SVXDLG_CAPTION\
{
	OutputSize = TRUE ;
	SVLook = TRUE ;
	Size = MAP_APPFONT ( 237, 161 ) ;
	Text [ en-US ] = "Callouts" ; \
	Moveable = TRUE ;
	TabControl TAB_CONTROL\
	{
		OutputSize = TRUE ;
		Pos = MAP_APPFONT ( 3, 3 ) ;
		Size = MAP_APPFONT ( 189, 97 ) ;
		PageList =
		{
			PageItem\
			{
				Identifier = RID_SVXPAGE_POSITION_SIZE ;
				PageResID = RID_SVXPAGE_POSITION_SIZE ;
				_POS_SIZE_TEXT
			};
			PageItem
			{
				Identifier = RID_SVXPAGE_SWPOSSIZE ;
				PageResID = RID_SVXPAGE_SWPOSSIZE ;
				_POS_SIZE_TEXT
			};
			PageItem
			{
				Identifier = RID_SVXPAGE_CAPTION ;
				PageResID = RID_SVXPAGE_CAPTION ;
				Text [ en-US ] = "Callout" ;
			};
		};
	};
};

// ********************************************************************** EOF
