summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)Author
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
2012-12-04fdo#52640 fix right-aligned tabstopsDavid Tardon
It is no good to change temporary object... Change-Id: Ib1178e154341dd0216fd965d3ed6c264de40d634
2012-12-04more explicit ctorsDavid Tardon
Change-Id: If91343890d9ed29ff2887e47c7c0a332baa5a8e1
2012-12-04Support added for fine dashing on table borders.Eilidh McAdam
When reading in docx documents, fine dashing provides a better visual match for some border types. Added in this patch: - FINE_DASHED in BorderLineStyle UNO enum and in internals - Import of docx table borders using this border style Change-Id: I39cfa18c915ec94d8e4ecfc6a2ca637076d1e468 Reviewed-on: https://gerrit.libreoffice.org/1123 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-11-30fdo#46808, use service constructor for i18n::CollatorNoel Grandin
Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
2012-11-29API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens
The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-28API CHANGE: add a "position" parameter to XParagraph/TextPortionAppend methodsMiklos Vajna
So we can use the new RTF import for clipboard pastes in Writer without inserting text content to the end of the document only. Notes: - SwXText::insertTextPortion: the MovePara() call is removed, as all it did was trying to move the cursor beyond the end of the document. - SwRTFReader::Read: the double fake paragraph insertion / deletion is motivated by the ODT filter. - RtfFilter::filter: if TextInsertModeRange is not passed, then the behaviour is not changed. v2: - added missing @since tags - added insertTextContentWithProperties() method - removed unused appendParagraph() method Change-Id: I24cddb00a78e3b798e7d88764e59e6a77a6e98a4 Helped-by: Michael Stahl <mstahl@redhat.com>
2012-11-28We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist
We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28Resolves: fdo#57640 we really want to *titlecase* the initial characterCaolán McNamara
http://srfi.schemers.org/srfi-13/mail-archive/msg00046.html summarizes well.. " - Titlecase <> uppercase Unicode defines three kinds of case mapping: lowercase, uppercase, and titlecase. The difference between uppercasing and titlecasing a character or character sequence can be seen in compound characters (that is, a single character that represents a compount of two characters). For example, in Unicode, character U+01F3 is LATIN SMALL LETTER DZ. (Let us write this compound character using ASCII as "dz".) This character uppercases to character U+01F1, LATIN CAPITAL LETTER DZ. (Which is basically "DZ".) But it titlecases to to character U+01F2, LATIN CAPITAL LETTER D WITH SMALL LETTER Z. (Which we can write "Dz".) character uppercase titlecase --------- --------- --------- dz DZ Dz " See TestCharacterClassification::testTitleCase for titlecase regression tests. Change-Id: I198379832d1910632bb6358149a5276b68d7c6eb
2012-11-27String=>OUString of svl's urihelperNorbert Thiebaud
Change-Id: Ib4d9175ce4661140a147962b8f45be40f800d85a
2012-11-27SvxLanguageItem::PutValue: empty locale is not LANGUAGE_NONEEike Rathke
Change-Id: I8d788f53b54a7429124a653417d422db300238d7
2012-11-24kill a few more SvxCreateLocale() & Co remaindersEike Rathke
Change-Id: I2b70bf76a495b9edb79b5b3c4ae1b06abed30f54
2012-11-24get rid of Svx...Locale...() double conversion nonsenseEike Rathke
Change-Id: I21d14ff6087d1adb0ce769f2e8f8060a005250cc
2012-11-24fix buildIvan Timofeev
Change-Id: Iebbb690f3beacca026d584636b9ef505dfe9ac89
2012-11-24Translation of German commentsPeter Baumgarten
Change-Id: I729049b8fa9c26926423c6990a06377e6884e840
2012-11-23some i18n wrappers with LanguageTagEike Rathke
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23callcatcher: update listCaolán McNamara
.ui conversion has finally make inroads into core vcl widgets, no WorkWindow are initialized from ResIds anymore post conversion of the xslt filter dialog Change-Id: I4a1764d9fb9be9e252630e3afc9972221bc16be6