Closed pdenapo closed 9 months ago
Sorry, but you're wrong: The default document language is ... empty. But you are right the example is erroneous, the actual working code is meta.get_language(), with meta being: document.get_part("meta.xml")
You have a working example the the recipe "show_meta_data.py"
I'm sorry that the rather old code base of this software is too close to ODF, and so far from your dreams.
The default document language is french. This might be not what most users want. The code in the meta.py example
document.set_language('fr-FR')
does not work. This should be the most pythonic way of doing this.