summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)Author
2013-02-06fix logic to get L/R directionnavin patidar
Change-Id: I481f9ea57f8c5b71eb849df3f71c75f8b9b0f1fa Reviewed-on: https://gerrit.libreoffice.org/1972 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-06remove obsolete hidother.src filesAndras Timar
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-02fix fdo#59892 completely and fdo#33302 partially.navin patidar
fix fdo#33302 for rtl scripts in cal,impress and draw. Change-Id: I83b1e077faf0f2578308e03b7598557f60e7cfd8 Reviewed-on: https://gerrit.libreoffice.org/1961 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-01-30remove useless macrosLuboš Luňák
created by incorrect replacements in the previous commit Change-Id: I15a56ecd201ce202fe933c7d24908923bedc6708
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-28fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString. Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
2013-01-28SwXTextFrame: use XFillGradientItem instead of extending SvxBrushItemMiklos Vajna
Change-Id: I8863cbe1d01fceac0f4b4152264c1464c90e02b8
2013-01-28SwXTextFrame: use XFillStyleItem instead of extending SvxBrushItemMiklos Vajna
Change-Id: I03b841ed703503425c9f1a2045d6399c8899815f
2013-01-26gbuild: remove various pointless calls that don't add anythingMichael Stahl
Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-25text::BaseFrameProperties: add FillStyle and FillGradient optional propertiesMiklos Vajna
Change-Id: I854cc5e4da2ce87ef4a7af6e9c0cf6f208714e4c
2013-01-25SvxBrushItem: extend this with a vcl Gradient and drawing::FillStyleMiklos Vajna
So Writer fly frames can have gradient info as well. Change-Id: If59ae9092fedabbe112f034e13fbe801815ebaaf
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-14split confused ImplInitDigitMode method into seperate functionsCaolán McNamara
a) ImplCalcDigitLang that determines the digit language b) ImplInitDigitMode that just sets the outputdevice according to that lang c) and convertDigits that physically converts the digits in a string from one language to another then change the body of convertDigits to use GetLocalizedChar from vcl rather than its outdated copy of the method, which teachs editeng all the digit modes that were added since the method was originally copy and pasted. Change-Id: I2ef7d5d3396c106d4f8fd90142c9d9cf99064bee
2013-01-13callcatcher: update and remove newly unused codeCaolán McNamara
Change-Id: Iff3ce7c3a44010b3bc81fc0d2156216ee13948dc
2013-01-08Explicitly initialize SfxItemPoolUser in copy constructor.Kohei Yoshida
To keep MacOSX-Intel tinderbox happy. Change-Id: I8dbc8330fd688fc1c1ed005d1603ff52f8b7a16d
2013-01-08Remove unnecessary virtual keywords.Kohei Yoshida
Change-Id: I1227a4e04bc962da96b77947a706293f9a2a3850
2013-01-08BinObject is no more. Change the method names to reflect that.Kohei Yoshida
Change-Id: I723a7da307379c6f2e8256fe41023b4b96739f12
2013-01-08Turn EditTextObjectImpl into a real impl class.Kohei Yoshida
Change-Id: I0f0bba62da60a3397b733253dbc0891c69bd5b9c
2013-01-08Let's not have "which" value in EditTextObject.Kohei Yoshida
In fact, this value is always EE_FORMAT_BIN, and that's not going to change. Change-Id: I9324bf878b5766ef7a27461ba2bdf17742396f3d
2013-01-08Rename BinTextObject to EditTextObjectImpl.Kohei Yoshida
Change-Id: Ie1e046624e671e87c7b3cf322572a7ed3f98726a
2013-01-08More SfxItemPoolUser up to the base class.Kohei Yoshida
Change-Id: I44819d66273e22db9f82d095061e3df627b64dae
2013-01-08Remove one variant of HasField() which takes arcane TypeId.Kohei Yoshida
Change-Id: Ic8236b291ed5f318f67378bbc57b7cf027cbb92a
2013-01-08Add new ods import test for rich-text cell contents.Kohei Yoshida
Change-Id: I23eb8d53b8a2c48514900a5ab07ed7ec71d3ef99
2013-01-07allow menu items to be referred to by a nameCaolán McNamara
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-06fdo#58671: Remove accelerators from Undo action textsKorrawit Pruegsanusak
These three texts appear in Undo dropdown list, so they don't need accelerators Change-Id: Icec8e199c7cc3990b6316937e49aacb7eb1015fb Reviewed-on: https://gerrit.libreoffice.org/1473 Reviewed-by: Ivan Timofeev <timofeev.i.s@gmail.com> Tested-by: Ivan Timofeev <timofeev.i.s@gmail.com>
2013-01-04Make LO buildable again after the GraphicFilter move.Jan Holesovsky
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-04Spellcheck menu: Rename 'Add' to 'Add to Dictionary'Samuel Mehrbrodt
Change-Id: I601bf1fc34f3e4cccef02d1d4a5ecd1959007cf7 Reviewed-on: https://gerrit.libreoffice.org/1539 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-01remove use of #pragma optimizeLuboš Luňák
All these are years old, guessing from some comments as old as Windows 9x support. These workarounds do not seem to be needed now. Change-Id: If67baa5cdefcec33b28696c764b1ed96143b7ccd
2012-12-28Simplify thisJulien Nabet
Change-Id: If1a8a2441398ea9f20d6ec45e649967673c7a6af
2012-12-27convert icu to gbuild and add to tail_buildPeter Foley
Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6 Reviewed-on: https://gerrit.libreoffice.org/1488 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-25build fix for editeng OUString cleanupPeter Foley
Change-Id: I82fdca86631d5b364224d151d85da5baef1a54a8
2012-12-25OUString cleanup in editeng/acessibilityOlivier Hallot
Change-Id: I253444e2859685cae88aa65fae755af2674bd4b4 Reviewed-on: https://gerrit.libreoffice.org/1471 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-12-25OUString cleanup in editeng/acessibilityOlivier Hallot
Change-Id: I5f8b73aab1e67a5ac071427574fa943a844fbf96 Reviewed-on: https://gerrit.libreoffice.org/1469 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-12-25OUString cleanups in editeng/accessibilityOlivier Hallot
Change-Id: Ie280c48cabec4ef9e0c623f8966a65027b975fe4 Reviewed-on: https://gerrit.libreoffice.org/1468 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-12-22Some cppcheck cleaning in editengJulien Nabet
Change-Id: I94bf89867cec9cc24f8b96635c515d9477b561a9
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-17drop useless checkDavid Tardon
Change-Id: I3da8370930bafa6e1744291391c71871d203bb00
2012-12-16PCH for Library_scLuboš Luňák
2012-12-13fdo#58060 use acor_und.dat and LANGUAGE_UNDETERMINEDEike Rathke
Previous versions used an empty language tag for LANGUAGE_DONTKNOW with the "[All]" autocorrection entry and read/wrote from/to arco_.dat file. An empty language tag otherwise is used for system locale and doesn't convert flawlessly with the new LanguageTag system. Instead use LANGUAGE_UNDETERMINED with the ISO 639 code 'und' so the file name is "acor_und.dat". During user profile migration an existing 3/user/autocorr/acor_.dat is copied to the new 4/user/autocorr/acor_und.dat Change-Id: I593f24829c6efd58f36e93ebd3385a3c925f7217
2012-12-12fdo#58060 - use empty-string for LANGUAGE_DONTKNOW ie. acorr_.datMichael Meeks
Change-Id: I399dcc41484c8b86f13c80bc1e92af919c9aeaff
2012-12-12Related: fdo#55570 presumably we can attempt the insert...Caolán McNamara
and rely that it won't replace the original on pre-existing key and use the usual .second == true flag rather than lookup and then insert on non-pre-existing key Change-Id: Idba65bfb2efaa5812b965a8811ff425f0b0939d8
2012-12-11'using namespace rtl;' in a header is baaaadLuboš Luňák
2012-12-11cppcheck: size() == 0 -> empty()Caolán McNamara
Change-Id: I23b6b8fdbb9c4f367a590a21e40e7bbaa76f7fce
2012-12-10fdo#55570 - use a hash instead of set initially until sorting neededMichael Meeks
This rather substantially accelerates the first use of autocorrection. Interestingly, it also appears to accelerate the sorting of the items; potentially inserting sorted items into a set is a pathological balancing case, that is avoided by the hash algorithm's randomness.
2012-12-10fdo#55570 - re-factor SvxAutocorrWordList to hide it's innardsMichael Meeks
2012-12-10callcatcher: remove unused rtf filter and associated methodsCaolán McNamara
update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
2012-12-06mvoe rtl_(u)string_alloc to salLuboš Luňák
No point in hidding something useful like this in some helper lib. Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140