GroupDocs.Metadata for Java V26.7メジャーバージョン2026年7月30日
機能
PDF/A and PDF/X detection - PDF file types now expose the detected PDF standard. PdfTypePackage gains getPdfFormat() returning the new PdfFormat enum (PDF/A-1a...A-4f, PDF/X-1a...X-4, PDF 1.0-2.0, PDF/UA-1, ZUGFeRD, Unknown), plus convenience checks isPdfA() and isPdfX(). The value is resolved from the underlying Aspose.Pdf.PdfFormat via PdfRootPackage.loadFileFormat().
Supported file-type feature matrix - A new FileTypeFeatureSupport API reports which product features (AutoDetection, Read, Edit, Remove) are supported for each file type, grouped by FormatFamily. Query the whole matrix with getSupportedFileTypeFeatures(), or a single entry by FileType or extension. Supporting types added: FeatureSupport, SupportLevel, SupportDetail, ProductFeature, FormatFamily. The matrix reflects the formats actually available in the Java distribution.
MSG HTML body preserved on save - Saving an MSG file no longer risks discarding the HTML body. Saving is now routed through a dedicated MsgWrapper.save(Stream) (setLength(0) + MapiMessage.save), invoked from MsgRootPackage.commitChanges. A regression test covers the load to save round-trip.
OOXML compliance preserved on save - When saving WordProcessing documents, the original OOXML compliance level is now detected from the loaded document and reapplied to the save options (OoxmlSaveOptions.setCompliance), both for encrypted and plain saves, so re-saved DOCX/DOCM/DOTX/DOTM/FlatOpc files keep their compliance.
修正
Cr2Writer.insertBytes(byte): Fix high-byte sign-extension when writing CR2 (bytes[0]=value; bytes[1]=0).
ImageRootPackage.getSize(): Wrap original cause - new GroupDocsMetadataException("Could not determine the image size", e).
NoteRootPackage: Null-guard page title (getTitle() != null && getTitleText() != null) before reading text.
PresentationPreviewCreator: Fix off-by-one slide index in the resolution branch (pageNumber to pageNumber - 1).
DocumentFormatTestBase.documentFormat_Encrypted_NoPassword_Test: Also catches DocumentProtectedException thrown during load.
ExportTest: Add export_NoteToJsonFile_Test (OneNote to JSON export, ExportManager / ExportFormat.Json).