summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2015-01-04cppcheck: Possible inefficient checking for <var> emptinessJulien Nabet
Change-Id: I6ca0e477a4429e762c48c721951b9876db3a5c6c
2015-02-03Typo: consequetive->consecutiveJulien Nabet
Change-Id: I2c4c856a1f208c253493b852108743c643c2ea6d
2015-01-04fdo#79738: Test case for patch that fixes 79738Charu Tyagi
Reviewed on: https://gerrit.libreoffice.org/13541 Change-Id: I40ba14503ad9f5458d8326741a4fe7a13653b05a
2015-01-04fdo#79738: test document for patch that that fixes 79738Charu Tyagi
Reviewed on: https://gerrit.libreoffice.org/13542 Change-Id: I8d6289b814a063ba8037d07a7600a44fa77f860d
2015-01-04changes sidebar: Make the "Action" narrower when we use bitmaps now.Jan Holesovsky
Change-Id: I6ccf65308b7339768e9e0cc3c0b43fefc926f7e8
2015-01-04changes sidebar: Use images instead of texts for types of changes in Writer.Jan Holesovsky
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 Vajna
Change-Id: I93ec8bed19cf283ce6c9cd6718376798d8ea8de0
2015-01-03boost::unordered_map->std::unordered_mapCaolán McNamara
Change-Id: I2c65709cda6f10810452dfb8aa1a247cb3a5564f
2015-01-03Writer::GetBookmarks can return boolMatteo Casalin
Change-Id: I4210fd4bc086c5cfdfe7dc01cd9387993b4916ca
2015-01-03sal_uInt16 to more proper typesMatteo Casalin
Change-Id: I0e226787206e0429149fccc99677529d52d7825a
2015-01-03sal_uInt16 to more proper types, use while instead of for in simple casesMatteo Casalin
Change-Id: I5f3cc2771ccde44e1ea45b1ff3e7f8a3fedfb94a
2015-01-03Avoid unnecessary downcastMatteo Casalin
Change-Id: Ib2de94071ce0f80932fe31e40f7e3d434c0a274f
2015-01-03fdo#72486 SwWrtShell::SelAll: if in table, then call extended select all ...Miklos Vajna
... only in case the whole table is already selected Change-Id: If7626954460e16945af6b21402a84e90c71ae138
2015-01-02Fix simple typos.Andrea Gelmini
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 Bergmann
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
2015-01-02CppunitTest_sw_ww8export: use SAL_NEWLINE_STRINGMiklos Vajna
This makes CppunitTest_sw_ww8export pass on Windows again. Change-Id: I16fed4eabbe7b9ccdcc0c71361b85b0e13f2245a
2014-12-31Add DocxSdrExport::writeBoxItemLine()Miklos Vajna
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 Nabet
Change-Id: I2b351530c5eba062449e02621cfca6ba34bf9c58
2014-12-30-Werror,-Wconstant-conversionStephan Bergmann
"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 Vajna
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 Vajna
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 Vajna
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 Vajna
Change-Id: I8289d728dd60f2fd127c01956990a01250d4e773
2014-12-28Factor out SwFmtCol::dumpAsXml() from docnodeMiklos Vajna
Change-Id: Ic41b981c989aec658e95889b72bd76ecacb13a9a
2014-12-28Factor out SwFmtWrapInfluenceOnObjPos::dumpAsXml() from docnodeMiklos Vajna
Change-Id: I8c52801178c5cf80398a19ebe40d336c69db8065
2014-12-28Factor out SwFmtFollowTextFlow::dumpAsXml() from coreMiklos Vajna
Change-Id: Iafd2db5d878857c517e79f84b8c9c6a806ccfe4b
2014-12-28CppunitTest_sw_odfexport: validate export result, except a fewMiklos Vajna
Change-Id: Ie555a72519b251cea3bd98cdfbd6d93295dea079
2014-12-28fdo#83565 addition of wrap left and wrap right to context menuYousuf Philips
Change-Id: I8eb75b736a559c56960864bd0255b96982b9858a Reviewed-on: https://gerrit.libreoffice.org/13677 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2014-12-27fdo#84714 ODT export: write <loext:table> inside <draw:custom-shape>Miklos Vajna
Change-Id: I543ec24f8825bcc7c35acc106402f4fc6b4b5d79
2014-12-27fdo#84714 ODT import: read <loext:table> inside <draw:custom-shape>Miklos Vajna
A later version of ODF will hopefully allow <table:table> here as well, but read <loext:table> in the meantime. Change-Id: I42a461e0a6e9eff9387379acbab9660a155ecefe
2014-12-26fdo#81475 rearrangement of writer's frame toolbarYousuf Philips
Change-Id: I0c6b7469aba62a8d427ffebfdcc9f6212fb3fd3f Reviewed-on: https://gerrit.libreoffice.org/13663 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2014-12-26fdo#87185 rearrange image context menu and add icons to a few entriesYousuf Philips
Change-Id: I7d28aea1059ec87cbc72ccea40dc000f51e6560b Reviewed-on: https://gerrit.libreoffice.org/13662 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2014-12-26Cleanup zoomsliderctrl & viewlayoutctrlTomaž Vajngerl
Change-Id: Ie5f135e8457ed75146328a388f3b70273bf54ed2
2014-12-26HiDPI: ViewLayout statusbar - scale icons by both dimensionsTomaž Vajngerl
Change-Id: Ibd8417e0f3daf17d94b5c13e4efcab20568e2153
2014-12-25sal_uInt16 to size_tMatteo Casalin
Change-Id: Ide8913930f9f951039cefecf71609c5a2bcc5e82
2014-12-25Optimize consecutive token accesses in OUStringsMatteo Casalin
Change-Id: I988d80665bc61d1a0a96614790735d83bd9e5dde
2014-12-25sal_uInt16 to size_tMatteo Casalin
Change-Id: I66239d89049f1386e5725e540c4dcc2b09c3ebf0
2014-12-25sal_uInt16 to size_tMatteo Casalin
Change-Id: I5b63396fba55b717f35aee5718dd348a9d795786
2014-12-25SwNoTxtFrm::nWeight is never readMatteo Casalin
Change-Id: I18cc8f4fb5e2fa2b62c360c787a4d827dab7955c
2014-12-24fdo#82041 restore heading 3 and 4 color to automaticV Stuart Foote
Change-Id: I81de0e67b388507a29e3cb70a05f08775a380bad Reviewed-on: https://gerrit.libreoffice.org/13642 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2014-12-23coverity#1260296 Unchecked dynamic_castCaolán McNamara
Change-Id: Ib19609c3f4c83ae8baef83bcdadee79e69743df5
2014-12-23fdo#81475 addition of 'Add Caption' button to table toolbarYousuf Philips
Change-Id: I32ea84e4b068158199af5472e576070593ec93ec Reviewed-on: https://gerrit.libreoffice.org/13621 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2014-12-23WaE: overriding destructor declaration not explicitly marked 'virtual'Tor Lillqvist
Change-Id: Ic0789fa212add6c2c0d46b55762de97146a8b94a
2014-12-23remove duplicated codeBjoern Michaelsen
Change-Id: Id306d1dc75ef9d5ec5ec2e48be318e0632ea2377
2014-12-23c-style cast to const_castBjoern Michaelsen
Change-Id: Ie5d8483305f4ef2d76c291fcb8c707a69ba9cf52
2014-12-23inline stream operator and remove objectBjoern Michaelsen
Change-Id: I9df9a56eca662c6adf0a2cf4ef25a917da8dc609
2014-12-23inline AssignBjoern Michaelsen
Change-Id: Ibeb8d7b8e83d432a502707f83a8fde7900596aec
2014-12-23inline operator=Bjoern Michaelsen
Change-Id: I2a74b9821072025cdf374d5e157411136e08ebec
2014-12-23remove Remove()Bjoern Michaelsen
Change-Id: Ic1854d5e8cd76825290a3af94d8884e93dd7f0da
2014-12-23Make SwNodeIndex constructors inlineBjoern Michaelsen
Change-Id: Ib29bcd5e2028c4e644621af4294c193f5b0aa14e