#if !defined(AFX_SHEETTITILEDLG_H__8E6A238F_2A33_4B47_8BDA_424DD3F0DCEA__INCLUDED_) #define AFX_SHEETTITILEDLG_H__8E6A238F_2A33_4B47_8BDA_424DD3F0DCEA__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SheetTitileDlg.h : header file // #include "GridStyleDialog.h" ///////////////////////////////////////////////////////////////////////////// // CSheetTitleDlg dialog class CSheetTitleDlg : public CGridStyleDialog { protected: DList m_lstLineWidths; Adesk::UInt16 m_nLineColor; Adesk::UInt16 m_nParentLineColor; double m_nParentLineWidth; //线宽 double m_nParentRowHeight; //行高 BOOL m_bParentNoBorder; // Construction public: CSheetTitleDlg(CWnd* pParent = NULL); // standard constructor void Obj2Dlg(const TDbSheet *pSheet); void Dlg2Obj(TDbSheet *pSheet) const; // Dialog Data //{{AFX_DATA(CSheetTitleDlg) enum { IDD = IDD_SHEE_TITLE }; CComboBox m_lineWidthBox; CComboBox m_divLinetypeBox; CAcUiColorComboBox m_divColorBox; BOOL m_bNoBorder; BOOL m_bTitleInVisible; BOOL m_bInheritDivider; CString m_divLineWidth; CString m_csText; BOOL m_bInheritRowHeight; CString m_csTitleHeight; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSheetTitleDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: void EnableDlgItems(BOOL bTrue); // Generated message map functions //{{AFX_MSG(CSheetTitleDlg) virtual BOOL OnInitDialog(); afx_msg void OnInheritDivider(); afx_msg void OnTitleInvisible(); afx_msg void OnInheritRowheight(); virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SHEETTITILEDLG_H__8E6A238F_2A33_4B47_8BDA_424DD3F0DCEA__INCLUDED_)