/************************************************************************
 *
 * Licensed Materials - Property of IBM.
 * (C) Copyright IBM Corporation 2003, 2012.  All Rights Reserved.
 * U.S. Government Users Restricted Rights:
 * Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 *
 ************************************************************************/

//

#include <sfx2/propertypanel.hrc>
#include "helpid.h"
#include "propertysection.hrc"
#include "wrappropertypage.hrc"

#define IMAGEBUTTON_WIDTH 			16
#define IMAGEBUTTON_HEIGH 			18
#define IMAGEBUTTON_GAP			1

Control RID_PROPERTYPANEL_SWOBJWRAP_PAGE
{
	OutputSize = TRUE;
	DialogControl = TRUE;
	Border = FALSE;

	Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_BOT + SECTIONPAGE_MARGIN_VERTICAL_TOP +  IMAGEBUTTON_HEIGH );
	HelpID = HID_PROPERTYPANEL_WRAP_SECTION ;
	Text [ en-US ] = "Wrap";
	
	
	ImageRadioButton RB_NO_WRAP
	{
		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP );
		Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH );
		TopImage = True;
		HelpID = HID_PROPERTYPANEL_WRAP_RB_NO_WRAP ;
		QuickHelpText [ en-US ] = "None";
		RadioButtonImage = Image 
		{
			ImageBitmap = Bitmap{File = "none_n.png"; };
			MaskColor = IMAGE_MASK_COLOR;
		};
	};
	ImageRadioButton RB_WRAP_LEFT
	{
		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP, SECTIONPAGE_MARGIN_VERTICAL_TOP );
		Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH );
		TopImage = True;
		HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_LEFT ;
		QuickHelpText [ en-US ] = "Before";
		RadioButtonImage = Image 
		{
			ImageBitmap = Bitmap{File = "before_n.png"; };
			MaskColor = IMAGE_MASK_COLOR;
		};
	};
	ImageRadioButton RB_WRAP_RIGHT
	{
		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*2 , SECTIONPAGE_MARGIN_VERTICAL_TOP );
		Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH );
		TopImage = True;
		HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_RIGHT ;
		QuickHelpText [ en-US ] = "After";
		RadioButtonImage = Image 
		{
			ImageBitmap = Bitmap{File = "after_n.png"; };
			MaskColor = IMAGE_MASK_COLOR;
		};
	};
	ImageRadioButton RB_WRAP_PARALLEL
	{
		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*3  , SECTIONPAGE_MARGIN_VERTICAL_TOP );
		Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH );
		TopImage = True;
		HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_PARALLEL ;
		QuickHelpText [ en-US ] = "Parallel";
		RadioButtonImage = Image 
		{
			ImageBitmap = Bitmap{File = "parallel_n.png"; };
			MaskColor = IMAGE_MASK_COLOR;
		};
	};
	ImageRadioButton RB_WRAP_THROUGH
	{
		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*4   , SECTIONPAGE_MARGIN_VERTICAL_TOP );
		Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH );
		TopImage = True;
		HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_THROUGH ;
		QuickHelpText [ en-US ] = "Through";
		RadioButtonImage = Image 
		{
			ImageBitmap = Bitmap{File = "through_n.png"; };
			MaskColor = IMAGE_MASK_COLOR;
		};
	};
	ImageRadioButton RB_WRAP_IDEAL
	{
		Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*5   , SECTIONPAGE_MARGIN_VERTICAL_TOP );
		Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH );
		TopImage = True;
		HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_IDEAL ;
		QuickHelpText [ en-US ] = "Optimal";
		RadioButtonImage = Image 
		{
			ImageBitmap = Bitmap{File = "optimal_n.png"; };
			MaskColor = IMAGE_MASK_COLOR;
		};
	};

	//Enable image reource
	Image IMG_NO_ENABLE
	{
		ImageBitmap = Bitmap{File = "none_n.png"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_LEFT_ENABLE
	{
		ImageBitmap = Bitmap{File = "before_n.png"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_RIGHT_ENABLE
	{
		ImageBitmap = Bitmap{File = "after_n.png"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_PARALLEL_ENABLE
	{
		ImageBitmap = Bitmap{File = "parallel_n.png"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_THROUGH_ENABLE
	{
		ImageBitmap = Bitmap{File = "through_n.png"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_IDEAL_ENABLE
	{
		ImageBitmap = Bitmap{File = "optimal_n.png"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	
	//Enable and high contrast image reource
	Image IMG_NO_ENABLE_HIGH
	{
		ImageBitmap = Bitmap{File = "none_n_h.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_LEFT_ENABLE_HIGH
	{
		ImageBitmap = Bitmap{File = "before_n_h.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_RIGHT_ENABLE_HIGH
	{
		ImageBitmap = Bitmap{File = "after_n_h.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_PARALLEL_ENABLE_HIGH
	{
		ImageBitmap = Bitmap{File = "parallel_n_h.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_THROUGH_ENABLE_HIGH
	{
		ImageBitmap = Bitmap{File = "through_n_h.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_IDEAL_ENABLE_HIGH
	{
		ImageBitmap = Bitmap{File = "optimal_n_h.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};

	//Disable image resource
	Image IMG_NO_DISABLE
	{
		ImageBitmap = Bitmap{File = "none_d.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_LEFT_DISABLE
	{
		ImageBitmap = Bitmap{File = "before_d.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_RIGHT_DISABLE
	{
		ImageBitmap = Bitmap{File = "after_d.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_PARALLEL_DISABLE
	{
		ImageBitmap = Bitmap{File = "parallel_d.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_THROUGH_DISABLE
	{
		ImageBitmap = Bitmap{File = "through_d.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	Image IMG_IDEAL_DISABLE
	{
		ImageBitmap = Bitmap{File = "optimal_d.bmp"; };
		MaskColor = IMAGE_MASK_COLOR;
	};
	
	String STR_NO_WRAP
	{
		Text = "None";
	};
	
	String STR_WRAP_LEFT
	{
		Text = "Before";
	};
	
	String STR_WRAP_RIGHT
	{
		Text = "After";
	};
	
	String STR_WRAP_PARALLEL
	{
		Text = "Parallel";
	};
	
	String STR_WRAP_THROUGH
	{
		Text = "Through";
	};
	
	String STR_WRAP_IDEAL
	{
		Text = "Optimal";
	};
	
};
