ISO/IEC 29500 defines two conformance classes for Office Open XML. Files nearly always use Transitional. A Strict file has the same parts and elements in a different set of namespaces.
Namespaces
| What | Transitional | Strict |
|---|---|---|
| PresentationML | http://schemas.openxmlformats.org/presentationml/2006/main | http://purl.oclc.org/ooxml/presentationml/main |
| DrawingML | http://schemas.openxmlformats.org/drawingml/2006/main | http://purl.oclc.org/ooxml/drawingml/main |
| Relationships | http://schemas.openxmlformats.org/officeDocument/2006/relationships | http://purl.oclc.org/ooxml/officeDocument/relationships |
The explorer treats the two the same way once the namespaces are matched, and shows which form a file uses.
What differs in a presentation
Sources read: ECMA-376 5th edition (2016) Part 1 (research/ooxml/ecma376/p1/part1.txt) 19.2.1.26 (presentation
attributes), 20.1.10.40 and 22.9.2.9 (ST_Percentage), 22.9.2.15 (ST_UniversalMeasure), and Annex M (differences
between ECMA-376:2016 and ECMA-376:2006, M.3 and M.4). The Part 1 text printed in the research folder is the Strict form, so its element
names and namespaces are Strict ones. The text of Part 4 (Transitional Migration Features) is not in the research folder, so this page does not
list the Transitional-only features of PresentationML.
- Conformance attribute.
p:presentationhas an attributeconformance, of typeST_ConformanceClass(strictortransitional), defaulttransitionalwhen omitted. Annex M.3 says it was added in the 2016 edition, so a file written to the 2006 schema never has it, and its absence does not prove the file is Transitional. - Values in text attributes. In the Strict schemas
ST_Percentageis the string form with a trailing percent sign (pattern-?[0-9]+(\.[0-9]+)?%, 22.9.2.9). Annex M.4.1 says the DrawingML percentage types (ST_Percentage,ST_FixedPercentage,ST_PositivePercentage,ST_PositiveFixedPercentage),ST_TextFontScalePercent(renamedST_TextFontScalePercentOrPercentString) andST_TextSpacingPercent(renamedST_TextSpacingPercentOrPercentString) now accept that string, andST_Coordinate,ST_Coordinate32andST_TextPointnow accept a universal measure, a number followed bymm,cm,in,pt,pcorpi(22.9.2.15, in lower case). So a reader ofa:lnSpca:spcPct,a:normAutofitfontScaleora:offmust expect either an integer or a string with a unit. - Other changes since 2006 (Annex M.3, M.4.1): new
contentPart(19.3.1.14);spidremoved fromoleObjandcontrol;modifyVerifierusesalgorithmName,hashValue,saltValueandspinCountinstead of the oldcrypt*,hashandsaltattributes;builtInremoved fromsnd;contentTypeadded tovideoFileandaudioFile;titleadded tocNvPr;header,headersandrtladded for tables and text;idadded totc; many colour names such asdarkBlueandlightGrayadded toST_PresetColorVal. M.5 says all VML schemas were removed.
Divergence from spec
- The sentence above that a Strict file has "the same parts and elements" is true of the names, but not of the values: percentages and
coordinates can be written differently, and the VML schemas are not part of the Strict ones (M.5); the package page notes that POI knows a
vmlDrawingpart type, which Part 1 does not describe. - Whether python-pptx or POI read Strict files was not found in the sources fetched (the constants and classes read use the
schemas.openxmlformats.orgnames); no claim is made about them.