summaryrefslogtreecommitdiffstats
path: root/sw
Commit message (Collapse)AuthorAgeFilesLines
* Resolves: #i123922# Refactored D&D and insert picture from file...Armin Le Grand2014-02-0710-65/+332
| | | | | | | | | | | | | | | | | | | | | | | | | in all apps for all object types to work the same (cherry picked from commit 080a23dfb836bac49d9496fa1460b9dda9138f65) Conflicts: sc/source/ui/drawfunc/fuins1.cxx sc/source/ui/inc/drawview.hxx sc/source/ui/inc/viewfunc.hxx sc/source/ui/view/drawview.cxx sc/source/ui/view/viewfun3.cxx sc/source/ui/view/viewfun7.cxx sd/source/ui/func/fuinsert.cxx sd/source/ui/view/sdview4.cxx sw/source/core/frmedt/fecopy.cxx sw/source/ui/dochdl/swdtflvr.cxx sw/source/ui/inc/view.hxx sw/source/ui/inc/wrtsh.hxx sw/source/ui/shells/drawsh.cxx sw/source/ui/uiview/view2.cxx sw/source/ui/wrtsh/wrtsh1.cxx Change-Id: I7f77d8c0812278ad434fe1c503a03d9747ea0b00
* coverity#1158077 Unchecked dynamic_castCaolán McNamara2014-02-071-0/+2
| | | | Change-Id: I4aae47d34dc3ab25cdd20816d411d5e09375b49d
* coverity#1158075 Dereference after null checkCaolán McNamara2014-02-071-2/+2
| | | | Change-Id: I0143ec3dd07d4a56f9ce71ab877593c0b23a05c3
* coverity#1158167 Missing break in switchCaolán McNamara2014-02-071-0/+1
| | | | Change-Id: I33f19229ebaa96aa7dffb3348dbe382fb813561f
* coverity#1158074 Unchecked dynamic_castCaolán McNamara2014-02-071-1/+1
| | | | Change-Id: I29e9a98a862b2d6b5263606111c7be75e2160261
* coverity#1158062 Unchecked dynamic_castCaolán McNamara2014-02-071-1/+1
| | | | Change-Id: Ife7eae1cbf17c4fae4b147be2b93c1b02bdcab1e
* coverity#1158059 Unchecked dynamic_castCaolán McNamara2014-02-071-1/+1
| | | | Change-Id: Ia7b3ed28c1120d542c1d1dbe4fd05b2663b688d1
* 4 related coverity issues, unused pointer valueNoel Grandin2014-02-071-4/+4
| | | | | | | coverity#708881, coverity#708882, coverity#708883, coverity#708884 Change-Id: I8ddcb2f7b2b70dc92b8d0d5f66bf944edc57157e
* 6 related coverity issues, unused pointer valueNoel Grandin2014-02-071-6/+6
| | | | | | | coverity#708890,coverity#708886,coverity#708888, coverity#708887,coverity#708885,coverity#708889 Change-Id: I4aeedea2d73614f4af935c58776605f49824374d
* coverity#984422 unused pointer valueNoel Grandin2014-02-071-4/+3
| | | | Change-Id: I2200462b2a963820e2ca66094ded653f5597abff
* fdo#72563 : PAGEREF field tag not preserved during RoundtripTushar Bende2014-02-074-3/+63
| | | | | | | | | | | | | There was a problem that in case of TOC,PAGEREF field tag was not preserved inside <hyperlink> during Roundtrip. Reason found, there was no code support to handle PAGEREF in export. Added code support in export code to handle PAGEREF. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/7605 Change-Id: I1785360684d8772b71c3f45fdd2c654f94777067
* fix debug=2 buildCaolán McNamara2014-02-071-13/+0
| | | | Change-Id: I9b5b2efc3b8fc3164264775b608348baa72d31b1
* fdo#74474: sw: fix Label wizard document creation harderMichael Stahl2014-02-072-3/+2
| | | | | | | | | The function ReplacePoint() was changed to return a value but not all call sites were adapted. (regression from 263153842741d7ce21cc0bf1c5296a55a1138024) Change-Id: I33efd9ce61611e025dfc76047187826aa0f8dd84
* fdo#74474: sw: fix Label wizard document creationMichael Stahl2014-02-071-3/+4
| | | | | | | | Infinite loop in InsertLabEnvText() due to wrong handling of starting '<'. (regression from fa469b2e00d83459faebe4c1fcb3ea1aac5fb20d) Change-Id: I1d7ab1b276756bddd87890bb39d3e817330bc6dd
* typo fixes in commentsAndras Timar2014-02-061-1/+1
| | | | Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
* Typo: formating -> formattingJulien Nabet2014-02-0615-20/+20
| | | | Change-Id: If4aba89909a3ef049a756182c37d8a5d6812ae70
* sw: hardwired NS_sprm::LN_CCvMiklos Vajna2014-02-063-4/+4
| | | | Change-Id: Ibbffd00b146369be75c462f9eea243e3582f14e6
* fix debug=2Caolán McNamara2014-02-061-2/+2
| | | | Change-Id: I6e334b200c801c7c2e5d5970302e3a1a7c2894a3
* Typo: atribute(s) -> attribute(s)Julien Nabet2014-02-062-2/+2
| | | | Change-Id: I5434402e372c4567b2c3f96f5c175618ba3e5cfb
* DOCX export: write wp14:sizeRelH and wp14:sizeRelV for Writer TextFramesMiklos Vajna2014-02-066-19/+52
| | | | Change-Id: I16ee2682b6fa8c7b194e442d6dbe1437e7743c60
* DOCX export: register wp14 namespaceMiklos Vajna2014-02-061-0/+1
| | | | Change-Id: I4ce857bd2e48372da4ed7252a2849ad37c73b6b9
* DOC export: fix nested commentsMiklos Vajna2014-02-065-19/+46
| | | | | | | | | | | | | | For one, replace m_nLastRangeStartPos with a map, so that we can keep track of the start positions when multiple comments are open at the same time. For another, sort PlcfAtnBkl and PlcfAtnBkf by position as Word requires it; with non-nested comments such explicit sorting wasn't necessary. This also required building two maps, so that we can know what PlcfAtnBkl index to reference in PlcfandRef, and what PlcfAtnBkf index to reference in PlcfAtnBkl after sorting. Change-Id: I2d7096b0c68a6b327efc4b5593ac96cdd297b3bd
* coverity#1130477 Uninitialized pointer fieldCaolán McNamara2014-02-061-5/+6
| | | | Change-Id: I9f79064a90fda56194c70f545219310db7e4aed5
* CppunitTest_sw_ooxmlexport: fix testcase that didn't fail without the fixMiklos Vajna2014-02-061-4/+2
| | | | Change-Id: I87308b38bb44864db3531366ab354567847b1340
* Fix for Footer is missing if fisrt page different header/footer is setRohit Deshmukh2014-02-063-1/+8
| | | | | | | Reviewed on: https://gerrit.libreoffice.org/7589 Change-Id: I2a2f2abc0dcf5542b7b950f9a232d7155a055fdd
* SwDoc::ConvertFieldsToText(): don't insert empty stringsMichael Stahl2014-02-061-1/+2
| | | | | | Prevents an assert on accessing sText[0] in InsertString(). Change-Id: I1828694a4c1e46f8b48cf3571ec2bf4dd615bf2c
* coverity#704878 Dereference after null checkCaolán McNamara2014-02-061-1/+1
| | | | Change-Id: Idb9ab6347c1195c3c0d797274427dd887a5abe9e
* coverity#704879 Dereference after null checkCaolán McNamara2014-02-061-2/+2
| | | | Change-Id: Id71bc28be456c4883aacd29b560e9ff7d566ff84
* coverity#704880 Dereference after null checkCaolán McNamara2014-02-061-0/+1
| | | | Change-Id: Id4541f939731875a14e076779da475f274a76bd7
* coverity#704882 Dereference after null checkCaolán McNamara2014-02-061-1/+1
| | | | Change-Id: I262c4d2efab8d3bfbb5edbe4208555cb446caf5c
* coverity#704883 Dereference after null checkCaolán McNamara2014-02-061-1/+1
| | | | Change-Id: Ib5abe9a16fa4879d769f5ee229bc1b02f32fd62e
* coverity#704892 Dereference after null checkCaolán McNamara2014-02-061-1/+1
| | | | Change-Id: If79129131df575c3ea42d50402d49b24744d5331
* coverity#983495 Copy into fixed size bufferCaolán McNamara2014-02-061-8/+7
| | | | Change-Id: If8ebdedb1d073b5e83b639cf69508c69c7f25c69
* Introduce com.sun.star.util.thePathSettings singleton.Matúš Kukan2014-02-062-4/+4
| | | | | | | | | | | | To replace single-instance com.sun.star.util.PathSettings service, incorrectly converted in 89b0017b22889af6a8afe28b94c06e7095dc8c6f Keeping util::PathSettings::create in sc/source/ui/vba/vbaapplication.cxx because for some reason util::thePathSettings::get does not work in sc_macros_test while testing sc/qa/extras/testdocuments/Ranges.xls. Change-Id: I75b68ae56ac5b58f72416070dba100ab3ab70fe8
* Resolves: fdo#74499 crash on writing .docxCaolán McNamara2014-02-061-5/+8
| | | | Change-Id: If2d46e26ec6ffead1e283479c516131a2b66f50d
* fdo#68071 NPC characters now use a fixed color.Tomaž Vajngerl2014-02-066-13/+73
| | | | | | | The color for non-printing characters (enable with CTRL+F10) has now been changed to a fixed color. Change-Id: I93dfc69fa4be1c1f1373f25434c8f4afa71355d3
* coverity#707765 Uninitialized scalar fieldNorbert Thiebaud2014-02-051-16/+1
| | | | Change-Id: I35194385cc2f5d02a93ade0e8ab40fb77eba7e6e
* Translate German commentsPhilipp Weissenbacher2014-02-053-95/+85
| | | | | | | | | | Remove some left over German comments with their translation underneath. Also, correct some Denglish and typos. Change-Id: I3c321dd1030695ca4443447a852e81dec9383aed Reviewed-on: https://gerrit.libreoffice.org/7885 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* GetSearchDialog() returns SvxSearchDialog; and use it in more places too.Matúš Kukan2014-02-055-37/+11
|
* MSG_SEARCH_FOO unusedMatúš Kukan2014-02-051-2/+0
| | | | Change-Id: I61ed39e3fc6ba1a6fe024693683f32a6a7ca88f1
* fdo#74132: Do not interrupt search in Writer.Matúš Kukan2014-02-055-50/+20
| | | | | | | | | Instead of "Do you want to continue at the beginning?" dialog, just inform that we were at the end of the document in new label. Also replace 'Search key not found' dialog with label. Change-Id: I6a140cbad93406b73996f87a6d05fcc5d245fdbf
* sw: Ctor feature for sw.sidebar.SwPanelFactoryMatúš Kukan2014-02-054-116/+38
| | | | Change-Id: I6854bdf96f050b7f333803d068fe681df92ed3e6
* fdo#35105: notify role change through a new UNO a11y eventJacobo Aragunde Pérez2014-02-051-1/+10
| | | | | | | | | | | | | | A new UNO accessibility event called ROLE_CHANGED has been created. It should be triggered when an accessible object changes its role and every accessibility toolkit should use its own methods to make that change effective. Code to support the event in ATK has been added. Change-Id: I132e303bdb148967231334458c3cfa369c36ec8f Reviewed-on: https://gerrit.libreoffice.org/7853 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Adapt JunitTest_sw_complex to 2bb87dd6596f8e961f5618d8e7686fa12c64e2cfStephan Bergmann2014-02-051-1/+1
| | | | | | "fdo#39944: Add DOCUMENT_* accessibility UNO roles" Change-Id: I8b68ef756d054ee4e53941927108253d62e82672
* drawingML import: paragraph adjustment inside group shapeZolnai Tamás2014-02-052-0/+20
| | | | Change-Id: I875cb1f12c9f81d329d7fe9cd3aa32a4cd818573
* drawingML import: capitalization inside group shapeZolnai Tamás2014-02-052-0/+15
| | | | | | | | There are two types of capitalization in DOCX: -uppercase: <w:caps> -smallcaps: <w:smallCaps> Change-Id: I6a5d238bed68aa3fd3478a77cf1942f009480eb6
* ooxml: preserve gradient shape fillJacobo Aragunde Pérez2014-02-052-0/+39
| | | | | | | | | | | | | | | | | | | LibreOffice is unable to properly import the custom gradient fills defined in ooxml documents. To prevent data loss, we save the original gradient fill definition in the shape interopgrabbag and we write it back to the document on export. In case the user has changed the fill properties of a shape, the original fill will be discarded in favor of the new fill. We have added a new ooxmlexport unit test to test this feature. We have also added some missing transformations to the methods getColorTransformationName and getColorTransformationToken in Color class, and refactored some code in class DrawingML to the method WriteColor( OUString, Sequence ). Change-Id: Ie71f89eaa20313561aa9180ea33b76f3fb5e5df6
* convert specialised SvStream::operator>> methods to ReadXXX methodsNoel Grandin2014-02-041-1/+1
| | | | | | | | | | as preparation for converting the SvStream::operator>> methods on primitive types Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9 Reviewed-on: https://gerrit.libreoffice.org/7798 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* fdo#74489 replace '\n' to ' ' in fields (e.g. multiline headings)Andras Timar2014-02-041-1/+1
| | | | Change-Id: I1ce125e459dfcf22adef85efac344ceb320812a2
* Mirek suggests "relative to" instead of "relative from" for consistencyMiklos Vajna2014-02-041-2/+2
| | | | Change-Id: I6a27941806b05201e142efb768df79347b7e6f8c