Bug 125032 - uno:Hyphenate toggle in calc, draw, impress but not in writer menubar
Summary: uno:Hyphenate toggle in calc, draw, impress but not in writer menubar
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks: Hyphenation
  Show dependency treegraph
 
Reported: 2019-04-29 21:33 UTC by andreas_k
Modified: 2024-08-16 10:36 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Textbox with text and hyphenation in German (13.89 KB, application/vnd.oasis.opendocument.graphics)
2019-07-16 22:51 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreas_k 2019-04-29 21:33:12 UTC
Menubar -> Tools -> Language -> Hyphenate

writer no checkbox
calc checkbox
impress checkbox
draw checkbox

should be consistent. I prefer no checkbox like in writer.
Comment 1 Heiko Tietze 2019-04-30 13:47:51 UTC
Hyphenate in Writer calls FN_HYPHENATE_OPT_DLG starting the function HyphenateDocument() and in Calc SID_ENABLE_HYPHENATION that calls pTabViewShell->ExecuteCellFormatDlg(rReq, "alignment") (Format Cells dialog at alignment tab), where you can switch on hyphenation when text is wrapped. However, if the option switched on for the cell it doesn't toggle the menu item.

The hyphenation is not defined for Impress/Draw.

I agree with Andreas and we should make the menu entry a non-toggle item in Calc. And remove it from all other modules. Likely a simple hack.
Comment 2 Regina Henschel 2019-07-16 22:51:28 UTC
Created attachment 152820 [details]
Textbox with text and hyphenation in German

Hyphenation works in Draw/Impress. Of cause you need the dictionary installed and you should try with German, which has so much long words. Try this: Write a longer text in Writer with style "text body" and German language, but no hyphenation. Copy the text and insert it in Draw into a new text box. Goto Tools > Language and enable Hyphenation. Change the width of the text box and you will see the hyphenation.
Comment 3 Heiko Tietze 2019-07-17 03:50:36 UTC
It works but toggles the menu. This request is about having it an ordinary command like in Writer.
Comment 4 QA Administrators 2022-12-20 03:19:46 UTC Comment hidden (obsolete)
Comment 5 Commit Notification 2024-08-16 10:36:16 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/98f7f540463c533da17d4e8595c091d9e98a6c83

tdf#162491 tdf#125032 add hyphenation settings to sidebar

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.