summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-22sal_Bool to boolMatteo Casalin
Change-Id: I5831dfb7270ce3983a454c6c40558a74931d5200 Reviewed-on: https://gerrit.libreoffice.org/3537 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-21Extract QueryBox rotation string and InsertGraphic cleanup.Tomaž Vajngerl
Change-Id: I46bb4b2436407cc2cb084f502ff8fb5ff7754400
2013-04-21Menu "Manage Graphic" and Rotate 90 degree menu items added to Writer.Tomaž Vajngerl
Change-Id: Ic5ced4a743c6d5465462a7d88e63150741d1f920
2013-04-21Add rotation for PNG and GIF to GraphicNativeRotation.Tomaž Vajngerl
Rotation for PNG and GIF format perform by exporting and importing of the Graphic. This is a "fallback" way to perform graphic rotation and the easiest to do for lossless raster formats. Change-Id: I31efad9106b5cfbd1d7c6c5063726c455d05f934
2013-04-21Regster rotate left, right menu items.Tomaž Vajngerl
Change-Id: I64340da256a9ee66b13870854ccdccacaaf4f0d2
2013-04-21Detect image rotation when inserting images and perform lossless rotation.Tomaž Vajngerl
If Exif in an Jpeg image indicates that the image is rotated, ask the user if rotate the image to standard orientation. If yes, perform lossless rotation of the image. Change-Id: I164da2b06b7fd114f4d2a5a352719c47497daeae
2013-04-21fdo#39468 Comment translation GER-ENG in sw/source/ui/shells/ (Part 1)Matthias Freund
basesh.cxx line 112 translated with a hint of David Tardon. (Thank you!) Change-Id: I98af528c011a7d63b07b3aa71271d6816c11f7ab Reviewed-on: https://gerrit.libreoffice.org/3512 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20gbuild: PythonTest: automatic GDB backtrace on failuresMichael Stahl
This requires changing the interface a bit to pass the directory containing the test modules separately, because strangely the "unittest" thingy cannot load the test modules by their absolute path when changing the current working dir to where the core dump should happen. So put the directory onto the PYTHONPATH to work around that; arguably it's even nicer for clients this way. Change-Id: I0d1d39f33d0c086c6c3014d2f9ba93f0a3dc0128
2013-04-20disable PythonTest on WNT for nowMichael Stahl
There is a problem that needs fixing first, in order to be able to load the test.dll the OUTDIR/bin needs to be on PATH but starting the dev-install's python.exe with that then results in 2 instances of tklo.dll loaded, which fails horribly. Hopefully this will get easier once more stuff (python and libraries) is moved to INSTDIR. Change-Id: Ib615baac48e5e863b0b49a2de6c2985100ce3ae7
2013-04-20fdo#62699 Remove pass-through headersMichael Dunphy
Change-Id: I84a88238f6cdc485530ffb76f9444179a22abb92 Reviewed-on: https://gerrit.libreoffice.org/3491 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20Remove pass-through header file sot/inc/sot/clsids.hxxMichael Dunphy
Change-Id: I122669d4ffaf72fb1d5f6fccc98e8a648f31aa23 Reviewed-on: https://gerrit.libreoffice.org/3490 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20WaE: variables set but not usedTor Lillqvist
Can bypass even more lines for OS X, Android and iOS. Change-Id: I6949ffa0cd21281ba169a813999da4b52e88691e
2013-04-19While at it, disable "smooth scroll" for Android and iOS, tooTor Lillqvist
The display updating happens in such a roundabout fashion that attempting smooth scrolling here can't have any useful effect. Change-Id: Iac085ea2ed6bad7a644e889f40fef1e329a041c9
2013-04-19Bin three useless variables and simplifyTor Lillqvist
Change-Id: I9e015028ad7a3e0bbac4368a636fad52f0823383
2013-04-19fdo#63685 wp:inline's distT/B/L/R is in EMU's, not twipsMiklos Vajna
Regression from 3d7e168a2a43c2414b0633379102ddb29437e75b. Change-Id: I9ab3f9f41316a01d5a74f3e500bad7a83c8d2dca
2013-04-19just added a big red noticeEike Rathke
Change-Id: I095a824c18a4ea61663e2706daa6616d60aaeb34
2013-04-19fdo#60641, localise stringsÁdám Csaba Király
Uses resource from numberingtypelistbox.src, to localise "Native Numbering" and the Cyrillic and Greek strings. Change-Id: I3dfafc90686bea9ddee67262044afa2619b882f8 Reviewed-on: https://gerrit.libreoffice.org/3441 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-04-19Remove pass-through header svtools/inc/svtools/txtcmp.hxxMichael Dunphy
Change-Id: I605ae778e57a12588dca274a4ee34a018004034e Remove pass-through header sfx2/inc/sfx2/imgdef.hxx Change-Id: I9a5ebabefccdd63b55d64aec26488542d0d362e3 Remove pass-through header xmloff/inc/xmloff/xmlcnitm.hxx Change-Id: If880679499daee2f77d1f6e148dba963d09bbb9c Reviewed-on: https://gerrit.libreoffice.org/3477 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19sw: missing prefix for global pBreakItMiklos Vajna
Change-Id: I7fa8e697537ce8eb915da00920bf6882603b115a
2013-04-19Java cleanup, remove the rest of the unnecessary castsNoel Grandin
Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa Reviewed-on: https://gerrit.libreoffice.org/3432 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19run PythonTests with internal python tooMichael Stahl
... and use PYTHON_FOR_BUILD in the system python case. Change-Id: If3c3305ab4f613642bea9b775e4c7a602f5a476c TODO: needs testing on more platforms Reviewed-on: https://gerrit.libreoffice.org/3471 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19sw: move Python tests out of qa/unoapiMichael Stahl
Change-Id: I4f9655b1df27bec2a7571d43921f962d3a420bb5
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18fdo#63023 incorrect RTF background color in headerMiklos Vajna
Change-Id: I33f5c8a856206860ac9cdb23dd6b5222cb785bf7
2013-04-18testcase for 35b75ed510f49ff64cd86b38e228c2b5b9a9f3fcMiklos Vajna
Change-Id: Ib734717cdc293b3921c94f93b1d6d0d5e07120d5
2013-04-18SwDrawTextInfo: confusing p prefix for non-pointersMiklos Vajna
Change-Id: Id5b055081f8bed3399326aa0e1c6372edf4da29f
2013-04-17fix stupid over-optimizationLuboš Luňák
There's so little to be gained by storing pointers to simple or refcounted types instead of using an instance. At least SwTxtNode::GetMinMaxSize() and SwTxtNode::GetScalingOfSelectedText() pass string temporaries to SwDrawTextInfo, so keeping a pointer is clearly broken, and MSVC manages to optimize the code enough to crash because of this. As all the pointers point to const references and are accesses using const references as well, there shouldn't be any harm in making a copy. This fixes smoketest crash on Windows. Change-Id: I7d7cb42e175a2e64fe9c84c98c0d0204a0c25c13
2013-04-17Update pchAurimas Fišeras
Change-Id: Ice80350184f7a514d5beab0a5e1da5b98d5733e4 Reviewed-on: https://gerrit.libreoffice.org/3427 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-17Reintroduce unlockPositionOfObjects().Jan Holesovsky
This unlocking code was accidentally removed in commit 120922361a5928ea4437ffe253ce209abd7060b0. Not sure if it is still necessary, but I am at the moment unable to prove it is not, so better to be safe :-) Change-Id: I20a7cf3299de75182f890efb0d192e54c1b2543d
2013-04-16Convert SwDrawTextInfo.pText from XubString to OUStringNoel Grandin
Change-Id: Ie567feb315a018a1f5bd794a4d12435865e67ec4 Reviewed-on: https://gerrit.libreoffice.org/3417 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-16Bin pointless comments describing allegedly why each #include is neededTor Lillqvist
Change-Id: I3f4405a598cb11fb1c529517eb96260beed9cb86
2013-04-16Add missing #include <rtl/tencinfo.h>Tor Lillqvist
Change-Id: I4d9a28b50f773857f8f6af7df4a0968f8bb1de4a
2013-04-16fdo#40102 show full footnote text in index tooltipLászló Németh
Change-Id: I35acdaf4f62df7a1d375aed663c270e78ea70779
2013-04-16fdo#61193 fix crash on RTF paste of footnoteMiklos Vajna
Regression from 232ad2f2588beff50cb5c1f3b689c581ba317583. Change-Id: Ia0873851979df5bba0a4693f044aab2aeff2b8e4
2013-04-15No vbahelper library if DISABLE_SCRIPTINGTor Lillqvist
Change-Id: Ie5ea03493659eb467e61a6985016e3f43f450136
2013-04-15sw: remove unused classes in RTF exportMiklos Vajna
- RTFProtect was never used by the RTF export filter, unused since the old RTF import is gone - RTFVertOrient and RTFHoriOrient is obsoleted by the new-style posrelh and posrelv textframe properties Change-Id: I0a7d306870900b9ff86d5a173b540db04aed012d
2013-04-15sw: add textframe gradient RTF roundtrip testcaseMiklos Vajna
Change-Id: I8e4f6b926123c79ad1a62ddd4c5feebf5fe06cf0
2013-04-15initial RTF export of Writer textframe gradientsMiklos Vajna
Change-Id: Ida9774a41964dbeb8840e79425811993a28588af
2013-04-15sw: RTF export of TextFrame border/shadow testcaseMiklos Vajna
Change-Id: I85b85afb6d1b170d71633f93d56f7ce4fffdf0a3
2013-04-15RtfAttributeOutput::FormatBackground: export fillColorMiklos Vajna
Change-Id: I9d187fc5b52a27ff5b8bc847a52fe95c63558a40
2013-04-15RtfAttributeOutput: export fShadow, shadowColor, shadowOffset*Miklos Vajna
Change-Id: Ia6d27eadb41d66de558c290bc07b6d1c491f5f1c
2013-04-15RtfAttributeOutput::FormatBox: export line{Color,Width} shape propertiesMiklos Vajna
Change-Id: Id1fd8b4c7ebcc8ffd3b6914596385eb3eda922c6
2013-04-15Silence false warningStephan Bergmann
Change-Id: Ie854ab8b8b7ea4d98ee33d6802ea3a1e65ef2769
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15Resolves: #i119567# wmf in PICT assure correct scaling...Oliver-Rainer Wittmann
in case that the size is substituted. Found by: Yan Ji <yanji.yj at gmail dot com> Patch by: zjchen <zjchencdl at gmail dot com> Review by: Oliver <orw at apache dot org> (cherry picked from commit 69ea079e09f64ac037686f874617efc63d0449f5) Change-Id: I1eb4b0be184fcefca26eee5f98ba6135a32574c2
2013-04-14Resolve: #i119581# fix import issue for various .doc macro button importsLei De Bin
fix import issue for 'checkin' 'checkout' 'showsample' macro button in writer Reported by: Lou Qingle Patch by: Lei De Bin Review by: Li Jian Yuan(cherry picked from commit 7a3114b8e6960153900759a81a6edf1f74b3981c) Change-Id: Iec6c2945a587c0451b8a404eb449c53237eeb7dc