I am trying to generate PDF from docx where docx contains STD which is bound to CustomXML part. I have created a simple sample to demonstrate the issue:
- The sample is written using Aspose.Words 18.12.0 and dotnet core
- Open the project in VSCode
- Open command and run dotnet restore and then dotnet run
- You will see there is docx folder. In that folder, you will see the test1.docx and test.pdf
- If you open the pdf you will the placeholder for plain text SDT
- If you open the test1.docx file then you will see the updated content in SDT.
Note:
If you open this document in MS Word and save then you will be able to generate pdf with content.
AsposeCXPBinding.zip (1.8 KB)