wxReportsLib 1.0 — SDK for Windows (x86)

The report engine behind wxReports, as a static library you link into your own
application. A report laid out in wxReports renders identically inside your
program, because this is the same code the designer runs on.

What is in here
  include\wxReportsLib.h        the whole public API
  include\chart\ReportChart.h   chart definitions, included by the above
  lib\wxReportsLib.lib          the static library (Release, Win32)
  runtime\                      database clients, copied next to your .exe
  example\invoice.cpp           load a report, set a parameter, write a PDF

Build settings your project has to match
  These are not suggestions: a mismatch produces link errors or, worse, a
  binary that misbehaves at run time.

    Platform            Win32 (x86)
    Platform toolset    v141
    Character set       Unicode  (_UNICODE, UNICODE)
    Runtime library     /MT      (Multi-threaded, static)
                        /MTd for the debug library
    wxWidgets           3.1.5, built as a static library (vc_lib)
    wxPdfDocument       required, see below
    Defines             WIN32, __WXMSW__, _WINDOWS
    C++ standard        C++11 or later

  Neither wxWidgets nor wxPdfDocument is in this package. Build or install
  them yourself and point your project at them; this library was compiled
  against wxWidgets 3.1.5.

wxPdfDocument is not optional
  Vector PDF export is wxPdfDC, which comes from wxPdfDocument. The engine
  asks for it with

      #pragma comment(lib, "wxpdfdoc.lib")

  so the linker will look for wxpdfdoc.lib in your library paths whether or
  not you name it yourself. Build wxPdfDocument with the same toolset,
  character set and runtime library as everything else, and put its lib
  directory on your additional library directories. Without it the link fails
  with an unresolved wxpdfdoc.lib.

Linking
  1. Add include\ to your additional include directories.
  2. Add lib\ to your additional library directories and link
     wxReportsLib.lib, alongside the wxWidgets libraries you already use.
  3. Add the wxPdfDocument library directory as well (see above).
  4. Copy the contents of runtime\ next to your executable.

Runtime
    lua51.dll        the sandbox that evaluates formulas and conditions
    sqlite3.dll      SQLite
    sybdb.dll        SQL Server, through FreeTDS
    libmariadb.dll   MySQL and MariaDB
    libpq.dll        PostgreSQL

  These DLLs are themselves built against the Microsoft C runtime, so the
  machine needs msvcp140.dll and its siblings. They ship with the wxReports
  application package, or with the Microsoft Visual C++ Redistributable.

  Oracle is reached through ODPI-C and needs the Oracle client, which is a
  separate download because of its size: wxReports-driver-pack-oracle.zip.

Using it
  See example\invoice.cpp. Beyond ExportPdf there is print and print preview,
  ExportPdfVector and ExportPdfRaster, ExportDataJson and ExportDataCsv, plus
  timeouts, row and memory caps, progress and cancellation through
  wxReportGenerationOptions and wxReportGenerationControl.

CUNICULUS Rafał Królikowski · https://cuniculus.pl