summaryrefslogtreecommitdiff
path: root/editeng/source
AgeCommit message (Collapse)AuthorFilesLines
2013-02-25fix fdo#38951, use paragraph’s writing direction.navin1-35/+3
In case of RTL, we want bullet text e.g. “1. ,1)” to be reversed e.g. “.1,(1”, so we need to check only paragraph’s writing direction and pass that direction to DrawingText(). and fix drawing position calculation logic. Change-Id: I303dc1b04ae5e66b1b5d25a40794be308f36668b Reviewed-on: https://gerrit.libreoffice.org/2348 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-02-25fix fdo#60533, Set TEXT_LAYOUT_BIDI_STRONG flag.navin patidar1-13/+5
Stop ImplLayoutArgs::ImplLayoutArgs() to perform ubidi algo on text by setting TEXT_LAYOUT_BIDI_STRONG flag. Change-Id: I7222517c1db6649eef0c0d9c11cbbbed1fc6bb04 Reviewed-on: https://gerrit.libreoffice.org/2076 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-02-25loplugin: unused variablesThomas Arnhold5-8/+1
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac3-10/+10
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-23Fix typo "teh" -> "the"Julien Nabet1-1/+1
Change-Id: Iacfeb4a0c2bff254e5bcc8d58582994cd0f3993a
2013-02-22fix editeng and basctl buildCaolán McNamara1-1/+1
Change-Id: I0d70449ad9b42219969c82e2054694c4a5830dcf
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet1-1/+1
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22s/whith/with/Tor Lillqvist3-3/+3
Change-Id: I23da81c182ad30faf871d98e55820295418207d0
2013-02-15sync two translations of the same fundamental commentCaolán McNamara1-5/+6
Change-Id: I4da6683489c87fe06d45474dfc20351cb31ed000
2013-02-12Renamed hard-to-remember 8-char headers in editeng.Kohei Yoshida22-80/+80
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2013-02-12fdo#46808, Adapt linguistic2::DictionaryList UNO service to new styleNoel Grandin3-14/+13
Change-Id: Iaf81a38063411b8a003b78f7eb7d6aab6c9df292
2013-02-12fdo#46808, convert xmloff module code to use XComponentContextNoel Grandin4-28/+15
with lots of repurcussions in other modules Change-Id: I6982671eecc701b06cf85d93533e1fe618044fea
2013-02-12fdo#46808, convert i18n::OrdinalSuffix to new-styleNoel Grandin1-23/+17
Change-Id: I62d0d3455d81bf9a2ea485b74faa5f1ecd417d87
2013-02-12fdo#46808, convert i18n::InputSequenceChecker to new-styleNoel Grandin1-7/+3
Change-Id: I29678d74ae3c6dc38d3d09e2cf4a0d4f28f789a1
2013-02-11Add Dump() method to dump content of EditTextObject.Kohei Yoshida2-0/+50
Useful during debugging. Turned off in the default build. Change-Id: Ia0b280337707f762b90d1d80c04671f2e8c21b01
2013-02-11only wanted completion as tip by defaultCaolán McNamara1-2/+2
Change-Id: I5885f277051c2b8780e4813ce4713b0c9e8bd8ea
2013-02-11Better default values for Word completion featureSamuel Mehrbrodt1-3/+3
http://nabble.documentfoundation.org/Libreoffice-ux-advise-Word-completion-default-value-td4031168.html Change-Id: Ifef07653c2155b3c26d65d41cae1164b44fbd04f Reviewed-on: https://gerrit.libreoffice.org/1937 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-11fdo#46808, use linguistic2::LanguageGuessing service constructorNoel Grandin1-9/+2
Change-Id: I5c650a96ea99a1cf16ca8aa61f2db4986790040b
2013-02-11fdo#46808, Adapt document::XML*BasicExporter UNO services to new styleNoel Grandin4-24/+12
The services are document::XMLBasicExporter document::XMLOasisBasicExporter Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
2013-02-06fix logic to get L/R directionnavin patidar1-1/+1
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-02fix fdo#59892 completely and fdo#33302 partially.navin patidar1-3/+4
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ňák1-2/+0
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 Rouvignac2-8/+8
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 Rouvignac9-308/+303
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 Vajna1-49/+1
Change-Id: I8863cbe1d01fceac0f4b4152264c1464c90e02b8
2013-01-28SwXTextFrame: use XFillStyleItem instead of extending SvxBrushItemMiklos Vajna1-20/+1
Change-Id: I03b841ed703503425c9f1a2045d6399c8899815f
2013-01-25SvxBrushItem: extend this with a vcl Gradient and drawing::FillStyleMiklos Vajna1-2/+70
So Writer fly frames can have gradient info as well. Change-Id: If59ae9092fedabbe112f034e13fbe801815ebaaf
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith2-4/+4
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 Rouvignac1-1/+1
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 McNamara3-59/+48
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 McNamara2-261/+0
Change-Id: Iff3ce7c3a44010b3bc81fc0d2156216ee13948dc
2013-01-08Explicitly initialize SfxItemPoolUser in copy constructor.Kohei Yoshida1-0/+1
To keep MacOSX-Intel tinderbox happy. Change-Id: I8dbc8330fd688fc1c1ed005d1603ff52f8b7a16d
2013-01-08Remove unnecessary virtual keywords.Kohei Yoshida1-2/+2
Change-Id: I1227a4e04bc962da96b77947a706293f9a2a3850
2013-01-08BinObject is no more. Change the method names to reflect that.Kohei Yoshida2-8/+8
Change-Id: I723a7da307379c6f2e8256fe41023b4b96739f12
2013-01-08Turn EditTextObjectImpl into a real impl class.Kohei Yoshida5-196/+183
Change-Id: I0f0bba62da60a3397b733253dbc0891c69bd5b9c
2013-01-08Let's not have "which" value in EditTextObject.Kohei Yoshida1-9/+5
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 Yoshida5-75/+75
Change-Id: Ie1e046624e671e87c7b3cf322572a7ed3f98726a
2013-01-08More SfxItemPoolUser up to the base class.Kohei Yoshida2-5/+3
Change-Id: I44819d66273e22db9f82d095061e3df627b64dae
2013-01-08Remove one variant of HasField() which takes arcane TypeId.Kohei Yoshida2-32/+7
Change-Id: Ic8236b291ed5f318f67378bbc57b7cf027cbb92a
2013-01-08Add new ods import test for rich-text cell contents.Kohei Yoshida2-0/+22
Change-Id: I23eb8d53b8a2c48514900a5ab07ed7ec71d3ef99
2013-01-07allow menu items to be referred to by a nameCaolán McNamara1-3/+3
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin2-0/+2
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 Pruegsanusak1-1/+1
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 Holesovsky2-2/+2
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-04Spellcheck menu: Rename 'Add' to 'Add to Dictionary'Samuel Mehrbrodt1-2/+2
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ňák1-8/+0
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 Nabet1-1/+1
Change-Id: If1a8a2441398ea9f20d6ec45e649967673c7a6af
2012-12-25build fix for editeng OUString cleanupPeter Foley1-2/+2
Change-Id: I82fdca86631d5b364224d151d85da5baef1a54a8
2012-12-25OUString cleanup in editeng/acessibilityOlivier Hallot1-19/+19
Change-Id: I253444e2859685cae88aa65fae755af2674bd4b4 Reviewed-on: https://gerrit.libreoffice.org/1471 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>