summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2017-02-15Translate German commentsJohnny_M
Change-Id: Ia30dc2f96b34e0edecade84a020092b0a24cbb18 Reviewed-on: https://gerrit.libreoffice.org/33895 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2017-02-15tdf#105909 auto filter state lost on xlsx importJochen Nitschke
in commit 77dc03c29501234bb07170004a7b8204987bad0c the new variant of FormulaProcessorBase::extractCellRange(..) replaced a CellRangeAddress& ApiCellRangeList::front() with ScAddress& ApiCellRangeList::getBaseAddress() which returned only the start address of the front range. This went unnoticed because ScRange has a non explicit constructor from ScAddress. later ApiCellRangeList::getBaseAddress() got replaced by ScRangeList::GetTopLeftCorner(). use ScRangeList::front() to fix this regression. Change-Id: I338e5d3054b62d5dd191492a38451d0adc85ae0d Reviewed-on: https://gerrit.libreoffice.org/34304 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-02-15tdf#100726 Improved readability in sc directoryFakabbir Amin
cleaning concatenation in sc directory. Change-Id: I137eb0eaf161edece272b084980e622831200803 Reviewed-on: https://gerrit.libreoffice.org/34288 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-15Some simplifications, using UNO_QUERY_THROWStephan Bergmann
Change-Id: If7a8abbf739aca98616ecb5cc3546ced192361d9 Reviewed-on: https://gerrit.libreoffice.org/34261 Tested-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-15these ooo-build resources were like this to minimize merge conflictsCaolán McNamara
just roll them into the normal mix now Change-Id: I65d37ce3067e6d23a7ca42b76a5e15526aefa001
2017-02-15convert ScUpdateMode to scoped enumNoel Grandin
and drop unused SC_UPDATE_CHANGED. I can't find anything in our git history to even indicate when it was last in use. Change-Id: Iec6192a3d02132d15b3f392264e81f36b1fd4fad
2017-02-15convert CellAnchorType to scoped enumNoel Grandin
and drop unused COLROW enumerator Change-Id: Idf9c978252a1bd5801e0d18ea339f7c27508734b
2017-02-15convert ExternalLinkType to scoped enumNoel Grandin
and drop unused enumerators: LINKTYPE_INTERNAL LINKTYPE_ANALYSIS LINKTYPE_MAYBE_DDE_OLE Change-Id: I2274997227b0fb62fb8fa44f2be19943514ccb4d
2017-02-15convert Lotus123Typ to scoped enumNoel Grandin
and drop unused enumerators Change-Id: I1658d05d3e79c0bbb1020a440b981723ba29bd4d
2017-02-15convert ConvErr to scoped enumNoel Grandin
and drop unused enumerators Change-Id: I78d4955d2ae92e0c4f3eeb58d783767c82ca9843
2017-02-15convert FormulaType to scoped enumNoel Grandin
and drop unused FORMULATYPE_DEFINEDNAME enumerator Change-Id: Iaa2094346a52b9f34e71708ba4b6efe5a1809ad4
2017-02-15convert FuncParamValidity to scoped enumNoel Grandin
and drop unused NONE enumerator Change-Id: Ibc77390efb195a9158ba809ad96aab4dcdbc09cb
2017-02-15convert WorksheetType to scoped enumNoel Grandin
and drop unused MODULE enumerator Change-Id: I905c6366bbd84172675e51a3f441d9ea419e8150
2017-02-15convert SylkVersion to scoped enumNoel Grandin
Change-Id: Ib7e02fee748bd55be6d74d60bff3d8ed765ea225
2017-02-15convert DoubledQuoteMode to scoped enumNoel Grandin
and drop unused enumerators Change-Id: I0dc45e2bec1a25357405ca0c0197632ee4806cb0
2017-02-15convert ScFilterBoxMode to scoped enumNoel Grandin
and drop unused enumerators Change-Id: I3f59622e17355ccc39597c0f79d4e254e6cc92c6
2017-02-15no need to check pRscString on every iterationCaolán McNamara
Change-Id: Icfcf2ca8efbaeaaa8fdddaa57496622a113027f7
2017-02-15move ScRscStrLoader to its sole use placeCaolán McNamara
Change-Id: I8a5d4a23651868f9f3fa890cb50c0b64f58c63b7
2017-02-15don't need to include strload.hxxCaolán McNamara
Change-Id: I1daa4fb47313827d37fee0187cccfc1df3b69e60
2017-02-14Close ScDocSh when doneStephan Bergmann
Change-Id: Ied1b342eacd14d65d0f28480411970e7f503e0a3
2017-02-14Resolves: tdf#79250 add typed list to form control listboxEike Rathke
... so numeric and text data can be distinguished input. Change-Id: I63280a93c272ccc6f5e7ca06a1a1fcbfb3db8455
2017-02-14Convert WindowType to scoped enumNoel Grandin
Change-Id: I85cfe02f28729e13f2c0dd3d91cd89e6f3e3b6a9 Reviewed-on: https://gerrit.libreoffice.org/34219 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-14tdf#105840 EXCEL export: fixes for hidden defaultRowJustin Luth
second attempt at fixing hidden rows without creating a million repeated rows. (related to tdf#98106) This affects both .xls and .xlsx. XLSX previously had NO support for default-hidden(zeroHeight), but XLS already did. Change-Id: I804e3f2ba21e595a1c2b2ebb355f0995868dd289 Reviewed-on: https://gerrit.libreoffice.org/34128 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-02-14Optimize Excel GetOrCreateRow: compare to previous map entryJustin Luth
Follow-up patch to 09e9274fc080b471393b806617eb03124db67590 and related to tdf#105840. Just keeping the non-dependent parts separate, and building up to a solution for bug 105840. Change-Id: I129e671f71de6abf876a82d4a6503695add85548 Reviewed-on: https://gerrit.libreoffice.org/34039 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-02-13add RAWSUBTRACT test caseZdeněk Crhonek
Change-Id: I338823f626d16dbc435a7b7efe0e5f1e30bf3497 Reviewed-on: https://gerrit.libreoffice.org/34221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-02-13add T.INV.2T test caseZdeněk Crhonek
Change-Id: Ic817f0e18015ed190ccd9ca651611e07fbcb18b5 Reviewed-on: https://gerrit.libreoffice.org/34218 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-02-13tdf#76183: refresh objects' positions on optimal height recalcMike Kaganski
Since commit b10833d4db6046f2d32ea44a60cb19a626d80447, it's required to detect when objects' placement should be adjusted, and call SetDrawPageSize manually. Unit test included Change-Id: I933ba4802b212400cc47ed0fb7e1f8f44049bb81 Reviewed-on: https://gerrit.libreoffice.org/34165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-02-13base work to trigger pivot table filter popup with a callbackTomaž Vajngerl
Change-Id: I5b85a760eb1f3f9090fbbd02f5510878ad3c51c2 Reviewed-on: https://gerrit.libreoffice.org/34007 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-02-13LOK - Calc: Increase the row limit to 10.000 rows.Marco Cecchetti
Change-Id: Ie91e4caf33d3b31df4c3de8dc6e78e223dc1e4b3 Reviewed-on: https://gerrit.libreoffice.org/34216 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
2017-02-13get rid of boost::math::log1p() and use rtl::math::log1p()Eike Rathke
... which in turn uses the compiler's std::log1p() Change-Id: I8878cc31dd4b0c16b04f15822cfbe665e4156109
2017-02-13Fix typosAndrea Gelmini
Change-Id: Iaf6bbe81f519d49b82f624282d786c8cc18d641c Reviewed-on: https://gerrit.libreoffice.org/34199 Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com> Tested-by: Aleksandar Stefanović <theonewithideas@gmail.com>
2017-02-13convert CharCompressType to scoped enumNoel Grandin
and move it to svl, where it belongs Change-Id: Ic4d846419dfe2dd85de5ade8ed1a041867bbf1dc
2017-02-12Pivot table median function testTamás Zolnai
Change-Id: I0a31733644aa6d4566566d0324d39aaf6b59b04f Reviewed-on: https://gerrit.libreoffice.org/34179 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-02-12Typo: (trans)fomat->(trans)formatJulien Nabet
Change-Id: Id2e3024c149b14d40e58f8534946a514ededfcfc Reviewed-on: https://gerrit.libreoffice.org/34158 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-12sc: simplify GetByName, FreeTable methods of DPCollection + testTomaž Vajngerl
Simplify DPCollection GetByName and FreeTable by using c++11 features. Change GetByName to return non-const ScDPObject as this is more useful (as operator[] does that already anyway). Change-Id: Ia502c615acc5cb7fdc51acea9b428d04e1c9a40f Reviewed-on: https://gerrit.libreoffice.org/34002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-02-12add CONVERT_OOO test caseZdeněk Crhonek
Change-Id: I8804c97a0d9ae02789350cd49537be4262a85277 Reviewed-on: https://gerrit.libreoffice.org/34167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-02-12Various typos on accessibleJulien Nabet
Change-Id: Id28a4a2cbbcec10a7cc9cb40ad208d575352039b Reviewed-on: https://gerrit.libreoffice.org/34161 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-11Clarify what this method does. Also remove inaccuracies.Kohei Yoshida
Change-Id: I2d6bda3dccb2040558bd7d4daa9d9b3b43b2d528
2017-02-11tdf#86470: add unit test for this.Kohei Yoshida
Change-Id: Ib93703d10fe1fff0898bc935222df7a0cfe20486 Reviewed-on: https://gerrit.libreoffice.org/34160 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-02-11tdf#86470: Let's not forget to move onto the next column.Kohei Yoshida
Change-Id: I451f521723458b5d6fe9d9fa8b41855fe17def64 Reviewed-on: https://gerrit.libreoffice.org/34159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-02-11Translate some German comments in scKatarina Behrens
Change-Id: Iea73c353f59bf0c93d7942e7fffb70e8d00182ba
2017-02-11IMCOS test case updateZdeněk Crhonek
Change-Id: Id415829b2361b530904211ae8a940648646a1250 Reviewed-on: https://gerrit.libreoffice.org/34107 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-02-11tdf#95306: Be sure to specify the entire range.Kohei Yoshida
Especially in presence of multiple disjointed selections. Change-Id: I8e7779824109c30e69fd43a2448ae900beaf28d3 Reviewed-on: https://gerrit.libreoffice.org/34140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-02-11Revert "Resolves: tdf#79250 add typed list to form control listbox"Eike Rathke
This reverts commit e387b69967aabc44d5da5aaad8d94191437dc57c. It breaks toolkit.subsequentcheck with propertyChangeListener wasn´t called for ´TypedItemList´ Back to the drawing board for the twisted property logic of forms and toolkit uno control models.
2017-02-10Revert "LOK - Calc: Increase the row limit to 10.000 rows."Eike Rathke
This reverts commit e530c7c4bcaaeb99cecd6f3c2c303db2a114b555. It breaks the build, e.g. http://tinderbox.libreoffice.org/cgi-bin/gunzip.cgi?tree=MASTER&brief-log=1486752747.29915 and is still in gerrit review anyway, https://gerrit.libreoffice.org/33799 where it similary failed. Might had been an accidental direct push.
2017-02-10Resolves: tdf#79250 add typed list to form control listboxEike Rathke
... so numeric and text data can be distinguished input. Change-Id: I63280a93c272ccc6f5e7ca06a1a1fcbfb3db8455
2017-02-10LOK - Calc: Increase the row limit to 10.000 rows.Marco Cecchetti
Change-Id: I2702b1e654dff816c8d66e82464ea578473dba60
2017-02-10Optimize Excel GetOrCreateRow: reduce loopsJustin Luth
for ( size_t nFrom = maRowMap.size(); nFrom <= nXclRow; ++nFrom ) This previous code worked best under the assumption that every row is added to the map. However, the size of the map actually has no correlation to the row numbers contained in it when many rows are identical to each other (think silly formatting and empty rows - related to tdf#105840) Thus row 1,000,000 could occupy slot 2, and every access of that row would then trigger nearly 1 million redundant loops. Optimize: -check to see if the row already exists - if so do nothing. -existance of higher rows indicates there are no missing rows. -build missing rows from the previously-mapped row. Change-Id: Ib02520a1bf0f77b5ca0ec5ad3165ff7ea879515f Reviewed-on: https://gerrit.libreoffice.org/34038 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-02-10unwind RID_POPUP_FILTER local resourceCaolán McNamara
Change-Id: I7369b3eb0e0d937c135fe591beafe9ec96ea9c17
2017-02-10unwind RID_STATISTICS_DLGS local resourceCaolán McNamara
Change-Id: Ib5e7692cce9e097250182ec1518e93848fdc9b86