summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-15fdo#46808, More LinguProperties funNoel Grandin
Change-Id: Ia3173e980370f532fcabc8f1c7a913e5d66d6d8a
2013-05-14Detect and rotate image at drag&drop or copy&paste in Writer.Tomaž Vajngerl
Change-Id: Iaacbb78921f966703d4f1080f97d26ea4895281f
2013-05-14don't accumulate dirs in error stringDavid Tardon
Change-Id: Ied7437026009f07052dd07d41ba08c82bb6db295
2013-05-14bin dynamic alloc. nonsenseDavid Tardon
Change-Id: Iaed4e27a92937ddbdb0cde783c0e3be611eec7ca
2013-05-14fdo#39468 Comment translation GER-ENG in sw/source/ui/shells/ (Part 4)Matthias Freund
The last files of this directory. :-) Change-Id: I94cc2d50c85acd7434f12766094d3edd0cf9d71d Reviewed-on: https://gerrit.libreoffice.org/3890 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-14fdo#39468 Comment translation GER-ENG in sw/source/ui/utlui/Matthias Freund
Some of the files I had missed. Change-Id: Ie150e8812b674a9fdd0cb904489dfb561bdcf7a2 Reviewed-on: https://gerrit.libreoffice.org/3891 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-14fdo#39468 Comment translation GER-ENG in sw/source/ui/ribbar/Matthias Freund
cleanups and translations - and a forgotten file. Change-Id: I048ff445fa04b12cb86ae580370bfe444041d41f Reviewed-on: https://gerrit.libreoffice.org/3893 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-14coverity#1019413: Unitialized scalar variableNorbert Thiebaud
Change-Id: Ia0a2a1a137176f2f2176b2c16cd7a747d9bc9b52 Reviewed-on: https://gerrit.libreoffice.org/3895 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-14SolarMutex does not belong into the URE interfaceStephan Bergmann
...so move it from osl/mutex.hxx to its own comphelper/solarmutex.hxx. It looks like a newbie mistake that 59e7685d8d812ee8773f57475cbe3aa2a0bdfc81 "Create an abstract interface to be used to implement a SolarMutex" put it here in the first place. I do not consider this an incompatible change really, as no external URE client code should have used SolarMutex anyway. (Also included some clean up, like removing unused {Clearable,Resettable}SolarGuard, and spelling out SolarGuard in the few places it is used.) Change-Id: I121ffb5b7cefbc19e88b5405e5a85ffc895be852
2013-05-14initialized with plain 0, instead of sal_False/falseTakeshi Abe
Change-Id: I2df1bd52293c4423de5ac4c41f9392be1e8d2ccf
2013-05-14Out of bounds substring accessMiklos Vajna
Change-Id: I96e2845a17db78345adfb7c3e9e0dea5dbbb0a6b
2013-05-14testcase for becb244b4974609b0570e8db27d74e7e1179181cMiklos Vajna
Change-Id: I37df8d6d5cbc9b37fa03681e8dc32a4926cd42a9
2013-05-13Resolves: #i120106# implement a SwPosFlyFrms which avoids memory leaksArmin Le Grand
Use boost::shared_ptr and stl tools to implement a SwPosFlyFrms which can be used and handed over by value and cleans up it's content to avoid memory leaks. Found by: Chao Huang Patch by: Chao Huang, alg Review by: Chao Huang, alg (cherry picked from commit c26f80aa1ba65b63e313dce9c6d7e40ab8efede6) Conflicts: sw/inc/doc.hxx sw/inc/flypos.hxx sw/source/core/doc/doclay.cxx sw/source/core/layout/flypos.cxx sw/source/core/unocore/unoobj2.cxx sw/source/filter/html/htmlfly.cxx sw/source/filter/ww8/writerhelper.cxx Change-Id: If610457654b1056d799d4336cd249815f7878a96 Fix build breaker from i120106 Patch by: Chao Huang Suggested by: alg (cherry picked from commit 880aadbeba4e31049d5b7f0a34323553fb6249fb) Conflicts: sw/source/filter/ww8/writerhelper.cxx Change-Id: I516fcb6ee69944c54cc9eb76c069eb8b28749050
2013-05-13WaE: unused parameter 'nCurrentLeft'Tor Lillqvist
Change-Id: I9aa9b0215d9d2c8db7b88fbb1e0d30bcc4889a36
2013-05-13fdo#39468 Comment translation GER-ENG in sw/source/ui/shells/ (Part 3)Matthias Freund
Translations and cleanups. Change-Id: I538afbd8c8981506dafd5b4cf897585f6926d7c7 Reviewed-on: https://gerrit.libreoffice.org/3875 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-05-13fdo#64531 : Tab-stops exported to DOCX added too much indentationAdam Co
Change-Id: I12747006c8aac663f9529b495914f4a08301c66f Reviewed-on: https://gerrit.libreoffice.org/3884 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-13remove unnecessary intermediate window from frame previewCaolán McNamara
Change-Id: I5b9ce26b52ca2b10b87cfcfbf83ff1a0fc4c7659
2013-05-13enable preview of business cardsCaolán McNamara
Change-Id: I841f7599d8808bd747fb4fb6a1837dc7c2059231
2013-05-13what is wrong with me todayCaolán McNamara
Change-Id: I340a6350e1e6236a9ff5584b50de9be395f1a025
2013-05-13Resolves: fdo#64287 missing insert index/table previewCaolán McNamara
Change-Id: I90aab9339362565dd49b72dd057717f7bbf3d874
2013-05-13remove non-functional show preview checkboxCaolán McNamara
in 9453d3d484c5410be81bae8ff89b492d7cf92052 I made the preview always on, but for some reason didn't remove the now non-functional button Change-Id: I9af3889a3753c919a897d37a96fe37974d83a272
2013-05-13bnc#816593 WW8 import testcaseMiklos Vajna
This always worked, but I almost broke it with 8fe8bd6c3b5b1a539b7370f8c457fa69c061d2de. Change-Id: I6b7817830da23afea758d1eb90395aeb01e32f67
2013-05-13bnc#816603 testcaseMiklos Vajna
Make sure that at least full-page-width multi-page floating tables are imported on multiple pages. Change-Id: Ifb974d50c50b1495634ac2652a3ae46235bb5f52
2013-05-13Related: fdo#61594 SwWW8ImplReader::StartApo: don't always start a frameMiklos Vajna
Word supports floating tables, Writer does not. We can map floating tables to fly frames, containing just a table, but then those can't span over multiple pages. We could avoid creating frames in case the table is of multiple pages, but that's hard to determine. One easy case is when the table width is >= the text area with, in that case we can be sure that no wrapping would be performed anyway, so we can avoid putting the table to a frame. Two more related problems: 1) When we need to decide if a frame should be created or not, we typically don't know yet the table width. That's why TestApo() has to always succeed (in case the paragraphs are wrapped), and then we always enter StartApo(), where we can avoid creating the frame, if necessary. 2) Even if we decide that we don't create a frame, floating and non-floating table rows are different, so a separate table should be created for such rows. By doing all the StartApo() / StopApo(), we are safe here. Change-Id: Ifc0e0e2f7320c3784698d0ff278031b46864e2e5
2013-05-13SwWW8ImplReader::ParseTabPos: make this non-staticMiklos Vajna
I'll need to access the non-static maSectionManager in this method soon. Change-Id: Ia056ec9c812020c4ac0f4a0f1460a0c9506b12fa
2013-05-13sw: move WW8TabBandDesc to ww8par.hxxMiklos Vajna
I'll need this struct in ww8par6.cxx soon. Change-Id: I4cf546ff585c89c076e4fdad93dbbb9b8ea72eca
2013-05-13Fixes fdo#64237 by modifying the underlyning stringArnaud Versini
Change-Id: I7d387e40464b53a55524bf950b8d413cf8468376 Reviewed-on: https://gerrit.libreoffice.org/3870 Tested-by: Miklos Vajna <vmiklos@suse.cz> Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
2013-05-13fdo#46808, Convert util::PathSettings service to new styleNoel Grandin
Change-Id: I302be46b46518e1e872771e1c8a0647f7c330b30
2013-05-13WaE: declaration shadows a local variableTor Lillqvist
As far as I can see, the outer variable with the same name already has the same value anyway, so it can be used. Change-Id: Ia041aa1161015d441e99db6e1d4decea6c6fac99
2013-05-13Support IMR_QUERYCHARPOSITION in Writer and Calc.Yohei Yukawa
IMR_QUERYCHARPOSITION is one of optional but fundamental request message sent from IMEs to application. This message is used for retrieving the positional information for each character in a composition text especially when the composition text is drawn by the application. This information is critical for IMEs to align suggestion window with the composition text. Change-Id: I53a344a78688060004cc8bcbbf1127f22a468e20 Reviewed-on: https://gerrit.libreoffice.org/3849 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-05-12Fix indentationMatteo Casalin
Change-Id: I56f4352ca1703950a2eb37eda1dbe0c1ab5a0b1c
2013-05-12Return early in case of NULL pointerMatteo Casalin
Change-Id: I1c31608b960f750ef777d214ac482c4f52b44aff
2013-05-11Resolves: #i120016# refine condition for allowing split of a table rowOliver-Rainer Wittmann
Found by: Yan Ji, Jian Hong Cheng Patch by: Oliver-Rainer Wittmann Review by: Jian Hong Cheng (cherry picked from commit 472d5610c71b7a74e6d279d8f625cec8b41b8e81) Conflicts: sw/source/core/layout/tabfrm.cxx Change-Id: I718a0c70c12ed34c4ca3a2826f388b17a84c63e7
2013-05-11Resolves: #i119954# fix nest tables to text conversion crashOliver-Rainer Wittmann
- assure that conversion of nested tables are performed correctly. Found by: Yang Ji <yanji.yj at gmail dot com> Patch by: kang jian <jane73_kang at hotmail dot com> Review by: Oliver <orw at apache dot org> (cherry picked from commit 48538700cdafaa4becfe74a1d3d93179aed9d764) Change-Id: Iaefbf6f75d526ef8c0c4302d8b39096becc183e8
2013-05-11fdo#34423 Add Rotate Left/Right to toolbar and menubar.Tomaž Vajngerl
Additionally added Tango and Galaxy icon and some renaming to be more general (not just specific to Graphic). Change-Id: I5886246e25457ca5412be8743dcb001b02ebd65b
2013-05-11testcase for 133f4d750a46dc67797d2f23f25a1bb39620d59fMiklos Vajna
Change-Id: Ibdb06d50ca79b2882ad7bd984e30beb09e7c7b95
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-05-09WW8FlyPara::Read: replace hardwired numbers with constantsMiklos Vajna
Change-Id: I298499d09ac44e0fdbbd62fc0bd07a25f1b33aa3
2013-05-09fdo#63154: Remove _CL and _LF from solar.hMarcos Paulo de Souza
And use RTL_CHAR_{CR,LF} from rtl/string.h Conflicts: vcl/source/app/dbggui.cxx Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a Reviewed-on: https://gerrit.libreoffice.org/3740 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-05-09Update pchAurimas Fišeras
Change-Id: I7c0c9158eb17cb79ffceae6770b4c513d57b3817 Reviewed-on: https://gerrit.libreoffice.org/3831 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-05-08Resolves: #119945# improve setting of OrdNums for "nesting" of objectsOliver-Rainer Wittmann
- instead of adjusting the OrdNum of the "nested" object the OrdNum of the "parent" is adjusted. Found by: Yan Ji <yanji.yj at gmail dot com> Patch by: yuanlin <yuanlin.ibm at gmail dot com> Review by: Oliver <orw at apache dot org> (cherry picked from commit 73f462e2162847262093c3984dc6c98919e1b3cd) Conflicts: sw/source/core/layout/flylay.cxx Change-Id: I0541dc3775f81efd60a6f4baa172c5297ee9d829
2013-05-08svx: remove Package_sdiMichael Stahl
Change-Id: I0c648ca1b1f3cc22244d660e032bacbdbe0f642e
2013-05-08sfx2: remove Package_sdiMichael Stahl
There are just a handful of sdi files in sfx2 anyway so just put sfx2/sdi on include path. Change-Id: Ia9be889a63ba9a2f330b505613ae38158a4b7bdf
2013-05-08sw: convert some usage of Point::X/Y to Point::set/getX/YMiklos Vajna
As I understand it, Point::X/Y() basically provide direct access to the position, so they come without the usual benefits of getter/setter methods. Change-Id: I6d5bfd4f20ab8c7377419dcf5aac2c4ea0e9db05
2013-05-08test case for WPS Office CVE-2012-4886/EDB-25140Caolán McNamara
Change-Id: Ia4d6a4a2b6277fee6f59fa9407f9cf868ad0f1ce
2013-05-07coverity#704453: new[] vs delete mismatchMarkus Mohrhard
2013-05-07oox: remove Package_generated and Package_tokensMichael Stahl
Change-Id: Iab5eb4fbfecea905f4eeb9f1b1f503c1908dadc8
2013-05-07writerfilter: remove Package_sprmidsMichael Stahl
Change-Id: I3791f7f513246faaeb76f9209c08008c78a38619
2013-05-07officecfg: remove Package_cppheaderMichael Stahl
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65