Mock C++ api for libreoffice, for compiling modules without all the baggage