getPageFormatsWithDefault
Returns the effective page formats by prepending default (if non-null) and folding formats that share the same PageFormatInfo.selector.
Within each selector group, later formats take priority: their non-null fields override earlier ones via merge, while null fields inherit from the layer beneath.