/////////////////////////////////////////////////////////////////////////////// // // // LibXL C++ headers version 4.0.3 // // // // Copyright (c) 2008-2022 XLware s.r.o. // // // // THIS FILE AND THE SOFTWARE CONTAINED HEREIN IS PROVIDED 'AS IS' AND // // COMES WITH NO WARRANTIES OF ANY KIND. // // // // Please define LIBXL_STATIC variable for static linking. // // // /////////////////////////////////////////////////////////////////////////////// #ifndef LIBXL_CPP_H #define LIBXL_CPP_H #define LIBXL_VERSION 0x04000301 #include "IBookT.h" #include "ISheetT.h" #include "IFormatT.h" #include "IFontT.h" #include "IAutoFilterT.h" #include "IFilterColumnT.h" #include "IRichStringT.h" #include "IFormControlT.h" namespace libxl { #ifdef _UNICODE typedef IBookT Book; typedef ISheetT Sheet; typedef IFormatT Format; typedef IFontT Font; typedef IAutoFilterT AutoFilter; typedef IFilterColumnT FilterColumn; typedef IRichStringT RichString; typedef IFormControlT FormControl; #define xlCreateBook xlCreateBookW #define xlCreateXMLBook xlCreateXMLBookW #else typedef IBookT Book; typedef ISheetT Sheet; typedef IFormatT Format; typedef IFontT Font; typedef IAutoFilterT AutoFilter; typedef IFilterColumnT FilterColumn; typedef IRichStringT RichString; typedef IFormControlT FormControl; #define xlCreateBook xlCreateBookA #define xlCreateXMLBook xlCreateXMLBookA #endif } #endif