Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This page contains release notes for GroupDocs.Metadata for Java 18.12.

Major Features

There are the following features and enhancements in this release:

  • Add support for password-protected documents
  • Reduce memory consumption of supported Word formats
  • Reduce memory consumption of supported PowerPoint formats
  • Ability to update metadata keys in Doc/Docx file format
  • Remove obsolete members of the Mp3Format class
  • Remove the MppFormat.GetProperties method (obsolete code)

All Changes

Key

Summary

Category

METADATANET-2462Add support for password-protected documentsNew Feature
METADATANET-2489Reduce memory consumption of supported Word formatsEnhancement
METADATANET-2424Reduce memory consumption of supported PowerPoint formatsEnhancement
METADATANET-1436Ability to update metadata keys in Doc/Docx file formatEnhancement
METADATANET-1519Remove obsolete members of the Mp3Format classEnhancement
METADATANET-2463Remove the MppFormat.GetProperties method (obsolete code)Enhancement

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in GroupDocs.Metadata for Java 18.12. It includes not only new and obsoleted public methods, but also a description of any changes in the behavior behind the scenes in GroupDocs.Metadata which may affect existing code. Any behavior introduced that could be seen as a regression and modifies existing behavior is especially important and is documented here.

Support for password-protected documents

Description

This new feature allows a user to work with password-protected documents of some popular formats.

Public API changes

The LoadOptions class has been added to the com.groupdocs.metadata package

The DocFormat(String, LoadOptions) constructor has been added to the DocFormat class

The DocFormat(InputStream, LoadOptions) constructor has been added to the DocFormat class

The PptFormat(String, LoadOptions) constructor has been added to the PptFormat class

The PptFormat(InputStream, LoadOptions) constructor has been added to the PptFormat class

The XlsFormat(String, LoadOptions) constructor has been added to the XlsFormat class

The XlsFormat(InputStream, LoadOptions) constructor has been added to the XlsFormat class

The PdfFormat(String, LoadOptions) constructor has been added to the PdfFormat class

The PdfFormat(InputStream, LoadOptions) constructor has been added to the PdfFormat class

Usecases

Load a password-protected PDF document.

Java

Load a password-protected Excel document.

Java

Load a password-protected PowerPoint document.

Java

Load a password-protected Word document.

Java

Check if a document is password-protected.

Java

Reduced memory consumption of supported Word formats

Description

This enhancement allows working with Word documents with less memory consumption.

Public API changes

None.

Usecases

Please note that the DocFormat class implements the Closeable interface and it's necessary to call the close() method when you're done working with its instance.

Java

If you are loading a Word document from a stream, it's up to you to close the stream when the file is not needed anymore.

Java

The same rule works if you are saving the output file into a stream.

Java

Reduced memory consumption of supported PowerPoint formats

Description

This enhancement allows working with PowerPoint documents with less memory consumption.

Public API changes

None.

Usecases

Please note that the PptFormat class implements the Closeable interface and it's necessary to call the close() method when you're done working with its instance.

Java

If you are loading a Word document from a stream, it's up to you to close the stream when the file is not needed anymore.

Java

The same rule works if you are saving the output file into a stream.

Java

Ability to update metadata keys in Doc/Docx file format

Description

This enhancement allows updating Words and Version properties of Doc/Docx file formats.

Public API changes

None.

Usecases

Update the Words and Version metadata keys in doc/docx documents.

Java

Removed obsolete members of the Mp3Format class

Description

This enhancement removes some obsolete members of the Mp3Format class.

Public API changes

The getId3v1 method has been removed from the Mp3Format class.

The getId3v2 method has been removed from the Mp3Format class.

Usecases

Please use the getId3v1Tag and getId3v2Tag methods instead.

Java

Removed the MppFormat.GetProperties method (obsolete code)

Description

This enhancement removes some obsolete members of the MppFormat class.

Public API changes

The getProjectProperties method has been removed from the MppFormat class.

Usecases

Please use the MppFormat.getProjectInfo method instead.

Java
Labels
  • No labels