summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2017-02-16unwind RID_GLOBSTR local resourceCaolán McNamara
keep the GetRscString optimization and resource defines, but add an offset to global space to their .src and .cxx fetching Change-Id: I2156304aaaf6638f85cf0410e66aa8b1ed86e63b
2017-02-16sc: author, date not mandatory now for .uno:InsertAnnotationPranav Kant
These can be autostamped always when missing Change-Id: I9cf8d03d7294cb70c17ccb2635f81936abcad1c0 Reviewed-on: https://gerrit.libreoffice.org/34328 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk>
2017-02-16remove unused HEADER from ScDBDataPortion enumNoel Grandin
Change-Id: I744a945f9aab152c8cddac2bd88567610540471c
2017-02-16convert ScDetectiveDelete to scoped enumNoel Grandin
and drop unused SC_DET_ALL enumerator Change-Id: I67b729cfcf71c0e7bc406b205b56d74923617098
2017-02-16convert DrawPosMode to scoped enumNoel Grandin
and drop unused enumerators Change-Id: If61605d1b234664ba9264997cc3c4ec40608cc99
2017-02-16drop ReferencedFlag enumNoel Grandin
since we never use the REFERENCED_PERMANENT enumerator, we can represent this as a simple bool Change-Id: I34cccad34b90834f285c44d2e44aa1cdc33276d1
2017-02-16convert ScGetDBSelection to scoped enumNoel Grandin
and drop unused SC_DBSEL_SHRINK_TO_SHEET_DATA enumerator Change-Id: I083f65fba450fd0a9abebcaaae3b18c8d0b6c808
2017-02-16convert ListenerGroupType to scoped enumNoel Grandin
Change-Id: If561c82e9535d5ee5898966e5a2b3d7e2754d145
2017-02-16convert ScPasteFlags to o3tl::typed_flagsNoel Grandin
Change-Id: I6619c034680a4bab6a19bd4c92504fb34570ac6f
2017-02-16sc lok: implement comment callbacksPranav Kant
Change-Id: I1253138aa530ecb2b63bf6cda658d480ac62ada5 Reviewed-on: https://gerrit.libreoffice.org/34326 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk>
2017-02-16sc lok: No need to set tiled rendering zoom herePranav Kant
If we make sure that this code is executed after initializeForRendering is called, which is how it should be ideally, we will get the correct positions anyway. Change-Id: I1eb8f32823cb0b02539f077882372a73b6df5851
2017-02-16sc lok: comments: Use tab.rowcolumn string as postit idPranav Kant
Change-Id: I5eaa7c82239ab65a567a893d76c68468cf116469
2017-02-16sc lok: Prevent editing note in case tiled annotations offPranav Kant
Change-Id: Ie98a2cc3a5366bde912f4eeef9bb63a32342cdd6
2017-02-16sc lok: Prevent showing comments if tiled annotations are offPranav Kant
Change-Id: I594b61e102c0ecacb169ee6064ba96d70c16ab42
2017-02-16sc lok: Set appropriate ScViewOptions when annotations are offPranav Kant
Change-Id: I65b3fea9a33396419dff70b134729594c0dda4db
2017-02-16sc lok: implement commandvalues command, ViewAnnotationsPranav Kant
... to list all notes in calc. Change-Id: I6c636ebd47ee238c32e3c0b7d10254d237396a51
2017-02-16sc: Use less expensive alternative to count total notesPranav Kant
No need to fill the vector unnecessarily when we are just concerned about the total count. Change-Id: I94d7cd6dd86e612edc078f7b70c051d67b787a5a
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>