summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2015-11-10sw: rename sw::Frame in the WW8 filter to ww8::FrameMiklos Vajna
This way it's more clear that sw::FrameClient has nothing to do with sw::Frame, also later renaming SwFrm to SwFrame won't cause confusion about why do we have both sw::Frame and SwFrame. Change-Id: I87c4d199d418c77fdbb600fc388c8b9f026cb0fa
2015-11-10sw lok: fix width of the notes sidebarMiklos Vajna
The map mode is in general disabled during tiled rendering, so mouse positions can be sent in using twips, but here we have to temporarily enable it, otherwise the width will be returned always in pixels. With this, the gray background of the sidebar has the proper width, not e.g. fifteenth of the expected value (using default zoom). Change-Id: I4380ee0ba6bcda97cf71735161dbdc826e7a2532
2015-11-10sw: allow doc model xml dump creation while editing comment textMiklos Vajna
Change-Id: Ie682cfe97b8c48bc66575b89875ca617dbb8ab4e
2015-11-10sw doc model xml dump: show comment textMiklos Vajna
Change-Id: If15ca89f2b7c54441f076eb233c4e1414dac25c0
2015-11-10tdf#70318: Prevent extra empty paragraph in clipboard RTF contentMike Kaganski
Change-Id: Icbd163bac65cbb9e4ad59697b87f6c979ecb41cc Reviewed-on: https://gerrit.libreoffice.org/19718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10NVDA does not read . when stepping word by wordNiklas Johansson
SwAccessibleParagraph::GetWordBoundary is called when you navigate word by word normally done by pressing Ctrl+Right/Left arrow. This works well as long as the word is an actual word. Problem is that what we land on is not always an actual word the cursor will for example stop at . (periods) and at the moment that won't be exposed to accessibility tools such as NVDA screen reader. Orca on Linux seem to have some type of workaround but it dosen't really work. I'll try to find out if the workaround is actually in Orca or in the way LibreOffice exposes things to atk. Change-Id: Ibe5c5899d489b0449282998a3ba284f689ca9a36 Reviewed-on: https://gerrit.libreoffice.org/19424 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10tdf#93139 Orca Screen Reader does not read bullet part 2Niklas Johansson
Since we now expose the bullet character to accessible text we should not also expose the attributes, that will make NVDA read the bullet twice. We can also remove some special cases for the fact that the bullet earlier was not apart of the accessible text. Change-Id: I5a8b84f92c32da7ffabdd5136655d88a2d149e75 Reviewed-on: https://gerrit.libreoffice.org/19106 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10tdf#39080 Hide Whitespace improvementsAshod Nakashian
Moved the page resizing from SwLayoutFrm::Format to SwPageFrm::MakeAll and calculated the new page height more accurately based on the content (stolen from the browser-mode height calculation, to be refactored). This fixes issues with repagination with certain contents. Removed unnecessary ToggleLayoutMode calls and prevented clicking between pages in single-view mode to jump the cursor. Change-Id: I5662dd26efff66d6e95b8fd4dcf8564588adbbb7 Reviewed-on: https://gerrit.libreoffice.org/19699 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
2015-11-10tdf#95071: fix spacing calculations for border with page offsetMike Kaganski
With commit ebf767eeb2a169ba533e1b2ffccf16f41d95df35, some previously hidden bugs manifested themselves, this is one of them. The margin size calculated incorrectly when border offset was from page. The border is drawn from the margin inwards, so the margin should be equal to OOXML w:space attribute, and border distance should be OOXML page margin - border distance - border width. Incorrect calculation gave negative margin, with IllegalArgumentException thrown in SfxItemPropertySet::setPropertyValue. Change-Id: Ifcf4a348e975df53410933aab3684d17f68b688c Reviewed-on: https://gerrit.libreoffice.org/19586 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-10sw: prefix members of SwNavigationPIMiklos Vajna
Change-Id: I801c9c93921719955431716c6e56e79eed529800
2015-11-10sw: prefix members of SwStyleNameMapperMiklos Vajna
Change-Id: I374caad0258624e9794993a01ab39c60fbb65a1a
2015-11-10sw: prefix members of SwBoxAutoFormatMiklos Vajna
Change-Id: I9849dcd31dae2e5db9ce3178640d2bf605b78238
2015-11-10sw: prefix members of SwContentTreeMiklos Vajna
Change-Id: Ia45ad08339ab7e6b2532d85f7a271156f29d1947
2015-11-10tdf#92648 unit test for DOCX import regression (textbox shrinking)László Németh
Change-Id: I810708bbd337b325ed58927fcdd67f24f70f1252
2015-11-09yet another member of SwXTextPortion needs to be guarded in the dtorBjoern Michaelsen
Change-Id: Ia1e3febd6a2f0c18c686a04ef5b98ee1ad2d8b88
2015-11-09another missing SolarMutex in Writer UNOBjoern Michaelsen
Change-Id: Ia9451b3f6180f97fda6ff16c65b5fbfcd17b75ec
2015-11-09also fix SwXFlatParagraphIteratorBjoern Michaelsen
Change-Id: Ib35759c4d9e6ebc8e211d57d53d923f15ac9845a
2015-11-09fix a set of race conditions in the writer uno wrappersBjoern Michaelsen
- whenever SwClients are added or removed, the SolarMutex should be locked - locking the mutex there would be a performance killer - thus only DBG_TESTSOLARMUTEX() and fixing the fallout on DBG_UTL builds Change-Id: I3b10b9a01c40fbe68d15ce6e9c5c74db34eb1eb6 Reviewed-on: https://gerrit.libreoffice.org/19856
2015-11-09Revert "Revert "fix tdf#94818 while retaining the tdf#90504 fix""Andras Timar
This reverts commit dad32b63f852716af94cf995696b62b6e60724bd.
2015-11-09Revert "fix tdf#94818 while retaining the tdf#90504 fix"Andras Timar
This reverts commit 959ac511dbebeb3983da92052ced837b39b74ed9.
2015-11-09java: add some @Override annotationsNoel Grandin
Change-Id: I291db1dff5ab3ce40fda6f822a0e3ff1e6ef36c1 Reviewed-on: https://gerrit.libreoffice.org/19855 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-09new loplugin: oncevarNoel Grandin
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-09formatting improvements in sw/Noel Grandin
after my recent "com::sun::star->css in sw" commit Change-Id: I2545648fc6f14ea0ebcabbe012e91546cf392b16
2015-11-08tdf#57950 Replace chained O(U)StringBuffer::append() with operator+Sedat Ak
Change-Id: I7065f88c752dbd6b7db3f4b4efaec85d083edede Reviewed-on: https://gerrit.libreoffice.org/19839 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-07Misc tweaks and cleanups.Ashod Nakashian
Streamlined a couple of hotspots and some minor cleanups. Change-Id: I85a9423e03f7e20ce78736a44d668da859a443cd Reviewed-on: https://gerrit.libreoffice.org/19720 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-06tdf#92648 fix DOCX import regression (textbox shrinking in footers)László Németh
caused by the fix for tdf#91260 Change-Id: I4a5a27b51c4cb1304647b5432c06ca9c5a96590d
2015-11-06sc lok annotations: paint range and anchor overlayMiklos Vajna
Change-Id: I16e51e074704026a45471e7a08c3b96846d44053
2015-11-06tdf#94624 calculation of power operator fixedOliver Specht
cell values are added in parentheses to make sure negative values are handled correctly Change-Id: I7366493e3cd6c25607e311d4b610ef8aa704a8bb Reviewed-on: https://gerrit.libreoffice.org/19821 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-06sw lok annotations: disable the scrollbar for nowMiklos Vajna
Change-Id: I7493eaab55c23c79ca0878c34a97dfb4af857260
2015-11-06sw lok annotations: paint all child windowMiklos Vajna
And use map modes to get the painting to the correct position instead of manually adjusting each and every Paint() method. Change-Id: I66798321b8bbf2c7968d6ac1edebb1f8df60bce8
2015-11-06loplugin:stringconstant: elide explicit ctor usage (manually due to macros)Stephan Bergmann
Change-Id: Iaac8da990acdcd03858fa9187416400f0e310972
2015-11-06com::sun::star->css in sw/source/coreNoel Grandin
Change-Id: I30016977f1be8fb53dd239367d043de92a9467d9
2015-11-06coverity#1338232 Explicit null dereferencedCaolán McNamara
Change-Id: I4be589325b89eac129328f98f9db7ce8c741892d
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I55970d363ab53eb78d580192006e52d9240d46fb
2015-11-06sw: prefix members of SwXMailMergeMiklos Vajna
Change-Id: If8ad3b57bd2b5af83cbf44737db24e44af92d6b7
2015-11-06sw: prefix members of SwStdFontTabPageMiklos Vajna
Change-Id: Ia0de4c400937305baab7fef0e414777f0cd906e9
2015-11-06sw: prefix members of SwHTMLTableLayoutMiklos Vajna
Change-Id: I8a0563551f1ee71e9ab9359c7b75ff5855b436b5
2015-11-06sw: prefix members of SwTextFormatInfoMiklos Vajna
Change-Id: I116b4c6b8eed53ad19263fdc3a11ee67756fe472
2015-11-06com::sun::star->css in sw/qa/Noel Grandin
Change-Id: I4a0282291c7737a981dbff0722228824904f07e4 Reviewed-on: https://gerrit.libreoffice.org/19804 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06com::sun::star->css in sw/incNoel Grandin
Change-Id: I6ffdb1deaa32156c65f997a1a1056928b7cd863d Reviewed-on: https://gerrit.libreoffice.org/19803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06tdf#91781 Add Form related commands to insert and tools menusYousuf Philips
Change-Id: I56a51bf1b9edd8a032167c3b648b69236a3d8e74 Reviewed-on: https://gerrit.libreoffice.org/19765 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-11-05tdf#76995: updated cached value on Evaluate() of db name fieldOliver Specht
Conversion of fields to text while creating mail merge documents returns a cached value. This needs to be set before also for db name fields. Change-Id: I5796adc82e11005ea045fb220b81201db5ff0b28 Reviewed-on: https://gerrit.libreoffice.org/19806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-05sw tiled rendering: initial annotation supportMiklos Vajna
Change-Id: I4fcb05f8a58965341cf44a1b7e2367b5cbff981d
2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
2015-11-05fix tdf#95488, crash in report wizardNoel Grandin
This reverts commit bb76b8f10697f3d5ca1f9a2f19902b043bd61cd7 "loplugin:mergeclasses" Change-Id: Ib65459ab45cd4cefa859ed75f9ddc4f070879b1d
2015-11-05sw: prefix members of SwHTMLParserMiklos Vajna
Change-Id: I3d4b39a79c49f847c6814215593d86e8d992b38a
2015-11-05use uno::Reference::set method instead of assignmenNoel Grandin
Change-Id: I76671a74150791e1a74ece3d5bcf40fd6c727ac7
2015-11-05sw: prefix members of SwHTMLWriterMiklos Vajna
Change-Id: I571b3cc8c6120ccddc79659e8e58b536c79f2430
2015-11-05sw: prefix members of SwMailMergeConfigItem_ImplMiklos Vajna
Change-Id: Ia46ee03a73fde0d0fe82ebbba6f7b63c9629f99b