From 39b785a6b03b35cc8a27f43f6005dcaa432694e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20N=C3=A9meth?= Date: Mon, 9 Oct 2017 13:02:39 +0200 Subject: [PATCH] FORBIDDENWORD precedes BREAK Now it's possible to forbid compound forms recognized by BREAK word breaking. --- src/hunspell/hunspell.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hunspell/hunspell.cxx b/src/hunspell/hunspell.cxx index 5c98f8a..3fd0d16 100644 --- a/src/hunspell/hunspell.cxx +++ b/src/hunspell/hunspell.cxx @@ -633,7 +633,7 @@ bool HunspellImpl::spell(const std::string& word, int* info, std::string* root) } // recursive breaking at break points - if (!wordbreak.empty()) { + if (!wordbreak.empty() && !(*info & SPELL_FORBIDDEN)) { int nbr = 0; wl = scw.size(); -- 1.9.1 ption value='distro/CN/libreoffice-7-4-LTS'>distro/CN/libreoffice-7-4-LTS LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/vcl/uiconfig
AgeCommit message (Collapse)Author
2023-08-16Resolves: tdf#156751 add "Special Character..." to GtkEntry context menusCaolán McNamara
translation exists so doesn't require additional translation Change-Id: Ibc5df15b9b8442307195d79c862c69e0506c4057 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155733 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-07-01Remove option to set printer language typeKhaled Hosny
Drop support for changing printer language type from printer properties dialog, in preparation for dropping support for PostScript printing. This is a follow up to: commit 2a40505d00fcd79bfa433c301ddc05a35287bfb1 Date: Thu Jan 26 11:49:43 2023 +0000 remove option to toggle IsPDFAsStandardPrintJobFormat from UI Change-Id: I970d627588396d6ff648d6e6304e449da7ec1425 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153817 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-07-01Resave with gladeKhaled Hosny
Change-Id: I9ef19ef10be497842be25e03fb72d97d1465bedf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153816 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-06-25Resolves tdf#147514 - Number of copies on top of the print dialogHeiko Tietze
Swapped with Odd/Even pages option to keep the dialog small Number of copies is assume to be the more relevant function Simple "More" renamed to give some clue of the options Change-Id: I8d1bd3455d5b8d57f47ac97c1a310fd47a4a5bbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153495 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2023-02-15move image into the .ui fileCaolán McNamara
Change-Id: I5dad1bd0bcdbedf20d27109ca08109a1a2a6234b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147085 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-15resave with latest gladeCaolán McNamara
Change-Id: Ib1cbf1869fd7b1633178e56a47977050457640f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147084 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-07we don't use urgency-hint or want any gravity hintsCaolán McNamara
Change-Id: I86255f9ba018aab7db654d91bf49043fcd4cb057 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139590 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-20tdf#141026 Put user and computer name into collapsed sectionSiddhant Chaudhary
This patch hides away the file name and the name of the user when the user tries to open a locked file. This improves privacy, as discussed in the bug report. The .ui file for the new dialog box is `vcl/uiconfig/ui/openlockedquerybox.ui`. The source files `openlocked.hxx` and `openlocked.cxx` have been changed to implement the new dialog. The old string template `STR_OPENLOCKED_MSG` has been deleted to hide away the private data, and a new string template `STR_OPENLOCKED_HIDDEN_DATA` has been added; the latter will be hidden inside the expander dialog. Finally, corresponding changes in the makefiles have been made to let the makefiles know about the UI file. Change-Id: I3cc9d2f6e2d9bc43857c80662e2a405aacd7fc70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132342 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2022-03-07tdf#140222 make InterimTearableParent docking windows not dockableJim Raykowski
and only allow dockable type docking windows to be undocked/docked Change-Id: Ia1b0ccbdd911c24f83baf1c0514954e354c9070b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129650 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2022-02-06Resolves: tdf#147218 label doesn't have use-underline setCaolán McNamara
so the _ is shown to the user, not used to add an underline Change-Id: I2de707a2d1da8d842ef03497f9b8f69d37368f12 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129531 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-15add a rule to enforce always-show-image of True if an image is usedCaolán McNamara
If not set, then gtk3 will show the image if there is no text, but only the text if there's an image. For simplicity sake just enforce it as true if an image is referenced. Change-Id: Id4bb9140ba83e7e07e0d8ec5e3c29aece49b9087 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125200 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-20add suggested-action to some buttonsCaolán McNamara
Change-Id: Iacb477c17f1c8ac68b331705796e56b4c92292cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123835 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>