read the attributes directly defined in readDocAttributes, start a structured document class to store them and port QColor as non QtGui class