summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-22Remove executable bits from odtAndrea Gelmini
Change-Id: I719c1a156dea095d391f94b42f78f2a8c99b0673 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148938 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2023-03-22Refactor and fix VBA StrConvMike Kaganski
This properly handles null bytes that are expected when converting between byte strings and Unicode. It properly handles TransliterationFlags, which are not a bitset. In vbProperCase, it uses the correct method to lowercase the string, working not only with ASCII. Change-Id: I04e8cdca66ef9863a6516b15205a2a543ed97680 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149224 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-03-21sc drawstyles: Handle style commands and undoMaxim Monastirsky
Change-Id: Ibd81f7aba9ef2efca89556c31cd9b09867419d0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149203 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2023-03-21sc drawstyles: Connect the styles pool to the draw layerMaxim Monastirsky
Change-Id: Ie87bb028264b74fd3e15e23a3ad60ab3c48bb14d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149202 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2023-03-21sc drawstyles: Implement the styles familyMaxim Monastirsky
Change-Id: I2af6072685e4c79cfe2f177c0aae27044f86d840 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149184 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2023-03-21jsdialog: enabled insert break(manual break) dialog(writer)Pranam Lashkari
Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: I65213cd8822e574eff333b96a8718ebff2946f5c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149166 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit 41b7f70981cffb9a04b6b132317915ca51519eab) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149236 Tested-by: Jenkins
2023-03-21jsdialog: enable watermark dialog (writer)Pranam Lashkari
Change-Id: Ie1f5a299fd68bdfd21c04d1ef79514953a2ac5c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149168 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit 8c358c1616a16beb10752f0a60bbacccba15d6ea) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149234 Tested-by: Jenkins Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
2023-03-21unmerge default and ScrollType::Drag cases for calc scrollbarsCaolán McNamara
before: commit 8c4e8818fe9f5ac1f6cdf908299cc109d67f1e50 Author: Caolán McNamara <caolanm@redhat.com> Date: Thu Aug 4 16:38:47 2022 +0100 nDelta overwritten on all branches except default the default case was different to the Drag case, and tdf#152406 uncovers a problem using the Drag case for scroll wheel, so undo the merge of default of Drag. Change-Id: I7471191d5e1f50f74563e8bcbcb82127d94edf2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149228 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-03-21Simplify a bitMike Kaganski
Also takes care of one place where dereferencing wasn't safe Change-Id: I4ed67ad709610bea9cbed8184710f53d18d76d11 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149225 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-03-21move getLabel inside chart2::DataSeriesNoel Grandin
Change-Id: I38baff5980d8cae5f63ee9163d667385837d249b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149198 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-03-21move getAllRegressionCurvesNotMeanValueLine inside chart2::DiagramNoel Grandin
Change-Id: Ic01a886f575022fa106aa2e3b384e184683df6f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149197 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-03-21jsdialog: enabled thesaurus dialogPranam Lashkari
Change-Id: I01059e7a4aaffd5c4a2f5ccff55f83ed3db9bf38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149173 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit 2e75e849e85da86ea33b447350b0e2f7eaede69e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149237 Tested-by: Jenkins Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
2023-03-21jsdialog: enable column dialog (writer)Pranam Lashkari
Change-Id: I4b91d271d766d8efeaddc3c3775513184036c5f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149167 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit f50d009885c499e55db35571ace83f2ed7effbfe) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149235 Tested-by: Jenkins Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
2023-03-21tdf#153255 DOCX import: fix footnote orderLászló Németh
Simple unit test for tdf#152203 allowed to create bad ordering algorithm by accident without noticing the problem, which caused problem for most of the DOCX files, where serialization in footnotes.xml doesn't follow the order of the footnotes. Regression from commit 9b39ce0e66acfe812e1d50e530dc2ccdef3e1357 "tdf#76260 DOCX import: fix slow footnote import". Follow-up to commit 09ae3c01940bbc25ffde51963683b04e3cb4bb6a "tdf#152203 DOCX import: fix mixed footnotes/endnotes". Change-Id: I0628d96e3b8ad4df38d26e9288b47d39b958c441 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149176 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2023-03-21MCGR: Model data changes for ColorSteps (II)Armin Le Grand (allotropia)
The biggest change here is to allow multiple ColorStops with the same Offset. That allows to define gradients with 'hard' color changes at any place using two ColorStops with the same Offset and different Colors. This required quite some adaptions, but works well. Also removed in this context checking for all Colors being the same to not mix up things. Also works well. Also changed the need for having Start/EndColors AKA ColorStops for 0.0 and 1.0 in place, instead 'imply' the 1st ColorStop to also define the StartColor and the last one the EndColor. This allows e.g. Gradient definitions with two GradientStops at the same Offset e.g. 0.5 with different colors to already define a full Gradient. Also added a tooling method to reverse ColorSteps, which changes the order and mirrors the Offsets (what even keeps an existing sort valid). This is useful e.g. for GradientAxial which is the only one where for decomposition the Gradient had to be interpreted 'reverse' since it's defined from center to edge, but for creating correct filled polygons to represent this the inverse order had to be used, creating polygons from edge to center. This led to 'wild' code for this one of six cases and prevented unifications with the other cases (also made your brain flip). Thus I adapted this now to use the reversed ColorSteps consequently, and the same principle loops than the other implementations to make things easier for the future and to use common tooling. Change-Id: If2943348d17d5b9cd165f4d78f22638a1dff5237 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149208 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2023-03-21crashreporting: CreateEmbeddedObject might failCaolán McNamara
Change-Id: I0e1ccbea92343d18e5ff3a9af1f54ed5e0dd796b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149216 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-03-21jsdialog: update Entry on replace_selectionSzymon Kłos
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Ie0c3586fbf4bda1a9d68dceec61e08ff9f75bb97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148634 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149201 Tested-by: Jenkins
2023-03-21jsdialog: add wrapper for ScrolledWindowSzymon Kłos
Change-Id: I59489e4cf1e5fb492272108e3a19afb4212753f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148610 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149200
2023-03-21gtk4: use PANEL a11y role for VclBox under gtk4Caolán McNamara
Change-Id: I0cd6bb9578c177947741bb6d8d21237faf41679d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149214 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-03-21typo: then->themCaolán McNamara
Change-Id: Ieb864f70873f2baa1157114b99cfbec98fc84cc9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149213 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-03-21move getTemplate inside chart2::DiagramNoel Grandin
Change-Id: I05da4e4a9acb2683633eda42cf18d740913c2e37 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149180 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-03-21tdf#152406 Disable anti-jitter code for scroll wheel eventsPatrick Luby
After moving thousands of columns to the right via horizontal scroll wheel or trackpad swipe events, most vertical scroll wheel or trackpad swipe events will trigger the anti-jitter code because nScrollPos and nPrevDragPos will be equal and nDelta will be overriden and set to zero. So, only use the anti-jitter code for mouse drag events. Change-Id: I9a22b31e1e012a97a058ab36e040629a71f5d24f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149183 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-03-21sw floattable, CppunitTest_sw_ooxmlimport2: assert the layout in testTdf114217Miklos Vajna
The point is that the table is multi-page, which is preserved. The detail that it's not in a fly is no longer true. Change-Id: I8fa61391eb26b434cd7e8b8adb5012c4909e5553 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149209 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2023-03-21curl: upgrade to release 8.0.1Michael Stahl
Apparently 8.0.0 had a serious regression. Change-Id: Icc761f5e5e01b5d9bebecc13f7cba608f5834f54 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149204 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-03-21jsdialog: set text for textview on every key pressSzymon Kłos
for that we need to set text without sending back notification to not disturb user in typing we need to keep the selection at the same place Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Ib5c4a53e61dbc2cf28d450fb44fc5a2957ff57b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148533 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149191 Tested-by: Jenkins
2023-03-21sw floattable, CppunitTest_sw_ooxmlexport9: assert can-split in testTdf109063Miklos Vajna
It should not be a problem if the table is in a frame, what matters is that the frame is marked to split. Change-Id: Ib289691dcdf78de494518a9afeac3ede9045ec1d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149195 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2023-03-21CppunitTest_sc_subsequent_filters_test4: simplify code a bitXisco Fauli
Change-Id: I85f8a4859e741959f841b82e771d45e9a362cc20 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149199 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-03-21cid#1524485 'Constant' variable guards dead codeCaolán McNamara
Change-Id: I3a4dfb0e35db481c94a1f5cb56f078cc9e060a73 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149196 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-03-21jsdialog: dump properties of scrolled windowSzymon Kłos
Change-Id: Id6d072e951efec4c1de7641c94017c82840fa50b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148609 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149190 Tested-by: Jenkins
2023-03-21jsdialog: don't send full updates on tab changeSzymon Kłos
All tabs are now sent with the first full message. So client can switch between tabs by showing another tabpage content. We don't need to send structure again. Change-Id: I0f3dfc8be4816fba5813a83b41722407631edb73 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148421 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149189 Tested-by: Jenkins
2023-03-21There is no XAccessibleStateTypeTor Lillqvist
What is meant is surely AccessibleStateType. Change-Id: I57903dd7e1eb9b0a3cac42a96633093569f770eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149194 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2023-03-21move getVertical/setVertical inside chart2::DiagramNoel Grandin
Change-Id: Ide512e20fea94b1d7d038290d1c833f1d8cf42ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149164 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-03-21tdf#154232 signal_drag_begin callback can delete current GtkTargetListCaolán McNamara
so fetch the up to date one on calling gtk_drag_begin_with_coordinates ==3221972== Invalid read of size 8 ==3221972== at 0x23F281DA: gtk_drag_begin_internal (gtkdnd.c:1801) ==3221972== by 0x23F2886F: gtk_drag_begin_with_coordinates (gtkdnd.c:1995) ==3221972== by 0x23845075: (anonymous namespace)::GtkInstanceWidget::signal_motion(_GdkEventMotion const*) (gtkinst.cxx:3139) ==3221972== by 0x23844F09: (anonymous namespace)::GtkInstanceWidget::signalMotion(_GtkWidget*, _GdkEventMotion*, void*) (gtkinst.cxx:3130) ==3221972== by 0x23C0FC56: _gtk_marshal_BOOLEAN__BOXED (gtkmarshalers.c:84) ==3221972== by 0x1378C05F: g_closure_invoke (gclosure.c:832) ==3221972== by 0x137B8F65: signal_emit_unlocked_R.isra.0 (gsignal.c:3796) ==3221972== by 0x137A8ED5: g_signal_emit_valist (gsignal.c:3559) ==3221972== by 0x137A96F2: g_signal_emit (gsignal.c:3606) ==3221972== by 0x23EF1073: gtk_widget_event_internal.part.0.lto_priv.0 (gtkwidget.c:7812) ==3221972== by 0x23D825AD: UnknownInlinedFun (gtkmain.c:2588) ==3221972== by 0x23D825AD: propagate_event.lto_priv.0 (gtkmain.c:2691) ==3221972== by 0x23D83320: UnknownInlinedFun (gtkmain.c:1921) ==3221972== by 0x23D83320: gtk_main_do_event (gtkmain.c:1691) ==3221972== Address 0x2c7d8070 is 0 bytes inside a block of size 16 free'd ==3221972== at 0x48460E4: free (vg_replace_malloc.c:884) ==3221972== by 0x1383388C: g_free (gmem.c:229) ==3221972== by 0x1384E093: g_slice_free1 (gslice.c:1185) ==3221972== by 0x23CD7A08: gtk_drag_source_set (gtkdragsource.c:162) ==3221972== by 0x23ED1EAB: gtk_tree_view_enable_model_drag_source (gtktreeview.c:14303) ==3221972== by 0x23877F41: (anonymous namespace)::GtkInstanceTreeView::drag_source_set(std::__debug::vector<_GtkTargetEntry, std::allocator<_GtkTargetEntry> > const&, GdkDragAction) (gtkinst.cxx:16279) ==3221972== by 0x238440B3: (anonymous namespace)::GtkInstanceWidget::do_enable_drag_source(rtl::Reference<TransferDataContainer> const&, unsigned char) (gtkinst.cxx:2707) ==3221972== by 0x23877E99: (anonymous namespace)::GtkInstanceTreeView::enable_drag_source(rtl::Reference<TransferDataContainer>&, unsigned char) (gtkinst.cxx:16270) ==3221972== by 0x36AAE6D2: SwContentTree::DragBeginHdl(bool&) (content.cxx:1227) ==3221972== by 0x36AAE2CE: SwContentTree::LinkStubDragBeginHdl(void*, bool&) (content.cxx:1180) ==3221972== by 0x238D38DA: Link<bool&, bool>::Call(bool&) const (link.hxx:111) ==3221972== by 0x23878D2D: (anonymous namespace)::GtkInstanceTreeView::do_signal_drag_begin(bool&) (gtkinst.cxx:16520) Change-Id: Idffa33c6a549bf17a92eb56760ddfb7d5424b7ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149155 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-03-21sw floattable, CppunitTest_sw_ooxmlexport9: assert the layout in testTdf107889Miklos Vajna
The point is that the table is multi-page, which is preserved. The detail that it's not in a fly is no longer true. Change-Id: I63ee8182638a2f0118584f5e985abaf1c3d7e337 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149188 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2023-03-21Move SalInstanceScrolledWindow declaration to header fileSzymon Kłos
Change-Id: I8848358cf04ad0298867903350476f1f3b38b7da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148608 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149160 Tested-by: Jenkins
2023-03-21jsdialog: textselection action for text viewSzymon Kłos
Change-Id: I11e41b5be897c4341ed0e2baf9fc6772ad0163b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148247 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149159
2023-03-21jsdialog: treeview selection should be an actionSzymon Kłos
Change-Id: Iaaff603b647c18eb566cece272b0e93563c960b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148463 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149158 Tested-by: Jenkins
2023-03-21UITest_writer_tests{2,3,4,6}: enable oneprocess modeMiklos Vajna
Execution time changes: - from 4m8,209s to 2m23,235s - from 4m0,718s to 2m35,536s - from 2m52,488s to 1m58,201s - from 2m40,288s to 1m48,718s for me. Change-Id: I9e345d4b97ff888daa9b72598523eb45eaeca648 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149181 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-03-21ScriptForge - (SF_DialogControl) new Resize() methodJean-Pierre Ledure
Addition of method control.Resize(X, Y, Width, Height) to selectively (arguments are applicable only when present) update the position and/or the size of any dialog control. Addition of updatable properties: Height Width X Y for the same purpose. All measures are expressed in PIXELS. The measures for dialogs are also as from now expressed in pixels. Changes are applicable to Basic and Python user scripts. Documentation should be updated. Change-Id: I03a6c819efa6a2a67c88403f1ae644d94eb7f2d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149174 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins
2023-03-21tdf#153514: sc_subsequent_filters_test4: Add unittestBaole Fang
Change-Id: Idd4638b68be8400272c496eb61fd17f215f5693b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149078 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-03-21tdf#154242 and tdf#154143 Asset images for UI Chooser and ToTDRizal Muttaqin
Change-Id: I9397133c3a1fd939f2ef136dc4b914e9248234f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149186 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-03-20DocumentFieldsManager::UpdateFields refactoringBjoern Michaelsen
- flatten preconditions - flatten conditionals Change-Id: I477220d66ff9fb4e05980a978dda8a7fab85caa4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148252 Tested-by: Jenkins Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
2023-03-20tdf#136760 sw a11y: Provide page-relative cursor pos via doc attrMichael Weghorn
This introduce 2 new extended accessible attributes "cursor-position-in-page-horizontal" and "cursor-position-in-page-vertical" to expose the page-relative position of the cursor in Writer to assistive technology. This is similar to how the current page number is already exposed (attribute "page-number"). Together with a corresponding pull request for the NVDA screen reader [1], this allows NVDA to announce the position similar to how it is done for Microsoft Word (where the information is not retrieved via the accessibility APIs but the MS Office COM API, s. discussion in the corresponding NVDA issue [2] for more details). (Side note: Currently there is no a11y object for a Writer page in the a11y tree, but "normal" paragraphs are direct children of the document object.) For performance reasons, introduce a new method `SwCursorShell::GetCursorPagePos` to get the position instead of passing the result from `SwCursorShell::GetCursorDocPos` to `SwFEShell::GetRelativePagePosition` to avoid iterating over the doc pages. [1] https://github.com/nvaccess/nvda/pull/14727 [2] https://github.com/nvaccess/nvda/issues/11696 Change-Id: I6fd56c5c7d051840bab836ce5fe525fdc061b376 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149051 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-03-20tdf#154273: sw_htmlimport: Add unittestXisco Fauli
Change-Id: I9d65f514979bbd24380210dc9006b6ed2649b37a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149165 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-03-20Update git submodulesIlmari Lauhakangas
* Update helpcontent2 from branch 'master' to 7222dc792d578f9640d5d8760041569b29e7f0c1 - tdf#147469 remove mouse "Positioning" from View options help Change-Id: I5593ae03960d11aba09d35887fa33692bd278846 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/149182 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-03-20tdf#147469 remove mouse "Positioning" from options pageCaolán McNamara
Change-Id: I929c62189e3e31358fe95c804457fcbcba85e4b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149149 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-03-20move getStackMode/setStackmode inside chart2::DiagramNoel Grandin
Change-Id: Ie359d2a21d288e989bf2bcdfab781938bc8fa26f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149161 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-03-20move setDimension/getDimension inside chart2::DiagramNoel Grandin
Change-Id: If52f92e152011ead81a1b25f30ba15124e6a8e75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149151 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-03-20vcl,sd,sw: PDF/UA export: add Alt text to SdrMediaObj media shapesMichael Stahl
7.18.6.2 Media clip data In the media clip data dictionary, the optional CT and Alt keys (ISO 32000-1:2008, 13.2.4.2, Table 274) are required. Change-Id: I147f1677f1bd0788c2269735688d329db15c0ead Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149007 Tested-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-03-20tdf#154071 UI rename gradient back to 'Rectangular'...Regina Henschel
Commit e97e62a4707e09739f9c00f8fc4a943f0123a9cf had wrongly changed 'Rectangular' to 'Square' (API RECT, ODF rectangle) and 'Square' to 'Quadratic' (API SQUARE, ODF square). This patch reverts 'Square' to 'Rectangular' and 'Quadratic' to 'Square (Quadratic)'. It uses 'Square (Quadratic)' instead of simple 'Square' to help users to find the correct type. In addition, use of the wrong type names in comments is fixed. Change-Id: Ibbd90be2cceb65c9857e473cb74c39df1b9530f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149004 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>