The C++ Interface makes it possible to integrate Word API V0.5 into C++ programs.
The following header files are included in [Install directory]/include.
Header file | Contents | Location |
---|---|---|
DocxManagerError.h | Header for C++ | [Install directory]/include |
DocxManagerErrorCode.h | ||
IDataMerger.h | ||
DataMergeParams.h | ||
SimpleTypeParameter.h | ||
CompoundTypeParameter.h | ||
NestedTableTypeParameter.h | ||
IExternalDataManager.h | ||
ExternalDataManagerParams.h | ||
UnlinkedGroupDocsParameter.h | ||
ICompareDocuments.h | ||
ChangedRatio.h | ||
IDocumentForm.h | ||
FormData.h | ||
ParagraphFormData.h | ||
TableFormData.h | ||
IInspectDocument.h |
The following library files are included in [Install directory]/lib or [Install directory]/lib.
Library file | Contents | Location |
---|---|---|
AHOOXMLDocxManagerCppCtl.lib | Library for DLL linking | [Install directory]/lib |
Word API V0.5 is built using Microsoft Visual C++ 2019. MFC is not used. Please use a compatible compiler for your program.
[Install directory]/samples/cpp includes some simple sample programs.
In order to build a sample with the command line of Visual C++ in the Windows environment, execute the compiler from the console as follows.
To build the executables for Windows, use the command prompt from [Start]-[Microsoft Visual Studio]-[Visual Studio Tools].
[Install directory]/lib must be appended to the PATH environment variable in order to execute this program. The sample executes as follows.