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)