summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2018-11-21add TreeView header supportCaolán McNamara
Change-Id: If3dd296e962b08120e07c35065bc18441691b7fd Reviewed-on: https://gerrit.libreoffice.org/63730 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21weld writer char style dialogCaolán McNamara
Change-Id: Iaa61260e3d59dad782b32304aabe4e2d25069559 Reviewed-on: https://gerrit.libreoffice.org/63716 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21weld writer parastyle dialogCaolán McNamara
Change-Id: Id377af704ad9b0df90d6a494cc738fa2f62e4525 Reviewed-on: https://gerrit.libreoffice.org/61218 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21weld SwCondCollPageCaolán McNamara
and put back original SvTreeListBox a11y factory use Change-Id: I4ad8ce29d8fed6ec5d44e9a1d641919a89226b79 Reviewed-on: https://gerrit.libreoffice.org/63501 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21loplugin:redundantfcast improvementsNoel Grandin
check for calls to constructors, and extend the list of types we check for unnecessary temporary creation Change-Id: Ia2c1f202b41ed6866779fff5343c821128033eec Reviewed-on: https://gerrit.libreoffice.org/63472 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-21tdf#42949 Fix IWYU warnings in include/vcl/[B-E]*Gabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Iabe571aa8f00492902c499094bea8365a3e17fca Reviewed-on: https://gerrit.libreoffice.org/63623 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-21tdf#120711 fix paragraph join with change trackingLászló Németh
a DOC import regression caused by "tdf#119571 change tracking: show layout changes at paragraph join" (commit 1bbbe57dfc0b43d6b5444798d77dcdf5e4e76e49) Change-Id: Id9c1efd4f4133a5b1860f33182312f95f5459da0 Reviewed-on: https://gerrit.libreoffice.org/63680 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2018-11-20tdf#121401 writer keyboard navigation all notebookbarsandreas kainz
Change-Id: I66b384e57e3e6845bacfad34c5de1b6e5b437311 Reviewed-on: https://gerrit.libreoffice.org/63661 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-11-20sw reqif-xhtml export: write graphic of OLE object at OLE1 levelMiklos Vajna
[MS-OLEDS] 2.2.5 EmbeddedObject actually has a last Presentation field, and we didn't write it so far. Luckily all the info can be extracted from the OLE2 container, so we can roundtrip the OLE1 wrapper around OLE2 nicely. Change-Id: I8d4922428dd5beeaae8b6cd4da0575db7014e4a2 Reviewed-on: https://gerrit.libreoffice.org/63667 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2018-11-20tdf#115319 fix Hungarian article before letter iLászló Németh
in words, for example “az Ipsum”, not “a Ipsum”. This bug was reported by Gellért Gyuris. Complete commit 1037e3759bf178b52d16c12a811717f94ab9950a (tdf#115319 references with Hungarian articles) Change-Id: If930feb11a0308246d2512f0093bcacdc8675d0b Reviewed-on: https://gerrit.libreoffice.org/63637 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2018-11-20Removed executable permission on odt fileAndrea Gelmini
Change-Id: Icece4e008b653ce334808e3bee968792c4c9e99c Reviewed-on: https://gerrit.libreoffice.org/63646 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-20tdf#121456: sw: DOCX: tabs export and TABS_RELATIVE_TO_INDENT propSerge Krot
In DOCX, w:pos specifies the position of the current custom tab stop with respect to the current page margins. But in ODT, zero position could be page margins or paragraph indent according to used settings DocumentSettingId::TABS_RELATIVE_TO_INDENT Added new unit test. Change-Id: Ic56a8527380b6562f4239df1edce0c9b4649af24 Reviewed-on: https://gerrit.libreoffice.org/63460 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-11-20tdf#121401 Keyboard navigation for Writer NB contextual singleJim Raykowski
Change-Id: Ibcb56c6c0f1456c472061039ecc0835928846724 Reviewed-on: https://gerrit.libreoffice.org/63458 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-11-20tdf#120551 DOCX import: fix position of group shape with absolute positionMiklos Vajna
Regression from commit af313fc149f80adb0f1680ca20e19745ccb7fede (tdf#105143 DOCX import: enable DoNotCaptureDrawObjsOnPage layout compat option, 2017-01-06), the group shape which covers most of the single page in the document had a negative left position, while it should have a small positive one (checking the drawingML markup). This was a pre-existing problem, but now it's visible since we no longer force objects to be on the page in Word compat mode. Seeing the ODT import never positions group shapes (it's just a container for child shapes), probably the DOCX import shouldn't do that either. Start moving into this direction, first only for absolute-positioned toplevel group shapes only, which already fixes the bug. Change-Id: I152ba06a81a2bd09195a4c724da4b8878b0457bb Reviewed-on: https://gerrit.libreoffice.org/63606 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-20HIG fixes in asciifilterdialog.uiAdolfo Jayme Barrientos
Change-Id: Ie54292794aa4ecfce3fed97102aef75d0fec2d33 Reviewed-on: https://gerrit.libreoffice.org/63614 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-11-19no more SwClient/SwModify for SwTextTableRowsBjoern Michaelsen
Change-Id: I267904c751c9b32b9b64b0cf1b7f9d922bc7e1f7 Reviewed-on: https://gerrit.libreoffice.org/63529 Tested-by: Jenkins Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2018-11-19tdf#61580 add insert comment to writer and impressandreas kainz
Change-Id: I00fa63f9cb7c31f54732446aaf62b4a9b9fce522 Reviewed-on: https://gerrit.libreoffice.org/63565 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-11-19Resolves: tdf#112696 survive missing SwDrawContactCaolán McNamara
its removed when the object was removed from the page to be reinserted as as a group member Change-Id: I8edeb89ae07b73572b65413817212a79ef8957b3 Reviewed-on: https://gerrit.libreoffice.org/63578 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-19More adapting to C++2a char8_tStephan Bergmann
...in test code that is unhelpfully excluded on macOS, so wasn't covered by c89a4996b82881988eb9cc1eeaf24e0d8f9e6dce "Adapt to C++2a char_t" which I happened to do on macOS. Change-Id: I215898a1c468c576d88914ee22deaaaa536d91e9
2018-11-19Removed duplicated includesAndrea Gelmini
Change-Id: Idd6a5e84d93016f97745e6d9b99e4f79f7614ea7 Reviewed-on: https://gerrit.libreoffice.org/63554 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-19NB writer groupedbar compact big update and syncandreas kainz
between different context toolbars, ready for release Change-Id: I6288a9e3c7289fdca8991d4dc207c79f9d488e02 Reviewed-on: https://gerrit.libreoffice.org/63538 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-11-19missing includeStephan Bergmann
Change-Id: Ic34c883b5479a959cccf00da5761849ebc008aa8
2018-11-19missing includeStephan Bergmann
Change-Id: Iec63c3a357805e7fb19681ff8590f2444ce33017
2018-11-19weld TreeViewCaolán McNamara
a) use GtkTreeStores for GtkTreeViews b) ironically can't store GtkTreeStore contents in .ui apparently c) set show_expanders for all non-trees and unconverted cases d) on-demand subtrees Change-Id: I3c1036a222daba2c129b1a22ffeb3fe35005ae31 Reviewed-on: https://gerrit.libreoffice.org/63336 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-19sw: prefix members of SwTOXBaseSection and SwTableConfigMiklos Vajna
Change-Id: I2fc2a7d456c92851e7bbb250f4467f3e0fd4f88a Reviewed-on: https://gerrit.libreoffice.org/63546 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2018-11-19tdf#42949 Fix IWYU warnings in include/vcl/[ab]*Gabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: If18c80fc64e55d797953e24e40e5d5e62bd9c625 Reviewed-on: https://gerrit.libreoffice.org/63453 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-19Fix STR_REDLINE_FORMATED -> STR_REDLINE_FORMATTEDAndrea Gelmini
It passed "make check" on Linux. Change-Id: If89dc17d0a907680f64d0d35dd147e00be694c0e Reviewed-on: https://gerrit.libreoffice.org/60869 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-19Fix typosAndrea Gelmini
Change-Id: I0c966f517e337caa340526b48fa62b9910ce0a3e Reviewed-on: https://gerrit.libreoffice.org/63504 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-19Fix typosAndrea Gelmini
Change-Id: Icf1b10c517d7c575250bc74de03162fbc13c89b1 Reviewed-on: https://gerrit.libreoffice.org/63476 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-19tdf#108022, don't overwrite chart export informationMarkus Mohrhard
Change-Id: I47d8a817022829c8cada614469303e440f377299 Reviewed-on: https://gerrit.libreoffice.org/63536 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-11-18add uitest for bug tdf#78133Zdeněk Crhonek
Change-Id: I3a8c43f84fa69ff9a547806bbac9dfd37617f3e3 Reviewed-on: https://gerrit.libreoffice.org/63533 Tested-by: Jenkins Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-11-18coverity#1441443 SwTextFrame always has a SwTextNodeMichael Stahl
Change-Id: I9453ec9f3021702d89efed0adcf3422a59ae28ae Reviewed-on: https://gerrit.libreoffice.org/63530 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-11-18no more SwClient/SwModify for SwXTableRowsBjoern Michaelsen
Change-Id: Ic487fc51134bacbbc16b675cc177602874b9bc2a Reviewed-on: https://gerrit.libreoffice.org/63491 Tested-by: Jenkins Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2018-11-18tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski
Change-Id: I60bb778a88dd5619efd4858eb74d56d28616c777 Reviewed-on: https://gerrit.libreoffice.org/63520 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-11-18Fix typosAndrea Gelmini
Change-Id: I2a7877dc341e9bcbea231f5ce9edb1236f97df1c Reviewed-on: https://gerrit.libreoffice.org/63505 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-17weld writer numbering styles dialogCaolán McNamara
Change-Id: I697fa74a21acec550fcacd2a8d8468dfb21afcac Reviewed-on: https://gerrit.libreoffice.org/63495 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-17Adapt to C++2a char_tStephan Bergmann
u8 literals incompatibly change their type (as implemented by recent Clang trunk) Change-Id: Ia4f7b91f5d86656a056303d2754981ab2093a739 Reviewed-on: https://gerrit.libreoffice.org/63494 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-17Simplify containers iterations in sw/source/coreArkadiy Illarionov
Use range-based loop or replace with STL functions Change-Id: I53f9d76b5232488856098c86c6d51decc08a6b64 Reviewed-on: https://gerrit.libreoffice.org/63490 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-17loplugin:unusedmethodsNoel Grandin
most of the removal is ripple effect from removing SvxIconChoiceCtrl_Impl::EditEntry which became dead after commit 630b5db9a10cd49d24d5e563374bd68f1fe670f5 Date: Tue Nov 13 08:40:07 2018 +0200 loplugin:singlevalfields in svtools Change-Id: Ibfaa7c925cc5549a4858cc62c59d848aab72f460 Reviewed-on: https://gerrit.libreoffice.org/63481 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-16Fix typosAndrea Gelmini
Change-Id: I63b3cdae2dfb4442d10430d9041145f892b31967 Reviewed-on: https://gerrit.libreoffice.org/63480 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-16Fix typoAndrea Gelmini
Change-Id: I13db1e2b776ac2590e0d861e0ad2957253cab457 Reviewed-on: https://gerrit.libreoffice.org/63477 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-16tdf79435 doc/docx: round-trip legacy input formfieldsJustin Luth
GrabBag the settings which LO doesn't implement (which is all of them) so that the document round-trips without losing the config settings. Change-Id: I00de6c483af68073634430dd74fd445e981573ab Reviewed-on: https://gerrit.libreoffice.org/62241 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-16loplugin:buriedassign in swNoel Grandin
Change-Id: If2adf22a0ac3e030fca1b4ecd0173cac58f0f21e Reviewed-on: https://gerrit.libreoffice.org/63470 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-16Related: tdf#83128 translate word/char counts as separate n_gettext argsCaolán McNamara
Change-Id: I2033f4ef51a861c7634dccdae885a842bb079913 Reviewed-on: https://gerrit.libreoffice.org/63465 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-16entirity of writer rebuilding when vcl widget headers changeCaolán McNamara
which seems a bit excessive Change-Id: If0ab5a33bfbbd399e270f3e140c9d44d843985aa Reviewed-on: https://gerrit.libreoffice.org/63422 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-16tdf#121031 sw_redlinehide: fix SwUndoDelete of table: create table framesMichael Stahl
(regression from 723728cd358693b8f4bc9d913541aa4479f2bd48) Change-Id: I7a52b8499f05e9e8cbf81330ea264fbbfe3bac87 Reviewed-on: https://gerrit.libreoffice.org/63462 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-11-16tdf#121017 context menu web text: editstyle is always paragraph styleandreas kainz
Change-Id: I985c3f9be81cbeadb393fe8a03bde6a11e3e391d Reviewed-on: https://gerrit.libreoffice.org/63450 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-11-16tdf#121017 context menu global text: editstyle is always paragraph style editandreas kainz
Change-Id: I8c6204e389105e2572cd2edd4fb5f23c87896c66 Reviewed-on: https://gerrit.libreoffice.org/63449 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-11-16tdf#121017 context menu writer text: editstyle is always paragraph style editandreas kainz
Change-Id: I56a8385669a8cd74e2794d12a7cd4c722da1313d Reviewed-on: https://gerrit.libreoffice.org/63448 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-11-16tdf#121017 context menu swxform text: editstyle is always paragraph styleandreas kainz
Change-Id: I3e53e06ce55c377076234f08ce090c4904db8cb6 Reviewed-on: https://gerrit.libreoffice.org/63451 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>