summaryrefslogtreecommitdiff
path: root/sw/source/ui
AgeCommit message (Collapse)AuthorFilesLines
2019-03-13tdf#123547: do the same as in lcl_DrawBullet from cui/numpages.cxxJulien Nabet1-5/+22
See bt https://bugs.documentfoundation.org/attachment.cgi?id=149389 It seems the method from cui/numpages.cxx takes more things into account At least, it doesn't crash for the attachment of this tracker Change-Id: I05ca0b019ac483890bea4acdbb695d73b660e638 Reviewed-on: https://gerrit.libreoffice.org/68033 Tested-by: Jenkins (cherry picked from commit 684fcf2fce915f3e3e553c67fb57bdbfc8f159d5) Reviewed-on: https://gerrit.libreoffice.org/68843 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> (cherry picked from commit 7f2322afea3b25bc45f438b8ae9d4977ac378c1c) Reviewed-on: https://gerrit.libreoffice.org/69172 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2019-02-11Resolves: tdf#123320 non-existing drop caps char styleCaolán McNamara1-2/+7
Change-Id: I416e3fcffe7da549ffd3b82cb912d78d1ca02339 Reviewed-on: https://gerrit.libreoffice.org/67684 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2018-11-27Resolves: tdf#121607 set parent for password dialogsCaolán McNamara1-1/+1
Change-Id: I02210a61d103aed4a181b0e907ea2fd141e5f587 Reviewed-on: https://gerrit.libreoffice.org/63792 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2018-11-26tdf#120426 save the style names when set or changedCaolán McNamara1-2/+4
instead of waiting until gaining focus of the listbox, because of the differences in what that focus means in the different backends. It was an odd way to do things anyway. Change-Id: I072e3da04db184b49a86a9888080b60223813729 Reviewed-on: https://gerrit.libreoffice.org/63822 Tested-by: Jenkins Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-06Related: tdf#120277 inherit from SfxDialogControllerCaolán McNamara9-16/+16
where the dialog originally inherited from SfxModalDialog. Change-Id: Ibe0006de93b0a9f05fb3b6181baf3ba1b4cf04c8 Reviewed-on: https://gerrit.libreoffice.org/61313 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/61326 Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2018-10-27tdf#120188 limit the width of the styles combos in the url tabpageCaolán McNamara1-0/+5
Change-Id: Idcc4043b70c30ccc693c9c5ac983bfabe0573862 Reviewed-on: https://gerrit.libreoffice.org/62353 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-08-30Resolves: tdf#119572 addressee/sender formatting swappedCaolán McNamara1-2/+2
Change-Id: Icdb2ca0362711e87edcb952fb52117502d80d328 Reviewed-on: https://gerrit.libreoffice.org/59794 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Jenkins
2018-08-17insert->envelope->printer->setup crashesCaolán McNamara1-1/+1
Change-Id: I06d91941eaab0f622b384e9b3379d033890fd92f Reviewed-on: https://gerrit.libreoffice.org/59185 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-08-13Reslves: tdf#119212 sort character setsCaolán McNamara1-0/+2
and save useritem Change-Id: I92f00bd982ab00571148c0e74cd9c8772451a246 Reviewed-on: https://gerrit.libreoffice.org/58922 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-07-30Resolves: tdf#118965 fix input list edit buttonCaolán McNamara1-1/+1
regression since... commit 7d5245848c28f5786258476cd7aa2a4523645de3 Date: Fri Sep 15 17:39:48 2017 +0200 tdf#79877 revert to old behavior when clicking on input fields. Change-Id: I5e67a8f0c8d2599c139d3d728298c30f4a31c8d1 Reviewed-on: https://gerrit.libreoffice.org/58315 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2018-07-19tdf#118635 relative checkbox disabled on reopenCaolán McNamara1-7/+7
Change-Id: Ic52737e5122b1ae37390061a5f7cf17b69e7e665 Reviewed-on: https://gerrit.libreoffice.org/57499 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2018-07-12SvTreeListBox::DoubleClickHdl: SwCondCollPage more, tdf#115950 relatedEike Rathke1-1/+1
Change-Id: I179c791aac5eb522aefb3ce20931fe44dd7248c6 (cherry picked from commit 3d73f76a91260becf171ea77589190714577b267) Reviewed-on: https://gerrit.libreoffice.org/57344 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2018-07-11tdf#116543: don't forget to commit registrations in DB field editorMike Kaganski1-1/+19
This avoids revoking the uncommitted registration when any mailmerge doc is destroyed. Also don't forget to pass relevant SwDocShell when registering data source. This allows to register the data source for current document. Change-Id: Id89be82b0120661700e9fee6a075e5877d76e3b0 Reviewed-on: https://gerrit.libreoffice.org/56891 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 54d76f5203aa5f3ef0e5afdca9d131dadeb3794e) Reviewed-on: https://gerrit.libreoffice.org/57005 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-07-03tdf#116537: use page #s excluding empty pages when they are ignoredMike Kaganski1-21/+30
Since commit 3c1a343f6936f1dcefdf79a677f8c26ce29676e6, SwDoc::CalculatePagesForPrinting expects that PageRange contains page numbers that don't include empty pages' numbers, when the org.openoffice.Office.Writer/Print/EmptyPages is false. Change-Id: I4057d6e36765707affbd5f3a4507ae03f4a27171 Reviewed-on: https://gerrit.libreoffice.org/55756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit cc46e7b9c75ddbcaaefde5f396ba76b0b866fa58) Reviewed-on: https://gerrit.libreoffice.org/56758 Tested-by: Jenkins
2018-06-26tdf#118316: fix off-by-1 error (outline level is 0-based)Mike Kaganski1-1/+1
regression since commit 4730b23b1da929b802d527611e974ff1b1e6d6c5 Change-Id: I50627cde3a9a91189db61e19850768412b058064 Reviewed-on: https://gerrit.libreoffice.org/56295 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 28f45e406da9ca2c87d1e4285b0138c081125ec8) Reviewed-on: https://gerrit.libreoffice.org/56307
2018-06-25tdf#118240 Filter category in Autocaption as done in insert captionXisco Fauli1-0/+2
Change-Id: I138a47419a7c18f59ecc1e0935b669546fcee6e6 Reviewed-on: https://gerrit.libreoffice.org/56115 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit b34ed105d5eead1cb7657d0a8fc23a524cf28d31) Reviewed-on: https://gerrit.libreoffice.org/56374 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-19weld SwTitlePageDlgCaolán McNamara3-91/+64
Change-Id: I16a82709f49ed9e85751afd8c8001705c40a6e6d Reviewed-on: https://gerrit.libreoffice.org/56063 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-18weld SwDocStatPageCaolán McNamara1-52/+29
Change-Id: I6ea55b01179f72ca54f86c90788b297a4dd79b9c Reviewed-on: https://gerrit.libreoffice.org/56021 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-16weld SwCharURLPageCaolán McNamara1-80/+65
Change-Id: I5263147c2dd15e6cab5b405d1680c2a3778137a6 Reviewed-on: https://gerrit.libreoffice.org/55922 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-16weld SwParagraphNumTabPageCaolán McNamara3-152/+123
Change-Id: I6d95b5235d43dabc17515f3ac31063093c68d959 Reviewed-on: https://gerrit.libreoffice.org/55875 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-15weld SwDropCapsPageCaolán McNamara1-226/+137
Change-Id: Ic3438ff0862f74273fe0aec443aaeacee331abdd Reviewed-on: https://gerrit.libreoffice.org/55845 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-15rename SwNumberingPreview back to NumberingPreview nowCaolán McNamara1-1/+1
Change-Id: I1b6fe3ea2ef17bd35de1e8d4d124bc7adf9861de Reviewed-on: https://gerrit.libreoffice.org/55815 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-14swuilo-NumberingPreview is now unusedCaolán McNamara1-212/+0
Change-Id: Ieba56962ae1986686ae649ac15ba721a3fbfae5e Reviewed-on: https://gerrit.libreoffice.org/55814 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-12weld SwTableColumnPageCaolán McNamara1-134/+94
Change-Id: I2e92de5899bdee7c5a8a7c29c3a0f407cbb5a1d3 Reviewed-on: https://gerrit.libreoffice.org/55664 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-11weld SwTextFlowPageCaolán McNamara1-282/+239
Change-Id: I9f182874551e7c1e32b2a00e72f7c3a8f1356fc3 Reviewed-on: https://gerrit.libreoffice.org/55566 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-07weld SwFormatTablePageCaolán McNamara1-262/+219
Change-Id: Ia82fdd5666a4a59cf4e1867d295ecb1d336e10a2 Reviewed-on: https://gerrit.libreoffice.org/55424 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-06weld SwSectionIndentTabPageCaolán McNamara2-41/+31
Change-Id: I961686c1257f0d85686df06aa7c73c324d0f70b8 Reviewed-on: https://gerrit.libreoffice.org/55389 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-05tdf#117013 renamed Illustration Index to Table of FiguresNickson Thanda1-1/+1
Illustration Index has been renamed to Table of Figures Default category changed from Illustration to Figures Change-Id: I2c4fbf4036c245ea98cda4e3652c300449abd4b1 Reviewed-on: https://gerrit.libreoffice.org/54372 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Heiko Tietze <tietze.heiko@gmail.com> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> (cherry picked from commit f8b59486ca61d8e4471fac2bff3441526921dba0) Reviewed-on: https://gerrit.libreoffice.org/55336
2018-06-04SwNumberingTypeListBox fully replaced nowCaolán McNamara5-8/+8
Change-Id: I7610cf8f602c6939dc994dd4c418d9e07aaf6b20 Reviewed-on: https://gerrit.libreoffice.org/55217 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/55252 Tested-by: Jenkins <ci@libreoffice.org>
2018-06-04weld SwSectionFootnoteEndTabPageCaolán McNamara1-162/+131
Change-Id: Ib4246a2f90780a005e79e2d071b43a5629a3242c Reviewed-on: https://gerrit.libreoffice.org/55216 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit cd08397eedbe347784a3ac569481a17a8391e7b2) Reviewed-on: https://gerrit.libreoffice.org/55236
2018-06-01Resolves: tdf#116268 use on/off data, not pos to determine which is whichCaolán McNamara1-1/+1
Change-Id: I73127bc6ea78daaf1e79596067c1cdeb692e1566 Reviewed-on: https://gerrit.libreoffice.org/55133 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-05-24rework custom widget welding to enable inheritenceCaolán McNamara10-103/+93
Change-Id: I0d391b3fe9d2d610ae41e2a03cd2e195a866e103 Reviewed-on: https://gerrit.libreoffice.org/54681 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-20Fix typosAndrea Gelmini1-1/+1
Change-Id: Id225be0ecc357d6864a32d59291e402d98592d81 Reviewed-on: https://gerrit.libreoffice.org/54575 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-05-20tdf#35798: Hide empty Database fields' paragraphs (+ compat option)Mike Kaganski1-3/+13
With this change, Database fields that expand to empty values behave as if they are "Hidden Paragraph" fields. A compatibility option to enable this behaviour is added. The option is enabled by default, and for any non-native documents (for compatibility with other office suites). For existing (F)ODT documents, the option is disabled for those documents that don't have this setting set, to keep the layout of legacy documents. Change-Id: Ic5e8cb15a3a7d1a765a984eef4b0d97666df7dfd Reviewed-on: https://gerrit.libreoffice.org/54552 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-05-20Fix typosAndrea Gelmini1-2/+2
Change-Id: I65300af850f5c6f6795fa88e9e33616e38c7657c Reviewed-on: https://gerrit.libreoffice.org/54571 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org>
2018-05-17Further loplugin:redundantcast improvements for floating-integer conversionsStephan Bergmann1-2/+2
The code in svx/source/customshapes/EnhancedCustomShape2d.cxx started out as > aStart.X() = (sal_Int32)( ( (double)( aStart.X() - aCenter.X() ) / fXScale ) ) + aCenter.X(); > aStart.Y() = (sal_Int32)( ( (double)( aStart.Y() - aCenter.Y() ) / fYScale ) ) + aCenter.Y(); > aEnd.X() = (sal_Int32)( ( (double)( aEnd.X() - aCenter.X() ) / fXScale ) ) + aCenter.X(); > aEnd.Y() = (sal_Int32)( ( (double)( aEnd.Y() - aCenter.Y() ) / fYScale ) ) + aCenter.Y(); in afd1cf255d9cb4c78633e668376a09bd309be7ef "INTEGRATION: CWS sj05", then the floating-point scaling factors got gradually removed first with 101559f88022162ede229fe14366d394700816fe "INTEGRATION: CWS bm3" and then completely with d9f21c90bd61d15fd78a8df9115bf2e9ededbd1b "Fixes Circular arrow distortion, Bug #46272". Change-Id: I337d7893e513738c986d0e85efabcbf7bab912e5 Reviewed-on: https://gerrit.libreoffice.org/54434 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2018-05-16coverity#1430102 Division or modulo by zeroCaolán McNamara1-3/+5
Change-Id: I2db581b3f30713edaca4ec11f85343c436c54fae Reviewed-on: https://gerrit.libreoffice.org/54380 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-14weld CreateMonitor and PrintMonitorCaolán McNamara2-9/+7
Change-Id: Icf57a0660482cf283d6f993f72f72def2ddf6181 Reviewed-on: https://gerrit.libreoffice.org/54307 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-14split PrintMonitor and weld SaveMonitor partCaolán McNamara2-9/+9
Change-Id: I72325530027df69cabe8a0ec85b7b77d239ad453 Reviewed-on: https://gerrit.libreoffice.org/54300 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-13weld SwMMResultSaveDialogCaolán McNamara4-69/+53
and set a proper parent for it Change-Id: Ia03e549e9fdde5925d85af3332d63253d9fbe911 Reviewed-on: https://gerrit.libreoffice.org/54199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-13weld SwNewGlosNameDlgCaolán McNamara1-72/+60
Change-Id: Ie1c320958813bfb602da46738782b9e1e9fe5a9e Reviewed-on: https://gerrit.libreoffice.org/54196 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-12coverity#1430102 Division by zeroCaolán McNamara1-2/+4
Change-Id: Iae44c89c4af70e3e5b19137ee08ca566c7a04fb7 Reviewed-on: https://gerrit.libreoffice.org/54141 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-05Fix typosAndrea Gelmini1-1/+1
Change-Id: I92078fdece135754744d85424956dbb071f3899e Reviewed-on: https://gerrit.libreoffice.org/53638 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-05-04weld SwOutlineTabDialogCaolán McNamara4-63/+46
Change-Id: I55c0e9a62dd9dd970a87ef295bb5fbb82c80d2d8 Reviewed-on: https://gerrit.libreoffice.org/53848 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-04weld SwNumPositionTabPageCaolán McNamara1-263/+190
Change-Id: I12171eb00d5b8354456b629d58d20b22109e24f8 Reviewed-on: https://gerrit.libreoffice.org/53845 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-04weld SwOutlineSettingsTabPageCaolán McNamara1-123/+317
Change-Id: I5032c0d446cee1eae443a4c0876f862c3a6af81a Reviewed-on: https://gerrit.libreoffice.org/53838 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-04coverity#1435273 Resource leak in objectCaolán McNamara1-2/+2
Change-Id: I781b2d6f6b550e5b381c041a27d282c4dca9d6dd Reviewed-on: https://gerrit.libreoffice.org/53805 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-03coverity#1435272 Uninitialized pointer fieldCaolán McNamara1-0/+1
Change-Id: I93d9c9d97845be92b42d5aaf8c7f6b4f2f1f837d Reviewed-on: https://gerrit.libreoffice.org/53800 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-02sw: prefix members of AutoFormatPreviewMiklos Vajna1-49/+50
Change-Id: I3651abc70862d44238d24bb4b24cffa2731611f7 Reviewed-on: https://gerrit.libreoffice.org/53720 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-05-01weld ScShowTabDlgCaolán McNamara3-5/+5
Change-Id: Ice5da193d0efbf8e4a61d68c0fcef90f6c6d8e78 Reviewed-on: https://gerrit.libreoffice.org/53665 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>