I'm looking for guidelines/best practices for building software architecture of a document rendering software. For example, something on how to create a modular software to be able to parse/render various document formats.
Can you recommend any books/web sources?