summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)AuthorFilesLines
2013-02-27fdo#39446 - Bloat Removal. Removing uncallable code with callcatcherJean-Noël Rouvignac2-12/+0
Removed several unused methods. Could not remove ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() and ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) because it breaks compilation (they are implementing pure virtual methods). Should Test::test1Table1Page() really be removed? (test class) Conflicts: unusedcode.easy Change-Id: I98a761f66f28e3a82661c10a5fa1dc7e109fff2f
2013-02-26fdo#38838 Replaced some use of (Xub)String with OUString.Jean-Noël Rouvignac3-13/+9
Change-Id: I5a8f2d1a5762c20d21d31b04778a9e2cac8df9cb Reviewed-on: https://gerrit.libreoffice.org/2364 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25Fix i#119756 Safer take care of empty paragraphs in EditEngine layoutingArmin Le Grand1-29/+35
This fixes fdo#59629 on our side. Conflicts: editeng/source/editeng/impedit3.cxx and moved sal_uInt16 nIndex back up in scope. Change-Id: Ie2b5dac48b10ff8c031f481f0a7ddde644694975
2013-02-25Rename loop variable in ImpEditEngine::PaintThorsten Behrens1-7/+7
This had nothing to do with y coordinates. Change-Id: I36baf05cd4c4a67b24574f6651b1c3f1eb12e22e
2013-02-25loplugin: improve indentationThomas Arnhold1-4/+2
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25remove duplicate lineThomas Arnhold1-1/+0
This looks wrong. Compared to ThesDummy_Impl::getLocales() it seems sane to remove the duplicate. Change-Id: I494b22039846da4d4e84d7f289e501d1315075bd
2013-02-25fdo#55931, fdo#57956: Fix both autofit and stretched width.Jan Holesovsky1-1/+7
This rewrites commit fa694a21b806ed7837c1337ec49a4b299c478393 (fix of fdo#55931), and fixes it a better way. Change-Id: I9ac0c78294e6a9c510c12b22547564b736416131
2013-02-25fdo#60724 - change 'charcter' to 'character'sadam361-1/+1
Changed all occurrences of 'charcter' found by git grep. All of them were used in comments only, so it should not break anything. Change-Id: Ief2c00d929ae7972c55a4920fc0eaa8d6b18ab82 Reviewed-on: https://gerrit.libreoffice.org/2372 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-02-25fix fdo#38951, use paragraph’s writing direction.navin2-36/+4
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 begining/beginning.Julien Nabet1-1/+1
Change-Id: I9fff386181a2be0bc83787c8b5aec9c1cb4db9c3
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 Nabet2-2/+2
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22s/the the/the/Tor Lillqvist3-3/+3
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22s/whith/with/Tor Lillqvist3-3/+3
Change-Id: I23da81c182ad30faf871d98e55820295418207d0
2013-02-22s/childrens/children/Tor Lillqvist1-1/+1
Change-Id: I1731710811506383d29c835a613b07506e7232f0
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 Yoshida36-95/+95
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2013-02-12fdo#46808, Adapt linguistic2::DictionaryList UNO service to new styleNoel Grandin4-22/+21
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 Yoshida6-0/+75
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-06remove obsolete hidother.src filesAndras Timar1-38/+0
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
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 Rouvignac70-373/+368
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 Vajna3-54/+1
Change-Id: I8863cbe1d01fceac0f4b4152264c1464c90e02b8
2013-01-28SwXTextFrame: use XFillStyleItem instead of extending SvxBrushItemMiklos Vajna2-23/+1
Change-Id: I03b841ed703503425c9f1a2045d6399c8899815f
2013-01-26gbuild: remove various pointless calls that don't add anythingMichael Stahl2-8/+0
Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl3-0/+3
- 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 Vajna1-0/+2
Change-Id: I854cc5e4da2ce87ef4a7af6e9c0cf6f208714e4c
2013-01-25SvxBrushItem: extend this with a vcl Gradient and drawing::FillStyleMiklos Vajna2-2/+76
So Writer fly frames can have gradient info as well. Change-Id: If59ae9092fedabbe112f034e13fbe801815ebaaf
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith3-6/+6
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 McNamara3-274/+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 Yoshida6-241/+238
Change-Id: I0f0bba62da60a3397b733253dbc0891c69bd5b9c