summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)AuthorFilesLines
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin25-48/+48
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-07fdo#84938: convert VCL_INPUT_ #defines to 'enum class'Noel Grandin5-11/+11
Change-Id: I155e45f58974a2b946c4a7703b350bcbfbad342e
2015-01-07Factor out XFillBitmapItem::dumpAsXml() from swMiklos Vajna1-3/+4
Change-Id: Ice3a44635a1f4ac2c2852c2e73adae4920412d3a
2015-01-07fdo#83354: Chart is truncated - moved down outside the margins of the objectZolnai Tamás1-1/+7
Handle the case when the content height is unitialized (0). When content height is 0 it means there is no content (so we don't need to calculate adjustment) or the content height is uninitialized which leads to wrong calculated value. Regression from: cb19042f4395c97d123a27c6960d5e30d666c010 Change-Id: I45570a71f0597847820ce77e8dcec4a5b0c6785d
2015-01-06LOK: add LibreOfficeKitCallbackType enumerationMiklos Vajna1-1/+1
Change-Id: I0147b1985f87f25e70f4d8672beba18fdd9ba6c2
2015-01-06sw: notify LOK clients about invalidationsMiklos Vajna7-0/+62
So that when the document changes, they can know what tiles to throw away. Change-Id: I1f00585e7691a40af8fe5de71ac1a4225bc4e67f
2015-01-07android: set single page mode in writer when init for tiled renderTomaž Vajngerl2-0/+12
Change-Id: Id01b373fe7ec6620ca036b1ee7bc5debf64a92b4
2015-01-07android: take document borders into account for document sizeTomaž Vajngerl1-1/+4
Change-Id: I62b0afd635b439653850a3d830de032006505bac
2015-01-06OSL_ENSURE->assert when followed by unconditional derefCaolán McNamara1-4/+2
Change-Id: If2130dbbb7b4afd3d88553da449163f60cdc0c1e
2015-01-06typoStephan Bergmann1-1/+1
Change-Id: Icad2b01388d46aa2802f1abd9e61d4ce854cca3e
2015-01-06Use SVLIBRARY instead of gb_Library_get_runtime_filenameStephan Bergmann3-4/+2
Change-Id: I0d21d9685cdc801f7d6975a752999788c1f132e4
2015-01-06fdo#84938: convert EXPORT_ #defines to 'enum class'Noel Grandin7-38/+38
Change-Id: I2ed239fa073b5fa8fb56c1af9d4b0bac89acfacf
2015-01-06fdo#84938: convert XML_EXPORT_FLAG_ to 'enum class'Noel Grandin4-27/+21
Change-Id: I43d778e0eee19a56ea37898ec1c4309d3407775e
2015-01-06fdo#84938: convert IMPORT_ constants to 'enum class'Noel Grandin5-20/+20
Change-Id: Idaa8f07c62b3ba93c27ca5fe286720254baac10d
2015-01-06fdo#84938: replace BUTTONTYPE_ constants with 'enum class'Noel Grandin1-1/+1
Change-Id: I54f9019297913683605b5aea9f79b3defc1dcc13
2015-01-06Factor out XFillColorItem::dumpAsXml() from swMiklos Vajna1-3/+4
Change-Id: Idc4c3e00c748fa94f233f2fc5e7c7e9de3a31a22
2015-01-06Update email addressMiklos Vajna1-1/+1
Change-Id: Ie6a137d2aa9b2f27d8d2f04e7744e39d21e3c146
2015-01-05Factor out XFillStyleItem::dumpAsXml() from swMiklos Vajna1-25/+3
Change-Id: I04aed56c1e32f98f8920530e3ba313765baa1bba
2015-01-05asan: cast is totally wrong hereCaolán McNamara1-2/+3
Change-Id: I7341813b706faad60888e374fa50542abeb6842d
2015-01-05valgrind: uninitialized readCaolán McNamara1-0/+1
on loading id:000386,src:000000,op:havoc,rep:128.jpg as text Change-Id: I98364ffbcc4ea788613cc8071c4d8774ba167033
2015-01-05fdo#67870 WW8 filter: import zoom typeJustin Luth2-2/+9
Change-Id: If919880b51bdb30d9afdb168dae8f84dbfe18524
2015-01-05Some loplugin:revisibility clean-upStephan Bergmann4-31/+31
Stumbled across such redundant visibility re-specifications when looking at the odd case of cppu_unsatisfied_iquery_msg declared CPPU_DLLPUBLIC in cppu/source/cppu/cppu_opt.cxx and used in inline code in include/com/sun/star/uno/Reference.hxx with only a declaration lacking CPPU_DLLPUBLIC visible, and wondering how that actually works on Windows. However, this plugin is probably not worth it being run all the time, so committing it to compilerplugins/clang/store/. Change-Id: Ibc3c4e7499213de1b419ce7eb85455cb832e1510
2015-01-05fdo#81475 Improvements to writer web standard toolbarYousuf Philips1-8/+8
Change-Id: I97ef822e41d231984e251c550f5643067d4a09f1 Reviewed-on: https://gerrit.libreoffice.org/13737 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-05fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'Noel Grandin9-23/+24
Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
2015-01-05Improve String in Options-Writer-TableOlivier Hallot1-52/+3
Change "Default" to "New Table Defaults" Change-Id: Icbc254e5c7529e3b07995fcdd04c3dfb0eb32ea6 Reviewed-on: https://gerrit.libreoffice.org/13598 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-05Resolves: fdo#87003 Kill BOOST_FOREACH on masterNathan Yee16-72/+55
use C++11s range-based for() loops instead Conflicts: sd/source/filter/eppt/pptx-epptooxml.cxx Change-Id: I0868eb345932c05b7e40b087035da252b99bf0b9 Reviewed-on: https://gerrit.libreoffice.org/13714 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-04cppcheck: Possible inefficient checking for <var> emptinessJulien Nabet2-2/+2
Change-Id: I6ca0e477a4429e762c48c721951b9876db3a5c6c
2015-02-03Typo: consequetive->consecutiveJulien Nabet1-6/+6
Change-Id: I2c4c856a1f208c253493b852108743c643c2ea6d
2015-01-04fdo#79738: Test case for patch that fixes 79738Charu Tyagi1-0/+11
Reviewed on: https://gerrit.libreoffice.org/13541 Change-Id: I40ba14503ad9f5458d8326741a4fe7a13653b05a
2015-01-04fdo#79738: test document for patch that that fixes 79738Charu Tyagi1-0/+0
Reviewed on: https://gerrit.libreoffice.org/13542 Change-Id: I8d6289b814a063ba8037d07a7600a44fa77f860d
2015-01-04changes sidebar: Make the "Action" narrower when we use bitmaps now.Jan Holesovsky1-7/+0
Change-Id: I6ccf65308b7339768e9e0cc3c0b43fefc926f7e8
2015-01-04changes sidebar: Use images instead of texts for types of changes in Writer.Jan Holesovsky4-7/+65
This is a Writer-only change because: 1) Calc does not have the changes sidebar yet. 2) The redlines in Calc have more complex descriptions (like 'Deleted column'), so postponing that for now until I have a good list of the possible values there so that I can ask for the icons. Change-Id: I2d9860261d0b690012c3c11cdd97a140f48842bf
2015-01-03sw: fix gcc-4.8 buildMiklos Vajna1-1/+1
Change-Id: I93ec8bed19cf283ce6c9cd6718376798d8ea8de0
2015-01-03boost::unordered_map->std::unordered_mapCaolán McNamara29-72/+71
Change-Id: I2c65709cda6f10810452dfb8aa1a247cb3a5564f
2015-01-03Writer::GetBookmarks can return boolMatteo Casalin2-3/+3
Change-Id: I4210fd4bc086c5cfdfe7dc01cd9387993b4916ca
2015-01-03sal_uInt16 to more proper typesMatteo Casalin2-4/+4
Change-Id: I0e226787206e0429149fccc99677529d52d7825a
2015-01-03sal_uInt16 to more proper types, use while instead of for in simple casesMatteo Casalin1-12/+10
Change-Id: I5f3cc2771ccde44e1ea45b1ff3e7f8a3fedfb94a
2015-01-03Avoid unnecessary downcastMatteo Casalin1-1/+1
Change-Id: Ib2de94071ce0f80932fe31e40f7e3d434c0a274f
2015-01-03fdo#72486 SwWrtShell::SelAll: if in table, then call extended select all ...Miklos Vajna3-9/+35
... only in case the whole table is already selected Change-Id: If7626954460e16945af6b21402a84e90c71ae138
2015-01-02Fix simple typos.Andrea Gelmini2-2/+2
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-02Remove unnecessary comphelper::string::getTokenStephan Bergmann2-2/+2
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
2015-01-02CppunitTest_sw_ww8export: use SAL_NEWLINE_STRINGMiklos Vajna1-1/+1
This makes CppunitTest_sw_ww8export pass on Windows again. Change-Id: I16fed4eabbe7b9ccdcc0c71361b85b0e13f2245a
2014-12-31Add DocxSdrExport::writeBoxItemLine()Miklos Vajna3-29/+28
On one hand, this reduces code duplication. OTOH, the DocxAttributeOutput::FlyFrameGraphic() version was a stub, so this improves DOCX export of image frames as well. Change-Id: I7cd5e5feb8f1e63d074f82263c3d71088c0be30f
2014-12-31Remove extra spacesJulien Nabet1-1/+1
Change-Id: I2b351530c5eba062449e02621cfca6ba34bf9c58
2014-12-30-Werror,-Wconstant-conversionStephan Bergmann2-2/+2
"implicit conversion from 'long' to 'sal_uInt16' (aka 'unsigned short') changes value from 9223372036854775807 to 65535," and at least the call to getHandle for the long nHand argument of SwFltControlStack::SetAttr in SwWW8ImplReader::Read_AtnBook makes it look like it better return long? Change-Id: I594ac3ee60a72c0eb2e13f802371ff1e8ade7676
2014-12-30i#93570 DOC import: handle commented text ranges via RES_FLTR_ANNOTATIONMARKMiklos Vajna7-156/+29
And add a minimal reproducer that shows how the old way was broken. Change-Id: Ic2dadf9905d603b0fd0573651b235ecd5dd70e71
2014-12-30i#93570 DOC import: tokenize PlcfAtnBkf and PlcfAtnBklMiklos Vajna2-4/+176
So that later SwWW8ImplReader can read these structures in a way similar to bookmarks. Change-Id: I8e5bc804832b944336701ac12fe6cb50e17c6b94
2014-12-30i#93570 sw: add RES_FLTR_ANNOTATIONMARKMiklos Vajna3-3/+14
As commit b1cd83c625a2afeb9da43cc9745d79c01963c797 (fix crash loading ooo#93570-3.doc, 2014-07-04) notes, the way how we map WW8 CP indexes to sw character positions is working only in the very simple cases. However, to do that properly, we need a way to store the start position of an annotation mark before we create it, so add a RES_FLTR_ANNOTATIONMARK that can do so. Change-Id: I7cb3564621803fef9a76edaac48773cab7649ee8
2014-12-29MSWordExportBase: Value stored to 'bPostponeWritingText' is never readMiklos Vajna1-2/+0
Change-Id: I8289d728dd60f2fd127c01956990a01250d4e773
2014-12-28Factor out SwFmtCol::dumpAsXml() from docnodeMiklos Vajna3-7/+39
Change-Id: Ic41b981c989aec658e95889b72bd76ecacb13a9a