Commit graph

5067 commits

Author SHA1 Message Date
Bogdan Buzea
a1b8b44bf9 tdf#131332: Replace custom date formats with ISO 8601
Change-Id: Ia9307e299f5cbf131b62e8936bc65aa8d7af8739
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177496
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-12-09 00:56:34 +01:00
Heiko Tietze
ad5e52d266 Related tdf#164034 - Enable ProtectedSpace by default
Make non-breaking space and hypen visible

Change-Id: Ibe088c752b9d8378bb167133df3c8fdeacf1f1eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177850
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-12-05 17:24:56 +01:00
Balazs Varga
16b2cae80e tdf#164090: a11y sw: add new warning for non numbered empty paragraph
Add new warning for empty paragraph between numbering paragraphs.

Change-Id: Ib85b376da77a72a87ab05a3e8271be43e223f129
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177493
Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Tested-by: Jenkins
2024-12-03 17:21:46 +01:00
Jim Raykowski
55e86edcb3 tdf#120658 - Reworking of dialogues Organize macros
(make from 5 existing only one)

Much of what makes up this patch is adapted from existing code that is
used to organize and select macros and to assign macros to shortcut
keys. Comments in the patch say where code is borrowed from.

Known issues:

+ Scripting framework library rename for BeanShell, Java, and JavaScript
always returns fail when there are no macro entries in the library even
though it actually succeeds. The same thing happens using
SvxScriptOrgDialog::renameEntry.

+ Deleting Basic macros from the Macro Manager dialog is not implemented
yet.

Change-Id: If4da04549f8b39675910cbbd1f94dd9a6b73c31a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176254
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-12-02 07:13:00 +01:00
Heiko Tietze
b32d040d64 Resolves tdf#126857 - Center object on page/slide
* uno:AlignMiddle labeled "Middle"
* uno:AlignOnPage added

Change-Id: Iafc162bdd80d7c20fabd55234e93212c1fa3435a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177348
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-11-26 18:19:32 +01:00
Christian Lohmaier
fd2c9abe52 show extension link on startcenter for macosxsandbox case
the ShowDonation has already a default value of true via the schema,
so it is enough to override it to false for the macosxsandbox case
similar to how it is done with the Infobar / using the install:module
method

Change-Id: I8f1ea6d3530e66806f66f9f2d2fb16ef0276e460
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177333
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-11-26 18:05:02 +01:00
Heiko Tietze
f395e6599f Resolves tdf#163685 - Save user-defined formula
Change-Id: I88a1c40d3e97d77c289c8b670b52dca50dea126f
Co-authored-by: Rafael Lima <rafael.palma.lima@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176788
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Tested-by: Jenkins
2024-11-26 13:56:48 +01:00
Jim Raykowski
662c6a6d70 related tdf#157255: add DisableLayerHighlighting expert setting
This allows the layer objects overlay to not be done when the value set
for DisableLayerHighlighting is less than the number of objects in the
layer of the tab which the mouse is hovered over in the layer bar.

Change-Id: Ie49ecb11bfb029ada57824c0acbbd133e1fe83b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176809
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-11-23 18:48:17 +01:00
Bogdan Buzea
35f07a5185 tdf#148161 - Remove redundant attributes from configuration schema XML files
Change-Id: I25b6dd6868ac8f24155d4c2d45333ef47557c9c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176950
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-22 08:03:03 +01:00
Jim Raykowski
19c61f4dc3 Resolves tdf#163971 - Unexpected sidebar opening in Math
with Alt+2/3/4 shortcuts

Change-Id: I0acb8fd2fc1b570a4cab3b3a6950a8e6294be316
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176895
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Tested-by: Jenkins
2024-11-21 17:57:15 +01:00
Heiko Tietze
f40dc496a5 Resolves tdf#163856 - Disentangle boundaries options
* Boundary toggles removed from app colors
* Object boundaries completely removed (color replaced with
  DOCBOUNDARIES; Impress placeholder on/off now an expert option)
* Toggle options added under formatting aids
* Individual UNO commands marked deprecated
* New command added to show all boundaries
* Frames follow sections now in state and color
* Kind of wrapping doesn't matter anmymore

Change-Id: I7bbec20831dcb95abef6523884d84b05a1a7df0a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176242
Tested-by: Jenkins
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2024-11-20 16:56:07 +01:00
Caolán McNamara
331bcad4db Revert "add an autotext 'common' directory like templates/common"
This reverts commit 3b267b65d2.

reports of test failures at:
https://gerrit.libreoffice.org/c/core/+/176508

Nothing depends on this right now, so I'll have second go at this later.

Change-Id: I95999f05c69fa9b2459128116927616b1f6a9ca5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176743
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-11-18 22:24:27 +01:00
Sahil Gautam
d18fbc0c20 Revert "tdf#136003 Make Delete Rows/Columns labels more descriptive"
This reverts commit 68d074fb91.

Reason for revert: Changing labels in the menu doesn't help much, rather makes it confusing for new users; decided in the design meeting on 2024-Nov-14

Change-Id: Id8560cd32b233f6908e79beb3af3d774ccc06adc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176614
Tested-by: Jenkins
Reviewed-by: Sahil Gautam <sahil@libreoffice.org>
2024-11-15 09:19:46 +01:00
Caolán McNamara
3b267b65d2 add an autotext 'common' directory like templates/common
for language neutral autotexts

Change-Id: Id3202981c28071a8100a6ce730274788c80a2867
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176508
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-11-14 16:22:29 +01:00
Heiko Tietze
0b7d01a1a2 Related tdf#74386 - Improvements for text boundaries options
* Default is Crop Marks now
* Settings are persistent

Change-Id: If5304c874706345fa943a106044155152c86bc0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176131
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-11-08 10:16:58 +01:00
codewithvk
d72dcbc4fc sw: add .uno:DeleteContentControl command
This command removes formatting for content controls such as rich text, checkbox, dropdown, picture, and date controls. It deletes only the content control formatting, not the actual content of the section.

Here are some todos:
	- Add test case for delete
	- undo/redo for this uno command

Change-Id: Ib1b3b62ff7d62fd971472eff49a58c5afd786dc8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175927
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 5d4ae3db293b0f9c46cbc09d0391806e1ed7b362)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176067
Tested-by: Jenkins
Reviewed-by: vivek javiya <vivek.javiya@collabora.com>
2024-11-07 08:27:11 +01:00
Sahil Gautam
4bdb421440 Libreoffice Theme Part 1.0: Make registry colors accessible from VCL
Enable UI color customization via an extension. This patch doesn't
include any UI changes as that needs to be discussed with the community
first (ticket: https://bugs.documentfoundation.org/show_bug.cgi?id=163620)

Part 1.0 (this change) is responsible for loading all the ThemeColors
from the registry into a `static ThemeColors` object, which then is
accessed in various VCL_PLUGINS as a source for the application colors.

The user now has to go to the registry (expert configuration), and
enable the theme by setting "LibreofficeTheme" to "true". It can also be
enabled via an extension (demonstrated in the Theme Template).

`testGetViewRenderState` changes to  "Dark" scheme which is  not present.
Changes in  this patch don't allow  that and use 'Automatic' as the
fallback. This caused the unit test to fail. So the test was changed to
have "Dark" scheme before changing to it.

Theme Template: https://github.com/printfdebugging/libreoffice-theme-template
Project Report: https://printfdebugging.in/libreoffice/01-themes-gsoc-2024/

Change-Id: I5193d4d34fcd2f4c5d6f124a871bd5c7f14e95a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168016
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-11-06 20:49:31 +01:00
Tomaž Vajngerl
cbc51154c0 pdf: initial PDF 2.0 and PDF/A-4 support
Added PDF 2.0 and PDF/A-4 version to enums. Write the PDF 2.0
support for the file headers. Add the identical considitons as
for the PDF/A-4 as they were for PDF/A-3.

Change-Id: Iccf5afbf09c4cd0cd1ae7122c860e8cbefe3a6fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176023
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2024-11-04 21:20:25 +01:00
Adesola Samuel
71d2849bf6 tdf#153138 Add IgnoreTabsAndBlanksForLineCalculation compat opt to dialog
IgnoreTabsAndBlanksForLineCalculation was added to the option->
writer->compatibility options with the label "Make whitespace
character height not affect line height"

Change-Id: I8b99409b01ba2af635018d15cde2e549dff92732
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175831
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-10-31 14:46:30 +01:00
Sahil Gautam
22949c16e6 tdf#85976 Change label from "Handle Duplicate Records" to "Duplicates"
This is because the original label was taking a lot of space on the
notebookbar. Other suggestion was 'Manage Duplicates', which didn't
seem any better than 'Handle Duplicate Records' as when an icon for the
command is added, it will end up taking a good amount of space.

Change-Id: I852bd897d68648208102861de3d8131e103f4f14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175826
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-10-30 19:39:50 +01:00
Michael Weghorn
c5b6e3ac56 win a11y: Stop using setting to indicate AT support
No longer use a "Accessibility"/"EnableATToolSupport"
VCL setting to control/report whether support for
assistive technology is (or should be) enabled,
which was primarily used on Windows.

As described in previous commit

    Change-Id: I32624b830d39d08510e4731edd06fd7a77642c50
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Mon Oct 28 21:12:48 2024 +0100

        win a11y: Drop "Enable AT Tool support" from options UI

, that setting got automatically enabled when an assistive
technology was active on Windows, and never got reset to
"false" automatically, so AT support would be enabled
next time LO starts as well.

Instead of persisting this via a setting, enable the
Windows a11y bridge if and when a WM_GETOBJECT message
is received only, see `ImplHandleGetObject` (where this
was already done earlier) and no longer alternatively
start the a11y bridge in Desktop::Main when the mentioned
setting is enabled.

Drop MiscSettings::SetEnableATToolSupport altogether.

Adjust MiscSettings::GetEnableATToolSupport to no longer
read a setting, but return `true` if the AT bridge
has been activated (or a SAL_ACCESSIBILITY_ENABLED
environment variable is set, as was already checked
before).
This already returns `true` when called from
MenuBarManager::FillMenuManager when starting
LO while the NVDA screen reader is running.

With this in place, the a11y bridge on Windows
should now become active whenever an AT requests
information (by sending a WM_GETOBJECT message),
but not otherwise, and restarting LO will result
in the a11y bridge no longer being active unless
AT requests information again.

Change-Id: I42f0059cecd43205690d958a875d3c17ff9a197b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175795
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-10-30 08:27:28 +01:00
Ilmari Lauhakangas
f0cf85983d tdf#132253 tdf#163482 Use .uno:InsertHyperlinkDlg as alias
to HyperlinkDialog.

The purpose of the obsolete command was to open Character Formatting dialog
with the Hyperlink tab focused.

Change-Id: I8a3053a7bc7bd98c33224c0988d5c0994d4dca9f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175412
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-10-25 15:40:41 +02:00
Aditya Sahu
c32210fdf3 tdf#151941: Show Alt_Shift_P as shortcut key for Page Style
In Writer the Tools>Customize>Keyboard list did not show attribution
for Alt_Shift_P which is the binding for Page Style dialog. The reason
for this was that .xcu node for the shortcut was part of Global node.

Change the Accelerators.xcu file to Modules node particularly,
under TextDocument com.sun.star.text.TextDocument.

Change-Id: I997c4e6dd292c46fe067a59f0309681d6c346a6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175249
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-10-21 13:37:29 +02:00
Mike Kaganski
5daac16a03 tdf#160580: make cycling from first to last tab configurable
This introduces Office/Calc/Input/CycleNextPrevSheetTab
boolean property, that controls the behavior implemented
in commit 552170c9c8
(tdf#156311 Cycling through tabs in Calc, 2023-08-16).

Change-Id: I0510743b4ab6d92488ba73a7b8d5b83be9586b2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174745
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-10-10 07:49:59 +02:00
Gabriel Masei
565b619d57 tdf#160582 Preserve settings saving in csv import dialog
Also, improve detection algorithm by replacing the limit
of 20 lines with a time limit of 500ms.

Change-Id: Iac519b6ebe675b91ce84b900646d9d320ea9ddc1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165905
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins
2024-10-09 14:49:11 +02:00
Sahil Gautam
7a1636a24f tdf#85976 change labels as suggested in comment 73 on the ticket
1) On first call, "by column" was selected although that is the less common case.
    > now by row is selected by default
2) The meaning of "Orientation" is not really clear. Suggestion: Compare:  rows   columns
    > changed as suggested
3) The purpose of "Items" is unclear.
    > renamed "Items" to "Records"
4) Help page does not exist.
    > help page patch has been merged
5) If a database range is selected, the dialog does not consider the property "Contains column labels" of the database range.
    > didn't quite get this one; require some help to reproduce
6) It is not usual to use "Okay", but other dialogs have it named "OK".
    > changed as suggested.
7) Command has no extended tip.
    > Added TooltipLabel
    ```
    <prop oor:name="TooltipLabel" oor:type="xs:string">
      <value xml:lang="en-US">Remove or select duplicate records from the selection</value>
    </prop>
    ```

Change-Id: I9579af68b396cddeca608dc077af3b468191942b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174201
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-10-05 20:00:48 +02:00
Xisco Fauli
c6f9d381d3 Add ODF 1.3 Extended / ODF 1.4 versions to configuration and UI
The new default is ODF 1.4 Extended

Change-Id: I50f60cccde81b5ea320478314482cc67a7bcc2e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174343
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-02 08:57:38 +02:00
Sahil Gautam
29fd68bb68 tdf#85976 [RFE] Add a "Remove Duplicate Records" command
Add a "Remove Duplicate Records" entry under Calc > menu Data
to remove duplicate records from a rectangular selection
of cells in Calc.

Change-Id: Ic8340d7f1e19461ef3666fd2ef65294b73577d5c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160685
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-09-27 15:22:46 +02:00
Heiko Tietze
b8368ad96e Resolves tdf#108697 - Update default bullets
Change-Id: I35387f5399a18ecd15237485458233b28f88ea37
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174028
Tested-by: Jenkins
Reviewed-by: Vernon, Stuart Foote <vsfoote@libreoffice.org>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-09-27 15:21:37 +02:00
Matthew Kogan
2b68729253 tdf#162566 sw: Make it optional for moved text to be displayed as green
by the new config option "DisplayMovedTextInGreen", as a temporary fix
to hide incorrect changes in corner cases.

Change-Id: Ie629ca22a2411db4ddbfc9f6b96fe6fe69681213
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173127
Tested-by: László Németh <nemeth@numbertext.org>
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-09-26 10:03:33 +02:00
Jaume Pujantell
98cd8bac76 sw: add new command to make a response comment root
Adds the option to convert a reply comment into a new top comment
while preserving the parent-child realtions of the other comments
in the thread.

Change-Id: I3cd5e5466fadc2226651d7c244b5139ec2d1f949
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173051
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173870
Reviewed-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Tested-by: Jenkins
2024-09-25 15:43:47 +02:00
Heiko Tietze
e0808a1f84 Resolves tdf#161574 - Individual labels for TOXes in the UI
+ Upper-case for Delete Index
+ User-Defined amended with Index

Change-Id: I972ee22fa3681a0f1159426836a0ec1b83fa5e3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173849
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-09-25 10:39:25 +02:00
Heiko Tietze
8192a3bde8 Resolves tdf#163049 - Name the sidebar find deck
Change-Id: I7638f25f4c8afb8896a77aa30c46bce08c8907fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173836
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-09-24 10:23:24 +02:00
Jonathan Clark
2155684c81 tdf#129808 sw: Use ext leading for text grid spacing on DOC import
This change adds a Writer compatibility flag, MS_WORD_COMP_GRID_METRICS.
When set, Writer will always use the font's external leading when
calculating line height for text grid, even if ADD_EXT_LEADING is unset.

This change also automatically sets the MS_WORD_COMP_GRID_METRICS
compatibility flag when importing DOC and DOCX files.

Change-Id: I63a94d7d20354163f1f97745a38e286686d6a4a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173693
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2024-09-20 10:43:34 +02:00
Oliver Specht
4855bbfa4d tdf#132274 add zoom defaults to Writer options
Zoom value is sometimes stored at documents. But users
might prefer local zoom settings over stored values.
Users are now able to set preferred values in Writer's
option dialog.

Change-Id: Ia1c3926aac3dd236f15f84d8dc535d8aa3758238
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171482
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-09-17 03:44:46 +02:00
Heiko Tietze
dbd851c357 Resolves tdf#33714 - Option to disable "only active sheet"
Based on work by Martin van Zijl in I5f5b65b132d91beb24aa6e9282390dead235d849

Change-Id: Ie4543a2fc4b52715b5d87783a57e982c20274114
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173220
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-09-14 12:08:26 +02:00
Mohit Marathe
be16c6cf5c sw: add Comments Panel in sidebar
This commit adds a sidebar deck for comments.
It has all the functionalities of the old comments
shown via annotation window.

Change-Id: Ibab0e21a54c097d0f42bddb1d07da74319970135
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167840
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper.akdemir@allotropia.de>
2024-09-13 12:35:45 +02:00
Miklos Vajna
e5a0209d4b cool#9992 lok doc sign: allow sign of macros & the document itself in one step
Sign a document with macros (via file -> digital signatures -> digital
signatures), realize that you still get a warning on file open, sign the
macros in the document (via tools -> macros -> digital signature),
realize that you did this in the wrong order, so now you have to re-sign
the doc content.

The reason for this is that the macro signature only signs the macro
parts of the document (so you can still edit the document and the
signature is valid, as long as you don't touch macros), while the doc
content signature signs everything, including the macro signature, so
the order of the two matters.

Solve this trouble by adding a new setting that allows doing the two
signatures in one step. Do this by extending the doc content signing
code with an optional pre-step that first signs the document macros.
This is a bit tricky to do, since xmlsecurity/ gets an RW signature
stream and a RO document storage from sfx2/, but transferring one more
signature stream can solve this trouble.

Other tricky parts of the change:
1) The crypto signing is always done by libxmlsec, so
   DigitalSignaturesDialog::SetScriptingSignatureStream() has to update
   the storage of the sign manager's sign helper, otherwise, the hashes in
   the macro signature will be empty.
2) Signing reads the RO storage, so normally the macro signature
   would not be part of the doc signature when creating both signatures
   inside a single dialog. (The storage is only committed after the
   dialog ends.) Fix this problem by extending
   DocumentSignatureManager::add() and UriBindingHelper::OpenInputStream()
   to provide kind of an overlay when xmlsecurity/ gets a script signature
   stream: this way the macro signature will be part of the doc signature
   while the dialog is in progress. No overlay is needed later, once both
   streams are committed to the storage on dialog end.

Change-Id: Ic2728689997165595991d5ec59c7a2683286e22d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173263
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-09-12 16:53:06 +02:00
Heiko Tietze
854107d275 Resolves tdf#146906 - Keyboard shortcut conflict: Ctrl+F5
* Removes ToggleControlFocus from accelerators

Change-Id: I566307f680a528bb229cf640718e175602a42a39
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172870
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-09-10 09:39:31 +02:00
Adolfo Jayme Barrientos
ba12acd18a Move mnemonic to logical, unique place
Change-Id: I603a11980f05863402b7c1abedf293ba4c76923b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172985
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-09-07 08:20:05 +02:00
DaeHyun Sung
e830f2a041 tdf#157029 changed Korean Font priority for LibreOffice UI
changed Korean Font priority for LibreOffice UI

 * Change list order, "맑은 고딕;Malgun Gothic;애플 SD 산돌고딕 Neo;Apple SD Gothic Neo"
 after Noto Sans CJK & Nanum Gothic.
 * Change list order, Make Noto Serif CJK KR font read first for  Korean-Serif Familys

Because, Noto Sans CJK KR, Nanum Gothic are mostly used on Windows, Linux, and Mac.
"맑은 고딕;Malgun Gothic;" is used on Windows,
"애플 SD 산돌고딕 Neo;Apple SD Gothic Neo" is used on Mac.

 * Modified dotum's Korean name.  `돋음` to `돋움`
 * default TEXT font use Sans instead of Serif.
In Korean environment, MS products were adopted Sans-family's Malgun Gothic font as a default font since Vista
Also, HWP(South Korea's a proprietary word processing application) is adopted Sans-Family's HCRDotum(함초롱돋움) since HWP 2010.
As a result, I changed Sans-family font as a default Text font instead of Serif-family font on LibreOffice UI.

Change-Id: I3c7803b63a52d5569ca36d788d944a038e6fd8bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157494
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2024-09-05 19:38:52 +02:00
Adolfo Jayme Barrientos
e372b380d2 tdf#162476 Pluralize command name to reflect its effect beyond the current cell
Change-Id: I7f1c66d1e6aff049f5990a332cbe1d4e70fbcc5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172739
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-09-02 17:21:34 +02:00
Bogdan Buzea
1a95aa91f7 tdf#155153 Change "Group" to "Group Shapes" and remove duplicated node.
Change-Id: I7adeea4abb1ae188ef1af401d098f0c4967c3f0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172278
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-09-02 16:56:11 +02:00
Balazs Varga
3eac847927 tdf#161826 - Add uniform Glow effect for texts in shapes
- Add new text Glow effect properties for shapes

- Using TextGlowPrimitive for rendering uniform text glow in shapes

- Add/allow new UI Glow Effect for texts in shapes on sidebar
  (Only for Impress/Draw and Calc)

- Import/Export ooxml files with Glow effect on texts in shapes
  (Only PPTX/XLSX)

- Import/Export odf files with Glow effect on texts in shapes

- Add unit test for glow text attributes in ODF

- Add uni tests for OOXML import/export

Note: Also this patch effects on
tdf#144061 - Effects: Allow GLOW to apply to Text (as we have for shapes)

Change-Id: I16586c01654f197f532129e4e06aa2ef9f214395
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172216
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2024-08-29 19:59:24 +02:00
Thorsten Behrens
42f677c5f6 related tdf#68274: switch on MAR-based auto-updater by default
On platforms built with --enable-online-update-mar, make the automatic
online update the default now.

Change-Id: I4d8355023f185b89aa25701bcc02a15986d3d969
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172335
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-08-26 16:11:45 +02:00
Heiko Tietze
cd2eba5c69 Related tdf#160226 - Math inline editing Off by default
Introduced per
I63672c054d1ead269863079e7f9c118a44b3ba19
Ib2ca942c537e466f6ff100be7f95adaead99f1d5

Change-Id: Iff2bd250c004e57800c84287483965ec3ae49187
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172241
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-08-26 10:38:28 +02:00
László Németh
98f7f54046 tdf#162491 tdf#125032 add hyphenation settings to sidebar
Add .uno:NoBreak to the Character sidebar panel to disable
automatic hyphenation for selected words. The icon is enabled
only on hyphenated words and words with disabled hyphenation.

Add .uno:Hyphenate icon to the Character sidebar panel, with
tooltip "Insert Soft Hyphen...", which opens the dialog for
(semi-)automatic insertion of soft hyphens.

Add paragraph-level hyphenation settings to the Paragraph
sidebar panel. Only the toggle button icon "Hyphenation"
is visible to enable hyphenation, if the paragraph is not hyphenated.
If it's enabled, show all paragraph-level settings.

These new sidebar controls allow adjusting paragraph layout and
hyphenation quickly, like DTP software do.

Note: to add icon to .uno:NoBreak, modify "Properties" of
officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu.

Note: it's possible, that high resolution icon sizes will need extra
dispatcher calls (the draft is attached to the issue in the bug tracker).

Change-Id: I292527589ed3a38e4400cfd97ea54cbc7ff56a44
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171883
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-08-16 12:35:41 +02:00
Heiko Tietze
aabb5be81a Resolves tdf#80054 - Customization for non-printable character color
Change-Id: I82783a49d3a1c2096dcfa7c97a3fce14c555c988
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171814
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-08-14 09:24:29 +02:00
Heiko Tietze
919e13fb3b Resolves tdf#61242 - Customization of comment background color
* COL_AUTHOR<1..>_DARK/LIGHT/NORMAL removed Author1..9 added
* dark variants calculated from light with 50% brightness
* light does In/DecreaseLuminance(30) and dark (sd) resp. anchor (sw) In/DecreaseLuminance(80) depending on GetUseDarkMode()
* sw: font color depends on outline background, which now picks up DOCCOLOR; this does not work for dark colors in light mode, for example
* sd does not update on changes and requires a restart

Change-Id: I773793de8cfbdc0d23124db790604b93030375c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171523
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-08-11 08:26:23 +02:00
Sarper Akdemir
9786f8ea59 tdf#159040 tdf#162206: better the user key selection and test sign with default
fix GPG CertificateImpl::getSHA1Thumbprint not returning a
sequence of bytes as the thumbprint. (that is what the
documented API states, and what all of the code assumed.)

now /org.openoffice.UserProfile/Data/signingkey and
encryptionkey stores the key's SHA1Thumbprint for better
identification of keys. Previously on the key name was being
used.

fix annoying NSS Certificate Database password prompt
appearing on Tools->Options if the certificate database is
password protected.

improve Tools->Options->UserData user key selection and
display of information.

add a ui test for "Sign with default certificate"
interaction in the save dialog.

Change-Id: I1036856003f58f494838e0f81ca0fe18e821f528
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171395
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper.akdemir@allotropia.de>
2024-08-05 13:15:31 +02:00