Aspose.Pdf for Java 17.5 Release Notes

Features and Improvements

PDFJAVA-36696Support RichMediaAnnotationNew Feature
PDFJAVA-34399Check compatibility of Aspose.PDF for Java with GrailsBug
PDFJAVA-34733Multi-page tiff to PDF with portrait orientation loses fidelityBug
PDFJAVA-34819PDF to HTML - Space and positioning issuesBug
PDFJAVA-34860PDF to HTML conversion loses the textBug
PDFJAVA-34862PDF to HTML: TOC links are lost in output HTMLBug
PDFJAVA-34926Support of Docker platformBug
PDFJAVA-34933Support of Oracle Agile Product Lifecycle Management applicationBug
PDFJAVA-35416License not working with Apache serverBug
PDFJAVA-35562Image to PDF - Image output is not correct in PDFBug
PDFJAVA-35579PDF to HTML results into incorrect textBug
PDFJAVA-35607PDF creation process keeps running and never stopsBug
PDFJAVA-35748PDF to PDFA1B: compliance failure due to transparency in the documentBug
PDFJAVA-35788PDF to PDF/A - Resultant file is not compliantBug
PDFJAVA-35814PDF to Image conversion loses the textBug
PDFJAVA-36325HighlightAnnotation background color issue with QuadPoint arrayBug
PDFJAVA-36578PDF to Image hangs for everBug
PDFJAVA-36669Text appearing on wrong location after placing inside PDFBug
PDFJAVA-36685Highlight Annotation background color ProblemBug
PDFJAVA-36708PDFA gets corrupted when setOptimizeFileSize is usedBug
PDFJAVA-36727Aspose.PDF 17.4 exception throws when getting character by indexBug
PDFJAVA-36728HTML to PDF - Ambiguous mismatch exceptionBug
PDFJAVA-36785getMeasure() method is missing in PolyAnnotation classBug
PDFJAVA-36621When PDF is converted to PDFA, the word in text is messed up.Bug
PDFJAVA-36387PDF to PDFA: decrease in quality of transparent imagesBug

Public API Changes in Aspose.PDF for Java 17.5

Added new class com.aspose.pdf.Document.FontSubsetStrategy with the following fields:

public static final byte SubsetEmbeddedFontsOnly = 0; public static final byte SubsetAllFonts = 1;

Added new interface com.aspose.pdf.Document.IDocumentFontUtilities with the following method:

public void subsetFonts(/* FontSubsetStrategy */byte subsetStrategy);

Added new exception class com.aspose.pdf.exceptions.IncorrectCMapUsageException with the following constructor:


Changes in class com.aspose.pdf.exceptions.PdfException:

Added constructor: public PdfException(String message, java.lang.Throwable innerException)

Changes in class com.aspose.pdf.facades.PdfViewer:

Added methods: public boolean getPrintAsGrayscale() public void setPrintAsGrayscale(boolean value)

Changes in class com.aspose.pdf.Font:

Added method: public String getType()

Added new class com.aspose.pdf.Opi with the following methods:

public Opi(XForm xform) public String getFileSpecification() public double[] getPosition() public String getVersion()

Changes in class com.aspose.pdf.Page:

**Added method: **public boolean isBlank(double fillThresholdFactor)

Added new class com.aspose.pdf.PdfASymbolicFontEncodingStrategy with the following methods:

public PdfASymbolicFontEncodingStrategy() public PdfASymbolicFontEncodingStrategy(/* CMapEncodingTableType /short preferredEncodingTable) public/ CMapEncodingTableType /short getPreferredCmapEncodingTable() public void setCmapEncodingTablesPriorityQueue(Queue value) public void setPreferredCmapEncodingTable(/ CMapEncodingTableType */short value)

Added new class com.aspose.pdf.PdfASymbolicFontEncodingStrategy.QueueItem with the following methods:

public QueueItem() public QueueItem(int platformID, int platformSpecificID) public QueueItem(/* CMapEncodingTableType /short cmapTable) public / CMapEncodingTableType / short getCMapEncodingTable() public void setCMapEncodingTable(/ MapEncodingTableType */short value) public int getPlatformID() public void setPlatformID(int value) public int getPlatformSpecificID() public void setPlatformSpecificID(int value)

Added new enum class com.aspose.pdf.PdfASymbolicFontEncodingStrategy.QueueItem.CMapEncodingTableType with the following fields:

public static final short WindowsUnicodeTable = 0; public static final short WindowsSymbolicTable = 1; public static final short MacTable = 2; public static final short UnicodeTable = 3;

Changes in class com.aspose.pdf.PolyAnnotation:

**Added methods: **public Measure getMeasure() public void setMeasure(Measure value)

Changes in class com.aspose.pdf.Rectangle:

**Added method: **public Rectangle join(Rectangle otherRect)

Changes in class com.aspose.pdf.TextFragmentState:

**Added methods: **public TextFormattingOptions getFormattingOptions() public void setFormattingOptions(TextFormattingOptions value) public double getRotation() public void setRotation(double value)

Changes in class com.aspose.pdf.TextParagraph:

**Added methods: **public double getRotation() public void setRotation(double value)

Changes in class com.aspose.pdf.XForm:

Added method: public Opi getOpi()