#if !defined(AFX_TEXTSETTINGDLG_H__83D46877_F6FA_4329_ADA3_B1BC7AD440CC__INCLUDED_) #define AFX_TEXTSETTINGDLG_H__83D46877_F6FA_4329_ADA3_B1BC7AD440CC__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // TextSettingDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CTextSettingDlg dialog #include "Resource.h" class CTextSettingDlg : public CDialog { // Construction public: CTextSettingDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CTextSettingDlg) enum { IDD = IDD_TEXT_SETTING }; CComboBox m_comboEng10; CComboBox m_comboChn10; CComboBox m_comboEng9; CComboBox m_comboChn9; CComboBox m_comboChn8; CComboBox m_comboEng8; CComboBox m_comboEng7; CComboBox m_comboEng6; CComboBox m_comboEng5; CComboBox m_comboEng4; CComboBox m_comboEng3; CComboBox m_comboEng2; CComboBox m_comboEng1; CComboBox m_comboChn7; CComboBox m_comboChn6; CComboBox m_comboChn5; CComboBox m_comboChn4; CComboBox m_comboChn3; CComboBox m_comboChn2; CComboBox m_comboChn1; CString m_csPipeDnStyle; CString m_csVPipeStyle; CString m_csPipeTextStyle; CString m_csCircleTextStyle; CString m_csDimWellStyle; CString m_csSheetStyle; CString m_csDimStyle; BOOL m_bWin1; BOOL m_bWin2; BOOL m_bWin3; BOOL m_bWin4; BOOL m_bWin5; BOOL m_bWin6; BOOL m_bWin7; int m_iChn1; int m_iChn2; int m_iChn3; int m_iChn4; int m_iChn5; int m_iChn6; int m_iChn7; int m_iEng1; int m_iEng2; int m_iEng3; int m_iEng4; int m_iEng5; int m_iEng6; int m_iEng7; double m_nHeight1; double m_nHeight2; double m_nHeight3; double m_nHeight4; double m_nHeight5; double m_nHeight6; double m_nHeight7; double m_nScale1; double m_nScale2; double m_nScale3; double m_nScale4; double m_nScale5; double m_nScale6; double m_nScale7; double m_nScale8; double m_nHeight8; int m_iEng8; int m_iChn8; BOOL m_bWin8; CString m_csTextLineStyle; BOOL m_bWin9; int m_iChn9; int m_iEng9; double m_nHeight9; double m_nScale9; CString m_csSanTextStyle; // cet 2010.10.16 add 洁具标注属性 BOOL m_bWin10; int m_iChn10; int m_iEng10; double m_nHeight10; double m_nScale10; CString m_csPipeElevStyle; //}}AFX_DATA XStringList m_lstChnShx; XStringList m_lstEngShx; void ResetCombo(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CTextSettingDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: void LoadFontList(); // AutoCAD and Windows 字体的导入 void OnCheckWinFont(); void Save(); void UpdateTextStyle(const TCHAR* szSyle, const TCHAR* szChn, const TCHAR* szEng, double nHeight, double nScale); // Generated message map functions //{{AFX_MSG(CTextSettingDlg) virtual BOOL OnInitDialog(); afx_msg void OnCheckWin1(); afx_msg void OnCheckWin2(); afx_msg void OnCheckWin3(); afx_msg void OnCheckWin4(); afx_msg void OnCheckWin5(); afx_msg void OnCheckWin6(); afx_msg void OnCheckWin7(); virtual void OnOK(); afx_msg void OnCheckWin8(); afx_msg void OnCheckWin9(); // cet 2010.12.16 add afx_msg void OnCheckWin10(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_TEXTSETTINGDLG_H__83D46877_F6FA_4329_ADA3_B1BC7AD440CC__INCLUDED_)