summaryrefslogtreecommitdiffstats
path: root/editeng
Commit message (Collapse)AuthorAgeFilesLines
* String to OUStringThomas Arnhold2013-09-047-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>
* was convertIsoStringToLanguage(), use convertToLocaleWithFallback()Eike Rathke2013-09-031-1/+1
| | | | Change-Id: I57df767ba5bfbd7b0f9cc7420de0ddbd2fa64685
* fix string conversionIvan Timofeev2013-09-031-1/+4
| | | | | | regression from 710f41b7aec8e7d35a0da8be332aa289f98942af Change-Id: I7c5e41294e072eceb036a24397fbb899a568587c
* XubString->OUStringCaolán McNamara2013-09-023-13/+13
| | | | Change-Id: I5424a148c7173409e6e56f9483fcc769696707bc
* Fix a crash when inserting a multi-line content into cell.Kohei Yoshida2013-09-013-0/+8
| | | | Change-Id: Idf2b6ca6873860a9bb3d2dae646b0383435e58c9
* Separate misspelled ranges when entering a new cell value.Kohei Yoshida2013-09-015-0/+26
| | | | | | And store them at appropriate locations. Change-Id: Iaf38c0cd01e9b3dc9dc98f7ccc1951d572a422e9
* First step toward showing mis-spelled words without modifying cells.Kohei Yoshida2013-09-016-0/+68
| | | | | | There are still tons of problems to fix. Change-Id: Icae6e3d2c9b8b2266724d8d068abbab8acae96da
* XubString->OUStringCaolán McNamara2013-08-299-42/+42
| | | | Change-Id: I6db7b9e86ea6d17b5ba0a883136e0e4dbdd9e0b3
* cppcheck: Reduce scopeJulien Nabet2013-08-281-1/+1
| | | | Change-Id: Ic93c6306cc90a8c7ed77c0aa7d5a898ee911b75f
* fdo#68648: SvxNumRule: serialize the aFmtsSet flags tooMichael Stahl2013-08-281-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
* Expose misspelled range container outside edit engine.Kohei Yoshida2013-08-286-141/+155
| | | | Change-Id: I04c87c5299559932733c88a317808241fd1755d4
* const correct-ness.Kohei Yoshida2013-08-282-2/+2
| | | | Change-Id: If5c203844d245f370ac6fdb52c779561fb5f165f
* Use smart pointers for these.Kohei Yoshida2013-08-285-38/+52
| | | | Change-Id: I1a1e38dd36b2144a3e6b96886a56a11a023c47fe
* Rename SectionAttribute to Section.Kohei Yoshida2013-08-285-29/+29
| | | | | | It fits better this way. Change-Id: I139de7858e999a6dd26633a548c47634dfad8a65
* String to OUString.Kohei Yoshida2013-08-281-5/+3
| | | | Change-Id: I35ac8e9480a7540e049dc251a1470a27f0c2eafd
* No need to fully qualify these.Kohei Yoshida2013-08-281-2/+2
| | | | Change-Id: Ib5177530b7af15a5574245f53acfecd0ccce4b50
* sal_Bool to bool.Kohei Yoshida2013-08-282-13/+14
| | | | Change-Id: I3eef26d4ad07a93e044bf8dddddf2d922849435d
* Fix incorrect logic in section attribute array construction.Kohei Yoshida2013-08-282-58/+113
| | | | | | And a new test case to catch it. Change-Id: Ie51ddf185f70c656e7d838fc7016b5726efbdf3f
* Organize methods that update invalidated ranges for online spell checker.Kohei Yoshida2013-08-286-19/+22
| | | | Change-Id: Iaf9295e33e4771f39a085f6ee3cb88ebbf662ff0
* sal_Bool to bool.Kohei Yoshida2013-08-282-72/+72
| | | | Change-Id: Ie6515c6025c3f199797850cc0941f1efa729cdca
* IsInValid() => IsValid() and adjust its call sites.Kohei Yoshida2013-08-283-6/+6
| | | | Change-Id: Ic2c6f574632092073eb30c1a52d43a1524b12aaf
* NOT_INVALID => Valid.Kohei Yoshida2013-08-282-8/+7
| | | | Change-Id: I71acebdb9c55fdd71d2e611f2ba436f734e949a8
* bClearRange is always true. Remove it.Kohei Yoshida2013-08-283-5/+3
| | | | Change-Id: I1df4bdaa5f13ede9e04972a02948eb072dca2bec
* XubString->OUStringCaolán McNamara2013-08-283-5/+5
| | | | Change-Id: I7b76026012af2b57861ec8d3dfd285d9e871d74c
* Resolves: fdo#67743 ensure user autocorr config dir existsCaolán McNamara2013-08-271-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
* fdo#60740: Handle empty paragraphs correctly.Kohei Yoshida2013-08-251-0/+7
| | | | Change-Id: I47d4f60daec82d2b6a4b5e8f20b8cb6484c55057
* Create sections for unformatted paragraphs too.Kohei Yoshida2013-08-251-25/+12
| | | | Change-Id: Id3486cf7faf0c03f2ce9c72f31d564d5149e5b48
* Change of plan - we need to include feature attributes here as well.Kohei Yoshida2013-08-241-1/+1
| | | | Change-Id: I431b7ff79cffd5c9a7ff06f41a2fdd56bf2f968c
* fdo#68373 fix three dot -> horizontal ellipsis autocorrectionLászló Németh2013-08-241-1/+1
| | | | Change-Id: I9c906c9ab91f604537769db6820aa820d5f637fd
* sw: add ShadowTransparence UNO property for framesMiklos Vajna2013-08-241-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
* XubString->OUStringCaolán McNamara2013-08-232-2/+2
| | | | Change-Id: If59e9a3956074557842ebc5b178266e9be95a867
* SvxShadowItem: allow setting transparency other than 0% or 100%Miklos Vajna2013-08-231-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
* fdo#68373 allow "*word" pattern matchingLászló Németh2013-08-231-9/+16
| | | | Change-Id: I13682f3886451838e522b259dbb2d686bff1437b
* Resolves: rhbz#996162 apparent NULL bullet fontCaolán McNamara2013-08-221-1/+7
| | | | Change-Id: I2f50ef1dabe2f152f2e18025edc88734158dbea2
* fdo#68373 wildcard char. matches only real suffix in autocorr.László Németh2013-08-211-1/+8
| | | | Change-Id: Ibe06bb5c62ac0d8fae17c8a9ffcc4b1bc2768bcc
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-211-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
* fdo#68373 fix commentsLászló Németh2013-08-211-2/+2
| | | | Change-Id: Id65e819fd1172a28b2cb0bafbd7763313c5fcf50
* fdo#68373 pattern matching in autocorrection for suffix rich lang.László Németh2013-08-211-8/+29
| | | | Change-Id: I4a996c51e6e7115e90bf15254b26025aae1f9a6c
* Add a means to retrieve all formatting attributes in non-overlapping sections.Kohei Yoshida2013-08-205-0/+272
| | | | Change-Id: Id04dffc135fad6bb66ea157cd280dd481cb80117
* String to OUStringMatteo Casalin2013-08-171-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>
* EditHTMLParser::StartPara: shut up clang tinderboxMichael Stahl2013-08-151-3/+4
| | | | Change-Id: I8d65f43b95944583b50874adb90db38eee7623de
* convert include/svtools/parhtml.hxx from String to OUStringNoel Grandin2013-08-151-3/+3
| | | | Change-Id: I20adfc9148b8afa7a59245349f233604bd9a1d2e
* convert include/svtools/svparser.hxx from String to OUStringNoel Grandin2013-08-152-10/+10
| | | | Change-Id: I4d6196a9a96ad1dd236f8622a523b4702e92d76f
* XubString->OUStringCaolán McNamara2013-08-146-42/+39
| | | | Change-Id: I9ccb06134dfadd9bf1ecb8e5edcd24c02980b754
* XubString->OUStringCaolán McNamara2013-08-143-15/+15
| | | | Change-Id: I178f9eb702afb6143c583d5fd54003a427d895fa
* Also ' was duplicatedTor Lillqvist2013-08-131-1/+1
| | | | | | Thanks to dougmencken for noticing. Change-Id: If9b18b7686981b523e8422cecef0930fded10c91
* Avoid warning: rtl_uString_newFromLiteral - Found char > 127Tor Lillqvist2013-08-131-1/+1
| | | | | | | | | | | | | | | | | | Using a literal string that includes non-ASCII character(s) to initialise an OUString causes a warning "sal/rtl/strtmpl.cxx:1338: rtl_uString_newFromLiteral - Found char > 127". I doubt the '\xFF' in the aWordDelimiters initialiser makes sense. The initialiser contained "\0xFF" since the beginning of time, which (as said in e7a958441a19a4e14bf12aac09fa566de0f263ee) means a zero byte '\0' followed by "xFF". So '\xFF' was not included in the initialiser during all that time either. Whatever the '\xFF' means in the set of "word delimiters", quite possibly it is handled explicitly in the code anyway (grep for CH_FEATURE_OLD). Change-Id: I2998a13e6e573f85c92e66ff6edbb6354ba11b5b
* Remove duplicated space in aWordDelimiters initialiserTor Lillqvist2013-08-131-1/+1
| | | | Change-Id: Idf191ab3dfa7f6fde190c55d4d1d228a49ecf771
* String to OUString and some optimizationsMatteo Casalin2013-08-121-1/+1
| | | | Change-Id: I9d93d6aa26b2c9d20f7be8d201051a51e8e4ce7a
* convert vcl/cmdevt.hxx from XubString to OUStringNoel Grandin2013-08-121-1/+1
| | | | Change-Id: Ib574cc7130f49c7a6be23566377313906c52abb8