- FP12ToDoubleFunction
WorksheetFunction FP12ToDoubleFunction(wstring name)
Undocumented in source. Be warned that the author may not have intended to support it.
- dllDefFile
DllDefFile dllDefFile(string libName, string description)
Returns a structure descripting a Windows .def file.
This allows the tests to not care about the specific formatting
used when writing the information out.
This encapsulates all the functions to be exported by the DLL/XLL.
- doubleToDoubleFunction
WorksheetFunction doubleToDoubleFunction(wstring name)
Undocumented in source. Be warned that the author may not have intended to support it.
- generateDllDef
void generateDllDef(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
- getAllWorksheetFunctions
WorksheetFunction[] getAllWorksheetFunctions()
Gets all Excel-callable functions from the given modules
- getModuleWorksheetFunctions
WorksheetFunction[] getModuleWorksheetFunctions()
Gets all Excel-callable functions in a given module
- getWorksheetFunction
WorksheetFunction getWorksheetFunction()
Take a D function as a compile-time parameter and returns a
WorksheetFunction struct with the fields filled in accordingly.
- implGetWorksheetFunctionsString
string implGetWorksheetFunctionsString()
Implements the getWorksheetFunctions function needed by xlld.xll in
order to register the Excel-callable functions at runtime
This used to be a template mixin but even using a string mixin inside
fails to actually make it an extern(C) function.
- implGetWorksheetFunctionsString
string implGetWorksheetFunctionsString(string[] modules)
Undocumented in source. Be warned that the author may not have intended to support it.
- makeWorksheetFunction
WorksheetFunction makeWorksheetFunction(wstring name, wstring typeText)
Undocumented in source. Be warned that the author may not have intended to support it.
- operToOperFunction
WorksheetFunction operToOperFunction(wstring name)
Undocumented in source. Be warned that the author may not have intended to support it.
This module implements the compile-time reflection machinery to automatically register all D functions that are eligible in a compile-time define list of modules to be called from Excel.
Import this module from any module from your XLL build and:
All eligible functions in the 3 example modules above will automagically be accessible from Excel (assuming the built XLL is loaded as an add-in).