summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2016-07-07tdf#50613 add support to load charts asynchronouslyArmin Le Grand
Generating primitives for chart visualisation can be moved to a paralell executed task that loads the chart, thus speeding up initial visualization. This is not possible for e.g. PDF or print targets, only for edit visualization. On fallback, the replacement images of the charts are used which are metafiles and have less quality as primitives, but load quicker. Change-Id: I68caa9e1bec50832bce535b5f54633d53cdef037
2016-07-07Revert "Add XBitmapList to SvxPresetListBox"Rishabh Kumar
This reverts commit a38901295082ff72948a18fe9c82c37973061490. Change-Id: Ibfee6df54c24baf8b4e9cfc47be3f12e0ebd82a4 Reviewed-on: https://gerrit.libreoffice.org/27020 Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in> Tested-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-07Add XBitmapList to SvxPresetListBoxRishabh Kumar
Change-Id: I104463039f3aad5d19b3badca9a104021acf3b94 Reviewed-on: https://gerrit.libreoffice.org/27012 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-07Increase spacing between SvxPresetListBox entriesRishabh Kumar
Change-Id: Ia92ab9afd2cba5b5f327eb6ff722ea51ae5dba2f Reviewed-on: https://gerrit.libreoffice.org/27018 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-07Change fill styles correctlyRishabh Kumar
Change-Id: I0a20693d5db1df5f560acdf014aee05360854e9b Reviewed-on: https://gerrit.libreoffice.org/27016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-07loplugin:passstuffbyref also for {css::uno,rtl}::ReferenceStephan Bergmann
Change-Id: Ie219b6b6cc876cb46faadd7aa9c4f997702781bb
2016-07-07FloatWinPopupFlags::NoFocusClose is only set, never readCaolán McNamara
Change-Id: Ide67b9279b626d3427c93891d27378ffd1f004cc
2016-07-06Add XGradientList to SvxPresetListBoxRishabh Kumar
Change-Id: I0b4af0eb465b997e8bea012b1f2e3cc07cce6ddb Reviewed-on: https://gerrit.libreoffice.org/26953 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-06Make gradient UI bitmap resizableRishabh Kumar
Change-Id: Icaa06911a620697d86a8854ba6bc46874c195b97 Reviewed-on: https://gerrit.libreoffice.org/26949 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-06Resolves: rhbz#1353069 don't clear XATTR_FILL* from stylesheet if...Caolán McNamara
the master page is not the sole owner. Which happens when copying and pasting slides which bring along a duplicate master page to an already existing one, and the attempt to remove the duplicate strips the fill properties from the shared stylesheet in use by the other regression from... commit b876bbe2cacce8af379b10d82da6c7e7d229b361 Author: David Tardon <dtardon@redhat.com> Date: Tue Apr 26 09:17:11 2016 +0200 rbhz#1326602 avoid exp. bg bitmaps from deleted slides Change-Id: I91fb8f622a0e35741ecc37cef14fc93199bb730b
2016-07-06restore loplugin:vclwidget checking for calling clear() on VclPtr fieldsNoel Grandin
Change-Id: I85eda1c33016c1461d897fc0a3b70457209a7405 Reviewed-on: https://gerrit.libreoffice.org/26806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-05when disposing popup menus, don't leave dangling pointersNoel Grandin
Change-Id: Ia1b49937ba0693a567097367b99b75a3011666bf Reviewed-on: https://gerrit.libreoffice.org/26960 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-05use a dynamic library for minidump shared codeMarkus Mohrhard
This has the disadvantage to make the minidump_upload executable depend on LibreOffice libraries but there seems to be no other way to make the 7.1 SDK happy. Change-Id: I82c37f503ed29cb50711eae7db22063f49747a48 Reviewed-on: https://gerrit.libreoffice.org/26055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 3498cd3e7b2c820fc3f3025eb4434666a444fda1) Reviewed-on: https://gerrit.libreoffice.org/26915 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-07-05loplugin:loopvartoosmallStephan Bergmann
Change-Id: Idc7b602d27a3198b222f5c9b6dc21b18d101bd45
2016-07-05Icon view listbox for XHatchListRishabh Kumar
Change-Id: I40d39c28bbc217cb63a3857c8a90dba72d196878 Reviewed-on: https://gerrit.libreoffice.org/26896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-04merge sdr::event::EventHandler with sdr::event::TimerEventHandlerNoel Grandin
Change-Id: Id81c6b67d95d976dae417cf225bd43347c716d06 Reviewed-on: https://gerrit.libreoffice.org/26905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04Make hatch UI bitmap resizableRishabh Kumar
Change-Id: I34e1db1f462c87d7b3a2ff9531189bea189b2ce8 Reviewed-on: https://gerrit.libreoffice.org/26894 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-04typo: emtpy → emptyChristian Lohmaier
Change-Id: I60cdcdc7fc38c175243c071f34295efa8739b717
2016-07-04sidebar: adaptable paragraph indent icon sizeSzymon Kłos
Change-Id: I4f000ffb3fee660e6bf9efa9592617f1d037f17c
2016-07-04remove comphelper::string::removeNoel Grandin
and replace it with OUString/OString::replaceAll Change-Id: I37b1c3b51251dfd9d749d6f1060c75b3a93d7f1a Reviewed-on: https://gerrit.libreoffice.org/26850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04comphelper::OBaseMutex -> cppu::BaseMutexNoel Grandin
convert usage of deprecated class, and remove the old class Change-Id: I19fb9271090d19e5531622b58492e1a848d306e2 Reviewed-on: https://gerrit.libreoffice.org/26843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-03Grid line color change for SvxPixelCtlRishabh Kumar
Change-Id: I0a7c0f2f8da9323a341fe378dcb7ef596aa133af Reviewed-on: https://gerrit.libreoffice.org/26884 Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-02tdf#100728: Crash when area dialog is openedRishabh Kumar
Change-Id: I2246c5bf3a1d33e7a08fa9062e568a4c95fef571 Reviewed-on: https://gerrit.libreoffice.org/26875 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-01svx lok: add LOK_CALLBACK_GRAPHIC_VIEW_SELECTIONMiklos Vajna
So a view can be aware where the graphic selections of other views are. Change-Id: I0cc420cfe4bf3824fbfa1a58da889cac5e9a7b60 Reviewed-on: https://gerrit.libreoffice.org/26863 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-01Improve readability of OUString concatanation in SvxPixelCtlAccessibleMuhammet Kara
, SvxShowCharSetVirtualAcc , SvxBmpMask , SvxSuperContourDlg , and SvxTPView It is more readable and more efficient as a bonus. See: https://goo.gl/jsVAwy: Change-Id: Id0641673e1e6fb04b3193c2b8e9a2ab3156b4552 Reviewed-on: https://gerrit.libreoffice.org/26794 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-30Rename GetFoucsPosIndex() to GetFocusPosIndex()Muhammet Kara
Change-Id: Ic05d69976d053037c9d02cf5f8b843c6b590000c Reviewed-on: https://gerrit.libreoffice.org/26803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-30loplugin:unusedfieldsNoel Grandin
Change-Id: If06fffa8db050df0f9c1c7da6163575bf522382e Reviewed-on: https://gerrit.libreoffice.org/26754 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-30tdf#89616 Find toolbar: Activate search arrows when input has textSamuel Mehrbrodt
Not only when input is modfified Change-Id: Ic6b94dbfba34ec6eb88c9c385aaa36a7bac19de7 Reviewed-on: https://gerrit.libreoffice.org/26782 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-29move #includes to top of fileNoel Grandin
instead of being randomly embedded somewhere deep inside the CXX code. Found with: git grep -nP '^#include' -- *.cxx | sort -g -k 2 -t : Change-Id: I9ee432d3b665ecb6ec600bd51cc4b735a1b1127a Reviewed-on: https://gerrit.libreoffice.org/26764 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-29tdf#100592 Add extra number formats for fractionLaurent Balland-Poirier
Change-Id: Ia3a5fa02029e06e083fcc10748b0deb3048dae79 Reviewed-on: https://gerrit.libreoffice.org/26675 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-06-29clang-analyzer-deadcode.DeadStoresStephan Bergmann
cf. <https://lists.freedesktop.org/archives/libreoffice/2016-June/074681.html> "Re: chained editeng: Add TextChainFlow related files" Change-Id: I0b1611db620c0e0ee56890e652066afb95b3e9ce
2016-06-29loplugin:staticmethodsStephan Bergmann
Change-Id: I0f1be4e783dfa039cf8cec085df9827adbd56b35
2016-06-29Reinstate: tdf#99729: fix text alignment (no autofit & no full width)Caolán McNamara
with extra disposes to shutdown the test thingies in the right order This reverts commit a4780b3c8b45261e59ed3cbb34c4463d58ad8079. Change-Id: I13282d6bc54a0dceb3ed91a04cd438a9011154fe Reviewed-on: https://gerrit.libreoffice.org/26756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-29tdf#100413 Use same default values for preview string and format listLaurent Balland-Poirier
Add specific default values for: - scientific: to distinguish engineering notation - fraction: to have quarter format understandable Change-Id: I73b74713a4bc502e9967b8d2c9983cfc6244912e Reviewed-on: https://gerrit.libreoffice.org/26391 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-06-29Move accessibility relations to .ui files, Part 12: tdf#87026Muhammet Kara
By removing unnecessary variables/strings/function calls, and making proper changes in the related .ui files. As of this commit, all accessible relations have been moved to .ui files other than a few exceptions. Change-Id: Ic9dffdde414d245c13f13ee08543f90884991222 Reviewed-on: https://gerrit.libreoffice.org/26707 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-29Revert "tdf#99729: fix text alignment (no autofit & no full width)"Miklos Vajna
This reverts commit 0cb200d000fad8ba31c7400e08cd031823f27308. Even if it was verified by Jenkins, it broke CppunitTest_sd_import_tests on a number of tinderboxes. Need to at least find out how to reliably trigger the crash and fix it before it goes in again. Change-Id: I7ed52cae559648ec101b7a343046a7d74a7c48d3
2016-06-29loplugin:defaultparamsStephan Bergmann
Change-Id: I17fd4679e0a6a58856021b40575ac9603da01b37
2016-06-29svx: add XOutBitmap testcaseMiklos Vajna
This fails with commit 7d76bb251e0c88ff17282a33b801a5d17a434af5 (vcl: add graphic export-as-pdf filter, 2016-06-24) reverted. Change-Id: Idea5c282d610d949958d757677ee642d97ca1c8e Reviewed-on: https://gerrit.libreoffice.org/26747 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-28Resolves: tdf#100574 Crash when selecting and applying border style...Caolán McNamara
when a first torn off instance was opened just before the second one and then the second one sends focus back to the first when its popped down. The second one listens to losing the focus and disposes itself which leads to dereferencing deleted stuff. So add a reference count to the places these tear offs call popdown so its still gets disposed but not deleted during the popdown and then protect against members being disposed with a enough checks to get back to safely Change-Id: Id5f8eb4771df36305e308a2a9a5035018948f121
2016-06-28Convert Bitmap tab to Pattern tabRishabh Kumar
Change-Id: I5cf02f1889090539f7adb826483c91a1ef3c3925 Reviewed-on: https://gerrit.libreoffice.org/26015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-28tdf#99729: fix text alignment (no autofit & no full width)Mike Kaganski
If TextBox contained text that is larger than the box, and autofit was off, and autosize was off, and full width was off, then text always aligned to box's left top corner, regardless of text anchor setting. Related problem (i103454) was fixed in 2009 by Armin Le Grand, but only for full width text. This patch extends the scope of that fix to correctly process other cases. The fix introduces a new compatibility flag: AnchoredTextOverflowLegacy If it is true, then old behaviour is retained. It is always false for new documents and imported documents. When opening existing ODF documents, it's true by default, unless it is explicitly set in settings.xml. Unfortunately, I couldn't find a way to access the document model from any of SfxBaseModel::load() or SfxObjectShell::DoLoad, where it could enable setting the compatibility flag universally when loading own format. Instead, I had to do it individually in each of SfxObjectShell::Load() implementations. Unit test is included. Change-Id: Ifad79d546739daafff59fb6c7fb0dce51babc53d Reviewed-on: https://gerrit.libreoffice.org/26737 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-06-28Revert c7b9b9204ce2b3c1e0dbc0d79e4e01d27ad2ac7eMike Kaganski
Also make changes to make loplugin:staticmethods happy Change-Id: Ia55d063c0fa5a1d9392e09f23ebb1266f46745b9 Reviewed-on: https://gerrit.libreoffice.org/26740 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-06-28loplugin:staticmethodsStephan Bergmann
Change-Id: I6e5a1c33eeb5eb139f12d4a9d696c53ad65a3af7
2016-06-28Drop the dash from "Read-Error"Tor Lillqvist
Change-Id: I12c058bbb01df9c2aad794b5d500ab7ed0502d81
2016-06-28loplugin:unreffunStephan Bergmann
Change-Id: I7a5a00e3a85cf0705d5e4e2fca2184e991f56b7a
2016-06-28ODP export: add embedded pdf supportMiklos Vajna
This is basically the draw shape equivalent of SwGrfNode::GetReplacementGrfObj(), that already had explicit code for PDF purposes. Change-Id: I00a619082f59a3e377d45c3a59615cadae295586 Reviewed-on: https://gerrit.libreoffice.org/26724 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-28tdf#99729 prerequisite: model-level user data r/wMike Kaganski
This commit introduces a system for reading/writing common model-level user data (like compatibility flags from settings.xml). It is designed to reduce code duplication in cases where an option is applicable to any type of document. Change-Id: Id4e31df14f49cbb673f4a6df943ccec6d98eb9aa Reviewed-on: https://gerrit.libreoffice.org/26719 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-06-28loplugin:singlevalfields in svxNoel Grandin
Change-Id: I7a2d11e1343f6382c3556c4536fc8ae40e210b74 Reviewed-on: https://gerrit.libreoffice.org/26710 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-27A typo correctionMike Kaganski
bVerticalWritintg -> bVerticalWriting Change-Id: Ie12c12d2784cc263eeec8824293e3bb51bfc6fd9 Reviewed-on: https://gerrit.libreoffice.org/26717 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-27Move accessibility relations to .ui files, Part 11: tdf#87026Muhammet Kara
By removing unnecessary variables/strings/function calls, and making proper changes in the related .ui files. As of this commit, all accessible relations of type "SetAccessibleName" have been moved to .ui files other than a few exceptions. Change-Id: I5972211f58de70889066dec3c74341b405f82c85 Reviewed-on: https://gerrit.libreoffice.org/26520 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>