GroupDocs.Metadata for Java 23.12 Release Notes

Major Features

There are the following features, enhancements, and fixes in this release:

  • One new tag has been added. Many new associations between tags and properties have also been added.
  • Add export metadata to xml file
  • Add ExportSetting class

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
METADATANET-4014Add new tag: Bitrate.Feature
METADATANET-4021Develop export to xml.Feature
METADATANET-4023Develop ExportOptions.Feature

Public API and Backward Incompatible Changes

Public API changes

The com.groupdocs.metadata.tagging.PropertyTypeTagCategory.getBitrate() property has been added to the PropertyTypeTagCategory namespace The ExportOptions class has been added to the com.groupdocs.metadata.export namespace The ExcelExportOptions class has been added to the com.groupdocs.metadata.export namespace The XmlExportOptions class has been added to the com.groupdocs.metadata.export namespace The PreviewFormats class has been changed from nested to separate in the GroupDocs.Metadata for Java 23.12.

Use cases

Export Pdf metadata in Xml

Metadata metadata = new Metadata("input.pdf");
{
	ByteArrayOutputStream stream = new ByteArrayOutputStream();
	{
		ExportManager manager = new ExportManager(metadata.getRootPackage());
		manager.export(stream, ExportFormat.Xml, new XmlExportOptions());
	}
}

Export Pdf metadata in Excel

Metadata metadata = new Metadata("input.pdf");
{
	ExportManager manager = new ExportManager(metadata.getRootPackage());
	ExcelExportOptions excelExportOptions = new ExcelExportOptions();
	excelExportOptions.setGroupCells(true);
	manager.export(stream, ExportFormat.Xls, excelExportOptions);
}