summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-01-23xmloff: ODF export: missing extension check in XMLStyleExportMichael Stahl1-1/+2
(regression from commit 05f863844d9a5613250e8d787e32752b270ec4d3) Change-Id: Iae891ecec26599c9016be17e4db8eaf99783baa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146012 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-01-23[API CHANGE] sd::frame::Configuration does not need to be an UNO serviceNoel Grandin7-84/+1
It does not ever appear to have been used as such, and it makes no sense to be constructed externally. Change-Id: Ia1a0cccdaeb19ded1197ad8aae701ac86dd3bb48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145989 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-23update hardcoded dragonbox include to 1.1.3Rene Engelhard1-1/+1
since dragonbox now installs to that one, and 1.1.3 is default for the internal case anyway since dd1610146528cba8642caad3bf72e27b9ca6c153. Change-Id: Ibd0449b1bd1191a1872c233bfe9810af1d1215cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145985 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Tested-by: René Engelhard <rene@debian.org> Reviewed-by: René Engelhard <rene@debian.org>
2023-01-23tdf#153136: fix IgnoreTabsAndBlanksForLineCalculation compat flagMike Kaganski3-7/+183
It should handle SPACE, EN SPACE, EM SPACE, FOUR-PER-EM SPACE ,and IDEOGRAPHIC SPACE, but not SIX-PER-EM SPACE. The latter was mistakenly added in commit 9ee96273a2090b63e0f579a1e9c9cef780756e6d "tdf#123703 strip six-em-space (U+2006) at line break" (2019-08-24). Change-Id: I857f303eb19e19f067ad47933fa4b7eb96ce5ca0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145995 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-01-23Mark external/zxing/missing-include.patch.0 as upstreamedTaichi Haradaguchi1-0/+4
Change-Id: Ia4c251c952889b4ae174b172839a946302d41c48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145524 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-01-23Mark external/zxing/android_include.patch.0 as upstreamedTaichi Haradaguchi1-0/+2
Change-Id: I05f51e0ee83f43614dc85e0b1ca5854f8aed21a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145523 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-01-23update creditsXisco Fauli1-2287/+2359
Change-Id: Icbf6bd2aba36baccb5e4046f02c6c5c69cb5f7e1
2023-01-23Update git submodulesStéphane Guillou1-0/+0
* Update helpcontent2 from branch 'master' to 1a892431e8d42b0488af3e9bffd4924cd3e06ad1 - tdf#152666: explain how the paragraph style combobox is populated Change-Id: I4f983153115afe7787f445ed471f14a29d798268 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/145311 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-01-23sw: send LOK call back on fieldmark deletionPranam Lashkari2-0/+21
this helps with zotero when user deletes a fieldmark or use undo without this online will be unaware of any such changes made by user Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: I93cf102c20b3861140508aee5d81e65f5b9207ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145753 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 3a6b7e2c07566f22f33189ad4e8393767df5b9f8) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146014 Tested-by: Jenkins
2023-01-23sw doc model xml dump: show endnote info about footnote formatsMiklos Vajna3-0/+16
The text-attr doesn't know if this is a footnote or endnote, so let's show its format, which has this info. Change-Id: Ib36621f3206188f48e87fbc7f7899cbe2c8b4326 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146002 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2023-01-23gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->tree != NULL' failedCaolán McNamara1-1/+1
Change-Id: Ie02dbee2e21fd5092f8be5f01383f2ce3b60c0aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146000 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-01-23Update git submodulesXisco Fauli1-0/+0
* Update translations from branch 'master' to 20c957e0ff773293fe7c10fb588f6674998a3087 - update translations for 7.5.0 rc3/master and force-fix errors using pocheck Change-Id: I25323301c1346e04623e76a166218efb34a9e034
2023-01-23tdf#153154: m_xDataTypeLB is still in useXisco Fauli1-0/+1
Regression from 2e7f77d3fe01e36222d5ad84c18d7d7537092972 "loplugin:unusedfields" Change-Id: Ic9435ee9417f812281ad75039d4ef88f508bad62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145999 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-01-23XUnoTunnel->dynamic_cast in vcl::GraphicNoel Grandin5-22/+6
Change-Id: Iecbae3570851784f0da75fd2899daf620c8e4c06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145994 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-23sw: prefix members of SwVbaReadFieldParams, TabStopsEnumWrapper, ...Miklos Vajna4-59/+59
... TableCollectionHelper and TablesOfContentsEnumWrapper See tdf#94879 for motivation. Change-Id: I444cee4e834f08f422d5006022c4db552942ad35 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145997 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2023-01-23[API CHANGE] offapi: clean up these index services IDL filesMichael Stahl4-17/+7
CreateFromStarImage isn't implemented, having been removed in 2000. Change-Id: Ic0e90eaf760374df69f8d8779c37819d4943a063 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145911 Tested-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-01-23tdf#153090 writerfilter,sw: DOCX/RTF import/export of TOC \c \tMichael Stahl10-1/+92
This is for Table of Figures/Objects/Tables. The core will happily generate entries from paragraph styles by simply setting the Template flag and adding the style name. In Word, this feature differs from ToC in that only a single paragraph style is allowed, and there is only one level to assign to so that is omitted and \t is simply the style name (presumably suffering the usual i18n disaster, see tdf#153083). So implement it with the same limitations, not reusing the CreateFromLevelParagraphStyles property on SwXDocumentIndex but instead add new property CreateFromParagraphStyle. Change-Id: Ic8ab1fa9e81bdc85cc932f6bba8724d560e0fbc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145904 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-01-23XUnoTunnel->dynamic_cast in configmgr::ChildAccessNoel Grandin3-25/+5
Change-Id: Iadfdbb68ad7876801bf79352bdec26da7da63325 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145993 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-23XUnoTunnel->dynamic_cast in AnimationNodeNoel Grandin1-51/+25
Change-Id: I9684ac5987c087797e1ca7a8ddb0f9c5b731faed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145992 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-23sw: Word export: hyperlinks for ToX Figures/Objects/TablesMichael Stahl2-2/+6
This was missing, and lcl_IsHyperlinked() has a wrong termination check, which is noticable here because these have only 1 level (+ title at 0). Change-Id: I56a8622ee2c9df2167e26863cb3797b01434553c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145903 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-01-23tdf#152622 Fix color of Object Boundaries in dark modeRafael Lima1-1/+1
In the "LibreOffice" color scheme (the light one) the color used for Text Boundaries and Object Boundaries is the same. This patch makes it so that in the "LibreOffice Dark" scheme these colors are the same as well. This is important to better highlight objects over a dark background, which was the case reported in the bug ticket. In Impress the object boundaries were not visible because the color used is too dark. Change-Id: I31e2876b14bca10fcf2c077da46e4541bb9f3ca4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145800 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-01-23Resolves tdf#113439 - Show/Hide menu item in Draw's layer menuHeiko Tietze9-0/+63
Introduces .uno:ToggleLayerVisibility duplicating the existing LayerTabBar::MouseButtonDown() function Change-Id: I726d9a620afe22c84e5f20e76fabdfeccbcfb083 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145558 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2023-01-23tdf#153046 RTF import: fix lost paragraph alignment after page breakMiklos Vajna3-1/+40
The bugdoc had a page break, and the paragraph after the page break is meant to be centered, but it was aligned to the left. This went wrong with 3c610336a58f644525d5e4d2566c35eee6f7a618 (tdf#148214 RTF import: avoid fake paragraph for \page when possible, 2022-09-08), previously we emitted fake paragraphs in most cases, which allowed simpler handling of pending paragraph properties. Now we have to be careful to call checkNeedPap() exactly when parBreak() in called, otherwise checkNeedPap() sends paragraph properties, and paragraph properties noticed later will be lost. Fix the problem by not sending paragraph properties unconditionally, only in case we send the fake paragraph break as well. This continues to allow the unwanted fake paragraphs in some cases, but it restores the lost paragraph properties, since m_bNeedPap will be still true after we hit the first character in the last paragraph, so \qc is sent to dmapper. Note that we don't have to check m_bNeedPap before checkNeedPap(), as it returns early already when m_bNeedPap is false. Change-Id: I683d42208072a84fe578e397ac3e29585da5aa89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145990 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2023-01-23Fix --with-package-format=... buildsStephan Bergmann1-1/+0
after 02c4386a09c7364d58c50a388ff77db14810a218 "move presenter console from sdext/ to sd/" removed the PresenterScreen library Change-Id: Iaca64d340a9e2eb1faacf68c988c46a4a5ab3f62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145991 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-01-23XUnoTunnel->dynamic_cast in ScStyleObjNoel Grandin2-10/+1
Change-Id: I1021cddc87546635b147bbdf5f48948565815873 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145983 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-23XUnoTunnel->dynamic_cast in ScCellRangesBaseNoel Grandin12-51/+35
Change-Id: Iac62a8ed51d21cc2ef957b3e4811554b62cdb0d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145982 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-23XUnoTunnel->dynamic_cast in ScAutoFormatObjNoel Grandin2-10/+1
Change-Id: Id0910149f89e77de8b50b3892fccee789dd7aa2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145981 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-23XUnoTunnel->dynamic_cast in ScSubTotalDescriptorBaseNoel Grandin3-10/+1
Change-Id: I45b15bf9a9be2de82b86701cd3af5c4f8c6fff13 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145980 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-23XUnoTunnel->dynamic_cast in ScEditFieldObjNoel Grandin5-14/+5
Change-Id: I6bf89f1a6dc3f7bd1c1934e651e235ba572e83c7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145979 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-23use more concrete SmModel typeNoel Grandin8-61/+44
Change-Id: I7804e7201e64f419383e37b916b212ac9c129ef6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145984 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22Update git submodulesAdolfo Jayme Barrientos1-0/+0
* Update helpcontent2 from branch 'master' to b4b815af4b5e86eec0fa69b2260ec9d8aa558bae - A bit of proofreading Change-Id: Ibab2714b04f3051266d4e1b4101b517bd669db28
2023-01-22XUnoTunnel->dynamic_cast in ScTableConditionalFormatNoel Grandin3-10/+1
Change-Id: Ice24bb4e6258b40228213b82436ea6d1d50d0e8e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145975 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22XUnoTunnel->dynamic_cast in ScTableValidationObjNoel Grandin3-9/+1
Change-Id: I7b42ed7b7d7332c24908d0011a216e9617e6c80d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145974 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22XUnoTunnel->dynamic_cast in ScCellSearchObjNoel Grandin3-12/+3
Change-Id: I6f2eda6daf92959973d97a4be38f58a11415776f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145973 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22XUnoTunnel->dynamic_cast in ScTabViewObjNoel Grandin8-16/+8
Change-Id: I8400b56dd656fe2a1144696db8578869b2d26cc4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145972 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22XUnoTunnel->dynamic_cast in SdXCustomPresentationNoel Grandin2-8/+1
Change-Id: I4841e93b9e15b3406f588bbbc6da9d91a2143350 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145971 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22XUnoTunnel->dynamic_cast in SdLayerNoel Grandin3-12/+7
Change-Id: Id61d38dd9f3066d07ec325494753cd9096152e9a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145970 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22XUnoTunnel->dynamic_cast in SdLayerManagerNoel Grandin3-8/+1
Change-Id: Ibea94a8168538e59eea6312fd49b162534df8d8d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145969 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22XUnoTunnel->dynamic_cast in SdUnoPageBackgroundNoel Grandin3-10/+3
Change-Id: I67e911eba5333770b83a3b5e7e2c1a7bc96ef1c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145968 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22ScriptForge (SF_Calc) fix typoJean-Pierre Ledure1-2/+2
Change-Id: I086d4f9f6490ecce773aef598049af07b5f852d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145978 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins
2023-01-22ScriptForge Upgrade version number to 7.6Jean-Pierre Ledure5-7/+7
Change-Id: Ifbf5ba5b28b7afff64ed36965eadfa68a750cfd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145976 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins
2023-01-22XUnoTunnel->dynamic_cast in SdUnoSearchReplaceDescriptorNoel Grandin2-9/+4
Change-Id: I26038e7d57f30b8cca661a5b4d56b8bb685eedd0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145967 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22AsyncFunc header is deadNoel Grandin2-39/+0
since commit 688489959e69994d455f36f3e9bb4c0ba3ee87aa Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Nov 2 14:25:24 2021 +0000 Revert "tdf#117895: "Edit document properties before saving"..." Change-Id: I65239b4d9ca96075701121edc32d07c91631c629 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145966 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22XUnoTunnel->dynamic_cast in SwXAutoTextGroupNoel Grandin4-26/+9
we can store the underlying type here, which does away with the need for dynamic_cast Change-Id: I9b545f7eb6cbd1d2a81773bc1d80127422a0ed3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145926 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22check for harfbuzz >= 2.6.8Rene Engelhard1-1/+1
because of hb_ot_layout_lookup_get_glyph_alternates() usage, see https://git.launchpad.net/~libreoffice/ubuntu/+source/libreoffice/commit/?h=wip/lunar-7.5&id=97d1a9d48f30394d86db0ce948c4fb8986afc701 and https://harfbuzz.github.io/harfbuzz-hb-ot-layout.html#hb-ot-layout-lookup-get-glyph-alternates: "Since: 2.6.8" Change-Id: I755c42745f3bdd647fcd7c101ea7e5fde24c5a6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145965 Reviewed-by: خالد حسني <khaled@aliftype.com> Tested-by: René Engelhard <rene@debian.org>
2023-01-22tdf#128568 Improve export to docx of Fontwork with bitmap fillRegina Henschel7-13/+58
The modern 'abc transform' in Word is not able to use bitmap fill, but it is possible in legacy VML. Thus use VML in such cases. A WordArt shape in VML has the text not in a <txbxContent> element but as string='...' attribute in the <v:textpath> element. To detect whether a custom shape is a Fontwork in an easy way without cast, I have added the already for custom shapes existing method IsTextPath() to the basis class SdrObject. Using VML for Fontwork with bitmap fill, errors in the VML code become visible: * Using <v:imagedata> element results in Word in a picture of the shape. The shape itself was lost. A bitmap fill of a shape has to be written with the <v:fill> element. * Mode 'stretched' in LO UI becomes type='frame' attribute in VML. I have adapted the unit test NoFillAttrInImagedata in ooxmlexport2.cxx in sw. The source file has the background image in a v:fill element. If you replace the 'wps' namespace with a 'my' namespace in the file generated by LO and so force Word to use the Fallback, you will see that with v:imagedata Word does not show a background image. Thus the assumption in the test was wrong, that there has to be a v:imagedata element. Change-Id: I6b2b5b8bb19adcee3b41e536419556465e85d135 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145823 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2023-01-22tdf#153094: Fix default character style index, and document itMike Kaganski1-3/+43
Thanks Caolán for catching it, and providing the relevant documentation pointers! See https://gerrit.libreoffice.org/c/core/+/145806/1#message-c4a9649a8381bd1885d39923fe278b86bc07a228 Change-Id: I6379579befda583f609f87d973fcfaacf9f1fed6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145963 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-01-22avoid some casting in SwView_ImplNoel Grandin2-5/+3
by just storing the underlying type Change-Id: I5d811b64145003fd3df349a6375b7f44cf125623 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145928 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-22XUnoTunnel->dynamic_cast in SwXDispatchProviderInterceptorNoel Grandin4-22/+4
just store the underlying type, elides the need for dynamic_cast Change-Id: I974bf72f71a37b8dae25750c8f29648bb67adc09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145927 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-21Fix typosAndrea Gelmini1-3/+3
Change-Id: Ie6dcedee4a1202f43feee99169172e2a3b1523b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145959 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>