summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)AuthorFilesLines
2013-08-28Resolves: fdo#65924 retweak the border positionsCaolán McNamara1-3/+3
required due to 45a8eaf9c55f2686f69118641d8a8992a86dfe31 Change-Id: Ibffc9b4a5eaa8ad538ce53f0389519721fdbcf20
2013-08-28bnc#816593 DOCX import: fix auto table width wrt nested tablesMiklos Vajna2-0/+13
The bugdoc has a table with a single cell, and also a nested table in that cell. Both tables have auto width. The problem was that the width of the outer table was too large. There is a trick in DomainMapperTableManager::startLevel() to get the cell widths at the correct level: do the same in DomainMapperTableManager::endLevel(), and that'll fix the table width problem. (Because with that, the outer table will correctly have access to its cell width.) Change-Id: Ib750f0475364fd7e47c445cb54f2df34f3af085d
2013-08-28autosize the user-defined number format listbox in database field tabpageCaolán McNamara1-1/+6
Change-Id: I9349cfb30f544d6e64231910e3dad832a3770509
2013-08-28fix abuse of GetTabDialog to indicate that we're pre resetCaolán McNamara2-13/+15
Change-Id: I3572ccd1e984af97ede28db558e22ee6e8019344
2013-08-28convert tox index page to .uiCaolán McNamara9-927/+1515
Change-Id: I4929ac3b82af91d8b9cb95b033a9171d46554774
2013-08-28fdo#67358: sw: "fix" line painting artifacts when resizing columnsMichael Stahl1-1/+3
SwEditWin::MouseButtonDown(): for unknown reasons invalidating the window here causes the column resizing lines to not be removed after the resize is done, so disable it. (regression from 289185fd02d6d9734b6dbde01f15c4e6c5beacbb) Change-Id: If3ba0a72c53c5c2734fb905ae35d62f6a3e8938b
2013-08-28fdo#66215: sw: fix clicking on text above background flyMichael Stahl2-4/+43
SwPageFrm::GetCrsrOfst() tries to compare the distance to the closest text vs. fly but does not do it right because GetCharRect() returns just a line of width 1 on the left edge of the character; try to figure out the entire area covered by the character via 2 calls to GetCrsrOfst(), which gives much better clickability. (regression from e8fbe97900f13305b17015d9044993bde4adab36) Change-Id: I825e86daf65692dfb962ad576772c5f543d02d19
2013-08-28XubString->OUStringCaolán McNamara1-1/+1
Change-Id: I7b76026012af2b57861ec8d3dfd285d9e871d74c
2013-08-27Reduce copy&paste by adding SwModelTestBase::getShape()Miklos Vajna10-206/+81
Change-Id: I3b73405c546427bb5676db30e297af36c18043e6
2013-08-27Use slightly less verbose erase-then-move-on idiom.Thorsten Behrens1-2/+1
Change-Id: Iae3a749770b75a99c53755d0410ef9510158e94b
2013-08-27Avoid painting of empty shadowZolnai Tamás1-2/+5
Change-Id: Ie293ad397b8b3f6db7d79dc4ff03c18cf896dfa2
2013-08-27OSL_ENSURE(false) -> assert(false)Zolnai Tamás1-1/+1
Change-Id: I236f19cc33ee3cc51f47732ce3b753886c484580
2013-08-27rearrange paragraph tabs back to classic orderCaolán McNamara1-12/+12
if the intent was to intentionally reorder them then also keep the paragraph style dialog tabs in the same order as well Change-Id: I4bd69d49099b7921b021739482d0c72b07639882
2013-08-27callcatcher: update unused code, esp unused Resource based ctorCaolán McNamara6-49/+0
e.g. no ImageRadioButton is now loaded from any res/rsc file, so that ctor and associated code paths can be stripped out Change-Id: Ic4cf19d45adb7c734f150e0b89eef193157a74a7
2013-08-26Fix iterator managementJulien Nabet1-2/+6
Change-Id: Ifb230525d3f5462553a3e78bb4ee740f6a7cc5c2 Reviewed-on: https://gerrit.libreoffice.org/5629 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-26Resolves: fdo#59048 crash on text-to-table undoCaolán McNamara1-0/+1
Delete the SwCellFrms attached to the layout of this SwTableNode early, otherwise the SwCellFrms will dereference the SwTableNode after it is deleted in _DeleteBox during the DelFrms of the DeleteSection in _DeleteBox when invalidating following SwFrms. SwUndoInsTbl::UndoImpl calls SwTableNode::DelFrms so presumably this is the right way to go about it. Change-Id: I6e088a30500d721bd18c57ced5c8ec331bb567eb Reviewed-on: https://gerrit.libreoffice.org/5634 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-26most debug-level OUString::valueOfCaolán McNamara2-6/+6
Change-Id: I3e3cebe225e27a33be423c8b5fa2261b4a48e88c
2013-08-26fdo#33960: simplify SwNumRule::MakeRefNumString furtherMichael Stahl1-15/+2
Change-Id: Ib0e9ccb163d5132ca18142361f72376642915fcb
2013-08-26fdo#33960: sw: fix cross reference fields some moreTroy Rollo3-35/+56
Change-Id: Ia0a34c8fa475f9dea609962997bce9169d9b8878
2013-08-26drop unused helpids fullyCaolán McNamara1-2/+0
Change-Id: I1490fda183bb2315e3d6947941478fa3dd8ed6fb
2013-08-26drop unused help idsCaolán McNamara1-6/+0
Change-Id: I576f28dc33f7891c7df25e0200e19d02a5824023
2013-08-26bnc#834035 test fileMiklos Vajna1-0/+0
Change-Id: I8416d663e573237a7b5a55545e630e5cbfdca25c
2013-08-26convert token widget to .uiCaolán McNamara9-639/+232
which means that the widgets inside the token window in index/table->entries are no longer truncated at the bottom Change-Id: I4852ce217b6c8f6322391db30501668d035b7d92
2013-08-26convert tox entries page to .uiCaolán McNamara10-656/+1675
Change-Id: Iedc6ab145a39b3844a42b70bfa18f4af574d732d
2013-08-26split out the custom index widget to simplify conversion to .uiCaolán McNamara3-108/+109
Change-Id: If909ff5e68d9212601d62fd917055cec0538e948
2013-08-26bnc#834035 DOCX export: fix hyperlinks of illustration indexMiklos Vajna4-0/+53
We used to export raw Writer bookmarks, but that's not valid in OOXML. Instead, it has normal bookmarks around the sequence fields, so use them if they are available. Change-Id: I0ef2ff7967c2802b53752c9505ef6db4cc2b8265
2013-08-26String to OUString, some cleanupMatteo Casalin2-52/+62
Change-Id: I7d1cdabdaecae1d993730397a1757727fb40a6db Reviewed-on: https://gerrit.libreoffice.org/5608 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25fdo#57950: Remove some chained appends in swJelle van der Waa3-55/+18
Change-Id: Ib63fe1cf689d8f3cab4ca3571dd71f712e3fd7a5 Reviewed-on: https://gerrit.libreoffice.org/5602 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-08-25String to OUStringMatteo Casalin7-16/+15
Change-Id: I4e35c8876d9bfbddb9da6c96cd605905343df1e7 Reviewed-on: https://gerrit.libreoffice.org/5626 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25Use support function for name of servicesMatteo Casalin1-42/+38
Change-Id: Ib77a2aebdf6d557b78d433c4d9a81e6e9ad0edf1 Reviewed-on: https://gerrit.libreoffice.org/5624 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25vector<OUString*> to vector<OUString> as a temporaryMatteo Casalin1-13/+9
Change-Id: Ib615c88c0ca9c0a3d969860249e96cb71b75f6f7 Reviewed-on: https://gerrit.libreoffice.org/5623 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25String to OUString and some cleanupMatteo Casalin7-90/+66
Change-Id: I78790a84fc86bd852899aebbaff526c7cec224cf Reviewed-on: https://gerrit.libreoffice.org/5618 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25String to OUString and hide implementation detailsMatteo Casalin5-95/+126
Change-Id: I91ca70273b2262f8aee7e7bb8000d1271e727b18 Reviewed-on: https://gerrit.libreoffice.org/5617 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25String to OUString + missing SetTextMatteo Casalin10-31/+20
SetText was addes as seen in other dialogs, for completeness, although all call places seem to pass the default null pointer. Change-Id: I1fe1792ad6f061fc762bae237f5cecfcbbd1ce06 Reviewed-on: https://gerrit.libreoffice.org/5616 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25SwGlTreeListBox: NotifyCoping and NotifyMoving almost equalMatteo Casalin2-39/+18
Change-Id: I4cb9f7fccb7d5525a84dc8f5b1f25d1350d0f106 Reviewed-on: https://gerrit.libreoffice.org/5615 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25Reduce getToken load by using nIndexMatteo Casalin1-22/+34
Change-Id: I5218181c03424ccbeeaea0bcebf12e97fdc168f5 Reviewed-on: https://gerrit.libreoffice.org/5614 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25String to OUStringMatteo Casalin10-113/+106
Change-Id: I54c8f641b6db1762404916c4e4174d1f0e15cc39 Reviewed-on: https://gerrit.libreoffice.org/5613 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25String to OUStringMatteo Casalin6-9/+11
Change-Id: Icc70248f48dd24a2940552f88590f02492a38824 Reviewed-on: https://gerrit.libreoffice.org/5612 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25Improve descriptionMatteo Casalin1-1/+2
Change-Id: Id1039c99f3a56a90aa69f05378428f0214df74a0 Reviewed-on: https://gerrit.libreoffice.org/5611 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25String to OUStringMatteo Casalin22-92/+91
Change-Id: I364c5eabf45a3a5011c0b1709da68cbeb38a6997 Reviewed-on: https://gerrit.libreoffice.org/5610 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25String to OUStringMatteo Casalin4-19/+19
Change-Id: Ice893d6ae25791d9a825cd95f60d1edb5e7e33d7 Reviewed-on: https://gerrit.libreoffice.org/5609 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-25String to OUStringMatteo Casalin3-8/+9
Change-Id: Id3959a977c697a9300e8eba09c29b575d4c34c11 Reviewed-on: https://gerrit.libreoffice.org/5625 Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com> Tested-by: Matteo Casalin <matteo.casalin@yahoo.com>
2013-08-25String to OUStringMatteo Casalin6-10/+11
Change-Id: I7aa1eda2689081aea624f1de64380322ed2fd0fa Reviewed-on: https://gerrit.libreoffice.org/5620 Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com> Tested-by: Matteo Casalin <matteo.casalin@yahoo.com>
2013-08-25String to OUStringMatteo Casalin2-28/+17
Change-Id: I1c5c6478d91d97092dfa322f31e9376e09063e24 Reviewed-on: https://gerrit.libreoffice.org/5622 Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com> Tested-by: Matteo Casalin <matteo.casalin@yahoo.com>
2013-08-25String to OUStringMatteo Casalin1-3/+3
Change-Id: Ic57557901fb45ea2c3a7b2c20a601b2be6985708 Reviewed-on: https://gerrit.libreoffice.org/5621 Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com> Tested-by: Matteo Casalin <matteo.casalin@yahoo.com>
2013-08-25String to OUStringMatteo Casalin3-8/+10
Change-Id: I5e071f9484abae04efa2ba1526448182068d8f9c Reviewed-on: https://gerrit.libreoffice.org/5619 Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com> Tested-by: Matteo Casalin <matteo.casalin@yahoo.com>
2013-08-25String to OUStringMatteo Casalin2-5/+8
Change-Id: I260df7e14a5394dcf4aef540e575366eb9785c47 Reviewed-on: https://gerrit.libreoffice.org/5607 Tested-by: Matteo Casalin <matteo.casalin@yahoo.com> Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
2013-08-24add gtk_message_dialog_new-alike ctor for MessageDialogCaolán McNamara3-13/+9
Change-Id: Ie422cd2c903cbd18353b1929c074574d452559ce
2013-08-24ODF filter: handle draw:shadow-opacity for Writer framesMiklos Vajna2-0/+11
Change-Id: I3ad39e5de5b6999d6c2182c1ec622ae7f873cafe
2013-08-24sw: add ShadowTransparence UNO property for framesMiklos Vajna4-1/+14
drawinglayer has a separate property for the shadow transparency, too. One more step towards Writer frames have the same UNO API as drawinglayer shapes. Change-Id: I84617502e9beb9e077c783ee8eb771d79c6ee666