https://bugs.documentfoundation.org/show_bug.cgi?id=151906

Regina Henschel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://docs.oasis-open.org
                   |                            |/office/OpenDocument/v1.3/o
                   |                            |s/part3-schema/OpenDocument
                   |                            |-v1.3-os-part3-schema.html#
                   |                            |element-style_default-style

--- Comment #12 from Regina Henschel <[email protected]> ---
There exists not 1 language but 3 languages, one for script LATIN, one for
script ASIAN and one for script COMPLEX.
Which language is chosen depends on the script of the Unicode character.

The attributes are
fo:language 20.202
style:language-asian 20.302
style:language-complex 20.303

Because it is allowed to ignore the attributes if not at the same time a
country is specified, you need in addition
fo:country 20.188
style:country-asian 20.256
style:country-complex 20.257
LibreOffice has the language bundled with the country. You can distinguish
between German(German) and German(Austria), for example.

These go into the
<style:text-properties> 16.29.29
within a
<style:default-style> 16.4
It is allowed for several values of attribute family, e.g. for
family="paragraph".

ODF 1.3 recommends to write <style:default-style> elements for all kinds of
family which are actual used in the document. But it is not mandatory and
LibreOffice does not write them in all cases.

These six attributes are set in Tools > Options. You can force writing the
default styles by touching the fields, which means changing the content and
maybe change back. If you want to be sure, that the default styles are written,
you should use a document template which has them.

I can think of an option "Always store default language settings to document".
Having them in the document resolves ambiguity which might arise in world-wide
exchange of documents.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to