public static CellManifestDataElementData getCellManifestDataElementData(
            List<DataElement> dataElements, StorageManifestDataElementData manifestDataElementData,
            HashMap<CellID, ExGuid> cellIDMappings) throws TikaException {
        CellID cellID = new CellID(new ExGuid(1, RootExGuid), new ExGuid(1, CellSecondExGuid));

        for (StorageManifestRootDeclare kv :
                manifestDataElementData.storageManifestRootDeclareList) {
            if (kv.rootExGUID.equals(new ExGuid(2, RootExGuid)) && kv.cellID.equals(cellID)) {
                if (!cellIDMappings.containsKey(kv.cellID)) {
                    throw new InvalidOperationException(String.format(Locale.US,
                            "Cannot fin the Cell ID %s in the cell id mapping", cellID));
                }

                ExGuid cellMappingID = cellIDMappings.get(kv.cellID);

                DataElement dataElement = dataElements.stream()
                        .filter(element -> element.dataElementExGuid.equals(cellMappingID))
                        .findAny().orElse(null);
                if (dataElement == null) {
                    throw new InvalidOperationException(
                            "Cannot find the  cell data element with ExGuid " +
                                    cellMappingID.guid.toString());
                }

                return dataElement.getData(CellManifestDataElementData.class);
            }
        }

        throw new InvalidOperationException("Cannot find the CellManifestDataElement");
    }
This method is used to get cell manifest data element from a list of data element.

@param dataElements            Specify the data element list.
@param manifestDataElementData Specify the manifest data element.
@param cellIDMappings          Specify mapping of cell id.
@return Return the cell manifest data element.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/util/DataElementUtils.java