/**************************************************************
 * 
 * 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 "helpid.hrc"
#include <svx/dialogs.hrc>
#include "fontworkgallery.hrc"
#include "svtools/controldims.hrc"

#define WIDTH 						256
#define HEIGHT 						256

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

ModalDialog RID_SVX_MDLG_FONTWORK_GALLERY
{
    HelpID = "svx:ModalDialog:RID_SVX_MDLG_FONTWORK_GALLERY";
	OutputSize = TRUE;
	SVLook = TRUE ;
	Moveable = TRUE;
	Closeable = TRUE;

	Size = MAP_APPFONT( WIDTH, HEIGHT );

	Text [ en-US ] = "Fontwork Gallery" ;

    FixedLine FL_FAVORITES
	{
        Pos = MAP_APPFONT ( 3 , 3 ) ;
        Size = MAP_APPFONT ( WIDTH - 6 , 8 ) ;
		Text [ en-US ] = "Select a Fontwork style:" ;
	};
	Control CTL_FAVORITES
	{
		HelpId = HID_CTL_FONTWORK_FAVORITES ;
		Border = FALSE ;
        Pos = MAP_APPFONT ( 3 , 14 ) ;
        Size = MAP_APPFONT ( WIDTH - 6,
                             HEIGHT - RSC_CD_PUSHBUTTON_HEIGHT -
                             6 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
		TabStop = TRUE ;
	};
	OkButton BTN_OK
	{
        Pos = MAP_APPFONT ( WIDTH - 3 * RSC_CD_PUSHBUTTON_WIDTH - 9 ,
                            HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH,
                             RSC_CD_PUSHBUTTON_HEIGHT ) ;
		TabStop = TRUE ;
	};
	CancelButton BTN_CANCEL
	{
        Pos = MAP_APPFONT ( WIDTH - 2 * RSC_CD_PUSHBUTTON_WIDTH - 6 ,
                            HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH,
                             RSC_CD_PUSHBUTTON_HEIGHT ) ;
		TabStop = TRUE ;
	};
    HelpButton BTN_HELP
	{
        Pos = MAP_APPFONT ( WIDTH - 1 * RSC_CD_PUSHBUTTON_WIDTH - 3 ,
                            HEIGHT - 3 - RSC_CD_PUSHBUTTON_HEIGHT ) ;
        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH,
                             RSC_CD_PUSHBUTTON_HEIGHT ) ;
		TabStop = TRUE ;
	};
	String STR_CLICK_TO_ADD_TEXT
	{
		Text [ en-US ] = "Click to edit text" ;
	};
};

DockingWindow RID_SVXFLOAT_FONTWORK_ALIGNMENT
{
    HelpID = "svx:DockingWindow:RID_SVXFLOAT_FONTWORK_ALIGNMENT";
	Border = FALSE ;
	Hide = TRUE ;
	SVLook = TRUE ;
	Sizeable = FALSE ;
	Moveable = TRUE ;
	Closeable = TRUE ;
	Zoomable = TRUE ;

	Text [ en-US ] = "Fontwork Alignment" ;
	
	String STR_ALIGN_LEFT
	{
		Text [ en-US ] = "~Left Align";
	};
	String STR_ALIGN_CENTER
	{
		Text [ en-US ] = "~Center";
	};
	String STR_ALIGN_RIGHT
	{
		Text [ en-US ] = "~Right Align";
	};
	String STR_ALIGN_WORD
	{
		Text [ en-US ] = "~Word Justify";
	};
	String STR_ALIGN_STRETCH
	{
		Text [ en-US ] = "S~tretch Justify";
	};

	Image IMG_FONTWORK_ALIGN_LEFT_16
	{
		ImageBitmap = Bitmap { File = "fontworkalignleft_16.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_LEFT_16_H
	{
		ImageBitmap = Bitmap { File = "fontworkalignleft_16_h.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_LEFT_26
	{
		ImageBitmap = Bitmap { File = "fontworkalignleft_26.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_LEFT_26_H
	{
		ImageBitmap = Bitmap { File = "fontworkalignleft_26_h.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_CENTER_16
	{
		ImageBitmap = Bitmap { File = "fontworkaligncentered_16.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_CENTER_16_H
	{
		ImageBitmap = Bitmap { File = "fontworkaligncentered_16_h.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_CENTER_26
	{
		ImageBitmap = Bitmap { File = "fontworkaligncentered_26.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_CENTER_26_H
	{
		ImageBitmap = Bitmap { File = "fontworkaligncentered_26_h.png"; };
		MASKCOLOR
	};
	Image IMG_FONTWORK_ALIGN_RIGHT_16
	{
		ImageBitmap = Bitmap { File = "fontworkalignright_16.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_RIGHT_16_H
	{
		ImageBitmap = Bitmap { File = "fontworkalignright_16_h.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_RIGHT_26
	{
		ImageBitmap = Bitmap { File = "fontworkalignright_26.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_RIGHT_26_H
	{
		ImageBitmap = Bitmap { File = "fontworkalignright_26_h.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_WORD_16
	{
		ImageBitmap = Bitmap { File = "fontworkalignjustified_16.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_WORD_16_H
	{
		ImageBitmap = Bitmap { File = "fontworkalignjustified_16_h.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_WORD_26
	{
		ImageBitmap = Bitmap { File = "fontworkalignjustified_26.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_WORD_26_H
	{
		ImageBitmap = Bitmap { File = "fontworkalignjustified_26_h.png"; };
		MASKCOLOR
	};	
	Image IMG_FONTWORK_ALIGN_STRETCH_16
	{
		ImageBitmap = Bitmap { File = "fontworkalignstretch_16.png"; };
		MASKCOLOR
	};
	Image IMG_FONTWORK_ALIGN_STRETCH_16_H
	{
		ImageBitmap = Bitmap { File = "fontworkalignstretch_16_h.png"; };
		MASKCOLOR
	};
	Image IMG_FONTWORK_ALIGN_STRETCH_26
	{
		ImageBitmap = Bitmap { File = "fontworkalignstretch_26.png"; };
		MASKCOLOR
	};
	Image IMG_FONTWORK_ALIGN_STRETCH_26_H
	{
		ImageBitmap = Bitmap { File = "fontworkalignstretch_26_h.png"; };
		MASKCOLOR
	};
};

DockingWindow RID_SVXFLOAT_FONTWORK_CHARSPACING
{
    HelpID = "svx:DockingWindow:RID_SVXFLOAT_FONTWORK_CHARSPACING";
	Border = FALSE ;
	Hide = TRUE ;
	SVLook = TRUE ;
	Sizeable = FALSE ;
	Moveable = TRUE ;
	Closeable = TRUE ;
	Zoomable = TRUE ;

	Text [ en-US ] = "Fontwork Character Spacing" ;
	
	String STR_CHARS_SPACING_VERY_TIGHT
	{
		Text [ en-US ] = "~Very Tight";
	};
	String STR_CHARS_SPACING_TIGHT
	{
		Text [ en-US ] = "~Tight";
	};
	String STR_CHARS_SPACING_NORMAL
	{
		Text [ en-US ] = "~Normal";
	};
	String STR_CHARS_SPACING_LOOSE
	{
		Text [ en-US ] = "~Loose";
	};
	String STR_CHARS_SPACING_VERY_LOOSE
	{
		Text [ en-US ] = "Very ~Loose";
	};
	String STR_CHARS_SPACING_CUSTOM
	{
		Text [ en-US ] = "~Custom...";
	};
	String STR_CHARS_SPACING_KERN_PAIRS
	{
		Text [ en-US ] = "~Kern Character Pairs";
	};
};

ModalDialog RID_SVX_MDLG_FONTWORK_CHARSPACING
{
    HelpID = "svx:ModalDialog:RID_SVX_MDLG_FONTWORK_CHARSPACING";
	OutputSize = TRUE ;
	SVLook = TRUE ;
	Size = MAP_APPFONT ( 139 , 64 ) ;
	Moveable = TRUE ;
	Closeable = TRUE ;

	Text [ en-US ] = "Fontwork Character Spacing" ;

	OKButton BTN_OK
	{
		Pos = MAP_APPFONT ( 83 , 6 ) ;
		Size = MAP_APPFONT ( 50 , 14 ) ;
		TabStop = TRUE ;
		DefButton = TRUE ;
	};
	CancelButton BTN_CANCEL
	{
		Pos = MAP_APPFONT ( 83 , 23 ) ;
		Size = MAP_APPFONT ( 50 , 14 ) ;
		TabStop = TRUE ;
	};
	HelpButton BTN_HELP
	{
		Pos = MAP_APPFONT ( 83 , 43 ) ;
		Size = MAP_APPFONT ( 50 , 14 ) ;
		TabStop = TRUE ;
	};
	FixedText FT_VALUE
	{
		Pos = MAP_APPFONT ( 6 , 6 ) ;
		Size = MAP_APPFONT ( 76 , 8 ) ;
		Text[ en-US ] = "~Value";
	};
	MetricField MF_VALUE
	{
	    HelpID = "svx:MetricField:RID_SVX_MDLG_FONTWORK_CHARSPACING:MF_VALUE";
		Border = FALSE ;
        Pos = MAP_APPFONT ( 6 , 17 ) ;
        Size = MAP_APPFONT ( 32 , 12 ) ;
		TabStop = TRUE ;
		Repeat = TRUE ;
		Spin = TRUE ;
		Maximum = 500 ;
		StrictFormat = TRUE ;
		Unit = FUNIT_CUSTOM ;
        CustomUnitText = "%" ;
		Last = 100 ;
		SpinSize = 5 ;
	};
};

