Open XML support in Pages
Office Open XML is a standard invented by Microsoft - their documentation would be the go-to resource. Pages simply uses the built-in OS X ability to read them. TextEdit can read OOXML (i.e. .docx) as well, and is included (with source) with Apple's developer tools as a sample.