summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2015-04-15move unocrsr to unocoreBjoern Michaelsen
Change-Id: I1a3185e89e68b4d85221b8296fe9ffad8b18de5f Reviewed-on: https://gerrit.libreoffice.org/15335 Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-04-15DBTOOLS_DLL_NAME not used anymoreMatúš Kukan
Change-Id: Ieb9a373e4d59bfe72a7709bd7822617f9877054a
2015-04-15DOCX import: convert MathType to Math if MathTypeToMath is enabledMiklos Vajna
With this, math equations created by Word <= 2003 and embedded to docx files can be edited finally. Previously the result was read-only and opened in an unexpected new window. Change-Id: I4f9dd1cca4a149959f6151cf9af9242b53190ef5
2015-04-15sw: DrawFillAttributes: move check for empty rPaintRegionMichael Stahl
Tweak c2c22d26db03949771d5a0bb4f8abf6d2dc850ea a bit: if the paint region is empty, nothing should be painted. Change-Id: If88b8153f701b1f21cfd2300f0af532f5c718cdf
2015-04-15convert TXTFORMAT constants to scoped enumNoel Grandin
and move them to the SW module since that is the only place they are used Change-Id: Ic037e5ac9d2514377669c5f583b856e1da429a19 Reviewed-on: https://gerrit.libreoffice.org/15303 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15convert SFX_ITEM constants to scoped enumNoel Grandin
Change-Id: Ief8c30c356ba947727c5ab70092042816a0db99e Reviewed-on: https://gerrit.libreoffice.org/15302 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15convert SFX_VIEW constants to scoped enumNoel Grandin
Change-Id: I327dc1ec722fa9445f13fc5168ad646e272ba9d4 Reviewed-on: https://gerrit.libreoffice.org/15300 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15fix crash on re-export of fdo39974-1.odt to odtCaolán McNamara
Change-Id: Ib4246987a3665f655ad44339ade0350b074c3266
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-15Uncaught exception at HTML export of embedded objectsLászló Németh
Using SkipImages FilterOptions with HTML export, LibreOffice tries to export the content of the embedded objects, too, but it seems, we get only exceptions for a simple test document, too. Change-Id: I756ca79b183c0ee2f2be712df799a97612f9475b
2015-04-15tdf#90594: MM: Fix for broken translation between Bookmarks and row indizesChristoph Lutz
The datasets used in the unomailmerge service can be selected via a property "Selection". This property expects a sequence of sdbc::Bookmark elements that need to be translated into row-inizes. This translation was broken - the loop-pointer pTranslated was never incremented which caused a wrong "result" selection in which only the first element was changed. Change-Id: I319131caa89e327b11406ab7d0c56a833385d433 Reviewed-on: https://gerrit.libreoffice.org/15289 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-04-15-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I27afea85c339cf2239ed118cf6cedaece032dfae
2015-04-14Remove checks for HTMLMODE_SOME_STYLESHarri Pitkänen
HTMLMODE_SOME_STYLES is enabled if we are in HTML mode (it is enabled for all HTML modes). These checks for conditionally disabling some table background controls are not needed anymore. Change-Id: I10fb73a67ac4bba250da4cea79ff6bae427a1613 Reviewed-on: https://gerrit.libreoffice.org/15264 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-14tdf#89478: svx: ODF import: SvxBrushItem Graphics should override ColorMichael Stahl
The bugdoc has: <style:page-layout-properties fo:background-color="#007f7f" > <style:background-image xlink:href="Pictures/2000003900002FA3000055F455EC9F63.svm"/> </style:page-layout-properties> In this case it's clearly better to prefer the Graphics. The old code could actually store both in the model but the UI only allows setting either Color or Graphic, so this should be good enough. (regression from 7d9bb549d498d6beed2c4050c402d09643febdfa) Change-Id: Id33231ad90815d9791f90289fb0b55455d334c14
2015-04-14tdf#88337 tdf#89193: sw: add missing SwXPageStyle propertiesMichael Stahl
Add the fill style properties so background images etc. are not lost. (regression from 7d9bb549d498d6beed2c4050c402d09643febdfa) Change-Id: I517350eec2f32e4b4bb80427666aad23a31d666a
2015-04-14tdf#88337: add test documentRegina Henschel
Change-Id: I7e5f28f6cc8010ac233d58cfa6a2158e3f7be90b
2015-04-14solve assert on restoring redline mode on exporting of abi9915-1.odt to docCaolán McNamara
see also on export of ooo103014-1.odt to doc and many more easiest thing is to move the restoration of the redline mode upwards for all filters to the central SwWriter::Write after all pams have been destroyed. Change-Id: Ieb747ad2ed465d3fd3de81db0ef820073bc3ab55
2015-04-14tdf#88710 Kill svx dbtoolsclientMatthew Nicholls
Removes dynamic loading logic described in tdf#84315, similar thing removed in swdbtoolsclient. Change-Id: I8762102a7263e6933354c2ff6f9978929b760f6e Reviewed-on: https://gerrit.libreoffice.org/15147 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-04-14fix crash on export of novell606043-1.odt to docCaolán McNamara
Change-Id: I91478cf0a9b128f96dab5be67d018af46d75bd4f
2015-04-14fix MAXTABLECELLS related crash on export of ooo106020-1.odt to docCaolán McNamara
word has a limit of MAXTABLECELLS cells in a row, we were clipping the rowspan container to that max, but not the cell container Change-Id: I5274dc7febd47e6c8c8e5337f638972b65239922
2015-04-14SwRTFWriter::OutRTFBorder is gone, so no merging needed anymoreCaolán McNamara
Change-Id: Ie60c09d7b7c626a0a7624e4c833d72eb5d0d5965
2015-04-14have a nonsymetric test table to better catch transpose errorsBjoern Michaelsen
Change-Id: If36ec5ed78a3e0b7a9037eaa1903772f1d228bce
2015-04-14Related: tdf#90130 gradient transparency goes missingCaolán McNamara
Change-Id: I0af8eb24dab7bb9f5831bec68f9a22ba88c2be19
2015-04-14DocxAttributeOutput::m_postponedVMLDrawing: use std::unique_ptr<>Miklos Vajna
Change-Id: I2534601941c6bf838855a378c540771335daf5f9
2015-04-13Resolves: tdf#90130 don't clobber new solid-color on seeing old transparencyCaolán McNamara
Change-Id: I1ea86dca37cbce416564c5e198779dd132125b02
2015-04-13add some label testsBjoern Michaelsen
Change-Id: I4272be68041a269dce3bbd9de2bc7997cbcf9ab8
2015-04-13add set/getData testsBjoern Michaelsen
Change-Id: I846ac849461d986d331b0366c36af46558fe9a14
2015-04-13move check_table/fill_table from inner f. to priv. member fnct.Bjoern Michaelsen
Change-Id: I7670f8164d8a44414277f285e3aa19de1764a86e
2015-04-13use getCells()Bjoern Michaelsen
Change-Id: Ib3e115b7b96d0536db6917e84cfac7816176b296
2015-04-13use getCells()Bjoern Michaelsen
Change-Id: I11ac9c87ac1d17b2ebc847e268d935c23f129ce1
2015-04-13use getCells() hereBjoern Michaelsen
Change-Id: Iff3997af302a6ddbfd21fb25cd7f0b94a9a107fe
2015-04-13SwxTextTable::setData can reuse XCellRangeBjoern Michaelsen
Change-Id: Icf477e355feee338c063aee3c76ed7c5fee63591
2015-04-13allow CONVERT_TWIPS be only used when settingBjoern Michaelsen
Change-Id: I7021e975a75ca49ea6efbfcbaea3aeb94d693fac
2015-04-13simplifyBjoern Michaelsen
Change-Id: I18670621a218f77b7996c3b7418fde4c4a230059
2015-04-13simplify exceptionBjoern Michaelsen
Change-Id: I98e9ee171bf2b207696be7db90ff3e3ce83b06ed
2015-04-13use copy_n to simplifyBjoern Michaelsen
Change-Id: Ia5b8b01ecabbf8c7afe4e75c7245e734c23545ce
2015-04-13use some more nullptrBjoern Michaelsen
Change-Id: I7a4214e63cf2fbf34cf5235d1e8b1c50431ecdb1
2015-04-13simplifyBjoern Michaelsen
Change-Id: I1de47afface7d221f7df43ae4e0bfa7d1cb4f4ce
2015-04-13simplifyBjoern Michaelsen
Change-Id: Icd65860188686b153e3c5b367f305155d9762ff9
2015-04-13usw std::swapBjoern Michaelsen
Change-Id: I4305e644e65d82d775e3d36b4fa3ad9ca6bc82ae
2015-04-13refactorBjoern Michaelsen
Change-Id: I97f5e21e94fbe551744f935ccd28683c7f11ea4d
2015-04-13simplifyBjoern Michaelsen
Change-Id: I1effcb591bb60f3b77f7d0875353896f6ffbf984
2015-04-13simplifyBjoern Michaelsen
Change-Id: I1b1f9d544e00e7900232ff9416a99fc0c5faa4e5
2015-04-13simplifyBjoern Michaelsen
Change-Id: Ib77efe1ee17afdbf058af4f1d360ef2dee658278
2015-04-13format changesSiqi Liu
2015-04-13LOK_STATE_CHANGED callback implemented with sfx events interception.Siqi Liu
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-13convert SHOWEXTRAS constants to scoped enumNoel Grandin
Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
2015-04-13convert HIDDENINFORMATION_ constants into scoped enumNoel Grandin
Change-Id: I94136c926fc8fa69ce2ce2b97fa34dc984dbe095
2015-04-13convert SFX_LOADED_ to scoped enumNoel Grandin
Change-Id: I065a07e1bb5f5a7f85429c919830b6b9605206ea