diff options
author | László Németh <nemeth@numbertext.org> | 2022-06-07 16:39:47 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2022-06-07 18:08:04 +0200 |
commit | 5a079652c1b1f968a851f47995b0a65b84d2d192 (patch) | |
tree | 9ca50acdb6b3275a14fd11fb5a895bddd9e934e9 /cui | |
parent | a0f39cece651b787a21d3778d0b69625a25dae6b (diff) |
tdf#149421 DOCX: import/export hyphenation zone
Hyphenation is a document-level setting in OOXML (only
disabling hyphenation is a paragraph-level setting),
import/export hyphenation zone in Standard style, similar
to IsHyphenation.
Note: Remove HyphenationZone from grab bag to allow its
modification in Writer.
Fix also grayed out hyphenation zone input box in
Text Flow, when enabling hyphenation.
Follow-up to commit 7a1d4b7d1db93ca1f541856a8d00d621d50e7bd6
"tdf#149420 sw offapi xmloff: add hyphenation zone".
Change-Id: Ic1a3f13ba4e80338227c3206a0ed619589809328
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135474
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/paragrph.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index 4b9aaff94f85..0a0cb96487d8 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -2003,6 +2003,7 @@ SvxExtParagraphTabPage::SvxExtParagraphTabPage(weld::Container* pPage, weld::Dia m_xMaxHyphenLabel->set_sensitive(false); m_xMaxHyphenEdit->set_sensitive(false); m_xMinWordLength->set_sensitive(false); + m_xHyphenZone->set_sensitive(false); m_xPageNumBox->set_sensitive(false); m_xPagenumEdit->set_sensitive(false); // no column break in HTML @@ -2137,6 +2138,7 @@ void SvxExtParagraphTabPage::HyphenClickHdl() m_xMaxHyphenLabel->set_sensitive(bEnable); m_xMaxHyphenEdit->set_sensitive(bEnable); m_xMinWordLength->set_sensitive(bEnable); + m_xHyphenZone->set_sensitive(bEnable); m_xHyphenBox->set_state(bEnable ? TRISTATE_TRUE : TRISTATE_FALSE); } |