[Libreoffice-bugs] [Bug 35186] Headings change language when applied

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 9 19:57:55 UTC 2017


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

--- Comment #11 from Regina Henschel <rb.henschel at t-online.de> ---
If you select all and then set a language, this is not applied as hard
character formatting but as hard paragraph formatting. If you would really
apply a hard character formatting, that would be retained when applying Heading
1. You can test this, if you set the language for a single word in the
paragraph.

Currently no way exists to remove a hard paragraph formatting other than
applying a paragraph style. For example apply Heading 1, then go to Format >
Paragraph and set a yellow background. Now try to remove the yellow background.

The predefined "Default style", "Heading" or "Heading 1" paragraph styles do
not contain any language setting. The language is taken from the used template,
or if no template is used, from the setting in Tools > Options > Language
Settings > Languages.

You cannot remove the language from paragraph styles, because it is there in
ODF and you always need it as the default language for the text in the
paragraph.

The part "select all then Character->set language to Quichua" in the initial
post is a unsuitable method. Correct methods are
A) In Tools > Options > Language Settings > Languages set 'Quichua' and mark
'For the current document only'. Then the setting goes to the
<style:default-style> element in the file. A different way to the same setting
is menu Tools > Language > For All Text > More...
B) Modify the paragraph style "Default Style" to 'Quichua'. The other paragraph
styles will inherit it because of the hierarchy. This setting goes to the
paragraph style with name "Standard" in the file.

Setting language "None" does not mean, that the language property is removed
from the paragraph style, but to the contrary it means that the paragraph style
gets an explicit language property set. "None" means, that spellchecking,
hyphenation and other language dependent features are disabled.

For me a solution is not to change the existing features, but to invent a UI,
that makes it easier to use a suitable method for changing the language of a
single document.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171009/fa176b1a/attachment.html>


More information about the Libreoffice-bugs mailing list