Adding a Space between Words on a Carriage Return when Extracting Unarranged Text

Hi,
I’m using Aspose Slides Java to get the content of slides.

slides_contents = asposePresentationFactory.getPresentationText(javaString(file_location), int(asposeTextExtractionMode.Unarranged)).getSlidesText()

And for each slide, getting the text this way :

slide_content = slides_contents[i].getText()

        if slide_content:
            print(f"SLIDE CONTENT: {slide_content}")

The problem is that for the slide that you can find here

I’m getting this answer :

SLIDE CONTENT: ReviewAI Assistant O poder da IA a serviço da sua experiência do cliente

As you can see on the slide, Review and AI Assistant are not on the same line. Can you make it so there’s a space between the words when there’s a carriage return ?

We haven’t detected this in the past years, so not sure if it’s a new issue

Thanks

@alb1,
Thank you for contacting support.

I am working on the issue and will get back to you as soon as possible.

@alb1,
I’ve reproduced the problem with the extracted text.

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): SLIDESJAVA-39337

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.

Great, keep me posted, thanks !

The issues you found earlier (filed as SLIDESJAVA-39337) have been fixed in Aspose.Slides for Java 24.11 (JAR).
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.