
Mark H. answered 11/24/19
Tutoring in Math and Science at all levels
For any text document, I assume that there is a string of characters that is coded according to one of the standard methods (ascii, unicode, etc.) The list of characters includes simple things like spaces, "newline" or "return". In the simplest case any formatting is done with the available characters.
Then, there is a layer of formatting information. This can be any number of things, including open standards such as HTML or XML, or any of the many proprietary formats.
In all cases, the file is nothing more than a string of digital "words"--normally either 8 or 16 bits each. To read the file, a computer must be told how to interpret each value.
In addition to the formatting information, a typical file for a text document will include information about the file including things like the author, revision date, etc. and any pictures or diagrams. All of this follows the rules established for the format in use.
Zana A.
Thank you for your answer. I did imagine they use some sort of xml but is this rendered using open gl or is there a library that can do those things. I am probably over complicating things. Thank you for you help tho 😊11/24/19