Quantcast
Channel: Aspose.Slides for Java
Viewing all 65 articles
Browse latest View live

Aspose.Slides for Java 14.4.0

$
0
0

Aspose.Slides for Java 14.4.0 Release Notes

We are pleased to announce the release of Aspose.Slides for Java 14.4.0. This release provides new unified API for PPTX and PPT documents.

During next two months Aspose.Slides for Java 8.x and Aspose.Slides for Java 14.x will be published at the same time. But new features will be added only to 14.x.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.

Major Features

  • SLIDESNET-13419 Unite object model for PPT and PPTX formats support
  • SLIDESNET-35154 Implement separate shapes thumbnails creation
  • SLIDESNET-35180 Add possibility of adding/inserting/removing/cloning layout slides

Minor Features

  • SLIDESJAVA-21383 Support for HTML to TextFrame conversion
  • SLIDESJAVA-34377 IPPImage.getImage is missing in the unified API of Aspose.Slides for Java
  • SLIDESNET-35103 Relative Image height is not working in mreged API
  • SLIDESNET-35029 Support for Clearing / Updating a Hyperlink in the new merged API of Aspose.Slides for .NET
  • SLIDESNET-31454 Support for accessing and changing SmartArt node bullet images
  • SLIDESNET-27069 Generating Shape thumbnail with transparent background
  • SLIDESNET-35266 Not able to clone custom layout slides by using destination theme
  • SLIDESNET-35238 Implement importing of audios from PPT for animations
  • SLIDESNET-35218 Add Hyperlinks support for SmartArt objects
  • SLIDESNET-35214 Implement slide transitions importing from PPT
  • SLIDESNET-35037 Design and implement API for manage OverrideTheme object
  • SLIDESNET-34898 Support numbered and unnumbered list styles when importing paragraph text from HTML
  • SLIDESNET-34889 Improve the quality of SmartArt rendering

Other improvements and changes

Bug Fixes

  • SLIDESJAVA-34375 SmartArt Nodes: Level Property of Node class doesn't exist in the new unified API of Aspose.Slides for Java
  • SLIDESJAVA-34373 Using the PresetColor does not use the correct colors for rendering
  • SLIDESJAVA-34353 License "watermark" is not present in PPTX document created/saved with Aspose.Slides for Java 14.3.0
  • SLIDESJAVA-34340 Chart missing in generated HTML
  • SLIDESJAVA-34331 Text missing when converting PPTX to HTML
  • SLIDESJAVA-34327 Text missing in SVG when converting PPTX to HTML
  • SLIDESJAVA-34319 Exception when writing data to chart in Multi-threaded application
  • SLIDESJAVA-34318 Exception while exporting presentation to HTML
  • SLIDESJAVA-34297 PPTX to Image Conversion ignores strikeout text
  • SLIDESJAVA-34289 Error Converting a PPTX file to PDF - Reports invalid MS 2007 File
  • SLIDESJAVA-34288 Null Pointer Exception When converting a PPTX to a PDF
  • SLIDESJAVA-34287 Stack Overflow Converting a PPTX to a PDF
  • SLIDESJAVA-34280 Exception on generating thumbnails
  • SLIDESJAVA-34276 Text missing in generated thumbnail
  • SLIDESJAVA-34248 Aspose.Slides generates the improper HTML
  • SLIDESJAVA-34049 Pie chart slices explosion are improperly rendered in thumbnail
  • SLIDESJAVA-34044 Charts are not converting to PDF in Sun environment
  • SLIDESJAVA-34043 Image not converting to PDF in Sun environment
  • SLIDESJAVA-34038 Text failed to render in geneated thumbnail
  • SLIDESJAVA-34003 Wrong charts are rendered in generated HTML
  • SLIDESJAVA-33981 Text improperly rendered in generated PDF
  • SLIDESJAVA-33943 Strike-through line is missing for text in generated PDF
  • SLIDESJAVA-33908 The font color is changed from white to black in generated PDF
  • SLIDESJAVA-33251 Pattern filled shape improperly rendered in exported PDF

Known issues and limitations

Aspose.Slide Java 14.4.0 is new and quality decision for PowerPoint documents processing. Working with PPT documents was completely revised. And we continue improving. There are some restrictions which will be removed in next releases:

  1. Not all PPTX text formatting features are supported in PPT serialization (tabulation, indentation and paragraph formatting limitations).
  2. Info about text language and spelling settings is not present in serialized PPT documents.
  3. Not all PPTX themes’ features are supported in PPT serialization (only serialization of fill formats, line formats and font).
  4. There are known issues in OLE/ActiveX PPT serialization to PPT.
  5. WordArt serialization and rendering are not supported.
  6. Performance issues.

Public API and Backwards Incompatible Changes

Aspose.Slides for Java 14.4.0.0 release provides completely new unified interface for PPT and PPTX documents processing.


Aspose.Slides for Java 8.7.0

$
0
0

Aspose.Slides for Java 8.7.0 Release Notes

Aspose.Slides for Java has been updated to version 8.7.0.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.

Minor Features

  • (SLIDESJAVA-33616) - Images rendering issues in exported PDF

Other Improvements and Changes

Bugs

  • (SLIDESJAVA-34395) - Chinese default font is not rendered in generated thumbnail
  • (SLIDESJAVA-34386) - Chart missing in generated slide thumbnails
  • (SLIDESJAVA-34382) - loss of data with PPTX to PDF Conversion
  • (SLIDESJAVA-34371) - The slide background is missing in generated slide thumbnail
  • (SLIDESJAVA-34363) - Improper text wrapping in generated thumbnail inside MAC
  • (SLIDESJAVA-34361) - Slide thumbnail and PDF are improperly generated in MAC environment
  • (SLIDESJAVA-34348) - The point lines on X and Y axis are improperly rendered in generated PDF
  • (SLIDESJAVA-34341) - Presentation repair message for Aspose.Slides cloned presentation
  • (SLIDESJAVA-34277) - Chart missing in generated thumbnail
  • (SLIDESJAVA-33830) - Improper thumbnail generated in MAC
  • (SLIDESJAVA-34227) - Picture missing in generated thumbnail
  • (SLIDESJAVA-34056) - Setting Table X and Y coordinates throws exception
  • (SLIDESJAVA-33981) - Text improperly rendered in generated PDF
  • (SLIDESJAVA-33723) - Performance of Aspose.Slides for 3.0.0 and onward versions is significantly lesser that 2.9.x series
  • (SLIDESNET-35461) - Missed charts in generated PDF
  • (SLIDESNET-35429) - The point lines on X and Y axis are improperly rendered in generated PDF
  • (SLIDESNET-35172) - Setting Table X and Y coordinates throws exception


Aspose.Slides for Java 14.5.0

$
0
0
We are pleased to announce the release of Aspose.Slides for Java 14.5.0.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.

Major Features

  • (SLIDESNET-19279) - Support for creating group shapes

Minor Features

  • (SLIDESJAVA-34250) - FontLoader should give the names of externally loaded fonts
  • (SLIDESJAVA-33831) - Support for removing LayoutSlideEx from MasterSlideEx
  • (SLIDESJAVA-33249) - Support for new Exception Class for Password Failures
  • (SLIDESJAVA-30391) - Adding font path in Aspose.Slides
  • (SLIDESJAVA-24460) - Request for setLicense(String)
  • (SLIDESJAVA-33741) - Presentatation takes a lot of time to load
  • (SLIDESNET-35379) - Support to determine if Powerpoint presentations are password protected without loading them
  • (SLIDESNET-35484) - Add license expiry date checking in export operations
  • (SLIDESNET-35247) - Implement slide transitions serialization to PPT
  • (SLIDESNET-35246) - Implement audios serialization to PPT

Other Improvements and Changes

Bug Fixes

  • (SLIDESJAVA-34428) - FontsLoader doesn't work for setting external fonts
  • (SLIDESJAVA-34427) - Negative Number formatting is not working in DataLabels
  • (SLIDESJAVA-34420) - Chart trend line is rendered solid instead of dashed
  • (SLIDESJAVA-34417) - Exception while extracting text from presentation
  • (SLIDESJAVA-34416) - Exception on opening presentation using Aspose.Slides
  • (SLIDESJAVA-34409) - Aspose,Slides failed to work in multithread environment
  • (SLIDESJAVA-34249) - The slide is improeprly rendered in generated thumbnail
  • (SLIDESJAVA-34203) - PPTX to PDF Conversion - Missing Tables
  • (SLIDESJAVA-34170) - The image failed to render in generated PDF
  • (SLIDESJAVA-34164) - Reading Aspose Saved PPTX file adds extra blank paragraphs and spaces to DiagramNodeEx text
  • (SLIDESJAVA-34151) - Wrong row and columns number returned from table
  • (SLIDESJAVA-34091) - Font height is affected in generated thumbnails for CentOS
  • (SLIDESJAVA-34090) - Improper word wrapping for text in generated thumbnails
  • (SLIDESJAVA-34078) - Slide thumbnails text are improperly rendered in generated thumbnail inside MAC
  • (SLIDESJAVA-34059) - Cannot cast text holder to placeholder
  • (SLIDESJAVA-34048) - Chart improrperly rendered in generated thumbnail
  • (SLIDESJAVA-34016) - ClusteredCylinder chart type failed to create using Asposoe.Slides
  • (SLIDESJAVA-33939) - Extra border on chart lines in generated PDF
  • (SLIDESJAVA-33936) - Chart has missing row in generated PDF
  • (SLIDESJAVA-33933) - Chart category axis text is rendered diagonally instead of horizontal
  • (SLIDESJAVA-33841) - Horizontal Line in bar chart appears for generated PDF
  • (SLIDESJAVA-33840) - Text renders off the slide in generated thumbnails for MAC environment
  • (SLIDESJAVA-33836) - Extra indent spacing observed for chart legends in generated PDF
  • (SLIDESJAVA-33704) - Chart series lines appearing for generated chart
  • (SLIDESJAVA-33701) - Aspose.Slides takes around 5 seconds to load a single title slide presenatation
  • (SLIDESJAVA-33621) - The legends are improperly rendered in generated PDF
  • (SLIDESJAVA-33424) - Improper Text rendering in generated thumbnails
  • (SLIDESJAVA-33285) - External Hyperlink failed to get retrieved from presentation
  • (SLIDESJAVA-33245) - Slide image is improperly rendered in generated PDF
  • (SLIDESJAVA-33216) - Table is missing in generated pdf if row is updated
  • (SLIDESJAVA-33164) - Support for deleting column in PPTX table for Aspose.Slides
  • (SLIDESJAVA-32992) - Chart missing in Exported PDF
  • (SLIDESJAVA-28327) - PPT file is corrupted by using Save method
  • (SLIDESJAVA-25143) - PPT to PDF, background image is missing
  • (SLIDESJAVA-24533) - Incorrect image scaling and wrong image rendering in exported PDF
  • (SLIDESJAVA-24532) - Slide thumbnail deterioted on changing scling factor
  • (SLIDESJAVA-24417) - Presentation succesfully accessed but with stacktrace
  • (SLIDESJAVA-22120) - Paragraph alignment sets the same alignment for all the paragraphs as set in Paragraph[0]

Public API and Backwards Incompatible Changes

Aspose.Slides.IPresentationInfo interface and PresentationInfo class have been added

Represent info about presentation.
Method boolean isEncrypted() gets True if a presentation is encrypted, otherwise gets False.
Methos LoadFormat getLoadFormat() gets type of a presentation.

Aspose.Slides.IShape.isGrouped() method had been added

The method Aspose.Slides.IShape.isGrouped() determines whether the shape is grouped.

Aspose.Slides.IShape.getParentGroup() method had been added

The method Aspose.Slides.IShape.getParentGroup() returns parent GroupShape object if shape is grouped. Otherwise returns null.

Aspose.Slides.IShapeCollection.addGroupShape() method had been added

The method Aspose.Slides.IShapeCollection.addGroupShape() creates a new GroupShape and adds it to the end of the collection.
GroupShape frame size and position will be fitted to content when new shape will be added into the GroupShape.

Aspose.Slides.IShapeCollection.clear() method had been added

The method Aspose.Slides.IShapeCollection.clear() removes all shapes from the collection.

Aspose.Slides.IShapeCollection.insertGroupShape(int) method had been added

The method Aspose.Slides.IShapeCollection.insertGroupShape(int) creates a new GroupShape and inserts it to the collection at the specified index.
GroupShape frame size and position will be fitted to content when new shape will be added into the GroupShape.

Methods IPresentationFactory.getPresentationInfo(string file), IPresentatoinFactory.getPresentationInfo(InputStream stream) have been added

These methods allow to receive information about a presentaiton file/stream without full presentation loading.

Method IPresentationFactory PresentationFactory.getInstance() has been added

Allows using the factory functionality without instantiation.

Restrictions had been added for using undefined values for IShape.getFrame()

Code that attempts to assign undefined frame to IShape.setFrame(IShapeFrame) doesn't make sence in general case (particulary in case when parent GroupShape is multiple nested into other GroupShape-s). For example:

IShape shape = ...;
shape.setFrame(new ShapeFrame(Float.NaN, Float.NaN, Float.NaN, Float.NaN, NullableBool.NotDefined, NullableBool.NotDefined, Float.NaN));


or

slide.Shapes.AddAutoShape(ShapeType.RoundCornerRectangle, Float.NaN, Float.NaN, Float.NaN, Float.NaN);

Such code can lead to unclear situations. So restrictions had been added for using undefined values for IShape.Frame. Values of x, y, width, height, flipH, flipV and rotationAngle must be defined (not Float.NaN or NullableBool.NotDefined). Example code above now throws ArgumentException exception.
This applies to these use cases:

IShape shape = ...;
shape.setFrame(...); // cannot be undefined

IShapeCollection shapes = ...;
// x, y, width, height parameters cannot be Float.NaN:
{
  shapes.addAudioFrameCD(...);
  shapes.addAudioFrameEmbedded(...);
  shapes.addAudioFrameLinked(...);
  shapes.addAutoShape(...);
  shapes.addChart(...);
  shapes.addConnector(...);
  shapes.addOleObjectFrame(...);
  shapes.addPictureFrame(...);
  shapes.addSmartArt(...);
  shapes.addTable(...);
  shapes.addVideoFrame(...);
  shapes.insertAudioFrameEmbedded(...);
  shapes.insertAudioFrameLinked(...);
  shapes.insertAutoShape(...);
  shapes.insertChart(...);
  shapes.insertConnector(...);
  shapes.insertOleObjectFrame(...);
  shapes.insertPictureFrame(...);
  shapes.insertTable(...);
  shapes.insertVideoFrame(...);
}


But IShape.getRawFrame() frame properties can be undefined. This make sence when shape is linked to placeholder. Then undefined shape frame values is overridden from the parent placeholder shape. If there is no parent placeholder shape for that shape then that shape uses default values when it evaluates effective frame based on its IShape.getRawFrame(). Default values are 0 and NullableBool.False for x, y, width, height, flipH, flipV and rotationAngle. For example:

IShape shape = ...; // shape is linked to placeholder
shape.setRawFrame(new ShapeFrame(Float.NaN, Float.NaN, 100, Float.NaN, NullableBool.NotDefined, NullableBool.NotDefined, 0));
// now shape inherits x, y, height, flipH, flipV values form placeholder and overrides width=100 and rotationAngle=0.


Type and name of the Aspose.Slides.IShapeCollection.getParent() method has been changed

Type of the Aspose.Slides.IShapeCollection.Parent property has been changed from ISlideComponent to new IGroupShape interface. IGroupShape interface is the descendant of the ISlideComponent so user code needs no adaptations.
Name of the Aspose.Slides.IShapeCollection.getParent() method has been changed from getParent to getParentGroup().

Type of the Aspose.Slides.IShapeFrame.getFlipH(), .getFlipV() methods has been changed

Type of the Aspose.Slides.IShapeFrame.getFlipH() method has been changed from bool to NullableBool.
IShape.getFrame() method returns effective instance of IShapeFrame (all of which properties have defined effective values).
IShape.getRawFrame() method returns IShapeFrame instance of which each property can have undefined value (particularly FlipH or FlipV can have value NullableBool.NotDefined).

Aspose.Slides for Java 8.8.0

$
0
0

Aspose.Slides for Java 8.7.0 Release Notes

Aspose.Slides for Java has been updated to version 8.8.0.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.

Minor Features

  • (SLIDESJAVA-34250) - FontLoader should give the names of externally loaded fonts

Other Improvements and Changes

Bug Fixes

  • (SLIDESJAVA-34405) - Setting Marker Type to None is not working for Aspose.Slides
  • (SLIDESJAVA-34397) - Issue with using Split functionality for Powerpoint presentation
  • (SLIDESJAVA-34249) - The slide is improeprly rendered in generated thumbnail
  • (SLIDESJAVA-34170) - The image failed to render in generated PDF
  • (SLIDESJAVA-34091) - Font height is affected in generated thumbnails for CentOS
  • (SLIDESJAVA-34090) - Improper word wrapping for text in generated thumbnails
  • (SLIDESJAVA-34078) - Slide thumbnails text are improperly rendered in generated thumbnail inside MAC
  • (SLIDESJAVA-34048) - Chart improrperly rendered in generated thumbnail
  • (SLIDESJAVA-33939) - Extra border on chart lines in generated PDF
  • (SLIDESJAVA-33936) - Chart has missing row in generated PDF
  • (SLIDESJAVA-33933) - Chart category axis text is rendered diagonally instead of horizontal
  • (SLIDESJAVA-33841) - Horizontal Line in bar chart appears for generated PDF
  • (SLIDESJAVA-33840) - Text renders off the slide in generated thumbnails for MAC environment
  • (SLIDESJAVA-33836) - Extra indent spacing observed for chart legends in generated PDF
  • (SLIDESJAVA-33704) - Chart series lines appearing for generated chart
  • (SLIDESJAVA-33621) - The legends are improperly rendered in generated PDF

Aspose.Slides for Java 14.6.0

$
0
0
Aspose.Slides for Java has been updated to version 14.6.0.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.

Major Features

  • SLIDESNET-34369 - Support for removing LayoutSlideEx from MasterSlideEx
  • SLIDESNET-27375 - Add shapes cloning feature

Minor Features

  • SLIDESNET-35502 - Support to determine if ODP presentations are password protected without loading them
  • SLIDESNET-35496 - Setting slide view type for presentation
  • SLIDESNET-34900 - Support Error Bars in Charts

Other Improvements and Changes

Bug Fixes

  • SLIDESJAVA-34321 - Aspose.Slides fails if access is restricted to a directory
  • SLIDESJAVA-34495 - NullPointerException on cloning slide in presentaiton
  • SLIDESJAVA-34494 - Exception on cloning slide master
  • SLIDESJAVA-34487 - Top of logo cutting in the generated PDF file
  • SLIDESJAVA-34477 - KeyNotFoundException on accessing the presentation
  • SLIDESJAVA-34472 - Error converting PPTX to PDF
  • SLIDESJAVA-34460 - KeyNotFoundException on exporting to PDF
  • SLIDESJAVA-34458 - NullPointerException on exporting PPTX to PDF
  • SLIDESJAVA-34430 - Chart walls fill color is missing when converting PPTX to PDF
  • SLIDESJAVA-34429 - Downbars are missing in the chart when converting PPTX to PDF
  • SLIDESJAVA-34422 - Exception while converting PPTX to PDF
  • SLIDESJAVA-34421 - Exception while generating PDF file from PPTX filee
  • SLIDESJAVA-34397 - Issue with using Split functionality for Powerpoint presentation
  • SLIDESJAVA-34386 - Chart missing in generated slide thumbnails
  • SLIDESJAVA-34352 - FillFormat.getGradientFillAngle gives the wrong angle value
  • SLIDESJAVA-34272 - Text improperly rendered in generated PDF
  • SLIDESJAVA-34228 - utf8mb4 characters inside presentation are improperly rendered in saved presentation
  • SLIDESJAVA-34094 - Presentation gets corrupted on chaning the master slide text
  • SLIDESJAVA-34080 - OutOfMemoryError on generating the slide thumbnail in Mac environment
  • SLIDESJAVA-34079 - OutOfMemoryError on generating the slide thumbnail in Mac environment
  • SLIDESJAVA-33674 - Major Horizontal Grid lines appearing in Bar charts in exported PDF
  • SLIDESJAVA-33414 - The hyperlink are lost in exported PDF
  • SLIDESJAVA-33410 - Chart improperly rendered in exported PDF
  • SLIDESJAVA-33303 - Big font size in thumbnails in Linux environment
  • SLIDESJAVA-33220 - Setting individual gradient colors for table cells does not work
  • SLIDESJAVA-33175 - Chart background appeared as white in generated PDF

Public API Changes

Added ViewType enum, IViewProperties interface, ViewProperties class and IPresentation.getViewProperties() method

IPresentation.getViewProperty() method provides access to IViewProperties and allows changing presentation view type and notes visibility when a presentation is opened in PowerPoint.

Presentation p = new Presentation();
p.getViewProperties().setLastView(ViewType.SlideMasterView);

Aspose.Slides.IShapeCollection.addClone(...), .insertClone(...) methods had been added

The methods
Aspose.Slides.IShapeCollection.addClone(IShape sourceShape)
Aspose.Slides.IShapeCollection.addClone(IShape sourceShape, float x, float y)
Aspose.Slides.IShapeCollection.addClone(IShape sourceShape, float x, float y, float width, float height)
Aspose.Slides.IShapeCollection.insertClone(int index, IShape sourceShape)
Aspose.Slides.IShapeCollection.insertClone(int index, IShape sourceShape, float x, float y)
Aspose.Slides.IShapeCollection.insertClone(int index, IShape sourceShape, float x, float y, float width, float height)
adds/inserts a copy of a specified shape into the collection. Example of using:

Presentation srcPres = new Presentation("data/Source Frame.pptx");
IShapeCollection sourceShapes = srcPres.getSlides().get_Item(0).getShapes();

ILayoutSlide blankLayout = srcPres.getMasters().get_Item(0).getLayoutSlides().getByType(SlideLayoutType.Blank);
ISlide destSlide = srcPres.getSlides().addEmptySlide(blankLayout);
IShapeCollection destShapes = destSlide.getShapes();

destShapes.addClone(sourceShapes.get_Item(1), 50, 150 + sourceShapes.get_Item(0).getHeight());
destShapes.addClone(sourceShapes.get_Item(2));
destShapes.addClone(sourceShapes.get_Item(3), 50, 200, 50, 50);
destShapes.addClone(sourceShapes.get_Item(4));
destShapes.addClone(sourceShapes.get_Item(5), 300, 300, 50, 200);
destShapes.insertClone(0, sourceShapes.get_Item(0), 50, 150);

Interface Aspose.Slides.Charts.IDataSourceTypeForErrorBarsCustomValues has been added

Specifies types of values in ChartDataPoint.ErrorBarsCustomValues properties list.

Presentation pres = new Presentation();
IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.Bubble, 50, 50, 400, 300, true);
IChartSeries series = chart.getChartData().getSeries().get_Item(0);

IErrorBarsFormat errBarX = series.getErrorBarsXFormat();
IErrorBarsFormat errBarY = series.getErrorBarsYFormat();

errBarX.setVisible(true);
errBarY.setVisible(true);

errBarX.setValueType(ErrorBarValueType.Custom);
errBarY.setValueType(ErrorBarValueType.Custom);

IChartDataPointCollection points = series.getDataPoints();

points.getDataSourceTypeForErrorBarsCustomValues().setDataSourceTypeForXPlusValues(DataSourceType.DoubleLiterals);
points.getDataSourceTypeForErrorBarsCustomValues().setDataSourceTypeForXMinusValues(DataSourceType.DoubleLiterals);
points.getDataSourceTypeForErrorBarsCustomValues().setDataSourceTypeForYPlusValues(DataSourceType.DoubleLiterals);
points.getDataSourceTypeForErrorBarsCustomValues().setDataSourceTypeForYMinusValues(DataSourceType.DoubleLiterals);

for (int i = 0; i < points.size(); i++)
{
   points.get_Item(i).getErrorBarsCustomValues().getXMinus().setAsLiteralDouble(i + 1);
   points.get_Item(i).getErrorBarsCustomValues().getXPlus().setAsLiteralDouble(i + 1);
   points.get_Item(i).getErrorBarsCustomValues().getYMinus().setAsLiteralDouble(i + 1);
   points.get_Item(i).getErrorBarsCustomValues().getYPlus().setAsLiteralDouble(i + 1);
}

pres.save("ErrorBarsCustomValues.pptx", SaveFormat.Pptx);

Interface Aspose.Slides.Charts.IErrorBarsCustomValues has been added

In case when IErrorBarsFormat.ValueType property is equal Custom to specify value use ErrorBarCustomValues property of specific data point in DataPoints collection of series.

Presentation pres = new Presentation();
IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.Bubble, 50, 50, 400, 300, true);
IChartSeries series = chart.getChartData().getSeries().get_Item(0);

IErrorBarsFormat errBarX = series.getErrorBarsXFormat();
IErrorBarsFormat errBarY = series.getErrorBarsYFormat();

errBarX.setVisible(true);
errBarY.setVisible(true);

errBarX.setValueType(ErrorBarValueType.Custom);
errBarY.setValueType(ErrorBarValueType.Custom);

IChartDataPointCollection points = series.getDataPoints();

points.getDataSourceTypeForErrorBarsCustomValues().setDataSourceTypeForXPlusValues(DataSourceType.DoubleLiterals);
points.getDataSourceTypeForErrorBarsCustomValues().setDataSourceTypeForXMinusValues(DataSourceType.DoubleLiterals);
points.getDataSourceTypeForErrorBarsCustomValues().setDataSourceTypeForYPlusValues(DataSourceType.DoubleLiterals);
points.getDataSourceTypeForErrorBarsCustomValues().setDataSourceTypeForYMinusValues(DataSourceType.DoubleLiterals);

for (int i = 0; i < points.size(); i++)
{
   points.get_Item(i).getErrorBarsCustomValues().getXMinus().setAsLiteralDouble(i + 1);
   points.get_Item(i).getErrorBarsCustomValues().getXPlus().setAsLiteralDouble(i + 1);
   points.get_Item(i).getErrorBarsCustomValues().getYMinus().setAsLiteralDouble(i + 1);
   points.get_Item(i).getErrorBarsCustomValues().getYPlus().setAsLiteralDouble(i + 1);
}

pres.save("ErrorBarsCustomValues.pptx", SaveFormat.Pptx);

Interface Aspose.Slides.Charts.IErrorBarsFormat has been added

Represents error bars of chart series.
In case of custom value type to specify value use ErrorBarCustomValues property of specific data point in DataPoins collection of series.

Presentation pres = new Presentation();
IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.Bubble, 50, 50, 400, 300, true);

IErrorBarsFormat errBarX = chart.getChartData().getSeries().get_Item(0).getErrorBarsXFormat();
IErrorBarsFormat errBarY = chart.getChartData().getSeries().get_Item(0).getErrorBarsYFormat();

errBarX.setVisible(true);
errBarY.setVisible(true);

errBarX.setValueType(ErrorBarValueType.Fixed);
errBarX.setValue(0.1f);

errBarY.setValueType(ErrorBarValueType.Percentage);
errBarY.setValue(5);

errBarX.setType(ErrorBarType.Plus);

errBarY.getFormat().getLine().setWidth(2);

errBarX.setEndCap(true);

pres.save("ErrorBars.pptx", SaveFormat.Pptx);

Aspose.Slides for Java 8.8.1

$
0
0
We like to share the new hotfix release of Aspose.Slides for Java. The following issues have been resolved.

Other Improvements and Changes

Bug Fixes

  • SLIDESJAVA-34507 - Slide chart is improperly rendered in generated thumbnail
  • SLIDESJAVA-34469 - Chart is empty after converting PPTX to PNG

Aspose.Slides for Java 14.6.1

$
0
0
We like to share the new hotfix release of Aspose.Slides for Java. The following issues have been resolved.

Other Improvements and Changes

Bug Fixes

  • SLIDESJAVA-34521 - java.lang.ExceptionInInitializerError on saving PDF

Aspose.Slides for Java 14.7.0

$
0
0
Aspose.Slides for Java has been updated to version 14.7.0.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.

Major Features

  • SLIDESNET-35370 - Implement proper AlternateContent deserialization to support PP2010+ features
  • SLIDESNET-35215 - Implement animation timeline importing from PPT

Minor Features

  • SLIDESJAVA-33179 - Getting thumbnail for specified window inside slide
  • SLIDESJAVA-11378 - Image rendering in PPTX
  • SLIDESNET-35629 - Implement unknown RoundTrip records
  • SLIDESNET-32923 - Add support for serialization of separate shapes in PPTX
  • SLIDESNET-35555 - Support p14 namespace elements resaving

Other Improvements and Changes

Bug Fixes

  • SLIDESJAVA-34511 - Font Substitution related queries
  • SLIDESJAVA-34540 - Shape autofit not working as expected in PPTX
  • SLIDESJAVA-34537 - Text Format not proper after conversion to HTML file
  • SLIDESJAVA-34536 - A Preview kind of panel is appearing in generated HTML file
  • SLIDESJAVA-34534 - NullReference exception on saving presentation
  • SLIDESJAVA-34533 - Missing Image in the generated PDF file
  • SLIDESJAVA-34531 - Text Overlapping while using Exporting to PDF file
  • SLIDESJAVA-34527 - NullPointerException on exporting PPTX to PDF
  • SLIDESJAVA-34515 - Stacked bar charts: the charts is rendered "compressed"
  • SLIDESJAVA-34506 - Inserting HTML failed in presentation
  • SLIDESJAVA-34502 - Chart title failed to hide in generated presentation
  • SLIDESJAVA-34501 - Chat Title is not proper in the generated image file
  • SLIDESJAVA-34500 - Colored Cells are not showing color in the generated image file
  • SLIDESJAVA-34499 - Exception on Opening the presentation file : The method or operation is not implemented
  • SLIDESJAVA-34497 - The image get cropped in generated thumbnail
  • SLIDESJAVA-34484 - Data table in Pie chart is not rendered
  • SLIDESJAVA-34480 - Text going out of call out after conversion from PPT to PNG
  • SLIDESJAVA-34470 - TextFrameFormat Exception on exporting to PDF
  • SLIDESJAVA-34464 - FontsLoader seems to give issue in Aspose.Slides for Java 14.5.0
  • SLIDESJAVA-34459 - Unsupported file format on exporting to PDF
  • SLIDESJAVA-34457 - NullPointerException on exporting to PDF
  • SLIDESJAVA-34455 - PptxException: TextFrameFormat's margins can't be negative on exporting to PDF
  • SLIDESJAVA-34435 - Embedded Ole frame with tables and charts have missing colors in generated thumbnails
  • SLIDESJAVA-34415 - Embedded excel does not converted to PDF correctly
  • SLIDESJAVA-34316 - Image improperly rendered in generated thumbnail
  • SLIDESJAVA-34264 - Image size changed in exported PDF
  • SLIDESJAVA-34204 - PPTX to PNG: Application hangs when converting PPTX file to PNG images
  • SLIDESJAVA-34198 - NullPointer Exception on accessing the presentation
  • SLIDESJAVA-34181 - Text over flows the shape in generated PDF
  • SLIDESJAVA-34150 - Text failed to render in genrated slide thumbnail
  • SLIDESJAVA-34055 - ASTERISK characeter appearing for the footer text in generated PDF
  • SLIDESJAVA-33929 - Animation effects are lost when PPT is saved to PPTX
  • SLIDESJAVA-33928 - Index is less than 0 or more than or equal to the list count exception on generating PDF
  • SLIDESJAVA-33879 - Java heap size over flows when accessing presentation and generating thumbnail inside MAC OSX
  • SLIDESJAVA-33839 - Presentation failed to initialize
  • SLIDESJAVA-33712 - Shape background fill color is improperly rendered in generated thumbnail
  • SLIDESJAVA-33652 - Shape background color is improperly rendered in generated PDF
  • SLIDESJAVA-33651 - SmartArt is missing in generated PDF
  • SLIDESJAVA-33447 - Text overflowing from shape in generated thumbnail
  • SLIDESJAVA-33423 - Improper SmartArt rendering in generated thumbnails
  • SLIDESJAVA-33415 - The Smiley Face and No Symbol shapes are improperly rendered in exported PDF
  • SLIDESJAVA-33400 - Opening the Aspose.Slides saved presentation throws Unknown file format exception
  • SLIDESJAVA-33386 - Saving presentation, reading presentation and saving again corrupts the presentation
  • SLIDESJAVA-33381 - The shape rotation is not read properly
  • SLIDESJAVA-33326 - Saving a PPT using Aspose Slides is resulting in change in color of the bullets
  • SLIDESJAVA-32032 - PDF generation takes immense time
  • SLIDESJAVA-30719 - NullPointerException while exporting ppt to pdf
  • SLIDESJAVA-30662 - Text rendering issue in Thumbnail

Constructors of the some TransitionValueBase subtypes have been removed and TransitionValueFactory has been removed

Constructors of the some TransitionValueBase subtypes (and specifically CornerDirectionTransition, EightDirectionTransition, EmptyTransition, InOutTransition, OptionalBlackTransition, OrientationTransition, SideDirectionTransition, SplitTransition, WheelTransition) are useless in public API and so have been removed. Related class TransitionValueFactory and its interface ITransitionValueFactory have been remaved by the same reason.

Element SoundAction has been removed from com.aspose.slides.TransitionType enumeration

Element SoundAction was incorrect and not used. Sound settings are defined by SlideShowTransition.SoundMode, .Sound, .SoundLoop, .SoundIsBuiltIn, .SoundName properties..

FlyThroughTransition class and IFlyThroughTransition interface have been added

The com.aspose.slides.FlyThroughTransition class (and its interface com.aspose.slides.IFlyThroughTransition) relates to transition type Flythrough that has been supported in this release..

GlitterTransition class, IGlitterTransition interface and TransitionPattern enumeration have been added

The com.aspose.slides.GlitterTransition class (and its interface com.aspose.slides.IGlitterTransition) relates to transition type Glitter that has been supported in this release .
com.aspose.slides.TransitionPattern enumeration is used in this class and specifies a geometric pattern that tiles together to fill a larger area.

LeftRightDirectionTransition class, ILeftRightDirectionTransition interface and TransitionLeftRightDirectionType enumeration have been added

The com.aspose.slides.LeftRightDirectionTransition class (and its interface com.aspose.slides.ILeftRightDirectionTransition) relates to transition types Switch, Flip, Ferris, Gallery, Conveyor that have been supported in this release.

com.aspose.slides.TransitionLeftRightDirectionType enumeration is used in this class and specifies a direction restricted to the values of left and right.

New elements have been added into com.aspose.slides.TransitionType enumeration

com.aspose.slides.TransitionType enumeration has been extended with new elements.

New elements related to new PowerPoint 2010 transitions: Vortex, Switch, Flip, Ripple, Honeycomb, Cube, Box, Rotate, Orbit, Doors, Window, Ferris, Gallery, Conveyor, Pan, Glitter, Warp, Flythrough, Flash, Shred, Reveal, WheelReverse.

New elements related to new PowerPoint 2013 transitions: FallOver, Drape, Curtains, Wind, Prestige, Fracture, Crush, PeelOff, PageCurlDouble, PageCurlSingle, Airplane, Origami.

RevealTransition class and IRevealTransition interface have been added

The com.aspose.slides.RevealTransition class (and its interface com.aspose.slides.IRevealTransition) relates to transition type Reveal that has been supported in this release.

RippleTransition class, IRippleTransition interface and TransitionCornerAndCenterDirectionType enumeration have been added

The com.aspose.slides.RippleTransition class (and its interface com.aspose.slides.IRippleTransition) relates to transition type Ripple that has been supported in this release.
com.aspose.slides.TransitionCornerAndCenterDirectionType enumeration is used in this class and specifies a direction restricted to the corners and center.

ShredTransition class, IShredTransition interface and TransitionShredPattern enumeration have been added

The com.aspose.slides.ShredTransition class (and its interface com.aspose.slides.IShredTransition) relates to transition type Shred that has been supported in this release.

com.aspose.slides.TransitionShredPattern enumeration is used in this class and specifies a geometric shape that tiles together to fill a larger area.

Aspose.Slides for Java 14.8.0

$
0
0
Aspose.Slides for Java has been updated to version 14.8.0.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.

Major Features

  • SLIDESNET-33267 - Support for managing VBA macros inside presentation

Minor Features

  • SLIDESNET-35663 - Support for setting series overlaping for chart series
  • SLIDESNET-35554 - Feature to Join Portion together having same formatting
  • SLIDESNET-34412 - Support for chart series overlap option
  • SLIDESNET-11046 - Pass the validation check of MS Office 2010
  • SLIDESJAVA-33505 - Changing layout slide in PPT
  • SLIDESJAVA-34592 - Getting the font information of portion of a paragraph

Other Improvements and Changes

But Fixes

  • SLIDESJAVA-34152 - Different exception are thrown on when setting not standard Locales in different way
  • SLIDESJAVA-34574 - Corrupt files generating when converting POT to PDF
  • SLIDESJAVA-34565 - Date is not getting updated in generated PDF file
  • SLIDESJAVA-34563 - First Slide in PPT is becoming blank page in PDF
  • SLIDESJAVA-34559 - NullPointerException thrown while cloning the slides
  • SLIDESJAVA-34558 - Exception while cloning the slides: Specified argument was out of the range of valid values
  • SLIDESJAVA-34557 - Exception while converting PPTX to PDF: Value too large or too small
  • SLIDESJAVA-34541 - Number is replaced with * in the generated PDF file.
  • SLIDESJAVA-34540 - Shape autofit not working as expected in PPTX
  • SLIDESJAVA-34494 - Exception on cloning slide master
  • SLIDESJAVA-34474 - Exception- Element already exists- on saving the presentation file
  • SLIDESJAVA-34454 - PowerPoint Slide Font issues - theme fonts
  • SLIDESJAVA-34412 - Text position is improperly rendered in generated PDF
  • SLIDESJAVA-34385 - Shapes added over chart are missing in generated thumbnails
  • SLIDESJAVA-34128 - Replacing the slide paragraph text changes the slide transition effects
  • SLIDESJAVA-34084 - Rotated text is rendered as straight in generated thumbnail
  • SLIDESJAVA-33579 - Chart type changes on editing chart
  • SLIDESJAVA-33571 - Chart format and values changes on cloning the slides with chart
  • SLIDESJAVA-33521 - Over sized slide number field appearing in merged presentation slides
  • SLIDESJAVA-33519 - Many new layout slides are formed when applying new slide master to cloned presentation slides
  • SLIDESJAVA-33446 - Wrong placeholder type returned for slide shapes
  • SLIDESJAVA-33409 - Slide Mater layout improperly rendered in exported PDF
  • SLIDESJAVA-33405 - Cloning PPTX presentation corrupts presentation
  • SLIDESJAVA-33390 - Wrong aligned content in Thumbnail and PDF
  • SLIDESJAVA-33339 - Arabic language improperly rendered in exported PDF
  • SLIDESJAVA-27334 - Problem with the display group shapes when converting PPT to pdf

Public API Changes

Methods Aspose.Slides.Charts.IChartSeries.getOverlap(), IChartSeriesGroup.getOverlap(), setOverlap(byte) have been added

Method Aspose.Slides.Charts.IChartSeries.getOverlap() gets how much bars and columns shall overlap on 2-D charts (from -100 to 100).
These method not only for specific series but for all series of parent series group - this is projection of appropriate group property.
Use IChartSeries.getParentSeriesGroup() method for accessing to parent series group.
Use IChartSeriesGroup.getOverlap(), setOverlap(byte) methods for managing value.

Presentation pres = new Presentation();
IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.ClusteredColumn, 50, 50, 600, 400, true);
IChartSeriesCollection series = chart.getChartData().getSeries();
if (series.get_Item(0).getOverlap() == 0) {
   series.get_Item(0).getParentSeriesGroup().setOverlap(-30);
}

ShapeThumbnailBounds.Appearance enum value has been added

This method of shape thumbnail creation allows to generate a shape thumbnail in the bounds of its appearance. It takes into account all shape effects. The generated shape thumbnail is restricted by slide bounds.

Presentation pres = new Presentation();
BufferedImage st = pres.getSlides().get_Item(0).getShapes().get_Item(0).getThumbnail(ShapeThumbnailBounds.Appearance, 1, 1);

VbaProject class and IVbaProject interface have been added, Presentation.getVbaProject(), setVbaProject(VbaProject) methods have been changed

There is new feature, which allows create and edit VbaProject in a presentation.

Presentation pres = new Presentation();

// Create new VBA Project
pres.setVbaProject(new VbaProject());

// Add empty module to the VBA project
IVbaModule module = pres.getVbaProject().getModules().addEmptyModule("Module");

// Set module source code
module.setSourceCode("Sub Test(oShape As Shape)\r\n MsgBox \"Test\"\r\nEnd Sub");

// Create reference to

VbaReferenceOleTypeLib stdoleReference =
   new VbaReferenceOleTypeLib("stdole",
     "*\\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\\Windows\\system32\\stdole2.tlb#OLE Automation");

// Create reference to Office
VbaReferenceOleTypeLib officeReference =
   new VbaReferenceOleTypeLib("Office",
     "*\\G{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}#2.0#0#C:\\Program Files\\Common Files\\Microsoft Shared\\OFFICE14\\MSO.DLL#Microsoft Office 14.0 Object Library");

// Add references to the VBA project
pres.getVbaProject().getReferences().add(stdoleReference);
pres.getVbaProject().getReferences().add(officeReference);

pres.save("data\\test.pptm", SaveFormat.Pptm);

Aspose.Slides for Java 14.9.0

$
0
0
Aspose.Slides for Java has been updated to version 14.9.0.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.

Minor Features

  • SLIDESJAVA-34580 - Implementation of IWarningCallback in font substitution scenario
  • SLIDESJAVA-34553 - Convert a specific PPTX slide to PDF file
  • SLIDESJAVA-34396 - Get warnings for Fonts substitution in Aspose.Slides
  • SLIDESJAVA-25201 - Attaching an XLS file in a PPT file
  • SLIDESJAVA-12044 - Detecting symbols with position in text strings
  • SLIDESJAVA-34552 - Missing feature to replace image in presentation file in the new unified version
  • SLIDESNET-35858 - Slide per file when coverting PPTX to HTML
  • SLIDESNET-35708 - Setting Fill format for SmartArt node
  • SLIDESNET-33196 - Support for setting the background color of individual nodes in SmartArt shape
  • SLIDESNET-35588 - Implement animation timeline serialization to PPT

Other Improvements and Changes

But Fixes

  • SLIDESJAVA-34603 - Thread blocking in Aspose.Slides for Java
  • SLIDESJAVA-32887 - PPTX to PDF takes immense memory resources
  • SLIDESJAVA-34600 - An element with the same key already exists in the dictionary Exception is thrown while opening the PPTX file
  • SLIDESJAVA-34598 - Double Underline in a table cell text is not working properly
  • SLIDESJAVA-34591 - Converting PPTX to HTML and saving images as other formats rather than SVG
  • SLIDESJAVA-34589 - Page number position is not proper in the generated PDF file
  • SLIDESJAVA-34586 - Aspose.Slides is unable to complete the PPTX to PDF conversion process
  • SLIDESJAVA-34584 - PPTX to HTML Conversion issue: Logo on the bottom is coming with black background
  • SLIDESJAVA-34583 - PPTX to HTML Conversion issue: Text background color is not proper
  • SLIDESJAVA-34582 - HTML to PDF Conversion issue: graph background color is not proper
  • SLIDESJAVA-34573 - Bullets are coming as junk characters in generated PDF file
  • SLIDESJAVA-34547 - Aspose.Slides escaping issue in PPTX file
  • SLIDESJAVA-34526 - Unknown file format exception is thrown on opening the file.
  • SLIDESJAVA-34479 - Font changes after conversion from PPT to PNG
  • SLIDESJAVA-34473 - Pie Chart Series Labels are outside the chart in generated PNG file
  • SLIDESJAVA-34468 - Chart Title position in generated PPTX are not same as in Original PPTX
  • SLIDESJAVA-34461 - KeyNotFoundException on exporting to PDF
  • SLIDESJAVA-34378 - Details required for Presentations to HTML with Externally Linked Images
  • SLIDESJAVA-34329 - InvertIfNegative values are rendered with colors in generated PDF
  • SLIDESJAVA-34070 - Setting fill picture for Media Player control does not work
  • SLIDESJAVA-33891 - Concurrent processing of slides takes more time then sequential threading
  • SLIDESJAVA-33801 - Aspose.Slides failed to work in Scala Framework
  • SLIDESJAVA-33777 - The line links are missing for rendered smart art in generated PDF
  • SLIDESJAVA-33547 - Hyperlinks Addresses Changing on opening and saving presentations using Aspose.Slides
  • SLIDESJAVA-33254 - Bullet position and shadow effects lost for text in exported PDF
  • SLIDESJAVA-33120 - Vertical text is rendered horizontally in generated thumbnail
  • SLIDESJAVA-32648 - Unable to remove shape border
  • SLIDESJAVA-32530 - PPT to PDF conversion issue
  • SLIDESJAVA-29027 - Missing shapes in generated thumbnails when used in JDK 1.4
  • SLIDESJAVA-27103 - font Typeface ignored when Bold property is used
  • SLIDESJAVA-18031 - Text position is lost in generated thumbnail
  • SLIDESJAVA-5493 - Table height sets successfully only if it is first read.

Public API Changes

Methods for image replacing have been added to PPImage, IPPImage

New methods added:

IPPImage.replaceImage(byte[] newImageData)
IPPImage.replaceImage(IPPImage newImage)

Presentation presentation = new Presentation("presentation.pptx");

//the first way
byte[] imageData = // ...
presentation.getImages().get_Item(0).replaceImage(imageData);

//the second way
presentation.getImages().get_Item(1).replaceImage(
presentation.getImages().get_Item(0));

presentation.save("presentation_out.pptx", SaveFormat.Pptx);

Methods for saving presentation slides with page numbers keeping have been added

The following methods have been added:

void IPresentation.save(string fname, int[] slides, SaveFormat format);
void IPresentation.save(string fname, int[] slides, SaveFormat format, ISaveOption options);
void IPresentation.save(Stream stream, int[] slides, SaveFormat format);
void IPresentation.save(Stream stream, int[] slides, SaveFormat format, ISaveOption options);

These methods allow to save specified presentation slides to PDF, XPS, TIFF, HTML formats. The 'slides' array allows to specify page numbers, starting from 1.
save(string fname, int[] slides, SaveFormat format);

Presentation presentation = new Presentation(presentationFileName);
int[] slides = new int[] { 2, 3, 5 }; //Array of slides positions
presentation.save(outFileName, slides, SaveFormat.Pdf);

SmartArtLayoutType.Custom enum value has been added

This type of SmartArt layout represents diagram with custom template. Custom diagrams only can be loaded from presentation file and can't be created via method ShapeCollection.addSmartArt(x, y, width, height, SmartArtLayoutType.Custom)
SmartArtShape class and ISmartArtShape interface have been added

The Aspose.Slides.SmartArt.SmartArtShape class (and its interface Aspose.Slides.SmartArt.ISmartArtShape) add access to individual shapes inside SmartArt diagram. SmartArtShape can be used to change FillFormat, LineFormat, adding Hyperlinks etc.

Note: SmartArtShape does not supported IShape properties RawFrame, Frame, Rotation, X, Y, Width, Height and thrown System.NotSupportedException when attempting to access them.

Example of usage:

Presentation pres = new Presentation();
ISmartArt smart = pres.getSlides().get_Item(0).getShapes().addSmartArt(10, 10, 400, 300, SmartArtLayoutType.BasicBlockList);
ISmartArtNode node = smart.getAllNodes().get_Item(0);
for (ISmartArtShape shape : node.getShapes())
{
shape.getFillFormat().setFillType(FillType.Solid);
shape.getFillFormat().getSolidFillColor().setColor(Color.RED);
}
pres.save("out.pptx", SaveFormat.Pptx);

SmartArtShapeCollection class, ISmartArtShapeCollection interface and ISmartArtNode.getShapes() method have been added

The Aspose.Slides.SmartArt.SmartArtShapeCollection class (and its interface Aspose.Slides.SmartArt.ISmartArtShapeCollection) add access to individual shapes inside SmartArt diagram. Collection contains shapes associated with SmartArtNode. Property SmartArtNode.Shapes returns collections of all shapes associated with the node.

Note: depending of SmartArtLayoutType one SmartArtShape can be shared between several nodes.

Presentation pres = new Presentation();
ISmartArt smart = pres.getSlides().get_Item(0).getShapes().addSmartArt(10, 10, 400, 300, SmartArtLayoutType.BasicBlockList);
ISmartArtNode node = smart.getAllNodes().get_Item(0);
for (ISmartArtShape shape : node.getShapes())
{
shape.getFillFormat().setFillType(FillType.Solid);
shape.getFillFormat().getSolidFillColor().setColor(Color.RED);
}
pres.save("out.pptx", SaveFormat.Pptx);

Aspose.Slides for Java 14.10.0

$
0
0
Aspose.Slides for Java has been updated to version 14.10.0.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.

Major Features

  • SLIDESNET-12593 - WordArt Support

Minor Features

  • SLIDESNET-35858 - Slide per file when coverting PPTX to HTML
  • SLIDESNET-35092 - Feature to Convert SmartArt Shapes to Image
  • SLIDESNET-34980 - Feature to Convert Shape to Image is required in Presentation files
  • SLIDESNET-33583 - Generating Shape thumbnail for PPTX shape
  • SLIDESNET-31924 - Support for Layout Slides in PPTX
  • SLIDESNET-19320 - Can the Image be modified in PPTX
  • SLIDESNET-34216 - Presentation takes more than 45 minutes to render 2 slide thumbnails
  • SLIDESJAVA-33391 - Extract audio used in SlideShowTransitions
  • SLIDESJAVA-33179 - Getting thumbnail for specified window inside slide

Other Improvements and Changes

Bug Fixes

  • SLIDESJAVA-34625 - License issue when setting license of Aspose.Slides for Java
  • SLIDESJAVA-34614 - Aspose.Slides.jar failed to work in a background thread
  • SLIDESJAVA-34608 - Error: Powerpoint was unable to locate the linked media file \ppt\media\media1.wmv
  • SLIDESJAVA-34597 - WordArt is improperly rendered in thumbnail
  • SLIDESJAVA-34588 - Footer Text missing in the generated PDF file
  • SLIDESJAVA-34585 - Text on chart improperly rendered in generated thumbnails
  • SLIDESJAVA-34491 - Text improperly rendered in exported PDF using Aspose.Slides
  • SLIDESJAVA-34476 - Cannot edit chart data in Excel after writing PPTX
  • SLIDESJAVA-34463 - KeyNotFoundException on exporting PPTX to PDF
  • SLIDESJAVA-34453 - PPT to PDF conversion: Blue box appearing instead of text in generated file
  • SLIDESJAVA-34431 - Axis Labels direction is not same after converting PPTX to PDF
  • SLIDESJAVA-34283 - Slide styling gets changed when exporting PPT to PDF
  • SLIDESJAVA-34235 - Table text is cropped in generated thumbnails
  • SLIDESJAVA-34130 - Text is rendered with wrong scaling and rendered outside slide in generated thumbnails
  • SLIDESJAVA-33927 - Parameter 'emSize' is invalid in exporting PPT to PDF
  • SLIDESJAVA-33460 - Text missing in exported PDF
  • SLIDESJAVA-33448 - The logo text rendering at wrong position
  • SLIDESJAVA-33320 - Graphics distortion in extracting PPT
  • SLIDESJAVA-33130 - Smart Art or Word Art is rendered as a pink box
  • SLIDESJAVA-30351 - Graph missing in Thumbnails
  • SLIDESJAVA-7962 - reversed colors after rendering
  • SLIDESJAVA-6023 - Object resizing problem
  • SLIDESJAVA-34528 - Hyperlink missing in generated slide thumbnail
  • SLIDESJAVA-34486 - Concurrency issue in Aspose.Slides - lock contention
  • SLIDESJAVA-34221 - PPTX to PDF: Symbols are not showing fine in the generated PDF file
  • SLIDESJAVA-34159 - Presentation failed to exported to PDF using Aspose.Slides in MAC
  • SLIDESJAVA-34119 - License File Error with Aspose Slides in OSGI environment
  • SLIDESJAVA-34220 - PPT to PDF: Symbols are not showing fine in the generated PDF file
  • SLIDESJAVA-34000 - ColorSchemeEx failed to work if chart has more than six series
  • SLIDESJAVA-34326 - Font failed to render in generated thumbnail
  • SLIDESJAVA-33490 - POT file failed to get exported to PDF

Public API Changes

com.aspose.slides.FieldType.getFooter() method has been added

getFooter() method returns footer field type. It has been added for the implementation of the possibility to create fields of this type and for valid presentation serialization.

Element com.aspose.slides.ShapeElementFillSource.Own has been deleted

Element ShapeElementFillSource.Own has been deleted as duplicated. Use ShapeElementFillSource.Shape instead of ShapeElementFillSource.Own.

Methods for chart data points, categories removing have been added

The following methods, which allow to remove chart data point from a chart data point collection have been added:

IChartDataPointCollection.remove(IChartDataPoint)
IChartDataPoint.remove()

The following method, which allows to remove a chart category from the containing collection has been added:

IChartCategory.remove()

Presentation pres = new Presentation();

IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.ClusteredColumn, 50, 50, 450, 400, true);

chart.getChartData().getCategories().get_Item(0).remove(); // remove with ChartCategory.remove()
chart.getChartData().getCategories().remove(chart.getChartData().getCategories().get_Item(0)); // remove with ChartCategoryCollection.remove()

for (IChartSeries ser : chart.getChartData().getSeries())
{
ser.getDataPoints().get_Item(0).remove(); // remove with ChartDataPoint.remove()
ser.getDataPoints().remove(ser.getDataPoints().get_Item(0)); // ChartDataPointCollection.remove()
}

pres.save("presentation.pptx", SaveFormat.Pptx);

Obsolete Aspose.Slides.ParagraphFormat methods have been removed

The methods getBulletChar(), getBulletColor(), getBulletColorFormat(), getBulletFont(), getBulletHeight(), getBulletType(), isBulletHardColor(), isBulletHardFont(), getNumberedBulletStartWith(), getNumberedBulletStyle() and corresponding set methods have been removed. They were marked as obsolete long time ago.

Unuseful and obsolete constructors have been removed

The following constructors have been removed:

com.aspose.slides.AlphaBiLevel(float)
com.aspose.slides.AlphaModulateFixed(float)
com.aspose.slides.AlphaReplace(float)
com.aspose.slides.BiLevel(float)
com.aspose.slides.Blur(double, boolean)
com.aspose.slides.HSL(float, float, float)
com.aspose.slides.ImageTransformOperation(com.aspose.slides.ImageTransformOperationCollection)
com.aspose.slides.Luminance(float, float)
com.aspose.slides.Tint(float, float)
com.aspose.slides.PortionFormat(com.aspose.slides.ParagraphFormat)
com.aspose.slides.PortionFormat(com.aspose.slides.Portion)
com.aspose.slides.PortionFormat(com.aspose.slides.PortionFormat)

Aspose.Slides for Java 15.1.0

$
0
0
Aspose.Slides for Java has been updated to version 15.1.0.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

Starting from Aspose.Slides for Java 15.1.0 release Aspose.Slides won't include JARs for JDK 1.4 into releases. It will include JARs for JDK 6, JDK 7 and JDK 8.

The following is the list of changes in this version of Aspose.Slides.

Major Features

  • SLIDESNET-35615 - FontEntity class alternate / implementation in the latest version of Aspose.Slides

Minor Features

  • SLIDESJAVA-34406 - Support for managing VBA macros inside presentation
  • SLIDESJAVA-34271 - Support to remove macros in presentation
  • SLIDESJAVA-34246 - Feature to Join PortionEx with same formatting
  • SLIDESJAVA-34156 - Support for Aspose.Slides jar file to act as OSGi bundles
  • SLIDESJAVA-34028 - Support for scaling options of image added in slide shapes
  • SLIDESJAVA-33583 - Export PPT to HTML
  • SLIDESJAVA-23302 - Generating Shapes thumbnails in PPTX
  • SLIDESJAVA-13314 - SmartArt DOM with support for read/write
  • SLIDESNET-35204 - Support to remove macros in presentation
  • SLIDESNET-35092 - Feature to Convert SmartArt Shapes to Image
  • SLIDESNET-35067 - Feature to Join PortionEx with Same Formatting
  • SLIDESNET-34980 - Feature to Convert Shape to Image is required in Presentation files
  • SLIDESNET-34787 - Extract audio used in SlideShowTransitions
  • SLIDESNET-29249 - Using Aspose.Slides as COM Interop DLL
  • SLIDESNET-19406 - Serialization for ShapesEx
  • SLIDESNET-12643 - Macros detection / removal in presentations
  • SLIDESNET-3710 - Serialization of Group Shapes
  • SLIDESNET-12540 - Paragraph.BulletOffset has no effect

Other Improvements ans Changes

Bug Fixes

  • SLIDESJAVA-33223 - Problems to create PDF' on servers with java.awt.headless=true
  • SLIDESJAVA-34696 - Error on opening the generated PPTX file: Powerpoint found the content in the file which it did not understand
  • SLIDESJAVA-34692 - Master file getting lost after cloning the slide
  • SLIDESJAVA-34691 - Slide content lost when cloning slides using Aspose.Slides
  • SLIDESJAVA-34661 - chart category and value axis labels are improperly rendered
  • SLIDESJAVA-34654 - Bullets are wrongly rendered in generated thumbnail
  • SLIDESJAVA-34652 - Chart failed to get edited in PowerPoint after saving presentation using Aspose.Slides
  • SLIDESJAVA-34650 - WordArt text is improperly rendered in thumbnail
  • SLIDESJAVA-34647 - Not able to view the HTML file after converting a PPT file
  • SLIDESJAVA-34646 - Metafile throws NullPointerException
  • SLIDESJAVA-34645 - TextureBrush throws ClassCastException: Metafile cannot be cast to Bitmap
  • SLIDESJAVA-34640 - Charts missing after updating MS to version 5.0.0
  • SLIDESJAVA-34634 - Chart failed to get edited in PowerPoint
  • SLIDESJAVA-34624 - Wrong charts labels text wrapping in generated thumbnails
  • SLIDESJAVA-34606 - Wrong rendering of german umlauts in images
  • SLIDESJAVA-34593 - The contents are getting overlapped in the generated PDF file
  • SLIDESJAVA-34579 - Image (metafile) missing in generated thumbnail
  • SLIDESJAVA-34577 - Data label mismatch in pie-chart : PPTX to PDF
  • SLIDESJAVA-34562 - Bullets are not properly rendered in PDF from PPT file
  • SLIDESJAVA-34544 - Table format getting disturbed after re-saving the PPT file
  • SLIDESJAVA-34542 - Table Rows are connecting with other table in generated PDF file.
  • SLIDESJAVA-34512 - Setting license key with relative path throws exception
  • SLIDESJAVA-34482 - Table Border missing in the generated PNG file
  • SLIDESJAVA-34448 - PPTX to PDF Conversion: Pie Chart fill style is not proper
  • SLIDESJAVA-34093 - The set Header Footer values are not refleceted in Header Footer Manger in PowerPoint
  • SLIDESJAVA-34086 - Text is improperly rendered in generated thumbnail
  • SLIDESJAVA-34077 - Can't open cloned pptx in LibreOffice (linux) or in Google Docs
  • SLIDESJAVA-34063 - Aspose.Slides failed to work in Eclipse SWT/RCP application
  • SLIDESJAVA-33890 - Chineese characters rendered as block codes in MAC
  • SLIDESJAVA-33826 - Fonts improperly rendered in Mac environment
  • SLIDESJAVA-33759 - SmartArt shapes getting corrupted on saving the presentation
  • SLIDESJAVA-33718 - Hyperlink color is improperly rendered in generated thumbnail
  • SLIDESJAVA-33378 - NoClassDefFoundError on generating slide thumbnail in MAC environmnet
  • SLIDESJAVA-33139 - Generated PDF has improper table data rendering
  • SLIDESJAVA-30584 - Shapes improperly rendered in the slide thumbnail
  • SLIDESJAVA-30583 - Slide title failed to render in generated thumbnail

There are known issues with some image bullets and WordArt objects, which will be fixed in Aspose.Slides for Java 15.2.0.

Public API Changes

Fonts substitutions functionality has been added

The possibility to replace fonts globally across the presentation and temporary for rendering has been added.

New method getFontsManager() of Presentation class has been introduced. FontsManager class has following members:

IFontSubstRuleCollection getFontSubstRuleList() method

This is the collection of IFontSubstRule instances used to substitute fonts during rendering. IFontSubstRule has getSourceFont() and getDestFont() methods implementing IFontData interface and getReplaceFontCondition() method allowing to choose the condition of replacement ("WhenInaccessible" or "Always").

IFontData[] getFonts() method can be used to retrieve all fonts used in the current presentation.

replaceFont(...) methods can be used to persistently replace a font in a presentation.

The following example shows how to replace a font in a presentation:

Presentation pres = new Presentation("PresContainsArialFont.pptx");
IFontData sourceFont = new FontData("Arial");
IFontData destFont = new FontData("Times New Roman");
pres.getFontsManager().replaceFont(sourceFont, destFont);
pres.save("PresContainsTimesNoewRomanFont.pptx", SaveFormat.Pptx);


Another example, shows font substitution for rendering when it is inaccessible:

Presentation pres = new Presentation("PresContainsSomeRareFontFont.pptx");

IFontData sourceFont = new FontData("SomeRareFont");
IFontData destFont = new FontData("Arial");

IFontSubstRule fontSubstRule = new FontSubstRule(
sourceFont, destFont, FontSubstCondition.WhenInaccessible);
IFontSubstRuleCollection fontSubstRuleCollection = new FontSubstRuleCollection();
fontSubstRuleCollection.add(fontSubstRule);

pres.getFontsManager().setFontSubstRuleList(fontSubstRuleCollection);

// Arial font will be used instead of SomeRareFont when inaccessible
pres.getSlides().get_Item(0).getThumbnail(1, 1);

Aspose.Slides for Java 15.2.0

$
0
0
Aspose.Slides for Java has been updated to version 15.2.0.

Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint.

Visit the documentation to learn how to get started with Aspose.Slides for Java.

Note this download contains a fully working version of the product, however without a license set it will run in evaluation mode. To test Aspose.Slides without these evaluation limitations you can request a free 30-day temporary license.

Starting from Aspose.Slides for Java 15.1.0 release Aspose.Slides won't include JARs for JDK 1.4 into releases. It will include JARs for JDK 6, JDK 7 and JDK 8.

The following is the list of changes in this version of Aspose.Slides.

Minor Features

  • SLIDESNET-35378 - RemoveAt method for chart series data point collection is missing
  • SLIDESNET-34872 - To get Fill Color of Series when Fill Type is Automatic
  • SLIDESNET-36088 - Implement all types of hyperlink monikers
  • SLIDESNET-34858 - Support for availability of same property for getting the file format as of Aspsoe.Cells and Aspsoe.Words

Other Improvements ans Changes

Bug Fixes

  • SLIDESJAVA-34759 - The slide background is wrongly rendered in generated PDF
  • SLIDESJAVA-34739 - IllegalArgumentException on accessing the presentation
  • SLIDESJAVA-34736 - IWarningCallback implementation for font substitution does not completely show the font name
  • SLIDESJAVA-34733 - Chart thumbnail is improperly rendered using Aspose.Slides for Java
  • SLIDESJAVA-34731 - Deadlock in Presentation (com.aspose.slides.acm.do) in multithread mode
  • SLIDESJAVA-34729 - Bullets are missing in generated thumbnails
  • SLIDESJAVA-34720 - PPTX is converted to byte array and loaded causes issue
  • SLIDESJAVA-34715 - Bullets are improperly rendered in generated thumbnail
  • SLIDESJAVA-34714 - Content is not showing in the generated HTML file
  • SLIDESJAVA-34706 - Image quality is not good when converting PPTX to Image conversion
  • SLIDESJAVA-34697 - Bitmap. throws java.lang.ArrayIndexOutOfBoundsException: 74
  • SLIDESJAVA-34690 - Aspose.Slides failed to read the master theme name for presentaiton
  • SLIDESJAVA-34687 - Text improperly rendered in generated thumbnail
  • SLIDESJAVA-34668 - Slide thumbnail is improperly rendered in MAC environment
  • SLIDESJAVA-34666 - Error message pops up on opening Aspose.Slides modified presentation
  • SLIDESJAVA-34662 - Chart value axis text is not fitting inside defined filled area
  • SLIDESJAVA-34660 - Chart data in plot area is missing in generated thumbnail
  • SLIDESJAVA-34659 - Chart category axis is improperly rendered in generated thumbnails
  • SLIDESJAVA-34649 - Bitmap. throws IOException: Error reading PNG image data
  • SLIDESJAVA-34641 - Java.lang.AssertionError: Cannot read a name from the name table in a font. when converting PPTX to PDF on Solaris
  • SLIDESJAVA-34115 - Text rendered with blue color in generated slide thumbnails
  • SLIDESJAVA-33911 - Background color blending allignments changing after transforming to PDF
  • SLIDESJAVA-33365 - Paragraph spacing changed for Aspose.Slides generated text frame text if font is changed
  • SLIDESJAVA-33318 - Font size in PDF and in thumbnails is bigger than in original PPTX

Public API Changes

addDataPointForDoughnutSeries methods have been added

The two overloads of IChartDataPointCollection.addDataPointForDoughnutSeries() method have been added for adding data points into series of Doughnut type.

com.aspose.slides.SmartArtShape class has been inherited from com.aspose.slides.GeometryShape class

com.aspose.slides.SmartArtShape class has been inherited from com.aspose.slides.GeometryShape class. This change improves Aspose.Slides object model and adds new features to SmartArtShape class.

IGradientStopCollection.add(...) and IGradientStopCollection.insert(...) methods have been changed

The signature of IGradientStop add(float position, int presetColor) is replaced with IGradientStop addPresetColor(float position, int presetColor) signature.

The signature of IGradientStopCollection method IGradientStop add(float position, SchemeColor schemeColor) is replaced with IGradientStop addSchemeColor(float position, int schemeColor) signature.

The signature of the IGradientStopCollection method void insert(int index, float position, int presetColor) is replaced with void insertPresetColor(int index, float position, int presetColor) signature.

The signature of the IGradientStopCollection method void insert(int index, float position, SchemeColor schemeColor) is replaced with void insertSchemeColor(int index, float position, int schemeColor) signature.

java.awt.Color getAutomaticSeriesColor() method has been added to com.aspose.slides.IChartSeries

getAutomaticSeriesColor() method returns an automatic color of series based on series index and chart style. This color is used by default if FillType equals NotDefined.

Presentation pres = new Presentation();

IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.ClusteredColumn, 100, 50, 600, 400);
for (int i = 0; i < chart.getChartData().getSeries().size(); i++)
{
  chart.getChartData().getSeries().get_Item(i).getAutomaticSeriesColor();
}

Method for removing chart data point and chart category by its index has been added

IChartDataPointCollection.removeAt(int index) method has been added for removing chart data point by its index.
IChartCategoryCollection.removeAt(int index) method has been added for removing chart category by its index.

PptXPptY value has been added to com.aspose.slides.PropertyType enumeration

PptXPptY value has been added to com.aspose.slides.PropertyType enumeration in the scope of a serialization issue fix.

Aspose.Slides for Java 15.3.0

$
0
0

Major Features

There are 40 improvements and fixes in this regular monthly release. The most notable are:
  • Improved SmartArt customization support

All changes

  • SLIDESJAVA-34768 - Aspose.Slides takes big time to export 1 slide presentaiton to PDF
  • SLIDESJAVA-34737 - Same font substituted with different fonts on different slides by Aspose.Slides
  • SLIDESJAVA-34796 - FontsLoader.clearCache() does not remove the temp file created
  • SLIDESJAVA-34787 - Improvement in IWarningCallback output
  • SLIDESJAVA-8062 - Throw exception if unattached portion is set
  • SLIDESJAVA-34791 - PDF OLE object failed to get added in powerpoint
  • SLIDESJAVA-34789 - Gradient is improperly rendered in generated PDF
  • SLIDESJAVA-34788 - Wrong text rendering in generated thumbnail and Pdf
  • SLIDESJAVA-34770 - PptxException on accessing presentation
  • SLIDESJAVA-34769 - Presentation repair message on opening presentation in PowerPoint 2010
  • SLIDESJAVA-34763 - Multithreads halts on using PPT presentaitons
  • SLIDESJAVA-34760 - Setting the X_Y for slide Comment in presentation not getting affected
  • SLIDESJAVA-34757 - Wrong text (Indian font) wrapping in generated thumbnail
  • SLIDESJAVA-34755 - Wrong character spacing of Hindi text in generated thumbnail
  • SLIDESJAVA-34754 - FontManager returns 0 as Font count if the presentaiton is loading using stream
  • SLIDESJAVA-34753 - Telugu characters improperly rendered in generated thumbnail
  • SLIDESJAVA-34752 - Highlighted text is missing in generated PDF
  • SLIDESJAVA-34751 - Tamil characters improperly rendered in generated thumbnail
  • SLIDESJAVA-34750 - Chart labels are missing in generated PDF
  • SLIDESJAVA-34747 - The slide thumbnail include orange transparent layer over them
  • SLIDESJAVA-34746 - Thumbnails are improperly rendedered in generated thumbnails
  • SLIDESJAVA-34743 - Low Chart rendering quality in generated thumbnail
  • SLIDESJAVA-34740 - Presentation repair message in cloned presentation
  • SLIDESJAVA-34728 - SplitbyColSpan not splitting the table properly
  • SLIDESJAVA-34725 - Text on SmartArt (after re-saving) is improperly rendered in thumbnail
  • SLIDESJAVA-34719 - NullReference exception on opening presentation
  • SLIDESJAVA-34703 - Title text size changed after cloning the slide in PPTX file
  • SLIDESJAVA-34702 - Title text color changed after cloning the slide in PPTX file
  • SLIDESJAVA-34701 - Title location changed after cloning the slide in PPTX file
  • SLIDESJAVA-34695 - Unexpected font parsing exception while opening a PPTX file
  • SLIDESJAVA-34689 - Wrong Chart after converting PPTX to Image
  • SLIDESJAVA-34657 - SmartArt text is improeprly rendered in generated thumbnails
  • SLIDESJAVA-34581 - PPTX to HTML Conversion issue: some content is missing in the generated file
  • SLIDESJAVA-34538 - Unexpected font parsing exception while converting PPTX to PDF
  • SLIDESJAVA-34488 - InvertIfNegative property is set to true when series data point color is set
  • SLIDESJAVA-34233 - Graph is missing in generated thumbnail
  • SLIDESJAVA-34169 - Charts failed to render in generated PDF
  • SLIDESJAVA-34072 - Embedded TIFF Files Not Rendering In PPTX
  • SLIDESJAVA-33941 - SmartArt is missing in generated PDF
  • SLIDESJAVA-33347 - SmartArt improperly renderd in generated thumbnail

Aspose.Slides for Java 15.4.0

$
0
0

Major Features

  • SLIDESNET-31745 - Connectors layouting

Minor Features

  • SLIDESNET-36224 - Unique IDs for symbol id for pictures is needed when exporting slides with images to HTML
  • SLIDESNET-35359 - Presentation.GetSlideByID() missing in Aspose.Slides
  • SLIDESNET-33702 - Saving presentation in different slide view types
  • SLIDESNET-17922 - Splitting table cells
  • SLIDESNET-3681 - Accessing objects on the notes page view
  • SLIDESNET-36285 - Implement serialization and deserialization of emdedded fonts for PPT
  • SLIDESNET-35273 - Implement SmartArt customization
  • SLIDESNET-13794 - Consistency in DocumentProperties

Other Improvements and Changes

Bug fixes

  • SLIDESJAVA-34861 - Text improperly rendered in generated thumbnail
  • SLIDESJAVA-34848 - insertClone gives PptxEditException if second column index bigger from first column index.t
  • SLIDESJAVA-34845 - Black shape background appearing in generated HTML
  • SLIDESJAVA-34803 - Text frames inside group shapes are not read
  • SLIDESJAVA-34799 - Position of arrow in chart plot area gets changed in generated thumbnail
  • SLIDESJAVA-34798 - Chart category axis is improperly rendered in generated thumbnail
  • SLIDESJAVA-34790 - Strikethrough is appearing thick when exporting to pdf.
  • SLIDESJAVA-34777 - Chart lines are missing in generated thumbnail
  • SLIDESJAVA-34771 - Text size is not changed when TextAutoFitType.Normal is used for slide textframe
  • SLIDESJAVA-34767 - Input string was not in the correct format exception on adding HTML to textframe
  • SLIDESJAVA-34762 - Slide notes failed to get added in presentation
  • SLIDESJAVA-34756 - Calibri font information is not getting accessed from portion fonts
  • SLIDESJAVA-34669 - Portion format return wron values for portion properties
  • SLIDESJAVA-34546 - Issue with connection positioning in PPTX file
  • SLIDESJAVA-34456 - llegalArgumentException: Unable to read file on exporting to PDF
  • SLIDESJAVA-34242 - Aspose Slides for Java causing Raster failure
  • SLIDESJAVA-34241 - Slide thumbnails are improperly generated in Linux environment
  • SLIDESJAVA-34161 - Setting Alternative property on Slide master shape is not getting applied on shapes in master slides
  • SLIDESJAVA-23004 - Rectangle shape added has 0 height and width

Public API Changes

Enum OrganizationChartLayoutType has been added

The com.aspose.slides.OrganizationChartLayoutType enum represents formatting type the child nodes in an organization chart.

Method IBulletFormat.applyDefaultParagraphIndentsShifts() has been added

Method com.aspose.slides.IBulletFormat.ApplyDefaultParagraphIndentsShifts sets default non-zero shifts for effective paragraph Indent and MarginLeft when bullets is enabled (like PowerPoint do if enable paragraph bullets/numbering in it). If bullets is disabled then just reset paragraph Indent and MarginLeft (like PowerPoint do if disable paragraph bullets/numbering in it).

Method IConnector.reroute() has been added

Method com.aspose.slides.IConnector.reroute() reroutes connector so that it take the shortest possible path between the shapes it connect. To do this, the reroute() method may change the StartShapeConnectionSiteIndex and EndShapeConnectionSiteIndex.
Presentation input = new Presentation();
IShapeCollection shapes = input.getSlides().get_Item(0).getShapes();
IConnector connector = shapes.addConnector(ShapeType.BentConnector2, 0, 0, 10, 10);
IAutoShape ellipse = shapes.addAutoShape(ShapeType.Ellipse, 0, 100, 100, 100);
IAutoShape rectangle = shapes.addAutoShape(ShapeType.Rectangle, 100, 300, 100, 100);
connector.setStartShapeConnectedTo(ellipse);
connector.setEndShapeConnectedTo(rectangle);
connector.reroute();
input.save("output.pptx", SaveFormat.Pptx);

Method IPresentation.getSlideById(long) has been added

Method Aspose.Slides.IPresentation.getSlideById(int) returns a Slide, MasterSlide or LayoutSlide by slide Id.
Presentation presentation = new Presentation();
long id = presentation.getSlides().get_Item(0).getSlideId();
IBaseSlide slide = presentation.getSlideById(id);

Method ISmartArt.getNodes() has been added

Method com.aspose.slides.ISmartArt.getNodes() returns collection of root nodes in SmartArt object.
Presentation pres = new Presentation();
ISmartArt smart = pres.getSlides().get_Item(0).getShapes().addSmartArt(10, 10, 400, 300, SmartArtLayoutType.VerticalBulletList);
ISmartArtNode node = smart.getNodes().get_Item(1); // select second root node
node.getTextFrame().setText("Second root node");
pres.save("out.pptx", SaveFormat.Pptx);

Method ISmartArt.setLayout(int) has been added

Method for property com.aspose.slides.ISmartArt.setLayout(int) has been added. It allows change layout type of an existing diagram.
Presentation pres = new Presentation();
ISmartArt smart = pres.getSlides().get_Item(0).getShapes().addSmartArt(10, 10, 400, 300, SmartArtLayoutType.BasicBlockList);
smart.setLayout(SmartArtLayoutType.BasicProcess);
pres.save("out.pptx", SaveFormat.Pptx);

Method ISmartArtNode.isHidden() has been added

Method com.aspose.slides.ISmartArtNode.isHidden() returns true if this node is a hidden node in the data model.
Presentation pres = new Presentation();
ISmartArt smart = pres.getSlides().get_Item(0).getShapes().addSmartArt(10, 10, 400, 300, SmartArtLayoutType.RadialCycle);
ISmartArtNode node = smart.getAllNodes().addNode();
boolean hidden = node.isHidden(); //returns true
if(hidden) {
    //do some actions or notifications
}
pres.Save("out.pptx", SaveFormat.Pptx);

Methods ISmartArt.isReversed(), setReserved() have been added

Property com.aspose.slides.ISmartArt.IsReversed allows get or sets the state of the SmartArt diagram with regard to (left-to-right) LTR or (right-to-left) RTL, if the diagram supports reversal.
Presentation presentation = new Presentation();
ISmartArt smart = presentation.getSlides().get_Item(0).getShapes().addSmartArt(10, 10, 400, 300, SmartArtLayoutType.BasicProcess);
smart.setReversed(true);
presentation.save("out.pptx", SaveFormat.Pptx);

Methods ISmartArtNode.getOrganizationChartLayout(), setOrganizationChartLayout(int) have been added

Methods com.aspose.slides.ISmartArtNode.getOrganizationChartLayout(), setOrganizationChartLayout(int) allow get or sets organization chart type associated with current node.
Presentation pres = new Presentation();
ISmartArt smart = pres.getSlides().get_Item(0).getShapes().addSmartArt(10, 10, 400, 300, SmartArtLayoutType.OrganizationChart);
smart.getNodes().get_Item(0).setOrganizationChartLayout(OrganizationChartLayoutType.LeftHanging);
pres.save("out.pptx", SaveFormat.Pptx);

Property IShape.getConnectionSiteCount() has been added

Property com.aspose.slides.getConnectionSiteCount() returns the number of connection sites on the shape.
Presentation input = new Presentation();
IShapeCollection shapes = input.getSlides().get_Item(0).getShapes();
IConnector connector = shapes.addConnector(ShapeType.BentConnector2, 0, 0, 10, 10);
IAutoShape ellipse = shapes.addAutoShape(ShapeType.Ellipse, 0, 100, 100, 100);
IAutoShape rectangle = shapes.addAutoShape(ShapeType.Rectangle, 100, 200, 100, 100);
connector.setStartShapeConnectedTo(ellipse);
connector.setEndShapeConnectedTo(rectangle);
long wantedIndex = 6;
if (ellipse.getConnectionSiteCount() > wantedIndex) {
  connector.setStartShapeConnectionSiteIndex(wantedIndex);
}
input.save("output.pptx", SaveFormat.Pptx);

Minor Changes

This is the list of minor API changes:
Enum com.aspose.slides.BevelColorMode - deleted, unused enum
Method ThreeDFormatEffectiveData.getBevelColorMode() - deleted, unused method
Method com.aspose.slides.ChartSeriesGroup.getChart() - added method
Inheritance of IParagraphFormatEffectiveData from ISlideComponent, Inheritance of IThreeDFormat from ISlideComponent - deleted
Method com.aspose.slides.ParagraphFormatEffectiveData.getBulletChar(), Method com.aspose.slides.ParagraphFormatEffectiveData.getBulletFont(), Method com.aspose.slides.ParagraphFormatEffectiveData.getBulletHeight(), Method com.aspose.slides.ParagraphFormatEffectiveData.getBulletType(), Method com.aspose.slides.ParagraphFormatEffectiveData.getNumberedBulletStartWith(), Method com.aspose.slides.ParagraphFormatEffectiveData.getNumberedBulletStyle() - deleted as obsolete

Aspose.Slides for Java 15.5.0

$
0
0

Minor Changes

  • SLIDESNET-36346 - Setting default zoom size for presentation when it will open in PowerPoint
  • SLIDESNET-34169 - Support for generating PDF of only slide notes
  • SLIDESNET-33598 - Change the position of category axis

Other Improvements and Changes

Bug Fixes

  • SLIDESJAVA-34903 - Improper text rendering in generated Html
  • SLIDESJAVA-34868 - ClassCastException occurs when a connector is added
  • SLIDESJAVA-34864 - Image distortion in a generated html
  • SLIDESJAVA-34860 - Low image rendering quality in generated thumbnail and PDF
  • SLIDESJAVA-34859 - PPTX to html throws Unexpected font parsing exception
  • SLIDESJAVA-34858 - Image is improperly rendered in generated thumbnail
  • SLIDESJAVA-34857 - Bitmap. throws ImageLoadException: Not enough data in stream.
  • SLIDESJAVA-34854 - rendering pptx notes to html
  • SLIDESJAVA-34853 - Formula recalculated value cell in embedded excel changes after saving with Aspose.Slides
  • SLIDESJAVA-34852 - pptm to pdf conversion failed
  • SLIDESJAVA-34850 - Scatter with smooth lines chart on a cloned slide throws exception
  • SLIDESJAVA-34849 - NoClassDefinition ecxception on using Aspose.Slides is Apache Felix
  • SLIDESJAVA-34844 - Slide background is missing in generated HTML
  • SLIDESJAVA-34840 - Chart series label position is incorrect in exported PDF
  • SLIDESJAVA-34839 - Chart grid lines are missing in exported PDF
  • SLIDESJAVA-34838 - Chart Axis labels values and position gets changed in PDF
  • SLIDESJAVA-34837 - Arrow shape is improperly rendered in saved presentation
  • SLIDESJAVA-34836 - Presentation repair message on opening the cloned presentation
  • SLIDESJAVA-34835 - Hidden Slide is appearing in generated PDF
  • SLIDESJAVA-34829 - Null pointer exception thrown with 15.3.0.
  • SLIDESJAVA-34824 - Chart Missing When Converting a PPTX to PDF
  • SLIDESJAVA-34823 - Conversion Hangs When Converting a PPTX to PDF
  • SLIDESJAVA-34819 - Gradient is improperly rendered in generated thumbnail
  • SLIDESJAVA-34818 - Chart text is missing in exported PDF
  • SLIDESJAVA-34817 - Exception on exporting presentation to PDF in Ubuntu
  • SLIDESJAVA-34815 - Circle changed to ellipse in cloned presentation
  • SLIDESJAVA-34810 - Custom chart is missing in generated PDF.
  • SLIDESJAVA-34794 - Cell data is rendered out of table in thumbnail
  • SLIDESJAVA-34784 - Unexpected font parsing exception on exporting to HTML.
  • SLIDESJAVA-34779 - Unexpected font parsing exception on accessing the presentation
  • SLIDESJAVA-34722 - Text has wrong position on slide after saving presentation
  • SLIDESJAVA-34710 - Unexpected font parsing exception while opening a PPTX file
  • SLIDESJAVA-34705 - Unexpected font parsing exception on opening the PPTX file
  • SLIDESJAVA-34667 - Excepion on loading the presentations using Aspose.Slides
  • SLIDESJAVA-34648 - Metafile. throws ArgumentException: Error reading WMF metafile
  • SLIDESJAVA-34627 - Unexpected font parsing exception while converting PPTX to PDF
  • SLIDESJAVA-34596 - Unexpected font parsing exception while opening a PPTX file
  • SLIDESJAVA-34550 - Unexpected font parsing exception while opening a PPTX file
  • SLIDESJAVA-34384 - Chart category axis is improperly rendered in generated thumbnail
  • SLIDESJAVA-33853 - WortArt styles are improperly rendered in generated PDF
  • SLIDESJAVA-33422 - Image missing in generated thumbnail

Public API Changes

CommonSlideViewProperties class and ICommonSlideViewProperties interface have been added

com.aspose.slides.CommonSlideViewProperties class (and its interface com.aspose.slides.ICommonSlideViewProperties) represents common slide view properties (currently view scale options).

IAxis.getLabelOffset(), setLabelOffset(int) methods have been added

IAxis.getLabelOffset(), setLabelOffset(int) methods allow to get and to specify the distance of labels from the axis. Applied to category or date axis.

IChartTextBlockFormat.getAutofitType(), setAutofitType(byte) methods have been added

Methods getAutofitType(), setAutofitType(/*TextAutofitType*/byte) have been added to com.aspose.slides.IChartTextBlockFormat interface. Changing of this value can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full support in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering).

Methods IChartTextBlockFormat.getWrapText(), setWrapText(byte) have been added

Methods getWrapText(), setWrapText(/*NullableBool*/byte) have been added to interface com.aspose.slides.IChartTextBlockFormat. Changing of this value can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full support in PowerPoint 2007/2013).

The methods to manage margins have been added to IChartTextBlockFormat

getMarginLeft(), setMarginLeft(double), getMarginRight(), setMarginRight(double), getMarginTop(), setMarginTop(double), getMarginBottom() and setMarginBottom(double) methods have been added to interface com.aspose.slides.IChartTextBlockFormat. Changing of this values can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full support in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering).

ViewProperties.getNotesViewProperties() method have been added

com.aspose.slides.ViewProperties.getNotesViewProperties() property has been added. It gets common view properties associated with the notes view mode.

ViewProperties.getSlideViewProperties() method has been added

com.aspose.slides.ViewProperties.getSlideViewProperties() method has been added. It gets common view properties associated with the slide view mode.

Aspose.Slides for Java 15.5.1

$
0
0

Other Improvements and Changes

Bug Fixes

  • SLIDESJAVA-34922 Aspose.Total license doesn't work with Aspose.Slides for Java 15.5.0

Aspose.Slides for Java 15.6.0

$
0
0
Before 15.6.0, Aspose.Slides for Java releases included separate JAR files for JDK 6, JDK 7, JDK 8. Starting from 15.6.0, Aspose.Slides for Java releases will include only one JAR compatible with JDK 6 and with the following.

Minor Changes

  • SLIDESJAVA-34866 - Support for cleaning of PowerPoint document properties
  • SLIDESJAVA-34642 - Setting custom position and size for chart legends
  • SLIDESJAVA-34305 - Joining connector to shapes in PPTX
  • SLIDESNET-36325 - Support for removing Notes slides in presentation

Other improvements and changes

Bug fixes

  • SLIDESJAVA-34930 - Font name not shown from title placeholder
  • SLIDESJAVA-34926 - NullPointer exception on loading the presentation
  • SLIDESJAVA-34921 - Error while opening the saved presentation with Animations
  • SLIDESJAVA-34918 - Unsupported file format while loading a presentation
  • SLIDESJAVA-34909 - Line with markers chart is lost in generated thumbnail
  • SLIDESJAVA-34905 - Presentation repair message on opening the Aspose.Slides saved presentation
  • SLIDESJAVA-34904 - Chart axis and legends text is improeprly rendered in exported HTML
  • SLIDESJAVA-34901 - NegativeSeekOffset Exception on loading presentation
  • SLIDESJAVA-34900 - Exception on saving presentation
  • SLIDESJAVA-34891 - Hyperlink text is lost on converting odp to html
  • SLIDESJAVA-34889 - Incorrect rendering of shapes on generated thumbnail
  • SLIDESJAVA-34888 - color of picture changed on generated thumbnail
  • SLIDESJAVA-34856 - Setting InvertIfNegative does not set the color of data item bars to blank
  • SLIDESJAVA-34841 - Chart failed to get opened in edit mode when edited in PowerPoint
  • SLIDESJAVA-34727 - Text alignment in merged cell of the table is not correct in PDF file
  • SLIDESJAVA-34718 - Exception: Couldnot read PowerPoint Document record on opening the PPT file
  • SLIDESJAVA-34644 - NullPointerException thrown while converting PPT to PDF
  • SLIDESJAVA-34633 - HeadlessException thrown on adding HTML to PPTX file
  • SLIDESJAVA-34572 - Chart failed to get edited in PowerPoint after renaming series name
  • SLIDESJAVA-34539 - Couldn't read "PowerPoint Document" record on converting PPT to PDF
  • SLIDESJAVA-6023 - Object resizing problem

Public API changes

com.aspose.slides.DataLabel constructor signature has been changed

The signature of the constructor has been changed from DataLabel(com.aspose.slides.IChartSeries) to DataLabel(com.aspose.slides.IChartDataPoint).

Members com.aspose.slides.IDocumentProperties.getCount(), .getPropertyName(int index)., .remove(String name), .contains(String name) have been marked as Deprecated; substitutions have been introduced instead.

Methods IDocumentProperties.getCount(), IDocumentProperties.getPropertyName(int index)., .remove(string name), .contains(string name) have been marked as Deprecated. Methods IDocumentProperties.countOfCustomProperties(), IDocumentProperties.getCustomPropertyName(int index)., .removeCustomProperty(String name), .containsCustomProperty(string name) have been introduced instead.

Method com.aspose.slides.INotesSlideManager.removeNotesSlide() has been added

Method com.aspose.slides.INotesSlideManager.RemoveNotesSlide() has been added for removing notes slide of some slide.

Method com.aspose.slides.ISlide.getNotesSlideManager() has been added. Methods ISlide.getNotesSlide() and ISlide.addNotesSlide() have been marked as Deprecated

ISlide.getNotesSlide(), ISlide.addNotesSlide() methods have been marked as Deprecated. Use new method ISlide.getNotesSlideManager() instead.

ISlide slide = ...;
INotesSlide notes;
// notes = slide.addNotesSlide(); - deprecated
// notes = slide.getNotesSlide(); - deprecated
notes = slide.getNotesSlideManager().getNotesSlide();
notes = slide.getNotesSlideManager().addNotesSlide();
slide.getNotesSlideManager().removeNotesSlide();

Method getAppVersion() has been added to com.aspose.slides.IDocumentProperties

Method com.aspose.slides.IDocumentProperties.getAppVersion() has been added in order to get builtin document property, which represents internal version numbers used by Microsoft PowerPoint.

Method remove() has been added to com.aspose.slides.IComment

Method com.aspose.slides.IComment.remove() has been added for removing comment from the collection.

Method remove() has been added to com.aspose.slides.ICommentAuthor

Method ICommentAuthor.Remove has been added for removing author of comments from the collection.

Methods clearCustomProperties() and clearBuiltInProperties() have been added to com.aspose.slides.IDocumentProperties

Method com.aspose.slides.IDocumentProperties.clearCustomProperties() has been added for removing all custom document properties.
Method com.aspose.slides.IDocumentProperties.clearBuiltInProperties() has been added for removing and setting default values for all builtin document properties (Company, Subject, Author etc).

Methods getBlackWhiteMode(), setBlackWhiteMode(byte) have been added to com.aspose.slides.IShape

Methods getBlackWhiteMode(), setBlackWhiteMode(byte) have been added to com.aspose.slides.IShape.
The methods specify how a shape will render in black-and-white display mode. The possible values are specified in com.aspose.slides.BlackWhiteMode class.
Color - Return with normal coloring
Automatic - Return with automatic coloring
Gray - Return with gray coloring
LightGray - Return with light gray coloring
InverseGray - Return with inverse gray coloring
GrayWhite - Return with gray and white coloring
BlackGray - Return with black and gray coloring
BlackWhite - Return with black and white coloring
Black - Return only with black coloring
White - Return with white coloring
Hidden - The object is not rendered

Methods removeAt(int), remove(ICommentAuthor) and clear() have been added to com.aspose.slides.ICommentAuthorCollection

Method ICommentAuthorCollection.removeAt(int) has added for removing author by specified index. Method ICommentAuthorCollection.remove(ICommentAuthor) has added for removing specified author from collection. Method ICommentAuthorCollection.clear() has been added for removing all items from collection.

Aspose.Slides for Java 15.7.0

$
0
0

Minor Changes

  • SLIDESNET-36484 - Support for reading password protected file in read only mode
  • SLIDESNET-35575 - Feature to specify the vary color by point option when setting the fill format of datapoints
  • SLIDESNET-27841 - DPI Setting for TIFF image
  • SLIDESNET-36469 - Implementation of drawing chart objects on the Aspose.Slides canvas
  • SLIDESNET-36062 - Implement Charts rendering directly in ApsCanvas
  • SLIDESJAVA-34805 - Setting default zoom size for presentation when it will open in PowerPoint
  • SLIDESJAVA-34694 - Support for creating animations in presentations
  • SLIDESJAVA-34360 - Support the feature to enable and disable the header row in a table
  • SLIDESJAVA-34022 - Support for adding and managing Series axis and its properties in chart
  • SLIDESJAVA-34021 - Support for adding and managing Series axis and its properties in chart
  • SLIDESJAVA-33956 - Support for chart series overlap option
  • SLIDESJAVA-33746 - Support for setting relative hyperlinks in PPTX
  • SLIDESJAVA-33681 - Support for getting the list of the fonts used in presentation
  • SLIDESJAVA-33379 - Support for identifying macros in presentation
  • SLIDESJAVA-33288 - Support for ODP presentation
  • SLIDESJAVA-33248 - Support for exporting notes to PDF
  • SLIDESJAVA-32483 - Support for ODP presentations in Aspose.Slides for Java
  • SLIDESJAVA-29182 - Support for adding PictureFillModes in PPT prsentation shapes
  • SLIDESJAVA-28956 - setUrl of Picture in a Shape for PPT
  • SLIDESJAVA-25264 - ConnectorType ConnectorElbowExtraLong
  • SLIDESJAVA-24519 - Thumbnail function
  • SLIDESJAVA-22830 - Save presentation as ODP format
  • SLIDESJAVA-22068 - Characters with different shadow property doesn't splits in to portions
  • SLIDESJAVA-19793 - Splitting PPT table cells
  • SLIDESJAVA-19402 - Serialization for ShapesEx
  • SLIDESJAVA-18772 - Rendering of 3D and image pixel effects
  • SLIDESJAVA-16091 - Error uploading presentations
  • SLIDESJAVA-13413 - Organisation chart autocreate, insert nodes shape
  • SLIDESJAVA-13320 - Internal Hyperlink feature
  • SLIDESJAVA-11852 - Support for OpenOffice Format
  • SLIDESJAVA-34555 - To check whether a shape already has bullet style from the master slide
  • SLIDESJAVA-34332 - PPTX file takes too much time in opening
  • SLIDESJAVA-13665 - Enhance Text Quality for PPT slides rendering image
  • SLIDESJAVA-13646 - Table misplaced from the slide of size 25 x 56 with font height 13
  • SLIDESJAVA-11047 - Pass the validation check of MS Office 2010

Other improvements and changes

But fixes

  • SLIDESJAVA-34999 - Paragraph alignment returns \-1 for Center Alignment value
  • SLIDESJAVA-34998 - Wrong text color is extracted for text in presentaiton
  • SLIDESJAVA-34974 - The stacked bar percentage chart view is not adjusted if series data is removed completely
  • SLIDESJAVA-34968 - Incorrect font color on odp to html conversion
  • SLIDESJAVA-34963 - REGRESSION: Getting ClassCastException While Merging PowerPoint Presentations Using AsposeSlides Java 15.6.0 Version
  • SLIDESJAVA-34962 - FontSubstRule not working
  • SLIDESJAVA-34953 - Custom font loading using FontsLoader.loadExternalFonts
  • SLIDESJAVA-34939 - Clone chart invisible
  • SLIDESJAVA-34938 - ClassCastException occurs on presentation save in linux
  • SLIDESJAVA-34937 - Chart become invisible in cloned presentation
  • SLIDESJAVA-34936 - Incorrect bullet points on generated thumbnail in Linux
  • SLIDESJAVA-34935 - Table shifted to top left corner when slide layout changed to newly cloned layout
  • SLIDESJAVA-34913 - Incorrect notes rendering pptx to html
  • SLIDESJAVA-34892 - Font is changed on generated html from odp
  • SLIDESJAVA-34887 - incorrect thumbnail generated
  • SLIDESJAVA-34886 - OdpReadException on odp to html conversion
  • SLIDESJAVA-34874 - TextFrame.createTextLayout() throws NullPointerException
  • SLIDESJAVA-34872 - PptUnsupportedFormatException on opening the presentation
  • SLIDESJAVA-34869 - NullPointer exception on saving presentaiton by setting predefined slide size
  • SLIDESJAVA-34808 - Fill color lost when converting pptx to ODP.
  • SLIDESJAVA-34778 - Text is discloacated in generated thumbnail
  • SLIDESJAVA-34758 - Text and font is wrongly rendered in generated PDF
  • SLIDESJAVA-34741 - Array index out of bound on exporting to PDF
  • SLIDESJAVA-34735 - String was not recognized as a valid DateTime exception on loading ODP
  • SLIDESJAVA-34709 - Invalid icc profile exception on opening the PPTX file
  • SLIDESJAVA-34672 - Odp to Pptx conversion error: Urls not converted to hyperlinks
  • SLIDESJAVA-34629 - Arrows direction gets changed in cloned presentation
  • SLIDESJAVA-34617 - Invalid icc profile: duplicate sequence numbers exception is thrown while converting PPTX to PDF
  • SLIDESJAVA-34576 - Formatting issue when converting PPTX to PDF
  • SLIDESJAVA-34549 - Font information is not extracted properly from PPTX file
  • SLIDESJAVA-34543 - Quality gets distorted after converting PPTX to Image
  • SLIDESJAVA-34517 - Y-Axis values are not proper after conversion from PPTX to PNG
  • SLIDESJAVA-34516 - Chart Catergories are not fine after converting PPTX to PNG
  • SLIDESJAVA-34483 - Table data missing in the generated PNG file
  • SLIDESJAVA-34478 - Font substitution in Aspose.Slides
  • SLIDESJAVA-34407 - Think cell charts are converted to MSO Charts after slide cloning
  • SLIDESJAVA-34399 - PPTX to PDF Conversion takes more than 2 minutes to complete
  • SLIDESJAVA-34393 - Aspose.Slides conflicts with Aspose.Pdf in linux environment for certain classes and give java.lang.NoClassDefFoundError
  • SLIDESJAVA-34315 - Importing HTML to PPTX: Index is less than 0 or more than or equal to the list count
  • SLIDESJAVA-34240 - Quality of EMF image is not good when converting PPTX to PDF
  • SLIDESJAVA-34121 - Wrong font name returned for the text in presentation
  • SLIDESJAVA-34030 - Clonning slide is taking time
  • SLIDESJAVA-33751 - Aspose.Slides failed to perform well in concurrent access environment
  • SLIDESJAVA-33705 - The value axis (y-axis) format of the chart changes while saving the presentation
  • SLIDESJAVA-33569 - NullPointer on generating PDF from presentation in AIX environment
  • SLIDESJAVA-33377 - ACCESS_VIOLATION exception on generating slide thumbnail in MAC and Windows
  • SLIDESJAVA-33313 - Invalid Animation
  • SLIDESJAVA-33306 - ClassNotFound Exception in the Demo-Version for Java
  • SLIDESJAVA-33143 - Customer want to save a ppt file in svg format But project does not compile.
  • SLIDESJAVA-33087 - Internal and external hyperlink failed to load using Aspose.Slides for Java
  • SLIDESJAVA-32859 - Generating thumbnail for PPTX failed in PHP
  • SLIDESJAVA-31938 - Presentation is corrupted on changing the master slide paragraph text
  • SLIDESJAVA-30655 - Tabs get disturbed in cloned presenation
  • SLIDESJAVA-34924 - Source directory must exist exception on new Presentation()
  • SLIDESJAVA-30632 - Visio object missing in exported PDF
  • SLIDESJAVA-29267 - Shape hyperlinks return null
  • SLIDESJAVA-25440 - Table seem to lock after row delete
  • SLIDESJAVA-24862 - Unable to change foreground color of chart
  • SLIDESJAVA-24843 - Unable to export to PDF in Weblogic server environment
  • SLIDESJAVA-24162 - Wrong gradient fill focus returned
  • SLIDESJAVA-23925 - Setting Opts.setSaveMetafilesAsPng(false) failed to render charts
  • SLIDESJAVA-23603 - Ole Frame Width reduces every time the frame is enabled in PowerPoint
  • SLIDESJAVA-19694 - Spacing issues with text in generated thumbnail
  • SLIDESJAVA-19026 - MS Word Ole frame missing in generated thumbnail
  • SLIDESJAVA-18703 - Tabs incorrectly handled in exported PPTX
  • SLIDESJAVA-18394 - Missing text, shapes and Improper bullet rendering in generated thumbnail
  • SLIDESJAVA-18363 - Slide text and background shapes missing in the generated thumbnail
  • SLIDESJAVA-18168 - Improper thumbnail generation PNG+JPG in Linux environment
  • SLIDESJAVA-18045 - Font rendering problem in generating slide thumbnail

Public API changes

com.aspose.slides.IChartDataPoint.getAutomaticDataPointColor() method has been added

This method returns an automatic color of data point based on series index, data point index, parentSeriesGroup, isColorVaried values and chart style.
This color is used by default if fillType equals NotDefined.

com.aspose.slides.ImagePixelFormat enum has been added

Enum com.aspose.slides.ImagePixelFormat has been added for specifying pixel format for the generated images.

getPixelFormat(), setPixelFormat(int) methods have been added to com.aspose.slides.ITiffOptions

Methods getPixelFormat(), setPixelFormat(/ImagePixelFormat/int) have been added to com.aspose.slides.ITiffOptions and com.aspose.slides.TiffOptions for specifying pixel format for the generated TIFF images.
Using example:
Presentation pres = new Presentation("Somepresentation.pptx");
TiffOptions options = new TiffOptions();
options.setPixelFormat(ImagePixelFormat.Format8bppIndexed);
pres.save("Somepresentation-out.tiff", SaveFormat.Tiff, options);

Aspose.Slides for Java 15.8.0

$
0
0

Minor Changes

  • SLIDESNET-35418 - Set Doughnut Hole Size in Doughnut Chart
  • SLIDESJAVA-33949 - Support for embedding video for Media Player ActiveX control

Other Improvements and Changes

Bug Fixes

  • SLIDESJAVA-35037 - SAXParseException on set license method
  • SLIDESJAVA-35029 - Hyperlink is returned in two portions of text
  • SLIDESJAVA-35016 - Incorrect slide design rendered on odp to html conversion
  • SLIDESJAVA-35015 - Disturbed layout on odp to html conversion
  • SLIDESJAVA-35014 - Background and hyperlink color is lost on odp to html conversion
  • SLIDESJAVA-35013 - slide is not rendered while converting odp to html
  • SLIDESJAVA-35006 - getFontName method returns incorrect font name
  • SLIDESJAVA-34978 - After saving .ppt files there are some loss of information
  • SLIDESJAVA-34976 - User shape does not appear in presentation
  • SLIDESJAVA-34975 - Chart last category missing if data points are blank
  • SLIDESJAVA-34972 - Exceptions on loading zero KB presentation
  • SLIDESJAVA-34970 - InvertIfNegative values are rendered without color in saved presentation
  • SLIDESJAVA-34969 - FirstSliceAngle set and get is not working
  • SLIDESJAVA-34961 - replaceFont method not working
  • SLIDESJAVA-34945 - themes.xml for master is not removed
  • SLIDESJAVA-34910 - Custom combination chart is lost in generated thumbnail
  • SLIDESJAVA-34898 - Text is lost when converted to pptx or a thumbnail is generated
  • SLIDESJAVA-34885 - ms.pbdb106a0.bw Exception thrown odp to html conversion
  • SLIDESJAVA-34884 - PptUnsupportedFormatException exception on conversion from odp to html
  • SLIDESJAVA-34843 - Text Improperly rendered in generated HTML
  • SLIDESJAVA-34716 - PPTX to PDF Conversion: Poor Image quality
  • SLIDESJAVA-34613 - Image quality is not good when converting PPTX to PDF
  • SLIDESJAVA-34590 - Axis Label Alignment is not proper in the generated PDF file
  • SLIDESJAVA-34447 - PPTX to PDF Conversion: Charts are blur as compared to the PPTX file
  • SLIDESJAVA-34342 - Category axis text is improperly rendered in generated PDF
  • SLIDESJAVA-34328 - Setting Sufficient Resolution property does not work Aspose.Slides for Java
  • SLIDESJAVA-34237 - Wrong fill type returned from shape
  • SLIDESJAVA-34234 - Chart is improperly rendered in generated thumbnail
  • SLIDESJAVA-34225 - Master slide is improperly applied on the slides
  • SLIDESJAVA-34071 - The Media player controls does not appear by default for linked video
  • SLIDESJAVA-33856 - Chart series labels are improperly rendered in generated PDF
  • SLIDESJAVA-32785 - The thumbnail is improperly rendered if it is lesser then slide size

Public API Changes

Methods getDoughnutHoleSize(), setDoughnutHoleSize(byte) have been added to IChartSeries and ChartSeries

Specifies the size of the hole in a doughnut chart.

Presentation pres = new Presentation();
IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.Doughnut, 50, 50, 400, 400);
chart.getChartData().getSeriesGroups().get_Item(0).setDoughnutHoleSize((byte)90);
pres.save("ChartSeries.API.DoughnutHoleSize.pptx", SaveFormat.Pptx);
Viewing all 65 articles
Browse latest View live