Bug 127466

Summary: Allow style-dependent hyphenation in Impress (missing UI)
Product: LibreOffice Reporter: Ulrich Windl <u20230201>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: edosum, heiko.tietze, nemeth, rb.henschel, stephane.guillou, thomas.lendo, u20230201, xiscofauli
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=106733
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 100373, 120883    
Attachments: Test Hyphenation in graphic style

Description Ulrich Windl 2019-09-10 09:46:53 UTC
Impress (Draw) only allows a global setting for language and hyphenation.
It would be much more useful, if language and hyphenation were a style property.
Comment 1 Thomas Lendo 2019-09-20 07:02:25 UTC
In Writer, language is part of character (and technically also paragraph) styles. Adding Regina Henschel who knows Draw better to answer if this is possible.
Comment 2 Heiko Tietze 2019-10-29 12:06:20 UTC
Besides the technical question, what is the scenario/use case that requires different languages and hyphenations in one presentation/drawing?
Comment 3 Ulrich Windl 2019-10-29 12:34:41 UTC
Use case: A German presentation quoting English slides or phrases. Any slides or drawing dealing with translation issues.
Comment 4 Regina Henschel 2019-10-29 14:04:29 UTC
Created attachment 155396 [details]
Test Hyphenation in graphic style

Technically it is possible.
The attached document has a style "WithHyphenation" with the attribute fo:hyphenate="true" and a style "NoHyphenation" with the attribute fo:hyphenate="false".
Apply one or the other style to a text box will turn hyphenation on/off.

The problem is in the UI:
The icon of command "Hyphenation" does not follow on/off in its state.
There exists no option, to remove the direct paragraph style on the content text, if you have set it by any operation.

I have edit the file itself to remove the unwanted direct paragraph style on the content text.
Comment 5 Timur 2019-10-30 10:02:19 UTC
*** Bug 128386 has been marked as a duplicate of this bug. ***
Comment 6 Timur 2019-10-30 10:03:11 UTC
Looks to me that we can put this to New.
Comment 7 Heiko Tietze 2019-11-01 09:14:21 UTC
(In reply to Regina Henschel from comment #4)
> The problem is in the UI:
> The icon of command "Hyphenation" does not follow on/off in its state.
> There exists no option, to remove the direct paragraph style on the content
> text, if you have set it by any operation.

I expect hyphenation to work depending on the language (paragraph/character style > font), and AFAICS it works like this in Writer.
You can also define the font language in Impress, though per Character and not Paragraph. And after manually adding <style:text-properties fo:hyphenate="true"/> to the raw file, it is possible to switch hyphenation on/off via tools > language.

So it's not a UX issue (admitted that the workflow is inconvenient) but clearly a bug.
Comment 8 QA Administrators 2021-11-01 04:15:16 UTC Comment hidden (obsolete)
Comment 9 Stéphane Guillou (stragu) 2023-09-18 21:54:47 UTC
Still current in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b3fdd999f87312447d03915585812b3a5cd48141
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded