I want to convert file such as doc/xls/txt to PDF format file, how to use libreoffice C++ API please?