summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)AuthorFilesLines
2013-09-08Related: fdo#38838 drop String::EmptyString now as wellCaolán McNamara2-2/+2
Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
2013-09-08Related: fdo#38838 String::GetBufferAccess is now no moreCaolán McNamara1-12/+12
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
2013-09-07inheriting from a standard container is a bad ideaMarkus Mohrhard1-3/+3
Change-Id: I3346d38c720158ba37456c689e7d7f83bef3079c
2013-09-06use a faster standard algorithm to workaround performance problem, fdo#68089Markus Mohrhard1-8/+24
We have here an O(n^2) algorithm. At least using std::find_if here improves the inner loop and fixes the problem with the bug document. Change-Id: I88dea9434df6c669f4897927a721ad1518d7ca5e
2013-09-04String to OUStringThomas Arnhold7-29/+29
Change-Id: I8c51db8fce8c5eea1ac7bd5751aa7f3212ef1166 Reviewed-on: https://gerrit.libreoffice.org/5790 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-03was convertIsoStringToLanguage(), use convertToLocaleWithFallback()Eike Rathke1-1/+1
Change-Id: I57df767ba5bfbd7b0f9cc7420de0ddbd2fa64685
2013-09-03fix string conversionIvan Timofeev1-1/+4
regression from 710f41b7aec8e7d35a0da8be332aa289f98942af Change-Id: I7c5e41294e072eceb036a24397fbb899a568587c
2013-09-02XubString->OUStringCaolán McNamara3-13/+13
Change-Id: I5424a148c7173409e6e56f9483fcc769696707bc
2013-09-01Fix a crash when inserting a multi-line content into cell.Kohei Yoshida3-0/+8
Change-Id: Idf2b6ca6873860a9bb3d2dae646b0383435e58c9
2013-09-01Separate misspelled ranges when entering a new cell value.Kohei Yoshida5-0/+26
And store them at appropriate locations. Change-Id: Iaf38c0cd01e9b3dc9dc98f7ccc1951d572a422e9
2013-09-01First step toward showing mis-spelled words without modifying cells.Kohei Yoshida6-0/+68
There are still tons of problems to fix. Change-Id: Icae6e3d2c9b8b2266724d8d068abbab8acae96da
2013-08-29XubString->OUStringCaolán McNamara9-42/+42
Change-Id: I6db7b9e86ea6d17b5ba0a883136e0e4dbdd9e0b3
2013-08-28cppcheck: Reduce scopeJulien Nabet1-1/+1
Change-Id: Ic93c6306cc90a8c7ed77c0aa7d5a898ee911b75f
2013-08-28fdo#68648: SvxNumRule: serialize the aFmtsSet flags tooMichael Stahl1-5/+6
The constructor of SvxNumRule initializes aFmts[i] with a format but always sets aFmtsSet[i] to false, so SvxNumRule::Store() and SvxNumRule::SvxNumRule(SvStream &rStream) need to be able to round-trip that combination to prevent spurious numberings. It is unlikely that this class is serialized in the table auto-format files but i haven't checked; this change does not change the size of the serialization so shouldn't cause trouble anyway. (regression from a95cce27295f9cd255fa72eaded00972e3efb69b) Change-Id: I589ea108ac069624aaa7b26cdc3bfe8182b15851
2013-08-28Expose misspelled range container outside edit engine.Kohei Yoshida6-141/+155
Change-Id: I04c87c5299559932733c88a317808241fd1755d4
2013-08-28const correct-ness.Kohei Yoshida2-2/+2
Change-Id: If5c203844d245f370ac6fdb52c779561fb5f165f
2013-08-28Use smart pointers for these.Kohei Yoshida5-38/+52
Change-Id: I1a1e38dd36b2144a3e6b96886a56a11a023c47fe
2013-08-28Rename SectionAttribute to Section.Kohei Yoshida5-29/+29
It fits better this way. Change-Id: I139de7858e999a6dd26633a548c47634dfad8a65
2013-08-28String to OUString.Kohei Yoshida1-5/+3
Change-Id: I35ac8e9480a7540e049dc251a1470a27f0c2eafd
2013-08-28No need to fully qualify these.Kohei Yoshida1-2/+2
Change-Id: Ib5177530b7af15a5574245f53acfecd0ccce4b50
2013-08-28sal_Bool to bool.Kohei Yoshida2-13/+14
Change-Id: I3eef26d4ad07a93e044bf8dddddf2d922849435d
2013-08-28Fix incorrect logic in section attribute array construction.Kohei Yoshida2-58/+113
And a new test case to catch it. Change-Id: Ie51ddf185f70c656e7d838fc7016b5726efbdf3f
2013-08-28Organize methods that update invalidated ranges for online spell checker.Kohei Yoshida6-19/+22
Change-Id: Iaf9295e33e4771f39a085f6ee3cb88ebbf662ff0
2013-08-28sal_Bool to bool.Kohei Yoshida2-72/+72
Change-Id: Ie6515c6025c3f199797850cc0941f1efa729cdca
2013-08-28IsInValid() => IsValid() and adjust its call sites.Kohei Yoshida3-6/+6
Change-Id: Ic2c6f574632092073eb30c1a52d43a1524b12aaf
2013-08-28NOT_INVALID => Valid.Kohei Yoshida2-8/+7
Change-Id: I71acebdb9c55fdd71d2e611f2ba436f734e949a8
2013-08-28bClearRange is always true. Remove it.Kohei Yoshida3-5/+3
Change-Id: I1df4bdaa5f13ede9e04972a02948eb072dca2bec
2013-08-28XubString->OUStringCaolán McNamara3-5/+5
Change-Id: I7b76026012af2b57861ec8d3dfd285d9e871d74c
2013-08-27Resolves: fdo#67743 ensure user autocorr config dir existsCaolán McNamara1-2/+13
We try and copy the shared one to the user location the first time we create a customized user file. If the dir doesn't exist then that migration doesn't happen. The new autocorr file is then written, creating the dir, and any further operations will reattempt the skipped share copy, and this time succeed because the dir now exists. Which overwrites the previously written customized content. This is similar to fdo#65501 "ensure configured backup dir exists before using it", so reuse that code and move it into unotools. Change-Id: I38fa621b8d7295d70b09172a028569ea95404120
2013-08-25fdo#60740: Handle empty paragraphs correctly.Kohei Yoshida1-0/+7
Change-Id: I47d4f60daec82d2b6a4b5e8f20b8cb6484c55057
2013-08-25Create sections for unformatted paragraphs too.Kohei Yoshida1-25/+12
Change-Id: Id3486cf7faf0c03f2ce9c72f31d564d5149e5b48
2013-08-24Change of plan - we need to include feature attributes here as well.Kohei Yoshida1-1/+1
Change-Id: I431b7ff79cffd5c9a7ff06f41a2fdd56bf2f968c
2013-08-24fdo#68373 fix three dot -> horizontal ellipsis autocorrectionLászló Németh1-1/+1
Change-Id: I9c906c9ab91f604537769db6820aa820d5f637fd
2013-08-24sw: add ShadowTransparence UNO property for framesMiklos Vajna1-0/+14
drawinglayer has a separate property for the shadow transparency, too. One more step towards Writer frames have the same UNO API as drawinglayer shapes. Change-Id: I84617502e9beb9e077c783ee8eb771d79c6ee666
2013-08-23XubString->OUStringCaolán McNamara2-2/+2
Change-Id: If59e9a3956074557842ebc5b178266e9be95a867
2013-08-23SvxShadowItem: allow setting transparency other than 0% or 100%Miklos Vajna1-2/+1
Also adjust SwFrm::PaintShadow(), seems that can't deal with transparency ATM (always paints white in case of even minimal transparency). Change-Id: I88baea732d6ef01b2e516af562bc424775c38f84
2013-08-23fdo#68373 allow "*word" pattern matchingLászló Németh1-9/+16
Change-Id: I13682f3886451838e522b259dbb2d686bff1437b
2013-08-22Resolves: rhbz#996162 apparent NULL bullet fontCaolán McNamara1-1/+7
Change-Id: I2f50ef1dabe2f152f2e18025edc88734158dbea2
2013-08-21fdo#68373 wildcard char. matches only real suffix in autocorr.László Németh1-1/+8
Change-Id: Ibe06bb5c62ac0d8fae17c8a9ffcc4b1bc2768bcc
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-4/+4
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21fdo#68373 fix commentsLászló Németh1-2/+2
Change-Id: Id65e819fd1172a28b2cb0bafbd7763313c5fcf50
2013-08-21fdo#68373 pattern matching in autocorrection for suffix rich lang.László Németh1-8/+29
Change-Id: I4a996c51e6e7115e90bf15254b26025aae1f9a6c
2013-08-20Add a means to retrieve all formatting attributes in non-overlapping sections.Kohei Yoshida5-0/+272
Change-Id: Id04dffc135fad6bb66ea157cd280dd481cb80117
2013-08-17String to OUStringMatteo Casalin1-7/+6
Change-Id: I41b73e0af6841247a0403974b1c66e5a66123420 Reviewed-on: https://gerrit.libreoffice.org/5483 Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com> Tested-by: Matteo Casalin <matteo.casalin@yahoo.com>
2013-08-15EditHTMLParser::StartPara: shut up clang tinderboxMichael Stahl1-3/+4
Change-Id: I8d65f43b95944583b50874adb90db38eee7623de
2013-08-15convert include/svtools/parhtml.hxx from String to OUStringNoel Grandin1-3/+3
Change-Id: I20adfc9148b8afa7a59245349f233604bd9a1d2e
2013-08-15convert include/svtools/svparser.hxx from String to OUStringNoel Grandin2-10/+10
Change-Id: I4d6196a9a96ad1dd236f8622a523b4702e92d76f
2013-08-14XubString->OUStringCaolán McNamara6-42/+39
Change-Id: I9ccb06134dfadd9bf1ecb8e5edcd24c02980b754
2013-08-14XubString->OUStringCaolán McNamara3-15/+15
Change-Id: I178f9eb702afb6143c583d5fd54003a427d895fa
2013-08-13Also ' was duplicatedTor Lillqvist1-1/+1
Thanks to dougmencken for noticing. Change-Id: If9b18b7686981b523e8422cecef0930fded10c91