embedding/tests/mfcembed/PrintSetupDialog.h - Revision 1.1

There were 5 changes made.
Legend
   Added lines
   Changed lines
   Removed lines

embedding/tests/mfcembed/PrintSetupDialog.h,1.1
.
Disk File
Skipping to line 15. 
{
.
{
// Construction
.
// Construction
public:
.
public:
	CPrintSetupDialog(nsIPrintSettings* aPrintSettings, CWnd* pParent = NULL);   
// standard constructor
.
	CPrintSetupDialog(nsIPrintSettings* aPrintSettings, CWnd* pParent = NULL);   
// standard constructor
  void SetPrintSettings(nsIPrintSettings* aPrintSettings);
.
  void SetPrintSettings(nsIPrintSettings* aPrintSettings);
 
.
  void GetPaperSizeInfo(short& aType, double& aWidth, double& aHeight);
 
.
 
// Dialog Data
.
// Dialog Data
	//{{AFX_DATA(CPrintSetupDialog)
.
	//{{AFX_DATA(CPrintSetupDialog)
	enum { IDD = IDD_PRINTSETUP_DIALOG };
.
	enum { IDD = IDD_PRINTSETUP_DIALOG };
	CString	m_BottomMargin;
.
	CString	m_BottomMargin;
Skipping to line 27. 
	CString	m_RightMargin;
.
	CString	m_RightMargin;
	CString	m_TopMargin;
.
	CString	m_TopMargin;
	int		m_Scaling;
.
	int		m_Scaling;
	BOOL	m_PrintBGImages;
.
	BOOL	m_PrintBGImages;
	BOOL	m_PrintBGColors;
.
	BOOL	m_PrintBGColors;
 
.
	CString	m_PaperSize;
 
.
	double	m_PaperHeight;
 
.
	double	m_PaperWidth;
 
.
	int		m_IsInches;
 
.
	CString	m_FooterLeft;
 
.
	CString	m_FooterMiddle;
 
.
	CString	m_FooterRight;
 
.
	CString	m_HeaderLeft;
 
.
	CString	m_HeaderMiddle;
 
.
	CString	m_HeaderRight;
	//}}AFX_DATA
.
	//}}AFX_DATA
 
.
 
 
.
	int		m_PaperSizeInx;
 
.
 
// Overrides
.
// Overrides
	// ClassWizard generated virtual function overrides
.
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPrintSetupDialog)
.
	//{{AFX_VIRTUAL(CPrintSetupDialog)
	protected:
.
	protected:
Skipping to line 52. 
 
.
 
// Implementation
.
// Implementation
protected:
.
protected:
  nsIPrintSettings* m_PrintSettings;
.
  nsIPrintSettings* m_PrintSettings;
 
.
 
 
.
  void EnableUserDefineControls(BOOL aEnable);
 
.
  int  GetPaperSizeIndexFromData(short aType, double aW, double aH);
 
.
  int  GetPaperSizeIndex(const CString& aStr);
 
.
 
	// Generated message map functions
.
	// Generated message map functions
	//{{AFX_MSG(CPrintSetupDialog)
.
	//{{AFX_MSG(CPrintSetupDialog)
	virtual void OnOK();
.
	virtual void OnOK();
	virtual BOOL OnInitDialog();
.
	virtual BOOL OnInitDialog();
	afx_msg void OnCustomdrawScale(NMHDR* pNMHDR, LRESULT* pResult);
.
	afx_msg void OnCustomdrawScale(NMHDR* pNMHDR, LRESULT* pResult);
Skipping to line 67. 
 
.
	afx_msg void OnSelchangePaperSizeCbx();
	//}}AFX_MSG
.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
.
	DECLARE_MESSAGE_MAP()
};
.
};
 
.
 
//{{AFX_INSERT_LOCATION}}
.
//{{AFX_INSERT_LOCATION}}