/*------------------------------------------------------------------------------*
 * File Name:				 													*
 * Creation: 																	*
 * Purpose: OriginC Source H file												*
 * Copyright (c) ABCD Corp.	2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010		*
 * All Rights Reserved															*
 * 																				*
 * Modification Log:															*
 *------------------------------------------------------------------------------*/
 
////////////////////////////////////////////////////////////////////////////////////
// Including the system header file Origin.h should be sufficient for most Origin
// applications and is recommended. Origin.h includes many of the most common system
// header files and is automatically pre-compiled when Origin runs the first time.
// Programs including Origin.h subsequently compile much more quickly as long as
// the size and number of other included header files is minimized. All NAG header
// files are now included in Origin.h and no longer need be separately included.
//
// Right-click on the line below and select 'Open "Origin.h"' to open the Origin.h
// system header file.
#include <Origin.h>
////////////////////////////////////////////////////////////////////////////////////



///Folger 04/12/07 QA70-9575 v8.0599 PRINT_OPTIONS_FOR_WKS_PRINT
enum
{
	PRINT_UNITS_MM = 0,
	PRINT_UNITS_INCH
};
#define STR_PRINT_UNITS_INIT_ATTRIB "Init" // CPY 5/22/07 USING_SAME_FUNCTION_FOR_DLG_AND_INIT

/// RVD 4/4/2007 QA70-9574 GRID_PRINT_SETTINGS
#define	MARGIN_MM_FACTOR	GRID_PRINT_MARGIN_FACTOR_MM
#define	MARGIN_INCH_FACTOR	(25.4 * GRID_PRINT_MARGIN_FACTOR_MM)
/// end GRID_PRINT_SETTINGS

bool unit_convertion(TreeNode& myTree, int nRow, int nCol, TreeNode& trNode, DWORD dwCntrl, int nType, WndContainer& theDlg);
bool print_option_construct_tree(TreeNode &tr, const DWORD &dwSet, const TreeNode & trMargin);
BOOL wks_print_option(TreeNode &trSettings, HWND hWndParent);