#if !defined(AFX_PROPERTYDLG_H__16513BFE_62A2_4536_A1C9_E629193658A5__INCLUDED_)
#define AFX_PROPERTYDLG_H__16513BFE_62A2_4536_A1C9_E629193658A5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PropertyDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPropertyDlg dialog
#include "RectProperDlg.h"
#include "TextPropDlg.h"
#include "TablePropDlg.h"
#include "PictureSetupDlg.h"
#include "TableContentTitleSetupdlg.h"
#include "DiagramPropDlg.h"
#include "LegendPropDlg.h"
#include "CoordinatePropPage.h"
#include "GistogramPropDlg.h"
#include <AplGuiEx.h>

class AFX_CLASS_EXPORT CPropertyDlg : public CaplTranslateDialog
{
// Construction
protected:
	CReportElement* elem;
public:
	RE_Array *m_elements;
	int mode;//ReportMode - режим просмотра или редактирования
	CPropertyDlg(CWnd* pParent = NULL);   // standard constructor

	CRectProperDlg				m_rect_prop;
	CTextPropDlg				m_text_prop;
	CTablePropDlg				m_table_prop;	
	CPictureSetupDlg			m_picture_prop;
	CTableContentTitleSetupdlg	m_tct_prop;
	CDiagramPropDlg				m_diagram_prop;
	CLegendPropDlg				m_legend_prop;
	CCoordinatePropPage			m_coordinate_prop;
	CGistogramPropDlg			m_gistogram_prop;

// Dialog Data
	//{{AFX_DATA(CPropertyDlg)
	enum { IDD = IDD_PROPERTY };
	//CaplStaticImage	m_ImageCtrl;
	CaplButton	m_ok_btn;
	CaplButton	m_cancel_btn;
	CTabCtrl	m_tab_ctrl;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPropertyDlg)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:

	// Generated message map functions
	//{{AFX_MSG(CPropertyDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult);
	virtual void OnOK();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROPERTYDLG_H__16513BFE_62A2_4536_A1C9_E629193658A5__INCLUDED_)
