summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/scuiasciiopt.cxx
AgeCommit message (Collapse)Author
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-08-13fdo#82418 prefer UTF-8 over UTF-16David Tardon
Change-Id: Id2c990d24dc942a6d061146ea88cf53ee29a1c3d
2014-06-25remove whitespaceMarkus Mohrhard
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-04-23sc: sal_Bool->boolNoel Grandin
Change-Id: I70aad0b38979f45a313b8ac36890fb6c64d11bb0
2014-04-06whitespace cleanup in scMarkus Mohrhard
Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
2014-03-17sc: prefer passing OUString by referenceNoel Grandin
Change-Id: I85e8823e872bf53182ce90576225e462edb1930a
2014-03-11svx: sal_Bool->boolNoel Grandin
Change-Id: Ia7db5746fa5d8f60111d10d09865120981956947
2014-03-03Remove visual noise from scAlexander Wilms
Conflicts: sc/source/ui/inc/docfunc.hxx Change-Id: I9314437ed3dd60e84d28c08ac0a2d1ed7bd1daf8 Reviewed-on: https://gerrit.libreoffice.org/8301 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-19unotools: sal_Bool -> boolStephan Bergmann
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin
First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-12-19there is no reason to not set FromRow for TSV filesEike Rathke
The FromRow setting is remembered between imports, ignoring it for TSV may just lead to the user having it to enter again and again. Change-Id: I869b25595cf1f15dcbd1d5028d253299d2964cd7
2013-12-19reverted the CSV comma-checkbox overrideEike Rathke
While for .tsv|.tab files forcing the Tab box to be checked may be helpful, doing the same with the Comma box for .csv files is not. Though named Comma-Separated Values, the file format is often used with other separators, especially with localized content where the decimal separator is also comma to not interfer and having to enquote each numeric field. Users frequently importing such files would have to uncheck Comma on each import, while if it really was a comma-separated file and such files are imported frequently checking Comma would have to be done only once, as the options are persistently remembered. Change-Id: I464d453bfa4e2a793faabbabfccb5986c454496e
2013-12-19better use OUString::endsWithIgnoreAsciiCase()Eike Rathke
Change-Id: Ieedb71e58b1a690a38fcc93c56ea49483c224278
2013-12-19check string length of file name before attempting to copyEike Rathke
File names CAN be shorter than 4 characters if they don't have a 3 character file name extension and the filter was selected. Change-Id: Ic25bdf44cd44d48313c748525e75318e05240e8e
2013-12-19Prefill correct settings for csv and tsvMaxim Monastirsky
Change-Id: I21f3109530bc79c6ca1dcc247da987ee4795d086 Reviewed-on: https://gerrit.libreoffice.org/7142 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin
Converts code that calls comphelper::string::getTokenCount() to use sal_Int32 to store the return value. Change-Id: I439605a39d29b1309649e30f3ff40dfa412efcde
2013-10-22Resolves: fdo#38838 remove UniStringCaolán McNamara
hammer silver nails into coffin and bury in concrete Change-Id: I3fda2ff47738bb33793adab97faba2d439ac9a28
2013-10-21drop CharSet typedefCaolán McNamara
Change-Id: Ia160d7cbaa2ee71773483c3f91306f89cdad5947
2013-10-08convert sc/source/ui/dbgui/*.cxx from String to OUStringNoel Grandin
Change-Id: Iba489d8301f8885dee919e5a433281ce3761988f
2013-10-04convert sc/source/ui/inc/sc*.hxx from String to OUStringNoel Grandin
Change-Id: I7994cf3916bc34876ae838dd7158c03dd732074e
2013-08-09Resolves: fdo#67947 charsets not sorted in csv dialogCaolán McNamara
regression since 538ba011d7b598737c898cfcce1e0d7b00b40c84 Change-Id: I260819681dfd47435d8edf5fd97c873238c5d808
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-24suck alternative title out of the .uiCaolán McNamara
Change-Id: I3983a61c5716679d8d64247d29c4909b16fc2c69
2013-02-24rewrite import CSV dialog to WidgetLayoutPetr Vorel
Change-Id: Ifa674dc3cf14c9633be10b2fb7b59fea55a6a2e4 Reviewed-on: https://gerrit.libreoffice.org/2332 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-22resolved fdo#57841 ignore embedded NULL characters in CSV importEike Rathke
Change-Id: Ib0eb044f009227c0aa6e1bc520905d605323c3db
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
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>
2012-12-04re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Herbert Duerr i#118735 prevent endless loop if vlookup/hlookup doesn't find anything http://svn.apache.org/viewvc?view=revision&revision=1239673 Patches contributed by Andre Fischer remove lp_solver http://svn.apache.org/viewvc?view=revision&revision=1199180 i#118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Armin Le-Grand i#118485 - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 i#118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 Patches contributed by lihuiibm i#108860 - Fix range validation. http://svn.apache.org/viewvc?view=revision&revision=1242846 i#118954 Chart data will lost after copy to different file http://svn.apache.org/viewvc?view=revision&revision=1301345 Patches contributed by Ariel Constenla-Haile Fix Linux build breaker: extra qualification on member http://svn.apache.org/viewvc?view=revision&revision=1301591 i#118696 - i#118697 - Fix some Sheet Tab Color API issues http://svn.apache.org/viewvc?view=revision&revision=1225428 i#118697 - Fix uninitialized variable http://svn.apache.org/viewvc?view=revision&revision=1225859 i#118771 - ScUndoImportTab should preserve tab background color http://svn.apache.org/viewvc?view=revision&revision=1230356 i#118921 - Repaint linked sheet tab background color after updating link http://svn.apache.org/viewvc?view=revision&revision=1245177 i#118927 - Undo/Redo "Update Link" does not reset sheet tab color http://svn.apache.org/viewvc?view=revision&revision=1245241 i#118747 - Copy tab color when transferring sheets across documents http://svn.apache.org/viewvc?view=revision&revision=1230355 Patch contributed by Oliver Rainer-Wittman i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and <ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container iteration in order to avoid destroyed iterators during iteration. http://svn.apache.org/viewvc?view=revision&revision=1297916 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 Patch contributed by Daniel Rentz calc69: #i116936# fix VBA symbol Cells http://svn.apache.org/viewvc?view=revision&revision=1172135 Patches contributed by leiw: i#118546 CPU 100% on switched off AutoCalculate with Conditional Formatting on date values http://svn.apache.org/viewvc?view=revision&revision=1301380 Re-add new function documentation. Many various cleanups. Add missing calc66: #o11817313# also look at formula result number format, remove redundant binaries.
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
2012-08-20fdo#47674 Save setting for Import Ascii Text DlgLaurent Balland-Poirier
Caption of Dlg is missing Filename for import of CSV Change-Id: Ia7202229e012008d1dd4ec6f7df0457d19e92a6c
2012-08-14changes to "fdo#47674 Save settings for Import Ascii Text Dlg"Eike Rathke
* For TextToColumn some fields are preset and not changeable and configuration does not provide properties, do not attempt to access non-existing properties. In fact unotools/source/config/configmgr.cxx mocks about these cases if built with debug. * Do not use RTL_CONSTASCII_USTRINGPARAM with new code, OUString knows about ASCII literals. * Converted an if(meCall==...){}if(meCall==...) to a switch case. * Sensible indentation, please ;-) Change-Id: I6ef78cad3958b6379d17275a716bb62553b07601
2012-08-14fdo#47674 Save settings for Import Ascii Text DlgLaurent Balland-Poirier
Add save of settings for Paste Unformatted Text and Text to Columns. Remove useless cSep parameter because default are set in Calc.xcs Change-Id: Iff4b976f434a63d2d1f56e497852c7c1e763151c
2012-04-10resolved fdo#48501 enable line size >64k in SvStream::Read*Line()Eike Rathke
CSV and other text formats may come with line sizes >64k that so far were truncated due to limitations in ByteString/UniString/String, even if one line consists of several fields that each are <64k. Introduced additional SvStream methods that read into rtl::OString and rtl::OUString and let SvStream::ReadUniOrByteStringLine() fill solely an rtl::OUString. Made Calc CSV import use those.
2012-04-05Revert "Cleanup. ScPivot(Collection) is no more."Markus Mohrhard
This reverts commit 568d3912bf8ced76ecb9506bccc3bd361daba082.
2012-04-04Cleanup. ScPivot(Collection) is no more.Kohei Yoshida
2012-04-04removed unused member variableEike Rathke
2012-04-04fdo#33088 better CSV import default separatorsEike Rathke
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-01-16just return a new string rather than pass by referenceCaolán McNamara
2012-01-13here calc, take ownership of this foul monstrosity only you useCaolán McNamara
SvStream::ReadCsvLine doesn't need to be a member of Stream and the subcomment about what's wrong with the method is longer than the body of the method. Only used by calc, so can go into calc. foul monstrosity back
2012-01-05add a comphelper::string::getTokenCountCaolán McNamara
suitable for conversion from [Byte]String::GetTokenCount converted low-hanging variants to rtl::O[UString]::getToken loops added unit test
2011-11-28dr78: #i115474# use correct defaults for clipboard text import optionsEike Rathke
# HG changeset patch # User Niklas Nebel <nn@openoffice.org> # Date 1292252971 -3600 # Node ID bd03086b10d4f378b4495aba27f524e1798a7cff # Parent 31b53a2ec7e32f9560464f8a3b9f6c3e07b29083
2011-11-27remove include of pch header from scNorbert Thiebaud
2011-11-25gsl_getSystemTextEncoding -> osl_getThreadTextEncodingDavid Tardon
2011-11-14ByteString->rtl::OString[Buffer]Caolán McNamara
2011-05-27Replace DBG_* with OSL_* in sc/source/uiJacek Wolszczak
2011-03-10Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Kohei Yoshida
2011-03-01Remove bogus comments.Guillaume Poussel