summaryrefslogtreecommitdiff
path: root/svl/inc/svl/zforlist.hxx
AgeCommit message (Collapse)AuthorFilesLines
2013-04-23execute move of global headersBjoern Michaelsen1-1037/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-05new module i18nlangtagEike Rathke1-1/+1
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin1-6/+6
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2012-12-10callcatcher: remove unused rtf filter and associated methodsCaolán McNamara1-4/+0
update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
2012-11-27remove legacy String svl's Put*Entry family of function and convert usersNorbert Thiebaud1-11/+0
Change-Id: Iebf4017ce4c2c48389716eac1bbf7f386ac7a296
2012-11-27String => OUString in svl numfmuno + clean-up legacy of GetPreviewStringNorbert Thiebaud1-10/+1
Change-Id: I20f080b76b864208f0706bef9e87cb299f3845aa
2012-11-27cosmetic prep work on zforfindNorbert Thiebaud1-45/+46
Change-Id: I3c445a20e2c8d17c4fc68360dd896d902be46e56
2012-11-27another round of String -> OUString conversion in zforlistNorbert Thiebaud1-66/+65
Change-Id: I9979927af016f0b782ae9481a6207649f6455558
2012-11-27more wrapper in zforlist to isolate String/OUString issuesNorbert Thiebaud1-5/+13
Change-Id: I53e5e60f59739bdcedb6e7b13006850e0e5b22c0
2012-11-27make GetIndexPuttingAndConverting String/OUString agnostic for nowNorbert Thiebaud1-2/+13
plus convert GetKeyWord() and GetStandardName and some more zforlist implementation conversion Change-Id: I64abe35a4875d84518a1904ef3121269b79a6df0
2012-11-23some i18n wrappers with LanguageTagEike Rathke1-2/+2
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-18migrate one GetOutputString variatn to OUStringNorbert Thiebaud1-7/+0
that create some clutter on some of the caller, this will be resolved as things progress to ward OUString only This is done that way to be incremental and avoid creating too big patches Change-Id: I4a881d85cc2ee1eb53bc0c0d0902838b1d3720a2
2012-11-18PutEntry familly of functions use consistent pairing OUString/sal_Int32Norbert Thiebaud1-2/+6
Change-Id: I23ae9d3e8bf71ef9ece75ea013d18c36ab2e69d4
2012-11-18svl: OUString conversion of most of zforscanNorbert Thiebaud1-1/+1
Change-Id: I02ca7f7770e2d53371e7c597c087c4a370ce8d3f
2012-10-31resolved rhbz865058 retard overflow of internal table of number formatsEike Rathke1-1/+1
Due to an insane amount of ridiculous "user-defined" number formats the internal table may overflow during import, stave off and increase the number of available slots to another arbitrary limit.
2012-10-02XubString->OUStringCaolán McNamara1-32/+30
Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
2012-09-17XubString->OUStringCaolán McNamara1-7/+7
Change-Id: Ic8b191dfb0d14e129dc804aeb4ac14c732e72e6b
2012-08-29resolved fdo#52240 fdo#52137 fdo#52288 user editable date patternsEike Rathke1-0/+4
Implemented user editable date acceptance patterns. The introduction of strict date parsing using locale dependent date acceptance patterns in 3.6.0 wasn't always welcomed. Besides that not every locale had patterns for incomplete (only day and month) date input, users also complained about not being able to key in dates on numeric keypads if the locale's date separator wasn't '/' or '-' This commit implements a "Date acceptance patterns" edit field under Tools->Options->LanguageSettings->Languages that follows the selected locale and enables the user to add patterns. Example de-DE locale: * default patterns: D.M.Y;D.M. * to enable additional input on numeric keypad: D.M.Y;D.M.;D-M-Y;D-M * if 3-4 shall not result in a date, D-M- could be used instead of D-M * note that to enter an ISO 8601 Y-M-D date with a D-M-Y pattern active one needs to enter a year >31 or with at least 3 digits, e.g. 011 Change-Id: I9e20fcb168578b02d0f0248a0e209942e0f27113
2012-08-28tweaking the "fill in character" support in Calc Number Format StringsJohann Messner1-2/+2
a) changed ordering of repeat code marker ( 0x1b ) and repeat code to more sensible ( and correct imo ) order b) prevent some possible div/0 errors c) added some missing formatter 'GetOutputString' calls
2012-08-03enable preview for 'special' '*' formatsNoel Power1-1/+2
Change-Id: I2f94c3d8d827ecabc6dd5e685bb40954fe2427c4
2012-07-28update comment about SvPtrArrCaolán McNamara1-1/+1
Change-Id: I1944a04a5732d328f542c0819b43edc6fad9f7ac
2012-07-02re-base on ALv2 code.Michael Meeks1-23/+14
2012-06-12convert NfWSStringsDtor further to vector<OUString>Michael Stahl1-12/+1
Change-Id: I4fac64952abf208864281fda722d8b7242689395
2012-06-12Convert SV_DECL_PTRARR_DEL(NfCurrencyTable) to boost::ptr_vectorNoel Grandin1-3/+2
Change-Id: I4e288a90f3b1662462ba06053343c8bab5fe46cf
2012-06-12Convert SV_DECL_PTRARR_DEL(NfWSStringsDtor) to std::vectorNoel Grandin1-1/+11
I had to keep the pointer typedef because MacOS gcc gets confused otherwise. Change-Id: I0681585f7273dcac25b2cb835601b29353e2183a
2012-05-16reduce static_initialization_and_destruction chainCaolán McNamara1-12/+1
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-04-30some changes for new fixed fraction built-in formatsEike Rathke1-0/+10
Moved new fixed fraction built-in formats into the fixed set so they keep their relative key position when switching system locale.
2012-04-30get rid of confusing *LoadingSO5 namesEike Rathke1-7/+7
2012-04-17enable '*' repeat next char to fill available width for calc num formatsNoel Power1-2/+2
but - however no support to import/export this to file format yet
2012-03-27UniString removal.Kohei Yoshida1-0/+4
2012-03-05String to OUString in cell.[ch]xx and follow upMarkus Mohrhard1-0/+11
2012-02-19Remove unused codePetr Vorel1-1/+0
2012-02-08changes to "tools/table.hxx to std::map conversion"Eike Rathke1-12/+15
* use consistent indenting with 4 spaces (instead of tabs (plus one space)) * use erase(it++) instead of erase(it); ++it to not access invalidated iterator * for First(); Remove(); Next() loops over entire Table use map::clear() at the end if it isn't in a dtor * use existing typedef SvNumberFormatTable in numfmtsh.hxx instead of redefining, which means include zforlist.hxx now and some other forward declarations can be removed * removed inlined duplicated code of GetEntry(), implemented it in zforlist.cxx instead and made const GetFormatEntry() just call GetEntry() * removed the temporary sal_uIntPtr nFormat to be used as key, the sal_uIntPtr was only used because Table effectively had pointer size as keys. * made initial assignments of nDefaultFormat and nDefaultCurrencyFormat use the ternary conditional operator
2012-02-08tools/table.hxx to std::map conversion in SV, SVL and SVX modulesNoel Grandin1-9/+17
This patch converts one use of tools/table.hxx in svl/inc/svl/zforlist.hxx, whose use in turn spans 3 modules.
2012-01-23Removed NfCurrencyEntry::ApplyVariableInformation().Mariusz Dykierek1-4/+0
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann1-2/+2
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-07Remove superfluous _ZFORLIST_DECLARE_TABLE definition.Marcel Metz1-6/+0
2011-12-22recognize arbitrary y-m-d format for editing as ISO 8601 yyyy-mm-ddEike Rathke1-1/+2
2011-12-21resolved fdo#37978 - Date formatting in Spreadsheet is inconsistentEike Rathke1-0/+3
* SvNumberFormatter::IsNumberFormat() ISO 8601 date input results in yyyy-mm-dd format if no other date format was set. * SvNumberFormatter::GetInputLineString() preserves ISO 8601 date format for editing if such was set.
2011-11-04Support rtl::OUString reference here as well.Kohei Yoshida1-1/+4
2011-10-04callcatcher: various unused methodsCaolán McNamara1-4/+0
2011-08-12removed unused stuff from number formatterEike Rathke1-10/+0
2011-08-10Number formatter sal_Bool -> bool clean-up and cosmeticsEike Rathke1-60/+60
2011-08-09Replace SvUShorts with vector in svl/zforlist.[ch]xxNigel Hawkins1-2/+1
LGPLv3+/MPL1.1
2011-08-05removed SkipNumberFormatterInStream, was dropped, declared but not definedEike Rathke1-3/+0
2011-08-05Fix fdo#38956 discarding bracketed prefixes in number formats, such as [RED]Eike Rathke1-0/+20
* Fixed discarding of prefixes. * Fixed the broken handling of Thai calendar and numerals speciality. * Added bits to actually display a format with embedded LCID in the dialog if the LCID doesn't match the currently viewed locale.
2011-08-05callcatcher: unused methodsCaolán McNamara1-4/+0
2011-05-11Fix for fdo#36673: corrupt date formats of cellsKatarina Machalkova1-3/+1
Signed-off-by: Thorsten Behrens <tbehrens@novell.com>
2011-03-18Merge remote-tracking branch 'origin/integration/dev300_m101'Jan Holesovsky1-88/+88
Conflicts: comphelper/source/misc/servicedecl.cxx i18npool/source/breakiterator/breakiteratorImpl.cxx l10ntools/scripts/localize.pl svl/source/items/itemset.cxx svl/source/memtools/svarray.cxx svl/source/numbers/zformat.cxx svtools/source/brwbox/brwbox1.cxx tools/source/stream/strmwnt.cxx vcl/inc/vcl/graphite_adaptors.hxx vcl/inc/vcl/graphite_layout.hxx vcl/inc/vcl/graphite_serverfont.hxx vcl/source/control/imgctrl.cxx vcl/source/gdi/outdev.cxx vcl/source/gdi/outdev3.cxx vcl/source/glyphs/gcach_ftyp.cxx vcl/source/glyphs/graphite_adaptors.cxx vcl/source/glyphs/graphite_layout.cxx vcl/source/window/winproc.cxx vcl/unx/source/fontmanager/fontconfig.cxx
2011-03-11fix up merging issues, so it compilesMichael Meeks1-2/+2