jcoliz / LogoSlideMaker

Logo Slide Maker is a Windows Desktop application to build, preview, and generate PowerPoint presentations containing logos with text.
https://apps.microsoft.com/detail/9p09gnvhnl72
MIT License
0 stars 0 forks source link

[Engine] [User Can] Include logos from other files #39

Closed jcoliz closed 3 months ago

jcoliz commented 4 months ago

Problem is: I have multiple definitions which draw from the same logos, so I have multiple copies of the same logo definition in multiple files, all of which would need to be updated.

Would be better if I could define all the logos in one file, and then pull them in, e.g.

[files]
include.logos = "other_file.toml"

In this case, the whole file would be loaded as a definition, and all the logos from that file merged in with the logos in the current file.

jcoliz commented 4 months ago

One problem here is that the text width specified in the included file is likely to be wrong in the new file. Current ideas are:

[logos.something]
text_width = 1.4
# title and path taken from included logos