I have converted .ppt/.pptx presentations to *.pdf format with Aspose.Slides and the result documents have a few inconsistencies.
The most affected slides (pages in the PDF):
6101811261171.ppt
- 13: Chinese numbering changed to Arabic numbering and extra numbers appeared for some paragraphs.
- 15: incorrect indent of the dotted bullets.
6101811261171.pptx
- 13: Chinese numbering changed to Arabic numbering.
There are screenshots of these issues in the attached archives, as well as, the presentations.
Code sample:
var pr = new Presentation(inPath);
pr.Save(outPath, SaveFormat.Pdf);
I use Aspose.Slides.dll 25.2.0.0.
test16.zip (6.3 MB)
test17.zip (4.1 MB)
@licenses
It seems you are experiencing issues with the conversion of PowerPoint presentations to PDF format using Aspose.Slides, specifically with Chinese numbering and bullet alignment. Here are some steps you can take to address these issues:
-
Update Aspose.Slides: The version you are using (25.2.0.0) may have known issues that have been resolved in later releases. It is recommended to update to the latest version of Aspose.Slides for .NET. For instance, issues related to text alignment and numbering have been addressed in version 22.3. You can find the latest version and release notes on the Aspose downloads page.
-
Check for Known Issues: There are specific tickets related to text alignment and numbering that have been logged in the issue tracking system. If you encounter similar issues, it may be beneficial to check if they have been resolved in the latest updates.
-
Adjust Presentation Settings: Sometimes, adjusting the settings of the presentation before saving it as a PDF can help. Ensure that the text formatting and bullet settings are correctly configured in the original PowerPoint file.
-
Contact Support: If the issues persist after updating and adjusting settings, consider reaching out to Aspose support with detailed information about the problems, including the specific slides and any relevant screenshots. This can help the development team investigate further.
Here is a simple code snippet for saving a presentation to PDF, which you are already using:
var presentation = new Presentation(inPath);
presentation.Save(outPath, SaveFormat.Pdf);
Make sure to test with the latest version of the library to see if the issues are resolved.
If you have any further questions or need additional assistance, feel free to ask!
@licenses,
Thank you for reporting on the issues. I’ve reproduced the problems with Chinese numbering and bullet alignment when converting the PowerPoint presentations to PDF documents.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): SLIDESNET-44861
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
The issues you found earlier (filed as SLIDESNET-44861) have been resolved in Aspose.Slides for .NET 25.4 (ZIP, MSI, NuGet, Cross-platform).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.