summaryrefslogtreecommitdiff
path: root/apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.cpp')
-rw-r--r--apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.cpp140
1 files changed, 0 insertions, 140 deletions
diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.cpp b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.cpp
deleted file mode 100644
index 72a5ada..0000000
--- a/apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.cpp
+++ /dev/null
@@ -1,140 +0,0 @@
-// ActiveDiathekePpg.cpp : Implementation of the CActiveDiathekePropPage property page class.
-
-#include "stdafx.h"
-#include "ActiveDiatheke.h"
-#include "ActiveDiathekePpg.h"
-#include "../../../console/diatheke/corediatheke.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#undef THIS_FILE
-static char THIS_FILE[] = __FILE__;
-#endif
-
-
-IMPLEMENT_DYNCREATE(CActiveDiathekePropPage, COlePropertyPage)
-
-
-/////////////////////////////////////////////////////////////////////////////
-// Message map
-
-BEGIN_MESSAGE_MAP(CActiveDiathekePropPage, COlePropertyPage)
- //{{AFX_MSG_MAP(CActiveDiathekePropPage)
- // NOTE - ClassWizard will add and remove message map entries
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG_MAP
-END_MESSAGE_MAP()
-
-
-/////////////////////////////////////////////////////////////////////////////
-// Initialize class factory and guid
-
-IMPLEMENT_OLECREATE_EX(CActiveDiathekePropPage, "ACTIVEDIATHEKE.ActiveDiathekePropPage.1",
- 0x8b2a25a0, 0xf098, 0x405e, 0x90, 0xa0, 0x16, 0x53, 0x31, 0x8c, 0xe9, 0x7c)
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CActiveDiathekePropPage::CActiveDiathekePropPageFactory::UpdateRegistry -
-// Adds or removes system registry entries for CActiveDiathekePropPage
-
-BOOL CActiveDiathekePropPage::CActiveDiathekePropPageFactory::UpdateRegistry(BOOL bRegister)
-{
- if (bRegister)
- return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
- m_clsid, IDS_ACTIVEDIATHEKE_PPG);
- else
- return AfxOleUnregisterClass(m_clsid, NULL);
-}
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CActiveDiathekePropPage::CActiveDiathekePropPage - Constructor
-
-CActiveDiathekePropPage::CActiveDiathekePropPage() :
- COlePropertyPage(IDD, IDS_ACTIVEDIATHEKE_PPG_CAPTION)
-{
- //{{AFX_DATA_INIT(CActiveDiathekePropPage)
- m_book = _T("KJV");
- m_key = _T("John 3:16");
- m_locale = _T("en");
- m_maxverses = -1;
- m_searchtype = ST_NONE;
- m_strongs = FALSE;
- m_footnotes = FALSE;
- m_headings = FALSE;
- m_morphology = FALSE;
- m_outputformat = FMT_RTF;
- m_autoupdate = FALSE;
- m_script = _T("Off");
- m_hpoints = TRUE;
- m_hcantillation = FALSE;
- m_gaccents = TRUE;
- m_arshape = FALSE;
- m_bidireorder = FALSE;
- m_outputencoding = ENC_RTF;
- m_scripref = TRUE;
- m_variants = 0;
- //}}AFX_DATA_INIT
-}
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CActiveDiathekePropPage::DoDataExchange - Moves data between page and properties
-
-void CActiveDiathekePropPage::DoDataExchange(CDataExchange* pDX)
-{
- //{{AFX_DATA_MAP(CActiveDiathekePropPage)
- DDX_Control(pDX, IDC_SPIN2, m_variantsSpinCtrl);
- DDX_Control(pDX, IDC_SPIN1, m_maxversesSpinCtrl);
- DDP_Text(pDX, IDC_BOOK, m_book, _T("book") );
- DDX_Text(pDX, IDC_BOOK, m_book);
- DDP_Text(pDX, IDC_KEY, m_key, _T("key") );
- DDX_Text(pDX, IDC_KEY, m_key);
- DDP_Text(pDX, IDC_LOCALE, m_locale, _T("locale") );
- DDX_Text(pDX, IDC_LOCALE, m_locale);
- DDP_Text(pDX, IDC_MAXVERSES, m_maxverses, _T("maxverses") );
- DDX_Text(pDX, IDC_MAXVERSES, m_maxverses);
- DDV_MinMaxLong(pDX, m_maxverses, -1, 64000);
- DDP_CBIndex(pDX, IDV_SEARCHTYPE, m_searchtype, _T("searchtype") );
- DDX_CBIndex(pDX, IDV_SEARCHTYPE, m_searchtype);
- DDP_Check(pDX, IDC_STRONGS, m_strongs, _T("strongs") );
- DDX_Check(pDX, IDC_STRONGS, m_strongs);
- DDP_Check(pDX, IDC_FOOTNOTES, m_footnotes, _T("footnotes") );
- DDX_Check(pDX, IDC_FOOTNOTES, m_footnotes);
- DDP_Check(pDX, IDC_HEADINGS, m_headings, _T("headings") );
- DDX_Check(pDX, IDC_HEADINGS, m_headings);
- DDP_Check(pDX, IDC_MORPHOLOGY, m_morphology, _T("morphology") );
- DDX_Check(pDX, IDC_MORPHOLOGY, m_morphology);
- DDP_CBIndex(pDX, IDC_OUTPUTFORMAT, m_outputformat, _T("outputformat") );
- DDX_CBIndex(pDX, IDC_OUTPUTFORMAT, m_outputformat);
- DDP_Check(pDX, IDC_AUTOUPDATE, m_autoupdate, _T("autoupdate") );
- DDX_Check(pDX, IDC_AUTOUPDATE, m_autoupdate);
- DDP_Text(pDX, IDC_SCRIPT, m_script, _T("script") );
- DDX_Text(pDX, IDC_SCRIPT, m_script);
- DDP_Check(pDX, IDC_HEBREWPOINTS, m_hpoints, _T("hebrewpoints") );
- DDX_Check(pDX, IDC_HEBREWPOINTS, m_hpoints);
- DDP_Check(pDX, IDC_HEBREWCANTILLATION, m_hcantillation, _T("hebrewcantillation") );
- DDX_Check(pDX, IDC_HEBREWCANTILLATION, m_hcantillation);
- DDP_Check(pDX, IDC_GREEKACCENTS, m_gaccents, _T("greekaccents") );
- DDX_Check(pDX, IDC_GREEKACCENTS, m_gaccents);
- DDP_Check(pDX, IDC_ARSHAPE, m_arshape, _T("arshape") );
- DDX_Check(pDX, IDC_ARSHAPE, m_arshape);
- DDP_Check(pDX, IDC_BIDIREORDER, m_bidireorder, _T("bidireorder") );
- DDX_Check(pDX, IDC_BIDIREORDER, m_bidireorder);
- DDP_CBIndex(pDX, IDC_OUTPUTENCODING, m_outputencoding, _T("outputencoding") );
- DDX_CBIndex(pDX, IDC_OUTPUTENCODING, m_outputencoding);
- DDP_Check(pDX, IDC_SCRIPREF, m_scripref, _T("scripref") );
- DDX_Check(pDX, IDC_SCRIPREF, m_scripref);
- DDP_Text(pDX, IDC_VARIANTS, m_variants, _T("variants") );
- DDX_Text(pDX, IDC_VARIANTS, m_variants);
- DDV_MinMaxInt(pDX, m_variants, -1, 1);
- //}}AFX_DATA_MAP
- DDP_PostProcessing(pDX);
-
- m_variantsSpinCtrl.SetRange32(-1, 1);
- m_maxversesSpinCtrl.SetRange32(-1, 64000);
-}
-
-
-/////////////////////////////////////////////////////////////////////////////
-// CActiveDiathekePropPage message handlers