Files
envi-code/SourceCode/Code2026/tg_shs/shs_annotate/SheetTitileDlg.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

73 lines
1.9 KiB
C++

#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<XString> 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_)