Using Apache POI library, I've manged to identify password protected documents. Now I would need to check for the sensitivity label (Confidential, Internal etc), which as far as I know is only available in OOXML format (docx, etc) and not the OLE2 (doc, ppt, etc)
While debugging, I searched through the properties/values of my POIXMLProperties instance but could not recognise anything about sensitivity.
OPCPackage pkg = OPCPackage.open(file);
POIXMLProperties props = new POIXMLProperties(pkg);
I followed this question but the answer was not much helpful.
Does anyone know the specific attribute name or values? Is it even possible to know such thing?