Using native applications in a PDF document conversion service

Automated conversion of Office documents into PDFs has become a popular service. When designing the architecture of such a service, the question arises as to whether the native application or a specially developed software library should carry out the conversion. The pros and cons are not obvious, so it's worth taking a closer look.