summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Community splash screen without EditionHeiko Tietze2021-01-193-0/+0
| | | | | | | | | | macOS installer shows also just Community now Change-Id: Ia71d3b3a376f8e5e2254f2863ea61f065fb2d86f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109576 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
* tdf#137033 improve save of cell anchored shapesRegina Henschel2021-01-185-21/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Error was, that rotated or sheared shapes got wrong position or size on save and reload in some cases. These situations should be correct now: A) Hide or show row/col above or before shape. It uses snap rectangle now. Previous solution failed, if hidden row/col is after snap rectangle left/top and before logic rectangle left/top. B) Repair ScShapeTest::testTdf137576_LogicRectInDefaultMeasureline() which would not have failed. SetColHidden() does only set the information, but does not trigger recalculation itself. C) Add solution for case shape is anchored 'resize with cell' and hidden row/col is covered by the shape. D) In case custom shape is anchored 'resize with cell' and mirrored horizontal, the translation value is wrong. I have not found the reason yet. So I have added a solution here for writing the xml markup correctly. It should work with correct translation values too. In all cases the solution does not consider right-to-left sheets. RTL sheets are still ToDo's. Change-Id: Ia15a05b637d12d9798bbc8ffca52f606058deb87 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108377 Reviewed-by: Regina Henschel <rb.henschel@t-online.de> Tested-by: Regina Henschel <rb.henschel@t-online.de> Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109516 Tested-by: Jenkins
* tdf#136704 sw autofmt: prevent crash if no nextNodeJustin Luth2021-01-181-4/+7
| | | | | | | | | | | | | | | | | The second GetNextNode() was a nullptr that was being dereferenced. Now, when enter is pressed after some text followed by a colon, that line is made into a heading3, and the new blank line is properly using the text body paragraph style. Change-Id: If10dc85e490ac57fc150b3d541f5033dfd5293bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109413 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> (cherry picked from commit fea7b531a4c9e8326a644cccc26325b16585675a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109519
* PPTX export: fix mime type of slide narrationsMiklos Vajna2021-01-183-0/+24
| | | | | | | | | | | Import was working already for the audio stream. Change-Id: I43ac6561c4e39decfd99587e489cb2888805bb0c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109374 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109447
* tdf#61028 OOXML export: fix lost arcTo shapeTünde Tóth2021-01-183-1/+45
| | | | | | | | | | | | | | | | a:custGeom was exported without the a:arcTo element and its attributes. Note: see customshapegeometry.cxx for import of a:arcTo attributes. Change-Id: I611ea9fb6a81d45cfd52a16abbb37071ea0ce7d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108874 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org> Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109446 Tested-by: Jenkins
* tdf#138824 tdf#137937 XLSX export: fix parent directory pathAttila Szűcs2021-01-184-7/+56
| | | | | | | | | | | | | | | | | | | | Parent directory paths (../) removed by XclExpHyperlink::BuildFileName() resulted broken external reference. Note: on Linux, now this fix creates a working, but still fragile path relative to the root directory. Co-authored-by: Tibor Nagy (NISZ) Change-Id: I9401d75d1fba0194d4ff509d9b7305969b8804e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107603 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org> (cherry picked from commit 107a20ee079ae852b3b33412f234aab2dc35168f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108006 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
* tdf#138122: Fix vcl for iOS after 1a167625314bf36b735176ed488e6ba9b5e9b675Tor Lillqvist2021-01-1810-352/+839
| | | | | | | | | | | | | | | | | | | | | | | Make vcl compile again for iOS and make the Collabora Office iOS app work again when built against a master build of core. For now, keep the old versions of the functions touched by 1a167625314bf36b735176ed488e6ba9b5e9b675 in vcl/ios/salios.cxx, and move the modified versions to the new file vcl/osx/salmacos.cxx. Keep the functions as they were except that ifdefs for MACOSX or IOS are expanded. Keep the formatting as it was to make comparisons easier. Thus add the new files to the clang-format exclusion list. While at it, also move vcl/quartz/salgdiutils.cxx to vcl/osx as it is compiled only for macOS anyway. Change-Id: I990ef678f2263031d4a5af8cc547fffe185d17c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109480 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109501 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* CGLayerHolder::getScale() can be constTor Lillqvist2021-01-181-1/+1
| | | | | | | | | | | | (Will be required by upcoming bugfix.) Change-Id: I727b2b5f1035ae70d62d3c5339a814161e3ec92a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108663 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109494 Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* tdf#138122 Add window scaling for retina displays on macOSThorsten Wagner2021-01-188-288/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (1) Remove hack to make application look as if being linked against SDK 10.13 (2) Use quad storage size on virtual devices for displaying on retina displays thereafter (3) Apply workaround to downsample bitmaps from scaled layers (to be implemented) (4) Disable dark mode (to be implemented) (5) Provide new environment variables: VCL_MACOS_FORCE_WINDOW_SCALING: window scaling on non retina displays VCL_MACOS_FORCE_DARK_MODE: enable dark mode (macOS 10.14, iOS 13 and newer) VCL_MACOS_USE_SYSTEM_APPEARANCE: use light mode or dark mode (macOS 10.14, iOS 13 and newer) as configured by system preferences Change-Id: I99877cd62a98cb91bcbf27af62b043c31c5f5fc9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109072 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109495 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* tdf#138314 Change selected tab text color on macOS Big SurThorsten Wagner2021-01-181-11/+21
| | | | | | | | | | | | | | | Starting with macOS Big Sur, coloring has changed. Currently there is no documentation which system color should be used for selected tab text. As a workaround text color is changed for macOS Big Sur and newer only. Change-Id: I2e8c83527775c17f95e5e4afe70577442e14715e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109479 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109502 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* elementary: tdf#139047 redesign find (Print Preview)Rizal Muttaqin2021-01-186-3/+3
| | | | | | | Change-Id: I35b0b32ebc988f80f2f204e5570b74e708b33852 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109512 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
* elementary: tdf#139056 update many colors to follow upstream brandRizal Muttaqin2021-01-1812-4/+6
| | | | | | | Change-Id: I4ef4bdb43e48f740ee2075627610e13142316434 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109411 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
* tdf#138829 don't grab focus to roadmap label when sync timer firesCaolán McNamara2021-01-185-7/+8
| | | | | | | Change-Id: Icc8a03a2ce5d63f3a2c477671a9aa52aefd1df96 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109351 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* elementary: tdf#70102 repir RTL bullet numbering iconsRizal Muttaqin2021-01-1716-8/+8
| | | | | | | Change-Id: I16d7133cfdc75758ec9df34bdd6d0d6b174fb620 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109410 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
* tdf#135641 update DataBrowser has-focus when child widget gains focusCaolán McNamara2021-01-175-2/+23
| | | | | | | Change-Id: Ic5e618b50c31ebeffa1b2cc59857582804874747 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109349 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* elementary: tdf#139056 update RED color to follow upstream brandRizal Muttaqin2021-01-17378-183/+190
| | | | | | | | | - Navigator related icons revised Change-Id: Idebb448738f7391d8af84d43778d0fefbf6de56f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109408 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
* tdf#139643: fix missing PDF/UA flagJulien Nabet2021-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Regression from: https://cgit.freedesktop.org/libreoffice/core/commit/vcl/source/gdi/pdfwriter_impl.cxx?id=a795886762a6a4aabd601183598c4e6c819bcb1f author Arnaud Versini <arnaud.versini@libreoffice.org> 2019-09-20 19:01:34 +0200 committer Arnaud Versini <arnaud.versini@libreoffice.org> 2020-02-08 15:03:07 +0100 commit a795886762a6a4aabd601183598c4e6c819bcb1f (patch) tree 93a58d738bf27a0c5f75f80dc7e651763916ee5f /vcl/source/gdi/pdfwriter_impl.cxx parent a2f62a861ba7036e689070c47f72214b1bdd49d4 (diff) Add minimum support for PDF/A3 here: sal_Int32 PDFWriterImpl::emitDocumentMetadata() { - if (!m_bIsPDF_A1 && !m_bIsPDF_A2 && !m_bIsPDF_UA) + if( !m_bIsPDF_A1 && !m_bIsPDF_A2 && !m_bIsPDF_A3 ) Change-Id: Id4b3b9a74ccf5a5abd9e7149cb09b3475dd4ffee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109399 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
* tdf#139056 update ORANGE color to follow upstream brandRizal Muttaqin2021-01-17102-51/+51
| | | | | | | Change-Id: Icf5cc5f23c9b4980f6ca7e6401344cd8998e6046 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109407 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
* elementary: tdf#139056 update VIOLET color to follow upstream brandRizal Muttaqin2021-01-1738-19/+19
| | | | | | | Change-Id: Ieb2b680bc698dc533ec47d1a7b4fd47b8074911d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109406 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
* Resolves tdf#139501 - About screen exceptional widthHeiko Tietze2021-01-171-1/+9
| | | | | | | | | All strings wrap now Change-Id: If810e67e55eb23685ab4e14da9d5da1864229833 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109337 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* tdf#137695 shrink widget height below natural min within data browserCaolán McNamara2021-01-176-4/+24
| | | | | | | | | Change-Id: Iba3c12376200b7ce800b48155a4b84ca2e47d63f Change-Id: Iba3c12376200b7ce800b48155a4b84ca2e47d63f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109350 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* tdf#136861 ODT export: fix writing resolved state for non-ranged commentsMiklos Vajna2021-01-163-12/+60
| | | | | | | | | | | | It was probably not intentional to write the resolved state only in case the annotation has a name. (cherry picked from commit f3b5356bdc51b03f9910ed544b8c17d6f919bc12) Change-Id: Ia3a6b2320e2288528c43c832211ebfcde492881e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109379 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#116394 writerfilter: append '=' if not a formula markerJustin Luth2021-01-161-0/+2
| | | | | | | | | | | | | | | Oops - a silly mistake to throw away the character if it didn't match a special purpose. There is no point in adding a unit test for this. Change-Id: I3b48af578ae96744405ec0919ff341d1c9b43f65 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109426 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> (cherry picked from commit b232b422a3cfe3b410bbc75e0fffdfc238fd10e7) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109397 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
* tdf#138897 sw: avoid creating SwUndoResetAttr in CopyImplImpl()Michael Stahl2021-01-155-5/+36
| | | | | | | | | | | | | | | | | | | | | | | The problem is that SwTextNode::CopyCollFormat() both creates the SwTextFormatColl with undo and applies it with undo. The first is desirable, the second causes a problem because it necessarily happens after SplitNode() and currently happens before copying the non-start/end nodes, so the node-index may not match in Undo, regardless if it runs before or after SwUndoCpyDoc. But SwUndoInserts restores the SwTextFormatColl on the node itself, so it can just be suppressed, which looks easier than refactoring this to call SplitNode() with Undo enabled. (regression from b4365b985178e1866c74afd757a104aad1d405a9) Change-Id: I4d15fb88cd5ae4cc53d9afb3397dec8fcf7635fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107921 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109329
* tdf#134101, tdf#134626 sw: fix UBSan warning about deleted SwTextFormatCollMichael Stahl2021-01-152-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sw/source/core/txtnode/ndtxt.cxx:5254:17: runtime error: downcast of address 0x612000a321c0 which does not point to an object of type 'const SwTextFormatColl' 0x612000a321c0: note: object is of type 'SwFormat' 00 00 00 00 50 4c 3c fa bb 7f 00 00 80 b8 ba 05 50 61 00 00 c0 81 5f 02 20 61 00 00 c0 b6 b0 00 ^~~~~~~~~~~~~~~~~~~~~~~ vptr for 'SwFormat' 0 in SwTextNode::TriggerNodeUpdate(sw::LegacyModifyHint const&) at sw/source/core/txtnode/ndtxt.cxx:5254:17 1 in SwTextNode::SwClientNotify(SwModify const&, SfxHint const&) at sw/source/core/txtnode/ndtxt.cxx:5306:9 2 in SwClient::SwClientNotifyCall(SwModify const&, SfxHint const&) at sw/inc/calbck.hxx:161:80 3 in SwFormat::~SwFormat() at sw/source/core/attr/format.cxx:240:22 4 in SwFormatColl::~SwFormatColl() at sw/inc/fmtcol.hxx:35:26 5 in SwTextFormatColl::~SwTextFormatColl() at sw/inc/fmtcol.hxx:56:20 6 in SwTextFormatColl::~SwTextFormatColl() at sw/inc/fmtcol.hxx:56:20 7 in SwDoc::DelTextFormatColl(unsigned long, bool) at sw/source/core/doc/docfmt.cxx:983:5 8 in SwDoc::DelTextFormatColl(SwTextFormatColl const*, bool) at sw/source/core/doc/docfmt.cxx:991:5 9 in SwUndoTextFormatCollCreate::Delete() at sw/source/core/undo/SwUndoFmt.cxx:203:12 10 in SwUndoFormatCreate::UndoImpl(sw::UndoRedoContext&) at sw/source/core/undo/SwUndoFmt.cxx:61:9 11 in SwUndo::UndoWithContext(SfxUndoContext&) at sw/source/core/undo/undobj.cxx:235:5 Any SwUndoFormatCreate that is added during CopyImplImpl() must go before SwUndoCopyDoc on the undo stack. SwNodes::CopyNodes() is pretty much the only thing of substance there that runs with Undo enabled; CopyBookmarks() and lcl_DeleteRedlines() and CopyFlyInFlyImpl() have it disabled. Let's see if the fix is really this simple... Change-Id: I4d586923f91a02861e9a4bd40d22701ceb0a0499 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107522 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit b4365b985178e1866c74afd757a104aad1d405a9) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109333 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
* tdf#135014 sw: fix crash exporting numbering to DOCXMichael Stahl2021-01-159-16/+52
| | | | | | | | | | | | | | | | | It can happen that the default SwNumRule of a SwList isn't used by anything directly, but there are other SwNumRule associated with that SwList and then the DOCX export needs to export it as an abstract numbering definition. (regression from 632ee9aae6d5f3cf08b6d6b2789310c20db713b7) Change-Id: I6b1851980464aaa95bf731a60b7d11ab91cec7b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109303 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> (cherry picked from commit cd1c9f5167e797807d6726219f06190657f58372) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109334 Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#138848 add truncate-multiline to all GtkEntries and GtkSpinButtonsCaolán McNamara2021-01-15499-77/+1436
| | | | | | | | | except for extensions/uiconfig/spropctrlr/ui/multiline.ui Change-Id: Ia2eca14332ffd4ac6e277c7529f17eca3ba29c0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109311 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* tdf#138739 sw: fix regression of first paragraphAttila Bakos (NISZ)2021-01-153-6/+8
| | | | | | | | | | | | | | | | | | | | | | First paragraph of the document lost its formatting from commit 056933bc55608d0ca061539ae124d7b9386cdb62. (tdf#137802 sw: fix crash on deleting last paragraph). This reverts commit 056933bc55608d0ca061539ae124d7b9386cdb62. Note: last take went wrong so this is a follow up for commit 25ca25ee25278536c56a2ac4a63af91100ce4d2e (tdf#138739 sw: fix regression of first paragraph). Hopefuly it will be fine. Change-Id: Id8a19c47f172b25cd5559f5823f19b3faf38cfd2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108196 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org> (cherry picked from commit 7957123a144bfe66a99aa0d30a47900b6b621a70) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109010 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
* sw: fix layout loop due to a keep-with-next vs 100% image height conflictMiklos Vajna2021-01-153-1/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The document in question has a landscape page, the last paragraph has an image where the width is 100% and the height is set to keep the ratio (which 1:1). This means that SwFlyFreeFrame::CheckClip() will scale the image down, so the image fits the page (and give up that 100% width was requested). The next problem is that this image has a wrap type set to none, so not only the total height of the page is taken, but also no content is allowed on the left/right side, effectively taking the entire body frame. Combine this with a previous paragraph, which is a heading, so keep-with-next is set for it. Layout loops because keep-with-next and take-the-entire-page are conflicting requirements and we used to have no explicit code to relax one of them when both are present: SwFlowFrame::MoveBwd: frame is 4, old upper is 10, new upper is 2 SwFlowFrame::MoveFwd: frame is 4, old upper is 2, new upper is 10 SwFlowFrame::MoveBwd: frame is 4, old upper is 10, new upper is 2 SwFlowFrame::MoveFwd: frame is 4, old upper is 2, new upper is 10 SwFlowFrame::MoveBwd: loop control, frame is 4, old upper is 10, new upper would be 2, but not moving there Fix the problem by giving up keep-with-next to stop the loop, mostly because we have to give up one of the requirements and Word resolves the conflict this way. Change-Id: I7da1ebcff9302cd144887f63efb94e0b2b2be8fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108119 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins (cherry picked from commit 160db4bf0fc391b2ded635d0bd998d5352541742) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108011 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
* bump product version to 7.1.1.0.0+Christian Lohmaier2021-01-141-1/+1
Change-Id: Ifb7bdbbe103722e69ef9433ba7548797197b261e