diff options
Diffstat (limited to 'apps/windoze/vc/ActiveDiatheke')
17 files changed, 2797 insertions, 0 deletions
diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.clw b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.clw new file mode 100644 index 0000000..8a16031 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.clw @@ -0,0 +1,72 @@ +; CLW file contains information for the MFC ClassWizard + +[General Info] +Version=1 +LastClass=CActiveDiathekePropPage +LastTemplate=CDialog +NewFileInclude1=#include "stdafx.h" +NewFileInclude2=#include "ActiveDiatheke.h" +CDK=Y + +ClassCount=2 +Class1=CActiveDiathekeCtrl +Class2=CActiveDiathekePropPage + +ResourceCount=2 +LastPage=0 +Resource2=IDD_PROPPAGE_ACTIVEDIATHEKE + +[CLS:CActiveDiathekeCtrl] +Type=0 +HeaderFile=ActiveDiathekeCtl.h +ImplementationFile=ActiveDiathekeCtl.cpp +Filter=W +BaseClass=COleControl +VirtualFilter=wWC + +[CLS:CActiveDiathekePropPage] +Type=0 +HeaderFile=ActiveDiathekePpg.h +ImplementationFile=ActiveDiathekePpg.cpp +Filter=D +LastObject=IDC_ARSHAPE +BaseClass=COlePropertyPage +VirtualFilter=idWC + +[DLG:IDD_PROPPAGE_ACTIVEDIATHEKE] +Type=1 +Class=CActiveDiathekePropPage +ControlCount=32 +Control1=IDC_STATIC,static,1342308352 +Control2=IDC_BOOK,edit,1350631552 +Control3=IDC_STATIC,static,1342308352 +Control4=IDC_KEY,edit,1350631552 +Control5=IDC_STATIC,static,1342308352 +Control6=IDC_LOCALE,edit,1350631552 +Control7=IDC_STATIC,static,1342308352 +Control8=IDC_MAXVERSES,edit,1350639746 +Control9=IDC_SPIN1,msctls_updown32,1342177334 +Control10=IDC_AUTOUPDATE,button,1342242819 +Control11=IDC_STATIC,static,1342308352 +Control12=IDV_SEARCHTYPE,combobox,1344339971 +Control13=IDC_STATIC,static,1342308352 +Control14=IDC_OUTPUTFORMAT,combobox,1344339971 +Control15=IDC_STATIC,static,1342308352 +Control16=IDC_SCRIPT,edit,1350631552 +Control17=IDC_STATIC,static,1342308352 +Control18=IDC_STRONGS,button,1342242819 +Control19=IDC_FOOTNOTES,button,1342242819 +Control20=IDC_HEADINGS,button,1342242819 +Control21=IDC_GREEKACCENTS,button,1342242819 +Control22=IDC_MORPHOLOGY,button,1342242819 +Control23=IDC_HEBREWCANTILLATION,button,1342242819 +Control24=IDC_HEBREWPOINTS,button,1342242819 +Control25=IDC_STATIC,static,1342308352 +Control26=IDC_VARIANTS,edit,1350639746 +Control27=IDC_SPIN2,msctls_updown32,1342177334 +Control28=IDC_STATIC,static,1342308352 +Control29=IDC_OUTPUTENCODING,combobox,1344339971 +Control30=IDC_SCRIPREF,button,1342242819 +Control31=IDC_ARSHAPE,button,1342242819 +Control32=IDC_BIDIREORDER,button,1342242819 + diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.cpp b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.cpp new file mode 100644 index 0000000..47875f1 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.cpp @@ -0,0 +1,79 @@ +// ActiveDiatheke.cpp : Implementation of CActiveDiathekeApp and DLL registration. + +#include "stdafx.h" +#include "ActiveDiatheke.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif + + +CActiveDiathekeApp NEAR theApp; + +const GUID CDECL BASED_CODE _tlid = + { 0x723c13cc, 0xfa83, 0x4fca, { 0x91, 0x5a, 0x9e, 0xca, 0x87, 0xdf, 0x11, 0xa1 } }; +const WORD _wVerMajor = 1; +const WORD _wVerMinor = 0; + + +//////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeApp::InitInstance - DLL initialization + +BOOL CActiveDiathekeApp::InitInstance() +{ + BOOL bInit = COleControlModule::InitInstance(); + + if (bInit) + { + // TODO: Add your own module initialization code here. + } + + return bInit; +} + + +//////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeApp::ExitInstance - DLL termination + +int CActiveDiathekeApp::ExitInstance() +{ + // TODO: Add your own module termination code here. + + return COleControlModule::ExitInstance(); +} + + +///////////////////////////////////////////////////////////////////////////// +// DllRegisterServer - Adds entries to the system registry + +STDAPI DllRegisterServer(void) +{ + AFX_MANAGE_STATE(_afxModuleAddrThis); + + if (!AfxOleRegisterTypeLib(AfxGetInstanceHandle(), _tlid)) + return ResultFromScode(SELFREG_E_TYPELIB); + + if (!COleObjectFactoryEx::UpdateRegistryAll(TRUE)) + return ResultFromScode(SELFREG_E_CLASS); + + return NOERROR; +} + + +///////////////////////////////////////////////////////////////////////////// +// DllUnregisterServer - Removes entries from the system registry + +STDAPI DllUnregisterServer(void) +{ + AFX_MANAGE_STATE(_afxModuleAddrThis); + + if (!AfxOleUnregisterTypeLib(_tlid, _wVerMajor, _wVerMinor)) + return ResultFromScode(SELFREG_E_TYPELIB); + + if (!COleObjectFactoryEx::UpdateRegistryAll(FALSE)) + return ResultFromScode(SELFREG_E_CLASS); + + return NOERROR; +} diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.def b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.def new file mode 100644 index 0000000..2d5951e --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.def @@ -0,0 +1,9 @@ +; ActiveDiatheke.def : Declares the module parameters. + +LIBRARY "ACTIVEDIATHEKE.OCX" + +EXPORTS + DllCanUnloadNow @1 PRIVATE + DllGetClassObject @2 PRIVATE + DllRegisterServer @3 PRIVATE + DllUnregisterServer @4 PRIVATE diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.dsp b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.dsp new file mode 100644 index 0000000..b46ab84 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.dsp @@ -0,0 +1,1332 @@ +# Microsoft Developer Studio Project File - Name="ActiveDiatheke" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=ActiveDiatheke - Win32 Debug with ICU +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ActiveDiatheke.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ActiveDiatheke.mak" CFG="ActiveDiatheke - Win32 Debug with ICU" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ActiveDiatheke - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ActiveDiatheke - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ActiveDiatheke - Win32 Debug with ICU" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ActiveDiatheke - Win32 Release with ICU" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "ActiveDiatheke - Win32 Release" + +# PROP BASE Use_MFC 2 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Ext "ocx" +# PROP BASE Target_Dir "" +# PROP Use_MFC 2 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Ext "ocx" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /Yu"stdafx.h" /FD /c +# ADD CPP /nologo /MD /w /W0 /GX /O2 /I "../../../../include" /I "../../../../src/utilfuns/win32" /D "NDEBUG" /D "_MBCS" /D "WIN32" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_USRDLL" /D "__VISUALC__" /D "REGEX_MALLOC" /FD /c +# SUBTRACT CPP /YX /Yc /Yu +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" +# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 /nologo /subsystem:windows /dll /machine:I386 +# ADD LINK32 /nologo /subsystem:windows /dll /machine:I386 +# Begin Custom Build - Registering ActiveX Control... +OutDir=.\Release +TargetPath=.\Release\ActiveDiatheke.ocx +InputPath=.\Release\ActiveDiatheke.ocx +SOURCE="$(InputPath)" + +"$(OutDir)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + regsvr32 /s /c "$(TargetPath)" + echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg" + +# End Custom Build + +!ELSEIF "$(CFG)" == "ActiveDiatheke - Win32 Debug" + +# PROP BASE Use_MFC 2 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Ext "ocx" +# PROP BASE Target_Dir "" +# PROP Use_MFC 2 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Ext "ocx" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c +# ADD CPP /nologo /MDd /w /W0 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../src/utilfuns/win32" /D "_DEBUG" /D "_MBCS" /D "WIN32" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_USRDLL" /D "__VISUALC__" /D "REGEX_MALLOC" /FD /GZ /c +# SUBTRACT CPP /YX /Yc /Yu +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" +# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept +# Begin Custom Build - Registering ActiveX Control... +OutDir=.\Debug +TargetPath=.\Debug\ActiveDiatheke.ocx +InputPath=.\Debug\ActiveDiatheke.ocx +SOURCE="$(InputPath)" + +"$(OutDir)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + regsvr32 /s /c "$(TargetPath)" + echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg" + +# End Custom Build + +!ELSEIF "$(CFG)" == "ActiveDiatheke - Win32 Debug with ICU" + +# PROP BASE Use_MFC 2 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ActiveDiatheke___Win32_Debug_with_ICU" +# PROP BASE Intermediate_Dir "ActiveDiatheke___Win32_Debug_with_ICU" +# PROP BASE Target_Ext "ocx" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 2 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "ActiveDiatheke___Win32_Debug_with_ICU" +# PROP Intermediate_Dir "ActiveDiatheke___Win32_Debug_with_ICU" +# PROP Target_Ext "ocx" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MDd /w /W0 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../src/utilfuns/win32" /D "_DEBUG" /D "_MBCS" /D "WIN32" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_USRDLL" /D "__VISUALC__" /D "REGEX_MALLOC" /FD /GZ /c +# SUBTRACT BASE CPP /YX /Yc /Yu +# ADD CPP /nologo /MDd /w /W0 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../src/utilfuns/win32" /I "../../../../../icu-sword/include" /D "_DEBUG" /D "_MBCS" /D "WIN32" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_USRDLL" /D "__VISUALC__" /D "REGEX_MALLOC" /D "_ICU_" /FD /GZ /c +# SUBTRACT CPP /YX /Yc /Yu +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" +# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 icuin.lib icuuc.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept /libpath:"../../../../../icu-sword/lib" +# Begin Custom Build - Registering ActiveX Control... +OutDir=.\ActiveDiatheke___Win32_Debug_with_ICU +TargetPath=.\ActiveDiatheke___Win32_Debug_with_ICU\ActiveDiatheke.ocx +InputPath=.\ActiveDiatheke___Win32_Debug_with_ICU\ActiveDiatheke.ocx +SOURCE="$(InputPath)" + +"$(OutDir)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + regsvr32 /s /c "$(TargetPath)" + echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg" + +# End Custom Build + +!ELSEIF "$(CFG)" == "ActiveDiatheke - Win32 Release with ICU" + +# PROP BASE Use_MFC 2 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ActiveDiatheke___Win32_Release_with_ICU" +# PROP BASE Intermediate_Dir "ActiveDiatheke___Win32_Release_with_ICU" +# PROP BASE Target_Ext "ocx" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 2 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "ActiveDiatheke___Win32_Release_with_ICU" +# PROP Intermediate_Dir "ActiveDiatheke___Win32_Release_with_ICU" +# PROP Target_Ext "ocx" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MD /w /W0 /GX /O2 /I "../../../../include" /I "../../../../src/utilfuns/win32" /D "NDEBUG" /D "_MBCS" /D "WIN32" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_USRDLL" /D "__VISUALC__" /D "REGEX_MALLOC" /FD /c +# SUBTRACT BASE CPP /YX /Yc /Yu +# ADD CPP /nologo /MD /w /W0 /GX /O2 /I "../../../../include" /I "../../../../src/utilfuns/win32" /I "../../../../../icu-sword/include" /D "NDEBUG" /D "_MBCS" /D "WIN32" /D "_WINDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_USRDLL" /D "__VISUALC__" /D "REGEX_MALLOC" /D "_ICU_" /FD /c +# SUBTRACT CPP /YX /Yc /Yu +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" +# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 /nologo /subsystem:windows /dll /machine:I386 +# ADD LINK32 icuin.lib icuuc.lib /nologo /subsystem:windows /dll /machine:I386 /libpath:"../../../../../icu-sword/lib" +# Begin Custom Build - Registering ActiveX Control... +OutDir=.\ActiveDiatheke___Win32_Release_with_ICU +TargetPath=.\ActiveDiatheke___Win32_Release_with_ICU\ActiveDiatheke.ocx +InputPath=.\ActiveDiatheke___Win32_Release_with_ICU\ActiveDiatheke.ocx +SOURCE="$(InputPath)" + +"$(OutDir)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + regsvr32 /s /c "$(TargetPath)" + echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg" + +# End Custom Build + +!ENDIF + +# Begin Target + +# Name "ActiveDiatheke - Win32 Release" +# Name "ActiveDiatheke - Win32 Debug" +# Name "ActiveDiatheke - Win32 Debug with ICU" +# Name "ActiveDiatheke - Win32 Release with ICU" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\ActiveDiatheke.cpp +# End Source File +# Begin Source File + +SOURCE=.\ActiveDiatheke.def +# End Source File +# Begin Source File + +SOURCE=.\ActiveDiatheke.odl +# End Source File +# Begin Source File + +SOURCE=.\ActiveDiatheke.rc +# End Source File +# Begin Source File + +SOURCE=.\ActiveDiathekeCtl.cpp +# End Source File +# Begin Source File + +SOURCE=.\ActiveDiathekePpg.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\console\diatheke\corediatheke.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\console\diatheke\diafiltmgr.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\console\diatheke\diathekemgr.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\console\diatheke\gbfcgi.cpp +# End Source File +# Begin Source File + +SOURCE=.\StdAfx.cpp +# ADD CPP /Yc"stdafx.h" +# End Source File +# Begin Source File + +SOURCE=..\..\..\console\diatheke\thmlcgi.cpp +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=.\ActiveDiatheke.h +# End Source File +# Begin Source File + +SOURCE=.\ActiveDiathekeCtl.h +# End Source File +# Begin Source File + +SOURCE=.\ActiveDiathekePpg.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\console\diatheke\corediatheke.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\console\diatheke\diafiltmgr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\console\diatheke\diathekemgr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\console\diatheke\gbfcgi.h +# End Source File +# Begin Source File + +SOURCE=.\Resource.h +# End Source File +# Begin Source File + +SOURCE=.\StdAfx.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\console\diatheke\thmlcgi.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\ActiveDiathekeCtl.bmp +# End Source File +# End Group +# Begin Group "Sword Source" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\adler32.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\cipherfil.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\compress.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\crc32.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\deflate.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\win32\dirent.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\mgr\encfiltmgr.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\entriesblk.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\mgr\filemgr.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\gbffootnotes.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\gbfheadings.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\gbfhtml.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\gbfhtmlhref.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\gbfmorph.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\gbfplain.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\gbfrtf.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\gbfstrongs.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\gbfthml.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\Greek2Greek.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\greeklexattribs.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\gzio.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\frontend\im\hebrewmcim.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\comments\hrefcom\hrefcom.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\infblock.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\infcodes.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\inffast.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\inflate.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\inftrees.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\infutil.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\latin1utf16.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\latin1utf8.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\keys\listkey.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\mgr\localemgr.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\lzsscomprs.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\mgr\markupfiltmgr.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\frontend\im\nullim.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\plainfootnotes.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\plainhtml.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\comments\rawcom\rawcom.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\comments\rawfiles\rawfiles.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\genbook\rawgenbook\rawgenbook.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\lexdict\rawld\rawld.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\lexdict\rawld4\rawld4.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\rawstr.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\rawstr4.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\texts\rawtext\rawtext.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\rawverse.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\regex.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\roman.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\rtfhtml.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\rwphtml.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\rwprtf.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\sapphire.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\scsuutf8.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\keys\strkey.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\swbasicfilter.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\mgr\swcacher.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\swcipher.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\comments\swcom.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\swcomprs.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\mgr\swconfig.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\frontend\swdisp.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\mgr\swfiltermgr.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\genbook\swgenbook.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\frontend\im\swinputmeth.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\keys\swkey.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\lexdict\swld.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\mgr\swlocale.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\frontend\swlog.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\mgr\swmgr.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\swmodule.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\texts\swtext.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\swunicod.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\swversion.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlfootnotes.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlgbf.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlheadings.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlhtml.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlhtmlhref.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmllemma.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlmorph.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlolb.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlplain.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlrtf.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlscripref.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlstrongs.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\thmlvariants.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\keys\treekey.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\keys\treekeyidx.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\trees.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\uncompr.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\unicodertf.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\untgz.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf16utf8.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8arshaping.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8bidireorder.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8cantillation.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8greekaccents.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8hebrewpoints.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8html.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8latin1.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8nfc.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8nfkd.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8transliterator.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\filters\utf8utf16.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\utilconf.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\utilstr.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\keys\versekey.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\comments\zcom\zcom.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\zipcomprs.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\lexdict\zld\zld.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\zstr.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\texts\ztext\ztext.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\utilfuns\zlib\zutil.c +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\src\modules\common\zverse.cpp +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# End Group +# Begin Group "Sword Headers" + +# PROP Default_Filter "h" +# Begin Source File + +SOURCE=..\..\..\..\include\canon.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\cipherfil.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\defs.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\echomod.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\encfiltmgr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\entriesblk.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\femain.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\filemgr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\flatapi.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\gbffootnotes.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\gbfheadings.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\gbfhtml.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\gbfhtmlhref.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\gbfmorph.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\gbfplain.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\gbfrtf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\gbfstrongs.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\gbfthml.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\Greek2Greek.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\GreekChars.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\hebrewmcim.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\hrefcom.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\latin1utf16.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\latin1utf8.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\listkey.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\localemgr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\lzsscomprs.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\markupfiltmgr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\nullim.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\plainfootnotes.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\plainhtml.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rawcom.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rawfiles.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rawgbf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rawgenbook.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rawld.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rawld4.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rawstr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rawstr4.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rawtext.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rawverse.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\regex.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\roman.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rtfhtml.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rwphtml.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\rwprtf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\sapphire.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\scsuutf8.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\strkey.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swbasicfilter.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swcacher.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swcipher.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swcom.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swcomprs.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swconfig.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swdisp.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swdisprtf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swdisprtfchap.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swfilter.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swfiltermgr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swgenbook.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swinputmeth.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swkey.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swld.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swlocale.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swlog.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swmacs.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swmgr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swmodule.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swobject.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swtext.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swunicod.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swversion.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\swwinlog.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\sysdata.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\tbdisp.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlfootnotes.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlgbf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlheadings.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlhtml.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlhtmlhref.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmllemma.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlmorph.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlolb.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlplain.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlrtf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlscripref.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlstrongs.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\thmlvariants.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\treekey.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\treekeyidx.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\unicodertf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\unixstr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\untgz.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf16utf8.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8arshaping.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8bidireorder.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8cantillation.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8greekaccents.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8hebrewpoints.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8html.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8latin1.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8nfc.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8nfkd.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8transliterator.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utf8utf16.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utilconf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utilfuns.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\utilstr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\versekey.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\zcom.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\zconf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\zipcomprs.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\zld.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\zlib.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\zstr.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\ztext.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\include\zverse.h +# End Source File +# End Group +# Begin Source File + +SOURCE=.\ReadMe.txt +# End Source File +# End Target +# End Project diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.dsw b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.dsw new file mode 100644 index 0000000..09b43e8 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "ActiveDiatheke"=.\ActiveDiatheke.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.h b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.h new file mode 100644 index 0000000..4aac543 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.h @@ -0,0 +1,33 @@ +#if !defined(AFX_ACTIVEDIATHEKE_H__38346B57_C15C_48C4_95B9_BEE4F2C3EF26__INCLUDED_) +#define AFX_ACTIVEDIATHEKE_H__38346B57_C15C_48C4_95B9_BEE4F2C3EF26__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +// ActiveDiatheke.h : main header file for ACTIVEDIATHEKE.DLL + +#if !defined( __AFXCTL_H__ ) + #error include 'afxctl.h' before including this file +#endif + +#include "resource.h" // main symbols + +///////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeApp : See ActiveDiatheke.cpp for implementation. + +class CActiveDiathekeApp : public COleControlModule +{ +public: + BOOL InitInstance(); + int ExitInstance(); +}; + +extern const GUID CDECL _tlid; +extern const WORD _wVerMajor; +extern const WORD _wVerMinor; + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_ACTIVEDIATHEKE_H__38346B57_C15C_48C4_95B9_BEE4F2C3EF26__INCLUDED) diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.odl b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.odl new file mode 100644 index 0000000..03a3c11 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.odl @@ -0,0 +1,90 @@ +// ActiveDiatheke.odl : type library source for ActiveX Control project. + +// This file will be processed by the Make Type Library (mktyplib) tool to +// produce the type library (ActiveDiatheke.tlb) that will become a resource in +// ActiveDiatheke.ocx. + +#include <olectl.h> +#include <idispids.h> + +[ uuid(723C13CC-FA83-4FCA-915A-9ECA87DF11A1), version(1.0), + helpfile("ActiveDiatheke.hlp"), + helpstring("ActiveDiatheke ActiveX Control module"), + control ] +library ACTIVEDIATHEKELib +{ + importlib(STDOLE_TLB); + importlib(STDTYPE_TLB); + + // Primary dispatch interface for CActiveDiathekeCtrl + + [ uuid(7445174B-2EF2-42FE-ACA5-FAEA52C3377E), + helpstring("Dispatch interface for ActiveDiatheke Control"), hidden ] + dispinterface _DActiveDiatheke + { + properties: + // NOTE - ClassWizard will maintain property information here. + // Use extreme caution when editing this section. + //{{AFX_ODL_PROP(CActiveDiathekeCtrl) + [id(1)] long maxverses; + [id(2)] short outputformat; + [id(3)] short searchtype; + [id(4)] BSTR book; + [id(5)] BSTR locale; + [id(6)] BSTR key; + [id(7)] BSTR value; + [id(8)] boolean autoupdate; + [id(9)] boolean strongs; + [id(10)] boolean footnotes; + [id(11)] boolean headings; + [id(12)] boolean morphology; + [id(13)] boolean gaccents; + [id(14)] boolean hpoints; + [id(15)] boolean hcantillation; + [id(16)] BSTR script; + [id(17)] short variants; + [id(18)] boolean scripref; + [id(19)] boolean arshape; + [id(20)] boolean bidireorder; + [id(21)] short outputencoding; + //}}AFX_ODL_PROP + + methods: + // NOTE - ClassWizard will maintain method information here. + // Use extreme caution when editing this section. + //{{AFX_ODL_METHOD(CActiveDiathekeCtrl) + [id(22)] long query(); + //}}AFX_ODL_METHOD + }; + + // Event dispatch interface for CActiveDiathekeCtrl + + [ uuid(8683C608-3E0C-4C2F-A727-9BAE7A68189F), + helpstring("Event interface for ActiveDiatheke Control") ] + dispinterface _DActiveDiathekeEvents + { + properties: + // Event interface has no properties + + methods: + // NOTE - ClassWizard will maintain event information here. + // Use extreme caution when editing this section. + //{{AFX_ODL_EVENT(CActiveDiathekeCtrl) + [id(1)] void ValueChanged(); + //}}AFX_ODL_EVENT + }; + + // Class information for CActiveDiathekeCtrl + + [ uuid(6BAD30CD-3506-42CF-B54C-E47F19260393), + helpstring("ActiveDiatheke Control"), control ] + coclass ActiveDiatheke + { + [default] dispinterface _DActiveDiatheke; + [default, source] dispinterface _DActiveDiathekeEvents; + }; + + + //{{AFX_APPEND_ODL}} + //}}AFX_APPEND_ODL}} +}; diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.rc b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.rc new file mode 100644 index 0000000..9a66f9c --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiatheke.rc @@ -0,0 +1,262 @@ +//Microsoft Developer Studio generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "1 TYPELIB ""ActiveDiatheke.tlb""\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +#ifndef _MAC +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "Comments", "\0" + VALUE "CompanyName", "CrossWire Bible Society\0" + VALUE "FileDescription", "ActiveDiatheke ActiveX Control Module\0" + VALUE "FileVersion", "1, 5, 3, 1\0" + VALUE "InternalName", "ActiveDiatheke\0" + VALUE "LegalCopyright", "Copyright (C) 2001-2002\0" + VALUE "LegalTrademarks", "\0" + VALUE "OLESelfRegister", "\0" + VALUE "OriginalFilename", "ActiveDiatheke.OCX\0" + VALUE "PrivateBuild", "\0" + VALUE "ProductName", "ActiveDiatheke ActiveX Control Module\0" + VALUE "ProductVersion", "1, 5, 3, 1\0" + VALUE "SpecialBuild", "\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + +#endif // !_MAC + + +///////////////////////////////////////////////////////////////////////////// +// +// Bitmap +// + +IDB_ACTIVEDIATHEKE BITMAP DISCARDABLE "ActiveDiathekeCtl.bmp" + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_PROPPAGE_ACTIVEDIATHEKE DIALOG DISCARDABLE 0, 0, 250, 110 +STYLE WS_CHILD +FONT 8, "MS Sans Serif" +BEGIN + LTEXT "Book",IDC_STATIC,27,12,18,8 + EDITTEXT IDC_BOOK,49,6,54,14,ES_AUTOHSCROLL + LTEXT "Key",IDC_STATIC,32,26,13,8 + EDITTEXT IDC_KEY,49,20,54,14,ES_AUTOHSCROLL + LTEXT "Locale",IDC_STATIC,23,40,22,8 + EDITTEXT IDC_LOCALE,49,34,54,14,ES_AUTOHSCROLL + LTEXT "Max Verses",IDC_STATIC,7,69,38,8 + EDITTEXT IDC_MAXVERSES,49,63,54,14,ES_RIGHT | ES_AUTOHSCROLL | + ES_NUMBER + CONTROL "Spin1",IDC_SPIN1,"msctls_updown32",UDS_SETBUDDYINT | + UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,92,63,11, + 14 + CONTROL "Autoupdate",IDC_AUTOUPDATE,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,49,93,53,10 + LTEXT "Search Type",IDC_STATIC,118,9,42,8 + COMBOBOX IDV_SEARCHTYPE,168,6,75,49,CBS_DROPDOWNLIST | WS_VSCROLL | + WS_TABSTOP + LTEXT "Output Format",IDC_STATIC,114,25,46,8 + COMBOBOX IDC_OUTPUTFORMAT,168,20,75,60,CBS_DROPDOWNLIST | + WS_VSCROLL | WS_TABSTOP + LTEXT "Output Script",IDC_STATIC,3,54,42,8 + EDITTEXT IDC_SCRIPT,49,48,54,14,ES_AUTOHSCROLL + LTEXT "Option Filters:",IDC_STATIC,112,49,44,8 + CONTROL "Strong's Numbers",IDC_STRONGS,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,171,58,71,10 + CONTROL "Footnotes",IDC_FOOTNOTES,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,112,67,47,10 + CONTROL "Section Headings",IDC_HEADINGS,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,171,67,72,10 + CONTROL "Gk. Accents",IDC_GREEKACCENTS,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,112,76,57,10 + CONTROL "Morphology",IDC_MORPHOLOGY,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,171,76,72,10 + CONTROL "Heb. Cantil.",IDC_HEBREWCANTILLATION,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,112,85,57,10 + CONTROL "Heb. Vowels",IDC_HEBREWPOINTS,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,171,85,72,10 + LTEXT "Variants",IDC_STATIC,19,84,26,8 + EDITTEXT IDC_VARIANTS,49,78,54,14,ES_RIGHT | ES_AUTOHSCROLL | + ES_NUMBER + CONTROL "Spin1",IDC_SPIN2,"msctls_updown32",UDS_SETBUDDYINT | + UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,92,78,11, + 14 + LTEXT "Output Encoding",IDC_STATIC,106,39,54,8 + COMBOBOX IDC_OUTPUTENCODING,168,34,75,60,CBS_DROPDOWNLIST | + WS_VSCROLL | WS_TABSTOP + CONTROL "Scrip. Refs.",IDC_SCRIPREF,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,112,58,53,10 + CONTROL "Arabic Shape",IDC_ARSHAPE,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,112,94,57,10 + CONTROL "BiDi Reorder",IDC_BIDIREORDER,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,171,94,72,10 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO DISCARDABLE +BEGIN + IDD_PROPPAGE_ACTIVEDIATHEKE, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 243 + TOPMARGIN, 6 + BOTTOMMARGIN, 103 + END +END +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog Info +// + +IDD_PROPPAGE_ACTIVEDIATHEKE DLGINIT +BEGIN + IDV_SEARCHTYPE, 0x403, 5, 0 +0x6f4e, 0x656e, "\000" + IDV_SEARCHTYPE, 0x403, 6, 0 +0x6552, 0x6567, 0x0078, + IDV_SEARCHTYPE, 0x403, 10, 0 +0x754d, 0x746c, 0x7769, 0x726f, 0x0064, + IDV_SEARCHTYPE, 0x403, 7, 0 +0x6850, 0x6172, 0x6573, "\000" + IDC_OUTPUTFORMAT, 0x403, 10, 0 +0x6c50, 0x6961, 0x746e, 0x7865, 0x0074, + IDC_OUTPUTFORMAT, 0x403, 5, 0 +0x6854, 0x4c4d, "\000" + IDC_OUTPUTFORMAT, 0x403, 4, 0 +0x4247, 0x0046, + IDC_OUTPUTFORMAT, 0x403, 5, 0 +0x5448, 0x4c4d, "\000" + IDC_OUTPUTFORMAT, 0x403, 9, 0 +0x5448, 0x4c4d, 0x5248, 0x4645, "\000" + IDC_OUTPUTFORMAT, 0x403, 4, 0 +0x5452, 0x0046, + IDC_OUTPUTFORMAT, 0x403, 5, 0 +0x534f, 0x5349, "\000" + IDC_OUTPUTENCODING, 0x403, 8, 0 +0x614c, 0x6974, 0x2d6e, 0x0031, + IDC_OUTPUTENCODING, 0x403, 6, 0 +0x5455, 0x2d46, 0x0038, + IDC_OUTPUTENCODING, 0x403, 5, 0 +0x4353, 0x5553, "\000" + IDC_OUTPUTENCODING, 0x403, 7, 0 +0x5455, 0x2d46, 0x3631, "\000" + IDC_OUTPUTENCODING, 0x403, 4, 0 +0x5452, 0x0046, + IDC_OUTPUTENCODING, 0x403, 5, 0 +0x5448, 0x4c4d, "\000" + 0 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// String Table +// + +STRINGTABLE DISCARDABLE +BEGIN + IDS_ACTIVEDIATHEKE "ActiveDiatheke Control" + IDS_ACTIVEDIATHEKE_PPG "ActiveDiatheke Property Page" +END + +STRINGTABLE DISCARDABLE +BEGIN + IDS_ACTIVEDIATHEKE_PPG_CAPTION "General" +END + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// +1 TYPELIB "ActiveDiatheke.tlb" + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiathekeCtl.bmp b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekeCtl.bmp Binary files differnew file mode 100644 index 0000000..3ffeb05 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekeCtl.bmp diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiathekeCtl.cpp b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekeCtl.cpp new file mode 100644 index 0000000..363c8b1 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekeCtl.cpp @@ -0,0 +1,388 @@ +// ActiveDiathekeCtl.cpp : Implementation of the CActiveDiathekeCtrl ActiveX Control class. + +#include "stdafx.h" +#include "ActiveDiatheke.h" +#include "ActiveDiathekeCtl.h" +#include "ActiveDiathekePpg.h" +#include "../../../console/diatheke/corediatheke.h" +#include <strstream> + +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif + + +IMPLEMENT_DYNCREATE(CActiveDiathekeCtrl, COleControl) + + +///////////////////////////////////////////////////////////////////////////// +// Message map + +BEGIN_MESSAGE_MAP(CActiveDiathekeCtrl, COleControl) + //{{AFX_MSG_MAP(CActiveDiathekeCtrl) + // NOTE - ClassWizard will add and remove message map entries + // DO NOT EDIT what you see in these blocks of generated code ! + //}}AFX_MSG_MAP + ON_OLEVERB(AFX_IDS_VERB_EDIT, OnEdit) + ON_OLEVERB(AFX_IDS_VERB_PROPERTIES, OnProperties) +END_MESSAGE_MAP() + + +///////////////////////////////////////////////////////////////////////////// +// Dispatch map + +BEGIN_DISPATCH_MAP(CActiveDiathekeCtrl, COleControl) + //{{AFX_DISPATCH_MAP(CActiveDiathekeCtrl) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "maxverses", m_maxverses, OnMaxversesChanged, VT_I4) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "outputformat", m_outputformat, OnOutputformatChanged, VT_I2) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "searchtype", m_searchtype, OnSearchtypeChanged, VT_I2) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "book", m_book, OnBookChanged, VT_BSTR) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "locale", m_locale, OnLocaleChanged, VT_BSTR) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "key", m_key, OnKeyChanged, VT_BSTR) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "value", m_value, OnValueChanged, VT_BSTR) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "autoupdate", m_autoupdate, OnAutoupdateChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "strongs", m_strongs, OnStrongsChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "footnotes", m_footnotes, OnFootnotesChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "headings", m_headings, OnHeadingsChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "morphology", m_morphology, OnMorphologyChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "greekaccents", m_gaccents, OnGaccentsChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "hebrewpoints", m_hpoints, OnHpointsChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "hebrewcantillation", m_hcantillation, OnHcantillationChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "script", m_script, OnScriptChanged, VT_BSTR) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "variants", m_variants, OnVariantsChanged, VT_I2) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "scripref", m_scripref, OnScriprefChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "arshape", m_arshape, OnArshapeChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "bidireorder", m_bidireorder, OnBidireorderChanged, VT_BOOL) + DISP_PROPERTY_NOTIFY(CActiveDiathekeCtrl, "outputencoding", m_outputencoding, OnOutputencodingChanged, VT_I2) + DISP_FUNCTION(CActiveDiathekeCtrl, "query", query, VT_I4, VTS_NONE) + //}}AFX_DISPATCH_MAP +END_DISPATCH_MAP() + + +///////////////////////////////////////////////////////////////////////////// +// Event map + +BEGIN_EVENT_MAP(CActiveDiathekeCtrl, COleControl) + //{{AFX_EVENT_MAP(CActiveDiathekeCtrl) + EVENT_CUSTOM("ValueChanged", FireValueChanged, VTS_NONE) + //}}AFX_EVENT_MAP +END_EVENT_MAP() + + +///////////////////////////////////////////////////////////////////////////// +// Property pages + +// TODO: Add more property pages as needed. Remember to increase the count! +BEGIN_PROPPAGEIDS(CActiveDiathekeCtrl, 1) + PROPPAGEID(CActiveDiathekePropPage::guid) +END_PROPPAGEIDS(CActiveDiathekeCtrl) + + +///////////////////////////////////////////////////////////////////////////// +// Initialize class factory and guid + +IMPLEMENT_OLECREATE_EX(CActiveDiathekeCtrl, "ACTIVEDIATHEKE.ActiveDiathekeCtrl.1", + 0x6bad30cd, 0x3506, 0x42cf, 0xb5, 0x4c, 0xe4, 0x7f, 0x19, 0x26, 0x3, 0x93) + + +///////////////////////////////////////////////////////////////////////////// +// Type library ID and version + +IMPLEMENT_OLETYPELIB(CActiveDiathekeCtrl, _tlid, _wVerMajor, _wVerMinor) + + +///////////////////////////////////////////////////////////////////////////// +// Interface IDs + +const IID BASED_CODE IID_DActiveDiatheke = + { 0x7445174b, 0x2ef2, 0x42fe, { 0xac, 0xa5, 0xfa, 0xea, 0x52, 0xc3, 0x37, 0x7e } }; +const IID BASED_CODE IID_DActiveDiathekeEvents = + { 0x8683c608, 0x3e0c, 0x4c2f, { 0xa7, 0x27, 0x9b, 0xae, 0x7a, 0x68, 0x18, 0x9f } }; + + +///////////////////////////////////////////////////////////////////////////// +// Control type information + +static const DWORD BASED_CODE _dwActiveDiathekeOleMisc = + OLEMISC_INVISIBLEATRUNTIME | + OLEMISC_ACTIVATEWHENVISIBLE | + OLEMISC_SETCLIENTSITEFIRST | + OLEMISC_INSIDEOUT | + OLEMISC_CANTLINKINSIDE | + OLEMISC_RECOMPOSEONRESIZE; + +IMPLEMENT_OLECTLTYPE(CActiveDiathekeCtrl, IDS_ACTIVEDIATHEKE, _dwActiveDiathekeOleMisc) + + +///////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeCtrl::CActiveDiathekeCtrlFactory::UpdateRegistry - +// Adds or removes system registry entries for CActiveDiathekeCtrl + +BOOL CActiveDiathekeCtrl::CActiveDiathekeCtrlFactory::UpdateRegistry(BOOL bRegister) +{ + // TODO: Verify that your control follows apartment-model threading rules. + // Refer to MFC TechNote 64 for more information. + // If your control does not conform to the apartment-model rules, then + // you must modify the code below, changing the 6th parameter from + // afxRegInsertable | afxRegApartmentThreading to afxRegInsertable. + + if (bRegister) + return AfxOleRegisterControlClass( + AfxGetInstanceHandle(), + m_clsid, + m_lpszProgID, + IDS_ACTIVEDIATHEKE, + IDB_ACTIVEDIATHEKE, + afxRegInsertable | afxRegApartmentThreading, + _dwActiveDiathekeOleMisc, + _tlid, + _wVerMajor, + _wVerMinor); + else + return AfxOleUnregisterClass(m_clsid, m_lpszProgID); +} + + +///////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeCtrl::CActiveDiathekeCtrl - Constructor + +CActiveDiathekeCtrl::CActiveDiathekeCtrl() +{ + InitializeIIDs(&IID_DActiveDiatheke, &IID_DActiveDiathekeEvents); + query(); +} + + +///////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeCtrl::~CActiveDiathekeCtrl - Destructor + +CActiveDiathekeCtrl::~CActiveDiathekeCtrl() +{ + // TODO: Cleanup your control's instance data here. +} + + +///////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeCtrl::OnDraw - Drawing function + +void CActiveDiathekeCtrl::OnDraw( + CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid) +{ + // TODO: Replace the following code with your own drawing code. + pdc->FillRect(rcBounds, CBrush::FromHandle((HBRUSH)GetStockObject(WHITE_BRUSH))); + pdc->ExtTextOut(0, 0, ETO_CLIPPED, rcBounds, "The SWORD Project", NULL); + pdc->ExtTextOut(0, 20, ETO_CLIPPED, rcBounds, "ActiveDiatheke", NULL); +} + + +///////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeCtrl::DoPropExchange - Persistence support + +void CActiveDiathekeCtrl::DoPropExchange(CPropExchange* pPX) +{ + ExchangeVersion(pPX, MAKELONG(_wVerMinor, _wVerMajor)); + COleControl::DoPropExchange(pPX); + + PX_String(pPX, _T("book"), m_book, "KJV"); + PX_String(pPX, _T("key"), m_key, "John 3:16"); + PX_String(pPX, _T("locale"), m_locale, "en"); + PX_String(pPX, _T("script"), m_script, "Off"); + + PX_Bool(pPX, _T("autoupdate"), m_autoupdate, FALSE); + + PX_Bool(pPX, _T("strongs"), m_strongs, FALSE); + PX_Bool(pPX, _T("footnotes"), m_footnotes, FALSE); + PX_Bool(pPX, _T("headings"), m_headings, FALSE); + PX_Bool(pPX, _T("morphology"), m_morphology, FALSE); + PX_Bool(pPX, _T("greekaccents"), m_gaccents, FALSE); + PX_Bool(pPX, _T("hebrewpoints"), m_hpoints, FALSE); + PX_Bool(pPX, _T("hebrewcantillation"), m_hcantillation, FALSE); + PX_Bool(pPX, _T("scripref"), m_scripref, FALSE); + PX_Bool(pPX, _T("arshape"), m_arshape, FALSE); + PX_Bool(pPX, _T("bidireorder"), m_bidireorder, FALSE); + + PX_Long(pPX, _T("maxverses"), m_maxverses, -1); + + PX_Short(pPX, _T("variants"), m_variants, 0); + PX_Short(pPX, _T("outputformat"), m_outputformat, FMT_PLAIN); + PX_Short(pPX, _T("outputencoding"), m_outputencoding, ENC_UTF8); + PX_Short(pPX, _T("searchtype"), m_searchtype, ST_NONE); +} + + +///////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeCtrl::OnResetState - Reset control to default state + +void CActiveDiathekeCtrl::OnResetState() +{ + COleControl::OnResetState(); // Resets defaults found in DoPropExchange + + // TODO: Reset any other control state here. +} + + +///////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeCtrl message handlers + +void CActiveDiathekeCtrl::OnMaxversesChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnOutputformatChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnSearchtypeChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnBookChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnLocaleChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnKeyChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +long CActiveDiathekeCtrl::query() +{ + ostrstream output; + unsigned char opt = (m_strongs ? OP_STRONGS : 0) + (m_footnotes ? OP_FOOTNOTES : 0) + (m_headings ? OP_HEADINGS : 0) + (m_morphology ? OP_MORPH : 0) + (m_gaccents ? OP_GREEKACCENTS : 0) + (m_hpoints ? OP_HEBREWPOINTS : 0) + (m_hcantillation ? OP_CANTILLATION : 0) + (!m_script.IsEmpty() ? OP_TRANSLITERATOR : 0) + (m_variants ? OP_VARIANTS : 0) + (m_scripref ? OP_SCRIPREF : 0) + (m_arshape ? OP_ARSHAPE : 0) + (m_bidireorder ? OP_BIDI : 0); + doquery(m_maxverses, m_outputformat + 1, m_outputencoding + 1, opt, m_searchtype, (LPCTSTR)m_book, (LPCTSTR)m_locale, (LPCTSTR)m_key, &output, (LPCTSTR)m_script, m_variants); + output << '\0'; + char* versevalue = output.str(); + if (versevalue) { + m_value = versevalue; + delete versevalue; + FireValueChanged(); + return TRUE; + } + return FALSE; +} + +void CActiveDiathekeCtrl::OnValueChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnAutoupdateChanged() +{ + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnStrongsChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnFootnotesChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnHeadingsChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnMorphologyChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnGaccentsChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnHpointsChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnHcantillationChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnScriptChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnVariantsChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnScriprefChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnArshapeChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnBidireorderChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} + +void CActiveDiathekeCtrl::OnOutputencodingChanged() +{ + if (m_autoupdate) + query(); + SetModifiedFlag(); +} diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiathekeCtl.h b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekeCtl.h new file mode 100644 index 0000000..eefe14f --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekeCtl.h @@ -0,0 +1,137 @@ +#if !defined(AFX_ACTIVEDIATHEKECTL_H__10F16FE7_A96E_4D91_94BD_CFB96F27772D__INCLUDED_) +#define AFX_ACTIVEDIATHEKECTL_H__10F16FE7_A96E_4D91_94BD_CFB96F27772D__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +// ActiveDiathekeCtl.h : Declaration of the CActiveDiathekeCtrl ActiveX Control class. + +///////////////////////////////////////////////////////////////////////////// +// CActiveDiathekeCtrl : See ActiveDiathekeCtl.cpp for implementation. + +class CActiveDiathekeCtrl : public COleControl +{ + DECLARE_DYNCREATE(CActiveDiathekeCtrl) + +// Constructor +public: + CActiveDiathekeCtrl(); + +// Overrides + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CActiveDiathekeCtrl) + public: + virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid); + virtual void DoPropExchange(CPropExchange* pPX); + virtual void OnResetState(); + //}}AFX_VIRTUAL + +// Implementation +protected: + ~CActiveDiathekeCtrl(); + + DECLARE_OLECREATE_EX(CActiveDiathekeCtrl) // Class factory and guid + DECLARE_OLETYPELIB(CActiveDiathekeCtrl) // GetTypeInfo + DECLARE_PROPPAGEIDS(CActiveDiathekeCtrl) // Property page IDs + DECLARE_OLECTLTYPE(CActiveDiathekeCtrl) // Type name and misc status + +// Message maps + //{{AFX_MSG(CActiveDiathekeCtrl) + // NOTE - ClassWizard will add and remove member functions here. + // DO NOT EDIT what you see in these blocks of generated code ! + //}}AFX_MSG + DECLARE_MESSAGE_MAP() + +// Dispatch maps + //{{AFX_DISPATCH(CActiveDiathekeCtrl) + long m_maxverses; + afx_msg void OnMaxversesChanged(); + short m_outputformat; + afx_msg void OnOutputformatChanged(); + short m_searchtype; + afx_msg void OnSearchtypeChanged(); + CString m_book; + afx_msg void OnBookChanged(); + CString m_locale; + afx_msg void OnLocaleChanged(); + CString m_key; + afx_msg void OnKeyChanged(); + CString m_value; + afx_msg void OnValueChanged(); + BOOL m_autoupdate; + afx_msg void OnAutoupdateChanged(); + BOOL m_strongs; + afx_msg void OnStrongsChanged(); + BOOL m_footnotes; + afx_msg void OnFootnotesChanged(); + BOOL m_headings; + afx_msg void OnHeadingsChanged(); + BOOL m_morphology; + afx_msg void OnMorphologyChanged(); + BOOL m_gaccents; + afx_msg void OnGaccentsChanged(); + BOOL m_hpoints; + afx_msg void OnHpointsChanged(); + BOOL m_hcantillation; + afx_msg void OnHcantillationChanged(); + CString m_script; + afx_msg void OnScriptChanged(); + short m_variants; + afx_msg void OnVariantsChanged(); + BOOL m_scripref; + afx_msg void OnScriprefChanged(); + BOOL m_arshape; + afx_msg void OnArshapeChanged(); + BOOL m_bidireorder; + afx_msg void OnBidireorderChanged(); + short m_outputencoding; + afx_msg void OnOutputencodingChanged(); + afx_msg long query(); + //}}AFX_DISPATCH + DECLARE_DISPATCH_MAP() + +// Event maps + //{{AFX_EVENT(CActiveDiathekeCtrl) + void FireValueChanged() + {FireEvent(eventidValueChanged,EVENT_PARAM(VTS_NONE));} + //}}AFX_EVENT + DECLARE_EVENT_MAP() + +// Dispatch and event IDs +public: + enum { + //{{AFX_DISP_ID(CActiveDiathekeCtrl) + dispidMaxverses = 1L, + dispidOutputformat = 2L, + dispidSearchtype = 3L, + dispidBook = 4L, + dispidLocale = 5L, + dispidKey = 6L, + dispidValue = 7L, + dispidAutoupdate = 8L, + dispidStrongs = 9L, + dispidFootnotes = 10L, + dispidHeadings = 11L, + dispidMorphology = 12L, + dispidGaccents = 13L, + dispidHpoints = 14L, + dispidHcantillation = 15L, + dispidScript = 16L, + dispidVariants = 17L, + dispidScripref = 18L, + dispidArshape = 19L, + dispidBidireorder = 20L, + dispidOutputencoding = 21L, + dispidQuery = 22L, + eventidValueChanged = 1L, + //}}AFX_DISP_ID + }; +private: + bool isQuerying; +}; + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_ACTIVEDIATHEKECTL_H__10F16FE7_A96E_4D91_94BD_CFB96F27772D__INCLUDED) diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.cpp b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.cpp new file mode 100644 index 0000000..72a5ada --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.cpp @@ -0,0 +1,140 @@ +// 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 diff --git a/apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.h b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.h new file mode 100644 index 0000000..c8b63e7 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ActiveDiathekePpg.h @@ -0,0 +1,66 @@ +#if !defined(AFX_ACTIVEDIATHEKEPPG_H__47D3068E_9EAA_433E_9C21_DB523C8F31DD__INCLUDED_) +#define AFX_ACTIVEDIATHEKEPPG_H__47D3068E_9EAA_433E_9C21_DB523C8F31DD__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +// ActiveDiathekePpg.h : Declaration of the CActiveDiathekePropPage property page class. + +//////////////////////////////////////////////////////////////////////////// +// CActiveDiathekePropPage : See ActiveDiathekePpg.cpp.cpp for implementation. + +class CActiveDiathekePropPage : public COlePropertyPage +{ + DECLARE_DYNCREATE(CActiveDiathekePropPage) + DECLARE_OLECREATE_EX(CActiveDiathekePropPage) + +// Constructor +public: + CActiveDiathekePropPage(); + +// Dialog Data + //{{AFX_DATA(CActiveDiathekePropPage) + enum { IDD = IDD_PROPPAGE_ACTIVEDIATHEKE }; + CSpinButtonCtrl m_variantsSpinCtrl; + CSpinButtonCtrl m_maxversesSpinCtrl; + CString m_book; + CString m_key; + CString m_locale; + long m_maxverses; + int m_searchtype; + BOOL m_strongs; + BOOL m_footnotes; + BOOL m_headings; + BOOL m_morphology; + int m_outputformat; + BOOL m_autoupdate; + CString m_script; + BOOL m_hpoints; + BOOL m_hcantillation; + BOOL m_gaccents; + BOOL m_arshape; + BOOL m_bidireorder; + int m_outputencoding; + BOOL m_scripref; + short m_variants; + //}}AFX_DATA + +// Implementation +protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + +// Message maps +protected: + //{{AFX_MSG(CActiveDiathekePropPage) + // NOTE - ClassWizard will add and remove member functions here. + // DO NOT EDIT what you see in these blocks of generated code ! + //}}AFX_MSG + DECLARE_MESSAGE_MAP() + +}; + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_ACTIVEDIATHEKEPPG_H__47D3068E_9EAA_433E_9C21_DB523C8F31DD__INCLUDED) diff --git a/apps/windoze/vc/ActiveDiatheke/ReadMe.txt b/apps/windoze/vc/ActiveDiatheke/ReadMe.txt new file mode 100644 index 0000000..1be88a7 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/ReadMe.txt @@ -0,0 +1,84 @@ +======================================================================== + ActiveX Control DLL : ACTIVEDIATHEKE +======================================================================== + +ControlWizard has created this project for your ACTIVEDIATHEKE ActiveX Control +DLL, which contains 1 control. + +This skeleton project not only demonstrates the basics of writing an +ActiveX Control, but is also a starting point for writing the specific +features of your control. + +This file contains a summary of what you will find in each of the files +that make up your ACTIVEDIATHEKE ActiveX Control DLL. + +ActiveDiatheke.dsp + This file (the project file) contains information at the project level and + is used to build a single project or subproject. Other users can share the + project (.dsp) file, but they should export the makefiles locally. + +ActiveDiatheke.h + This is the main include file for the ActiveX Control DLL. It + includes other project-specific includes such as resource.h. + +ActiveDiatheke.cpp + This is the main source file that contains code for DLL initialization, + termination and other bookkeeping. + +ActiveDiatheke.rc + This is a listing of the Microsoft Windows resources that the project + uses. This file can be directly edited with the Visual C++ resource + editor. + +ActiveDiatheke.def + This file contains information about the ActiveX Control DLL that + must be provided to run with Microsoft Windows. + +ActiveDiatheke.clw + This file contains information used by ClassWizard to edit existing + classes or add new classes. ClassWizard also uses this file to store + information needed to generate and edit message maps and dialog data + maps and to generate prototype member functions. + +ActiveDiatheke.odl + This file contains the Object Description Language source code for the + type library of your control. + +///////////////////////////////////////////////////////////////////////////// +ActiveDiatheke control: + +ActiveDiathekeCtl.h + This file contains the declaration of the CActiveDiathekeCtrl C++ class. + +ActiveDiathekeCtl.cpp + This file contains the implementation of the CActiveDiathekeCtrl C++ class. + +ActiveDiathekePpg.h + This file contains the declaration of the CActiveDiathekePropPage C++ class. + +ActiveDiathekePpg.cpp + This file contains the implementation of the CActiveDiathekePropPage C++ class. + +ActiveDiathekeCtl.bmp + This file contains a bitmap that a container will use to represent the + CActiveDiathekeCtrl control when it appears on a tool palette. This bitmap + is included by the main resource file ActiveDiatheke.rc. + +///////////////////////////////////////////////////////////////////////////// +Other standard files: + +stdafx.h, stdafx.cpp + These files are used to build a precompiled header (PCH) file + named stdafx.pch and a precompiled types (PCT) file named stdafx.obj. + +resource.h + This is the standard header file, which defines new resource IDs. + The Visual C++ resource editor reads and updates this file. + +///////////////////////////////////////////////////////////////////////////// +Other notes: + +ControlWizard uses "TODO:" to indicate parts of the source code you +should add to or customize. + +///////////////////////////////////////////////////////////////////////////// diff --git a/apps/windoze/vc/ActiveDiatheke/Resource.h b/apps/windoze/vc/ActiveDiatheke/Resource.h new file mode 100644 index 0000000..8b4a005 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/Resource.h @@ -0,0 +1,42 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by ActiveDiatheke.rc +// +#define IDS_ACTIVEDIATHEKE 1 +#define IDB_ACTIVEDIATHEKE 1 +#define IDS_ACTIVEDIATHEKE_PPG 2 +#define IDS_ACTIVEDIATHEKE_PPG_CAPTION 200 +#define IDD_PROPPAGE_ACTIVEDIATHEKE 200 +#define IDC_MAXVERSES 205 +#define IDC_VARIANTS 206 +#define IDC_LOCALE 208 +#define IDC_SCRIPT 209 +#define IDV_SEARCHTYPE 210 +#define IDC_OUTPUTFORMAT 211 +#define IDC_OUTPUTENCODING 212 +#define IDC_KEY 213 +#define IDC_BOOK 214 +#define IDC_SPIN1 215 +#define IDC_SPIN2 216 +#define IDC_STRONGS 217 +#define IDC_FOOTNOTES 218 +#define IDC_HEADINGS 219 +#define IDC_AUTOUPDATE 220 +#define IDC_MORPHOLOGY 221 +#define IDC_GREEKACCENTS 222 +#define IDC_HEBREWPOINTS 223 +#define IDC_HEBREWCANTILLATION 224 +#define IDC_SCRIPREF 226 +#define IDC_ARSHAPE 227 +#define IDC_BIDIREORDER 228 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 202 +#define _APS_NEXT_COMMAND_VALUE 32768 +#define _APS_NEXT_CONTROL_VALUE 221 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/apps/windoze/vc/ActiveDiatheke/StdAfx.cpp b/apps/windoze/vc/ActiveDiatheke/StdAfx.cpp new file mode 100644 index 0000000..07f7b46 --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/StdAfx.cpp @@ -0,0 +1,5 @@ +// stdafx.cpp : source file that includes just the standard includes +// stdafx.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" diff --git a/apps/windoze/vc/ActiveDiatheke/StdAfx.h b/apps/windoze/vc/ActiveDiatheke/StdAfx.h new file mode 100644 index 0000000..bf7f13d --- /dev/null +++ b/apps/windoze/vc/ActiveDiatheke/StdAfx.h @@ -0,0 +1,29 @@ +#if !defined(AFX_STDAFX_H__953A30CC_45C9_4F79_B81B_A7FFBD7B8063__INCLUDED_) +#define AFX_STDAFX_H__953A30CC_45C9_4F79_B81B_A7FFBD7B8063__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, +// but are changed infrequently + +#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers + +#include <afxctl.h> // MFC support for ActiveX Controls +#include <afxext.h> // MFC extensions +#include <afxdtctl.h> // MFC support for Internet Explorer 4 Comon Controls +#ifndef _AFX_NO_AFXCMN_SUPPORT +#include <afxcmn.h> // MFC support for Windows Common Controls +#endif // _AFX_NO_AFXCMN_SUPPORT + +// Delete the two includes below if you do not wish to use the MFC +// database classes +#include <afxdb.h> // MFC database classes +#include <afxdao.h> // MFC DAO database classes + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_STDAFX_H__953A30CC_45C9_4F79_B81B_A7FFBD7B8063__INCLUDED_) |