semvec/pypi-packages huggingface dataset:
office2pdf 0.0.1
This package aims to convert Microsoft Office file types to PDF.
Requires Python: >=3.6

# msoffice-to-pdf
This package aims to convert Microsoft Office file types to PDF. This lib uses the comtypes package which makes it easy to access and implement custom, dispatch-based COM interfaces or LibreOffice software.

For use in `Windows` environment and `soft=msoffice` Microsoft Office must be installed.

For use in `Windows` environment and `soft=libreoffice` you need the latest version of LibreOffice(soffice) installed.

For `Ubuntu(linux)` environment it is only possible to use `soft=libreoffice`, that is, LibreOffice(soffice).

Example:

```javascript
from msoffice_to_pdf import convert

output = convert(source="C:/Users/<User>/Downloads/file.docx", output_dir="C:/Users/<User>/Downloads", soft="msoffice")

print(output)
```