#if !defined(AFX_LEADERTEXTDLG_H__E3930B7E_88F8_406D_BC45_42A383D046A1__INCLUDED_) #define AFX_LEADERTEXTDLG_H__E3930B7E_88F8_406D_BC45_42A383D046A1__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // LeaderTextDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CLeaderDlg dialog #include "Resource.h" #include "BaseTextDlg.h" class CLeaderDlg : public CBaseTextDlg { // Construction public: DECLARE_DYNAMIC(CLeaderDlg) CLeaderDlg(BOOL bEdit, CWnd* pParent = NULL); // standard constructor CLeaderDlg(BOOL bEdit,UINT resID,CWnd*pParent=NULL); virtual void Dlg2Obj(TDbSymbMultiLeader *pText); virtual void Obj2Dlg(TDbSymbMultiLeader *pText); void SetCheckBoxStatus(BOOL bEnableFlag = TRUE); // Dialog Data //{{AFX_DATA(CLeaderDlg) enum { IDD = IDD_LEADER_TEXT }; CComboBox m_comboInputText; CComboBox m_comboInputText1; //modify by lgy 20120206 固定角度要有记忆功能 //CString m_sFixAngle; //BOOL m_bFixAngle; static CString m_sFixAngle; static BOOL m_bFixAngle; //}}AFX_DATA static CString g_csArrowSize; static CString m_strInputUp; static CString m_strInputDown; static BOOL m_bContinue; // Add by lcf on 2005-06-29 static BOOL m_bAllPtsOnLine; // sg add 090327,是否将其他标注点都绘制在一条引线上 static int m_nTextAlign; // sg add 090402,增加文字相对于基线的对齐方式 static int s_iLeaderStyle; //引线平行复选框 add by lxb on 111229 int GetLeaderStyle(); void AddToRecent(); XStringList m_lstHistory, m_lstHistory1; BOOL m_bEditObj; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CLeaderDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL virtual CWnd* GetCurWnd(); virtual void UpdateInputText(); // Implementation protected: void LoadHisText(); // Generated message map functions //{{AFX_MSG(CLeaderDlg) virtual BOOL OnInitDialog(); virtual void OnOK(); afx_msg void OnUnChangeAngle(); afx_msg void OnCHKOnline(); afx_msg void OnCHKLeader(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; class CEditLeaderDlg : public CLeaderDlg { public: DECLARE_DYNAMIC(CEditLeaderDlg) CEditLeaderDlg(CWnd* pParent = NULL); enum { IDD = IDD_EDIT_LEADER }; DECLARE_MESSAGE_MAP() afx_msg void OnBnClickedAdddim(); afx_msg void OnBnClickedCheckOnline(); afx_msg void OnBnClickedChkEditleaer(); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_LEADERTEXTDLG_H__E3930B7E_88F8_406D_BC45_42A383D046A1__INCLUDED_)