Hi Team,
I found an observation in combo chart, The line break is showing when I save the presentation from output Stream.
The requirement is my project for store the byte array to data base and then create a presentation file. I have to use bye array to byteArrayInputStream to save the presentation file.
Actual code in my project is
image.png (20.6 KB)
The sample code that I can replicate the issue.
import com.aspose.slides.*;
import java.io.FileOutputStream;
import java.io.IOException;
public class SampleAspose {
public static void main(String[] args) {
// Load the presentation
Presentation presentation = new Presentation("C:\\Manikandan\\test.pptx");
try {
// Create an output stream
FileOutputStream outputStream = new FileOutputStream("C:\\Manikandan\\newReport.pptx");
// Save the presentation to the output stream
presentation.save(outputStream, SaveFormat.Pptx);
// Close the stream
outputStream.close();
} catch (IOException e) {
e.printStackTrace();
} finally {
// Dispose of the presentation
presentation.dispose();
}
}
}
The test PPTX is also attached here.
test.7z (37.1 KB)
Actual :
image.png (5.8 KB)
After saved the file:
image.png (71.8 KB)
Please check and help me on this.
The aspose version is as below
implementation group: ‘com.aspose’, name: ‘aspose-slides’, version:‘24.5’, classifier:‘jdk16’