Commit Graph
492360 Commits
Author SHA1 Message Date
846a032ebd Added translation for android-viewer using Weblate (Abkhazian)
Change-Id: I773dd0a06ea44d9978cbb9b169545ef8bd456c6d

android-viewer translated using Weblate

Italian currently translated at 100.0% (118 of 118 strings)

Change-Id: I98f0567a3b5b2fa853b468dfb1aec21230527b42

android-viewer translated using Weblate

Italian currently translated at 100.0% (118 of 118 strings)

Change-Id: I87ee3f9f46342bc1a4c3c4062a74a7c7afb9b3f9

android-viewer translated using Weblate

Czech currently translated at 6.7% (8 of 118 strings)

Change-Id: I61735dcce61a859b45619b9b2742220f00ec94bc

android-viewer translated using Weblate

Italian currently translated at 99.1% (117 of 118 strings)

Change-Id: I867af2d187ff54c701d6ec3a2f6b7114acb55aba
Co-authored-by: Elisabetta Manuele <calembour@hotmail.it>
Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Co-authored-by: Valter Mura <valtermura@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Co-authored-by: Андрей Абухба <aabuchba@mail.ru>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cs/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/it/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161721
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-01-12 09:39:43 +01:00
Szymon Kłos 13e0558084 sc: announce theme colors with lok callback
As it is done already for Writer. Unfortunately cannot
move the code from afterCallbackRegistered to base class
in sfx2 as it is not linked to svx which is needed to
generate JSON. So at least share generation and sending
part in ThemeColorChangerCommon.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Icbf681230bd4c49698c47d852a0862620d93bcec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161771
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161927
Tested-by: Jenkins
2024-01-12 08:04:34 +01:00
Kurt Nordback ca3112f38e tdf#159043: combo chart render order isn't right
Change-Id: If20446c8bd5a67f73c24444126c26ed6bd160aed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161797
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-01-12 07:55:02 +01:00
Kira Tubo ba8f4bff60 tdf#145538 Use range based for loops
Change-Id: I2e31b6ff335b5884a5d02d53bafef4315ad0fe68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161902
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-01-12 00:39:32 +01:00
Regina Henschel c994f2491d tdf#159049 use RTF_LINE for EE_FEATURE_LINEBR for copy
Copy of simple text uses ImpEditEngine::WriteItemAsRTF() method.
Error was, that in case of a line break ('\n') the string
OOO_STRING_SVTOOLS_RTF_SL was written, but it needs to be the string
OOO_STRING_SVTOOLS_RTF_LINE.

Change-Id: I1c2ff2087c563b26e26d8768dfcfd1645be91d2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161842
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2024-01-12 00:13:21 +01:00
Rafael Lima fa86997621 Update git submodules
* Update helpcontent2 from branch 'master'
  to 04877b3bb878e30f8df562a35bc97163ee6be9ff
  - Silence string for translation in sf_intro.xhp
    
    Change-Id: I12d48417dc979e85138b78f906fae3486f9673b4
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161938
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-01-11 22:02:42 +01:00
Andrea Gelmini 728be4c831 Fix typo
Change-Id: Ia63ef69c17c99de0c7bc3f33e7fc41dc042c2751
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161925
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-01-11 21:18:49 +01:00
Stephan Bergmann de98291912 Fix make create-partial-info (for Windows, at least)
I got lost trying to figure out how the original
bin/update/create_partial_update.py code was meant to obtain old and new
installation trees to diff, so I simplified that down to the create-partial-info
make target now expecting an ONLINEUPDATE_MAR_OLDARCHIVE make variable that
points at the old archive install set.  (And the
--with-online-update-mar-serverurl configure option is gone for good again.)
The remaining changes are similar to what was needed in
28bad382fa "Fix `make create-update-info` (for
Windows, at least)".  (And the mbsdiff and mar tools expect Windows-style
pathnames, but mktemp returns a Unix-style pathname in cygwin shell scripts, so
this needed an additional Windows-only external/onlineupdate/cygpath.patch.)

Change-Id: I40690210d62e3f26fb2d574914a0dd4323e6cd62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161924
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-11 21:01:51 +01:00
Attila Szűcs f97dc9d815 LOK: fix language warning in setView
Made the warning before the new language set.
This way we log the old (wrong) and new (good) language.

Elseway we could save the old languages to a temporal variable,
set the language, and do the warning with the saved variable, but
i think the extra variables would be a waste of memory.

Change-Id: I0b69f49d07e9130bf1538c2c8e1d0b09cf82091f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161841
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit e09b3f5f4cd662a596b5d8d6ad4d5e2778e315f4)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161916
Tested-by: Jenkins
2024-01-11 20:47:30 +01:00
Michael Stahl 36f232e276 tdf#158783 sw: add some asserts for calling SelectTextAttr() ...
... with mismatched point node and SwTextAttr. Unfortunately SwTextAttr
doesn't have a member that points to the node, just half of its
subclasses do...

Change-Id: I78193ac47a9287f01b236b71934053299d0ffb23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161928
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-01-11 20:34:01 +01:00
Rafael Lima bf410be450 tdf#158750 Highlight the line where the cursor is positioned (Basic IDE)
This patch implements support for highlighting the selected line in the code editor, similar to what Kate, VSCode, etc do.

If the cursor is positioned in a single line and nothing is selected, then a highlight color is applied to the line. The line number window also highlights the selected line.

Change-Id: I2047d79500cd783b122b6752bb00996de0a7c702
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161861
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2024-01-11 19:56:08 +01:00
Rafael Lima 45f3398c9a Update git submodules
* Update helpcontent2 from branch 'master'
  to 46e73230cf1f0b3c9f21391099c2e15d8a54db3b
  - Improve sentences and fix strings in sf_dialog.xhp
    
    Change-Id: Ic710fe6e92f73b5f247d881046b71a165ec6812f
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161933
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-11 19:50:54 +01:00
Rafael Lima c0075bf84e tdf#155381 Remember the visibility of UI components in the Basic IDE
This patch remembers the visibility of the Object Catalog, Watched Expressions and Stack Window in the Basic IDE.

Change-Id: I2fea038ffc56af45cd6570feeb14ab84307f8cef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161852
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2024-01-11 19:49:28 +01:00
Stanislav Horacek a207d7ab26 Update git submodules
* Update helpcontent2 from branch 'master'
  to 163b2d43d3e746a5c71c77b61e9e5dba4a34c039
  - fix various typos
    
    Change-Id: Iba87ac215420d36ac9260fb3156b5493a3040f70
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161900
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-11 19:48:23 +01:00
Olivier Hallot 1b08dabad1 Update git submodules
* Update helpcontent2 from branch 'master'
  to 26a5de6fa9b4134eda61cd21511f589cd1e852ad
  - Fix bookmark HID
    
    Change-Id: Ibe80002fd4d5b71600f6cda234646fb1bd33d6a4
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161934
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-11 19:41:25 +01:00
Rafael Lima 6c0463e38d Update git submodules
* Update helpcontent2 from branch 'master'
  to abbdd32a5cd87a4f21ba17e4ea9de6fd224b8ed4
  - Fix strings in sf_dataset.xhp
    
    Change-Id: Ifdee53dc4a92d9f889e9dc92943331659d28775b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161931
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-11 19:37:56 +01:00
Andreas Heinisch a03a9236b0 tdf#156769 - Escape the question mark in the storage name
Otherwise, an auto-text using the question mark for its shortcut
cannot be inserted.

Change-Id: I369e3d0f2ff82cea2d053896964a5c2c23b8d6f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161921
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2024-01-11 19:25:50 +01:00
Christian Lohmaier 773aa743cc Update git submodules
* Update translations from branch 'master'
  to 090a7639cc39ef9f36ed2ac8f58fd156ce755a4a
  - update translations for master/24.2.0 rc1
    
    and force-fix errors using pocheck
    
    Change-Id: I79b4bd9325c50387951258905a131141620d32e5
2024-01-11 19:17:26 +01:00
Xisco Fauli 2f69b38c74 CppunitTest_sd_png_export_tests: relax test a bit
See https://lists.freedesktop.org/archives/libreoffice/2024-January/091422.html

Change-Id: I79e94912708a8d0ebd2aca76899e6fbb9fc23f2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161923
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-01-11 18:15:36 +01:00
Armin Le Grand (allotropia) 2184890a0e tdf#158664 Ignore Notifications when SlideShow is inactive
The impl SlideshowImpl gets notifications for changes from
the ObjectModel, but needs to ignore them when SlideShow
is not active/running. For discussion how to do this see
comments in task.

Change-Id: Ic251af4b82f0f4b48d8d9b0127dd2f6015966935
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161922
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2024-01-11 18:12:48 +01:00
Miklos Vajna 1bef59c318 CppunitTest_sw_unowriter: turn on gb_CppunitTest_set_non_application_font_use
And the same for CppunitTest_sw_uibase_wrtsh, which found two places
where font fallback happens for the checkmark glyph from the Liberation
Serif font, so explicitly set the font name in those cases to avoid the
font fallback at a glyph level.

Similar to commit dc4d7500c9 (Fix
CppunitTest_sd_import_tests-smartart non_application_font_use,
2023-10-23).

Change-Id: If72e94a61ef38f2f52e677ac989f60ccdae27cd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161911
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-01-11 17:41:48 +01:00
Attila Szűcs e78bce3c1d LOK: fix setView language problem
Fix some mis-localization problem by checking for wrong language  
at setView(...).

setView does not change current localization, if the view we want  
to set is the current view.

But in some cases the language - view is not in a consistent state.
Maybe the language changed but the view did not, or the current view  
changed without language change (I found examples for both).

Changed setView(...) so that it checks, if the current language
matches to the current view, and if it does not, then we set
the view, even if we want to set to the current view.        

This won't fix everything, but hopefully it helps a lot.
I think we should make sure that current view - current Language  
are always changed at the same time (or at least we make sure
they always match).

Change-Id: Ie177b9b55f7befcbcf7cd1f62e402700f0e1aa60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160219
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161915
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-11 14:54:51 +01:00
Rafael Lima 89d0ab74e5 Update git submodules
* Update helpcontent2 from branch 'master'
  to d6168024a68482349db0c02713e79d37a31519ce
  - Silence strings for translation in sf_database.xhp
    
    Change-Id: Ibbccb617adbb97da9f892ead789db8f643f78f83
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161930
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-11 14:20:37 +01:00
Tibor Nagy 37eb62c995 tdf#159066 sc: fix OLE object alternative text (PDF/UA export)
Change-Id: I0af9cf61cafbe7ba93d08ed22fc11bb173612bfe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161904
Tested-by: Jenkins
Reviewed-by: Nagy Tibor <tibor.nagy.extern@allotropia.de>
2024-01-11 14:14:20 +01:00
Samuel Mehrbrodt cf9d8631ee Related tdf#73953 Increase default comment width
Now that it can be resized, we can use a bit more space to increase
readability for longer comments, and to match other software.

Change-Id: Ia994d7288986a5cb206070b5066c42b59a9980e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161788
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2024-01-11 14:01:47 +01:00
Jaume Pujantell 54ef7f9ea9 cool#7996 enable jsdialog for font page in document properties
The checkboxes of font page on the document properties dialog were
not saving the changes after pressing ok.

Change-Id: I5e7d16de267dd5d6874a84b518f6ec769db4fcc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161795
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 545d512cccca5f7b866696b3a4dfc0e00748029d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161863
Tested-by: Jenkins
2024-01-11 13:45:55 +01:00
Caolán McNamara 3b31561c39 cid#1583748 Dereference after null check
Change-Id: I147e0454e215b3a26e97c0a6d727db25fd2549a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161918
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-11 13:23:31 +01:00
Stephan Bergmann 416b2ee59f Make create-update-info handle conditional content
That make target operates on an archive, but generates data to be applied to an
msi installation, so suffers from any mismatch between archive and msi install
sets.  Two such mismatches, at least on Windows, are:

1  Files that msi will install outside the LibreOffice installation itself (but
which for an archive install set are included under LibreOffice/).  This covers
(at least) .Net assemblies and associated files that are installed in the GAC
(scp2 styles ASSEMBLY and ASSIGNCOMPONENT) and fonts (scp2 style FONT).

2  Files that msi will only install conditionally.  This covers optional
components (many of which in scp2 are assigned to gid_Module_Optional_...
modules) and user interface languages (which in scp2 are assigned to
gid_Module_Langpack_... modules).

The approach taken here is to create a
workdir/installation/LibreOffice/archive/install/metadata file while building an
archive install set, and to record any files matching 1 (as "skip" lines) or 2
(as "cond" lines).  Then, the create-update-info target uses that metadata file
to act accordingly on those files:

1  Files from "skip" lines are simply removed for now from the extracted archive
that is passed to Mozilla's make_full_update.sh script.  (TODO:  That means that
changes to such files will not be updated with the MAR update mechanism.  This
would apparently need some extra processing during the MAR update.)

2  Files from "cond" lines shall be recorded as add-if in the mar file manifest.
Mozilla's make_full_update.sh script already has support for emitting add-if vs.
plain add, but only for files under distribution/extensions/, which doesn't
match our needs.  So we generate from the metadata file an ifs file that we pass
into the make_full_update.sh script, and patch that script to also take that ifs
file into account.  (Each line in the ifs file is of the form

  "testfile" "file"

which works as long as none of the pathnames contains double quote characters.
The Mozilla script code appears to be confused about the arguments to
make_add_instruction(), where this ifs file will be needed:  There are calls to
make_add_instruction() with two or three arguments across make_full_update.sh
and make_incremental_update.sh, but make_add_instruction() checks $1, $2, and
$4 (but not $3), so leave that mess alone and pass the ifs file as a global
IFSFILE variable instead.)

The mar file manifest `add-if "testfile" "file"` adds "file" only if "testfile"
is already present, and those two can be different files.  TODO:  However, for
simplicity, for now I always use "file" also as the "testfile" (so that an
add-if file only gets updated if it was already present).  That avoids having to
identify a specific "key file" for each optional component and for each user
interface language, where that key file would be used as the add-if testfile.
But on the other hand, it means that if an optional component or a user
interface language will bring along a completely new file in the future, we will
not install that file during a MAR update.  What obviously remains to be done is
to properly assign each add-if file to a specific key file.  (And the current
way of identifying add-if files by gid_Module_... names appears to be too
simplistic too.  For example, there are some gid_Module_Optional_... that are
installed unconditionally for msi; but it should be harmless that those files
are recorded as add-if rather than as plain add.)

Change-Id: I2fdeed92604f3a2d8a0b500b9e3fa421cfb6a9cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161917
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-11 13:01:50 +01:00
Samuel Mehrbrodt fb443c6d4d Use officecfg instead of utl::ConfigItem
Change-Id: If6fa84bcdb56873df288d216b157ad669c45bca1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161622
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2024-01-11 12:44:39 +01:00
Kira Tubo 79f3a2655d tdf#138748 Change label to locale in Calc sort dialog
* Under Calc's Sort dialog > Options, update "Language" label to "Locale"
* Update accessible descriptions to match the new label.

Change-Id: If98d568900f27974b73aa2ead402458385306ab6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161870
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-01-11 12:27:56 +01:00
Szymon Kłos 40c94cff17 lok: send error on access denied in image import 2
followup for commit	64624d225c71229acce4f889d4863d7c29c52658
lok: send error on access denied in image import

It shows an error in LOK when we try to insert image
from remote host blocked by HostFilter

Previously it was showing error in paste case,
now do the same also on image insertion.

For now disable HandleGraphicFilterError in sd, as it
crashes, is synchronous and cannot be easily fixed
- dialog sits inside module not linked to sfx2, needs
some rework.

Change-Id: I3c15ff5621add97ef9d60d4f4c1305dae2909158
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161001
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161774
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2024-01-11 12:23:27 +01:00
Miklos Vajna aaf6ce108e cool#7492 sfx2 lok: set language/locale on async sidebar update
Create two Calc views, set the first view language to English, second
view language to German. Type in the English view, double-click on a
chart in the German view. The sidebar in the German view will have
English strings in it. This doesn't happen if there is no typing right
after the chart activation in the English view.

What happens is that the sidebar update is async, and
sfx2::sidebar::SidebarController::notifyContextChangeEvent() gets
called, which registers an aync event when it calls
AsynchronousCall::RequestCall(). Then later this job gets scheduled, but
possibly by that time the active view is the English one, leading to
English strings when chart::ColumnChartDialogController::getName() calls
SchResId(), which works from the language of the current view.

Fix the problem similar to what commit
fb7b0b9447 (cool#7492 sfx2 lok: just set
language/locale on async binding update, 2024-01-09), did: set the
language/locale from the current view before executing the async job and
restore the old value once we're done.

Extract the now duplicated code to a new SfxLokLanguageGuard, so in case
more places have a problem with incorrect l10n, then it's meant to be a
one-liner to fix further places.

Change-Id: I52724a24d93fb753175a3b9b99bc33178519d981
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161920
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-01-11 12:06:52 +01:00
Caolán McNamara d6996f399b Resolves: tdf#159086 add sensitive model<->treeview mappings for checkboxes
These are basically implicit in vcl. For gtk if they are used they have
to exist in the .ui, and to keep in sync with vcl there is basically
just the one pattern that is allowed.

Change-Id: I0f5603239569e9d39379515313a35d82d9266480
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161899
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-11 11:07:24 +01:00
Michael Stahl 4d6e9d5e15 tdf#105844 add test for ODF wholesome encryption with macro signature
... plus manifest schema extension.

Change-Id: I73721db8620e97bd58556f9a71afcb0a33f6c7e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161898
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-01-11 10:50:51 +01:00
Michael Stahl f1117fbfcd tdf#105844 package: ODF wholesome encryption: use package version
... to init the Version property.

The problem is that the outer storage loaded from a wholesome ODF
encrypted document doesn't have a Version, because it doesn't (directly)
contain a document and has no "/" file-entry.

Extract the root element's package version attribute and use it.

The Storage API doesn't distinguish much between the package version and
the root document's (i.e. root folder's) version.

Change-Id: I0fd5f999e9adee674d73fc542402512d0e204897
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161897
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-01-11 10:50:20 +01:00
Mike Kaganski 6dbe164d73 tdf#159050: let fly portion swallow hole portion width
Change-Id: I65492418ca5f5f5b04e5f9bab9ac3e6bf2108aff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161910
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-01-11 09:13:37 +01:00
Szymon Kłos 0f8ef44c91 lok: send error on access denied in image import
- when we paste HTML with references to external images
  and host filter is configured then we have empty graphics
- inform client about that so we can show an error to the user

Change-Id: I7d584c256d8d004955c970056341ab42864d1dd3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160319
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161773
Tested-by: Jenkins
2024-01-11 09:09:17 +01:00
Samuel Mehrbrodt ac2720dcbe tdf#73953 sw: Allow resizing the comment section
Change-Id: If2920b31a82b3f3d42038e75f3637be9802711fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161616
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2024-01-11 09:03:38 +01:00
Matt K e004c9dd2c tdf#158937 Allow cancel of password dialog during recovery
The problem is that when a user cancels the password dialog
during recovery, the code tries to do something with the
doc, but there is no doc yet because the file is password
protected and not opened, so it crashes.  The fix is just
to check for the absence of errors before using the doc
(canceling the password dialog is considered an abort/
general IO error).

Change-Id: Ia76d8e4ff8212427d6b7b0a67ce1971b9ea8a48d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161844
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-01-11 05:19:28 +01:00
Mike Kaganski 7bd7085bcf tdf#159110: store URLs to DOCX correctly
It must not decode URLs, and must store it percent-encoded.

This was wrong since commit 7b0b5cdfee
(initial import, 2000-09-18).

Commit d68b1b6ae3 (use correct
INetURL-Decode enum, 2000-10-20) replaced incorrect "with charset"
decoding with another incorrect "unambiguous" decoding.

Change-Id: I915897dc2e3eb838fc02b4ac338b3d76fe0477fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161893
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-01-11 03:59:36 +01:00
Martin Srebotnjak 3cb1ed4339 Update git submodules
* Update translations from branch 'master'
  to ed9d06780a198a3532adfafadd64557a46f4da3f
  - Updated Slovenian translation
    
    Change-Id: I99b8b0cffd064360ec5b3c36671a63c5598a992f
2024-01-10 22:29:15 +01:00
Rafael Lima bd88a9ec95 tdf#159075 Fix drawing comment triangle in Calc
Change-Id: I82779ecd3ca4cf7ad95ab8f927c1a5e371613bf1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161768
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-01-10 20:29:19 +01:00
Kira Tubo 9d7d93bab8 tdf#114441 Convert sal_uLong to sal_Int32
Update sal_uLong to sal_Int32 for nKey variable. Signed 32 bit variables
have been used for similar variables within numfmuno.cxx and
numfmuno.hxx

Change-Id: Iabb15fe70fec9b28f675d6a63a6a36b1fd91439f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161822
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-01-10 19:05:36 +01:00
Sahil 986b5bb3c1 tdf#42030 Add UI label for page preview zoom slider
* Scale before the page preview zoom slider
* zoom % after the page preview zoom slider

Change-Id: I893852bf48e31b36a028f9ee282d47a627bb0086
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159362
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-01-10 18:01:24 +01:00
Mike Kaganski 772da0f1aa tdf#156443, tdf#159079, tdf#158112: support Windows Alt codes >=256
This change in fact disables Alt+NumPad accelerators. Alt+Number will
still work, when Number is from main keyboard.

Since this intercepts Alt+NumPad completely, it also disables movement
of caret ny NumPad arrows, when NumLock is off.

Change-Id: I82a3b0521f94038a84fa4dae2e3b1cfd4d4e23ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161891
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-01-10 17:39:19 +01:00
Jim Raykowski 6c0081f3cd tdf#158992 Only show style spotlight for styles that are used
in order to reduce visual clutter

Change-Id: I23ab3119fcb1dde0079db4cebb9fc4460ccb76bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161847
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2024-01-10 16:57:24 +01:00
Christian Lohmaier 31b53a187d add Armenian (hy) language pack
Change-Id: Iaaa598cacb354140be422f4df256183ac0d91b2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161890
Reviewed-by: Sophie Gautier <sophi@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-01-10 15:45:58 +01:00
Christian Lohmaier 55082266f0 Update git submodules
* Update translations from branch 'master'
  to 78265f842d856fa49ab84fa2d190323df3773d29
  - update translations for master/24-2
    
    and force-fix errors using pocheck
    
    Change-Id: I25e899f694ffae0a88b186878a7eade41201d143
2024-01-10 15:37:28 +01:00
Rafael Lima 7afd11f8e4 Update git submodules
* Update helpcontent2 from branch 'master'
  to b85bb4516175e71903a9c5db583724231fa60471
  - tdf#156925 Document the Color Scheme dialog
    
    Change-Id: Ida045c1f2884b70b1f9a961eb2c17e8553b8f25b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161850
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-10 15:29:29 +01:00
Christian Lohmaier 4a963d3044 Update git submodules
* Update translations from branch 'master'
  to 102ffc2fc0c42e1e8c01c755a619b33ee4d553c1
  - add translations for Armenian (hy)
    
    Change-Id: I792da5a92e47c9434b7010a2701c29df55e51ae4
    
  - update translations for master/24-2
    
    and force-fix errors using pocheck
    
    Change-Id: I3e5ec55e0e0aec9f4e14099a88cd5f9f281f7aaf
2024-01-10 14:16:36 +01:00