Browse our Products

Aspose.Slides for Java 24.3 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-44447Hyperlinks in the exported PDF are shifted to the rightEnhancementhttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESJAVA-39032Use Aspose.Slides for Net 24.3 featuresEnhancement
SLIDESJAVA-39372File name of OLE object is displayed incorrectly in exported PDF documentBughttps://docs.aspose.com/slides/java/convert-powerpoint-to-pdf/
SLIDESJAVA-39376Name of the embedded Excel sheet is changed in exported PDFBughttps://docs.aspose.com/slides/java/convert-powerpoint-to-pdf/
SLIDESJAVA-38742Icon titles of embedded documents are distorted when converting PPTX to PDFBughttps://docs.aspose.com/slides/java/convert-powerpoint-to-pdf/
SLIDESJAVA-39397Some text is not displayed in the output SVG imageBughttps://docs.aspose.com/slides/java/render-a-slide-as-an-svg-image/
SLIDESJAVA-39387Font size becomes smaller and font color turns blue when converting PPTX to PDFBughttps://docs.aspose.com/slides/java/convert-powerpoint-to-pdf/
SLIDESJAVA-39398After exporting PPTX to PDF, the German umlaut becomes boldBughttps://docs.aspose.com/slides/java/convert-powerpoint-to-pdf/
SLIDESJAVA-39403Saving the presentation to a PPT hangsBughttps://docs.aspose.com/slides/java/save-presentation/
SLIDESJAVA-39395wk: Exception when getting thumbnail from the shapeBughttps://docs.aspose.com/slides/java/create-shape-thumbnails/

Public API Changes

IHyperlink.ExternalUrlOriginal.property added

Added a new property IHyperlink.ExternalUrlOriginal, which represents a hyperlink that is set for this portion without regard to the actual content of the portion.

PowerPoint behaves specifically for links and their corresponding text in a portion. It allows to create text for the hyperlink in the form of a valid URL, different from the real address of the link. In this case, when you view the link in the edit window, it will be changed to match the text portion. This property represents the original value of the hyperlink.

How the original link is lost:

How the original link is lost:

Example:

Presentation presentation = new Presentation("pres.pptx");
try {
    IPortion portion = ((AutoShape)presentation.getSlides().get_Item(0).getShapes().get_Item(1)).getTextFrame().getParagraphs().get_Item(0).getPortions().get_Item(0);

    String externalUrl = portion.getPortionFormat().getHyperlinkClick().getExternalUrl(); // fake
    String externalUrlOriginal = portion.getPortionFormat().getHyperlinkClick().getExternalUrlOriginal(); // real
} finally {
    if (presentation != null) presentation.dispose();
}