opendocument-app / OpenDocument.core

C++ library that translates office documents to HTML
GNU General Public License v3.0
23 stars 9 forks source link

resource management #291

Open andiwand opened 2 years ago

andiwand commented 2 years ago

currently, we manage our resources manually in the C++ source files. that process is quite error prune and could be automatized. on top of that we will need more resource files in the future looking at features like creating new documents or CSS/JS for an image viewer.

one part of this ticket would be to automatize the C++ source file generation from the resource files in the repository. this should be achieved by CMake.

references

the other part is to generalize resources by having either a key for each resource that obtains the content at run-time or even having a VirtualFilesystem with paths.