We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

PPTX to SVG Conversion: Bullets Are Not Showing Correctly

While converting pptx to svg square bullet elements are not showing correctly.

public SlidesCloudService(ISlidesCloudSemaphore semaphore, SlidesCloudSettings settings)
{
    _semaphore = semaphore;
    _settings = settings;
    _api = GetAsposeApi(settings);
}

private static SlidesApi GetAsposeApi(SlidesCloudSettings settings)
{
    Configuration config = new Configuration();
    config.ApiBaseUrl = settings.CloudApiUrl;
    config.AuthBaseUrl = config.ApiBaseUrl;

    config.AppSid = settings.AppSid;
    config.AppKey = settings.AppKey;

    config.DebugMode = settings.DebugMode;

    SlidesApi api = new SlidesApi(config);

    return api;
}

public async Task<IList<ResultItem>?> ConvertPreviewAsync(Stream source)
{
    List<ResultItem>? result = null;
    await ApiAsync(() =>
    {
        var previewStream = _api.Convert(source, ExportFormat.Svg);
        result = ReadCollectionResponse(previewStream);
    });

    return result;
}

For example result of converting “bad bullets.pptx” will be “1.svg” (from 1.7z) but it works well with round bullets.
1.7z (1.32 MB)

@iverganz,
Thank you for contacting support.

I see the bullets are showing correctly in your output SVG image. I think you mean the text of list items is displayed incorrectly. issue.png (28.3 KB) Could you please confirm?

Yes, I meant that kind of bullets changes text
display of list items. Thank you.

@iverganz,
Thank you for the clarification. I am working on the issue you described and will get back to you as soon as possible.

@iverganz,
Unfortunately, I was unable to reproduce the same result. Please try using the latest version of Aspose.Slides Cloud SDK.

We are using Aspose Slides Cloud as Docker container. Can you plaese try to reproduce it with docker container?

@iverganz,
Please share your dockerfile and we will do our best to help you.

We have no specific dockerfile for aspose, just building container from the latest image aspose/slides-cloud from aspose hub.

@iverganz,
Thank you for the additional information. I’ve added a ticket with ID SLIDESCLOUD-1625 to our issue-tracking system. Our development team will investigate the case. We will provide a solution for the issue as soon as possible.