This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/document-engine/knowledge-base/xlsm-to-pdf-conversion.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. XLSM to PDF conversion in Document Engine

To convert an XLSM file to PDF using Document Engine, follow the steps below.

  1. Modify the contentType property: In your Build API instructions schema, set the contentType property explicitly to recognize the XLSM file as an XLSX file.
  2. Override the default MIME type detection: Document Engine uses a MIME type allow list to determine the appropriate conversion engine. To ensure the correct processing, override the default detection by setting FilePart > contentType: “application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”.
  3. Route the file to Nutrient .NET SDK: By setting the contentType correctly, Document Engine directs the XLSM file to Nutrient .NET SDK, which efficiently handles the conversion.
  4. Generate the PDF: Once routed to the correct engine, Document Engine processes the file and converts it into a PDF format, preserving the document’s integrity and formatting.