📄 resorgreportstylesheetdlg.h
字号:
/************************************************************************
*
* Resource ID Organiser Core Library
*
* (c) Copyright 2000-2004 by Anna-Jayne Metcalfe (resorg@annasplace.me.uk)
* All rights reserved.
*
************************************************************************
*
* Filename : ResOrgReportStyleSheetDlg.h
*
* Description : CResOrgReportStyleSheetDlg - dialog class for selecting
* a stylesheet for an HTML report
*
* Compiler : Microsoft Visual C++ 6.0, Service Pack 3 or later
* Microsoft Visual C++ .NET 2003
*
* Target
* Environment : Windows 98/NT/2000/XP
*
* NOTE:
*
* This software is provided "as is" free for personal use. All
* title and copyrights in and to the software, including but not
* limited to any images, text, etc. incorporated into it, are
* owned by Anna-Jayne Metcalfe, except where acknowledged otherwise.
*
* Your may freely to use this code in your own products, PROVIDED
* this notice is not removed or modified.
*
*
* Visit http://www.annasplace.me.uk/resorg for latest updates
*
************************************************************************
*
* MODIFICATION HISTORY:
*
* This is a controlled document. See project configuration
* control tool for latest version and full version history.
*
* $Archive: /Projects/AddIns/ResOrg/ResOrgCore/ResOrgReportStyleSheetDlg.h $
* $Revision: 7 $
* $Date: 29/08/04 10:47 $
* $Author: Anna $
*
* $History: ResOrgReportStyleSheetDlg.h $
*
* ***************** Version 7 *****************
* User: Anna Date: 29/08/04 Time: 10:47
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* The Symbol Conflict Report is now a "Problem Symbol Report"
*
* ***************** Version 6 *****************
* User: Anna Date: 11/07/04 Time: 16:18
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Removed the unnecessary handler
* CResOrgReportStyleSheetDlg::OnKillFocusStyleSheetPathName()
*
* ***************** Version 5 *****************
* User: Anna Date: 10/05/04 Time: 23:52
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* The stylesheet pathname control is now a recent file combo box
*
* ***************** Version 4 *****************
* User: Anna Date: 3/11/03 Time: 13:07
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Converted the "pathname" edit control to a recent items combo box
* 2. Made the dialog resizeable
*
* ***************** Version 3 *****************
* User: Anna Date: 21/07/03 Time: 13:04
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* Added Symbol Conflict Report
*
* ***************** Version 2 *****************
* User: Anna Date: 15/04/03 Time: 20:37
* Updated in $/Projects/AddIns/ResOrg/ResOrgCore
* 1. Removed unnecessary file guards (#pragma once works well enough)
* 2. Updated file banners
*
* ***************** Version 1 *****************
* User: Anna Date: 1/03/03 Time: 18:20
* Created in $/Projects/AddIns/ResOrg/ResOrgCore
*
* $Nokeywords: $
*
************************************************************************/
#pragma once
enum
{
REPORT_TYPE_SYMBOLS,
REPORT_TYPE_PROBLEM_SYMBOLS,
REPORT_TYPE_USER_DEFINED
};
/////////////////////////////////////////////////////////////////////////////
// CResOrgReportStyleSheetDlg dialog
#define CResOrgReportStyleSheetDlg_BASE CNGDialog
/// Dialog class for selecting an XSLT stylesheet for an HTML report
///
class RESORGCORE_EXT_CLASS CResOrgReportStyleSheetDlg : public CNGDialog
{
// Construction
public:
CResOrgReportStyleSheetDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
protected:
enum { IDD = IDD_RESORG_REPORT_SELECTION };
CNGHtmlStaticCtrl m_ctrlInfoText;
int m_eStyleSheetSelect;
CString m_sStyleSheetPathName;
CNGRecentFileComboBox m_ctrlStyleSheetPathName;
CNGResizeCtrl m_Resizer;
// Operations
public:
int GetStyleSheetID(void) const;
CString GetStyleSheetPathName(void) const;
protected:
virtual BOOL OnInitDialog(void);
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnOK(void);
// Implementation
protected:
void SetAvailableControls(void);
// Message handlers
protected:
afx_msg void OnCmdStyleSheetSelect(void);
afx_msg void OnSelChangeStyleSheetPathName(void);
afx_msg void OnClickedBrowse(void);
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -