What does Spotlight consider to be a 'Document'?
Spotlight will only classify a file format as a 'Document' if there is a Spotlight importer for that file type.
Third-party applications with 'non-standard' file types (e.g. not text, graphics) will need to define an importer for their formats.
This way, the document metadata and possible also contents can be added to the Spotlight index.