Bug 127466 - Allow style-dependent hyphenation in Impress (missing UI)
Summary: Allow style-dependent hyphenation in Impress (missing UI)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 128386 (view as bug list)
Depends on:
Blocks: ImpressDraw-Styles
  Show dependency treegraph
 
Reported: 2019-09-10 09:46 UTC by Ulrich Windl
Modified: 2023-09-18 21:54 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Test Hyphenation in graphic style (21.82 KB, application/vnd.oasis.opendocument.presentation)
2019-10-29 14:04 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
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