|
|
|
|
#if !defined(AFX_PRINTSETUPRS_H__5A142F83_C93B_11D7_89A5_000629A6E157__INCLUDED_)
|
|
|
|
|
#define AFX_PRINTSETUPRS_H__5A142F83_C93B_11D7_89A5_000629A6E157__INCLUDED_
|
|
|
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif // _MSC_VER > 1000
|
|
|
|
|
// PrintSetupRS.h : header file
|
|
|
|
|
//
|
|
|
|
|
#ifdef BUILD_GUIDLL
|
|
|
|
|
#define DLLCLASS __declspec(dllexport)
|
|
|
|
|
#else
|
|
|
|
|
#define DLLCLASS __declspec(dllimport)
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// CPrintSetupRS DAO recordset
|
|
|
|
|
|
|
|
|
|
class DLLCLASS CPrintSetupRS : public CDaoRecordset
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CPrintSetupRS(CDaoDatabase* pDatabase = NULL);
|
|
|
|
|
DECLARE_DYNAMIC(CPrintSetupRS)
|
|
|
|
|
|
|
|
|
|
// Field/Param Data
|
|
|
|
|
// {{AFX_FIELD(CPrintSetupRS, CDaoRecordset)
|
|
|
|
|
CString m_Setting_Header_Text;
|
|
|
|
|
CString m_Setting_Footer_Text;
|
|
|
|
|
CString m_Setting_Content_Format;
|
|
|
|
|
CString m_Setting_Header_Font_Type;
|
|
|
|
|
CString m_Setting_Footer_Font_Type;
|
|
|
|
|
CString m_Setting_Content_Font_Type;
|
|
|
|
|
short m_Setting_Header_Font_Size;
|
|
|
|
|
short m_Setting_Footer_Font_Size;
|
|
|
|
|
short m_Setting_Content_Font_Size;
|
|
|
|
|
short m_Setting_Margin_Top;
|
|
|
|
|
short m_Setting_Margin_Bottom;
|
|
|
|
|
short m_Setting_Margin_Left;
|
|
|
|
|
short m_Setting_Margin_Right;
|
|
|
|
|
CString m_Lot_Header_Text;
|
|
|
|
|
CString m_Lot_Footer_Text;
|
|
|
|
|
CString m_Lot_Content_Format;
|
|
|
|
|
CString m_Lot_Header_Font_Type;
|
|
|
|
|
CString m_Lot_Footer_Font_Type;
|
|
|
|
|
CString m_Lot_Content_Font_Type;
|
|
|
|
|
short m_Lot_Header_Font_Size;
|
|
|
|
|
short m_Lot_Footer_Font_Size;
|
|
|
|
|
short m_Lot_Content_Font_Size;
|
|
|
|
|
short m_Lot_Margin_Top;
|
|
|
|
|
short m_Lot_Margin_Bottom;
|
|
|
|
|
short m_Lot_Margin_Left;
|
|
|
|
|
short m_Lot_Margin_Right;
|
|
|
|
|
CString m_Package_Header_Text;
|
|
|
|
|
CString m_Package_Footer_Text;
|
|
|
|
|
CString m_Package_Content_Format;
|
|
|
|
|
CString m_Package_Header_Font_Type;
|
|
|
|
|
CString m_Package_Footer_Font_Type;
|
|
|
|
|
CString m_Package_Content_Font_Type;
|
|
|
|
|
short m_Package_Header_Font_Size;
|
|
|
|
|
short m_Package_Footer_Font_Size;
|
|
|
|
|
short m_Package_Content_Font_Size;
|
|
|
|
|
short m_Package_Margin_Top;
|
|
|
|
|
short m_Package_Margin_Bottom;
|
|
|
|
|
short m_Package_Margin_Left;
|
|
|
|
|
short m_Package_Margin_Right;
|
|
|
|
|
CString m_Lot_Msg_Header_Text;
|
|
|
|
|
CString m_Lot_Msg_Footer_Text;
|
|
|
|
|
CString m_Lot_Msg_Content_Format;
|
|
|
|
|
CString m_Lot_Msg_Header_Font_Type;
|
|
|
|
|
CString m_Lot_Msg_Footer_Font_Type;
|
|
|
|
|
CString m_Lot_Msg_Content_Font_Type;
|
|
|
|
|
short m_Lot_Msg_Header_Font_Size;
|
|
|
|
|
short m_Lot_Msg_Footer_Font_Size;
|
|
|
|
|
short m_Lot_Msg_Content_Font_Size;
|
|
|
|
|
short m_Lot_Msg_Margin_Top;
|
|
|
|
|
short m_Lot_Msg_Margin_Bottom;
|
|
|
|
|
short m_Lot_Msg_Margin_Left;
|
|
|
|
|
short m_Lot_Msg_Margin_Right;
|
|
|
|
|
// }}AFX_FIELD
|
|
|
|
|
|
|
|
|
|
// Overrides
|
|
|
|
|
// ClassWizard generated virtual function overrides
|
|
|
|
|
// {{AFX_VIRTUAL(CPrintSetupRS)
|
|
|
|
|
public:
|
|
|
|
|
virtual CString GetDefaultDBName(); // Default database name
|
|
|
|
|
virtual CString GetDefaultSQL(); // Default SQL for Recordset
|
|
|
|
|
virtual void DoFieldExchange(CDaoFieldExchange* pFX); // RFX support
|
|
|
|
|
// }}AFX_VIRTUAL
|
|
|
|
|
|
|
|
|
|
// Close Recordset and close database
|
|
|
|
|
virtual void Close();
|
|
|
|
|
|
|
|
|
|
// Implementation
|
|
|
|
|
#ifdef _DEBUG
|
|
|
|
|
virtual void AssertValid() const;
|
|
|
|
|
virtual void Dump(CDumpContext& dc) const;
|
|
|
|
|
#endif
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// {{AFX_INSERT_LOCATION}}
|
|
|
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
|
|
|
|
|
|
#endif // !defined(AFX_PRINTSETUPRS_H__5A142F83_C93B_11D7_89A5_000629A6E157__INCLUDED_)
|