summaryrefslogtreecommitdiff
path: root/sc/inc/token.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-06-21TableRef: make ThisRow work in named expressionsEike Rathke1-1/+1
... including reference update as named expressions don't hold RPN. Change-Id: Ieea19e24f1dcf71d489ff0249bc7d3644e4f0d2b
2015-06-17Resolves: tdf#86305 clone upper left of matrix result if double tokenEike Rathke1-0/+6
Change-Id: I541577e0b99b0144a755e5755adc890c0ca8d204
2015-04-17TableRef: prepare ScTableRefToken to hold the resulting area in RPNEike Rathke1-0/+3
Change-Id: Iaf76cf298dd2f9f9b8d9fb56ecb9e7b29fdc6ca1
2015-04-07TableRef: only #Headers,#Data or #Data,#Totals combinations allowedEike Rathke1-3/+1
According to https://msdn.microsoft.com/en-us/library/dd906358.aspx Take them by their words. Change-Id: I832c860695833ad04338ebd56c5b56805f1aa0a0
2015-03-13add ScTableRefToken::AddItem()Eike Rathke1-0/+1
Change-Id: Iab74e027d9929bc100ad92c2126c17fca1e2e46a
2015-03-12TableRef: use existing ALL instead of yet another bitEike Rathke1-1/+1
Change-Id: I7f8cdba40d1d455927557c31867b822afb9dff7e
2015-03-11TableRef: possible item combinationsEike Rathke1-6/+10
Change-Id: Id02fb58bbb9419d7c70d8265cb990ffc8ebc68ec
2015-03-11TableRef: need to distinguish between entire table and All specifiedEike Rathke1-5/+6
Change-Id: I507b6dfc0ce1a7b0f28142b05e15834ad6e6ac80
2015-03-10virtual ScTableRefToken::SetIndex(); of course..Eike Rathke1-0/+1
Change-Id: I4a43ea664e9db2bb44e0e7f089a71abf6f572b1e
2015-03-05add Item enum to ScTableRefTokenEike Rathke1-4/+21
Change-Id: Ie35d717fd55e6bbde958d3f2be4dac5f489467f9
2015-03-05introduce ScTableRefTokenEike Rathke1-0/+16
Change-Id: Id6f7f0fbc120072cf6a61229838e39c4a53aeee7
2015-02-07loplugin:deletedspecialStephan Bergmann1-3/+2
Change-Id: Ieeca9fe957e7bc6a4cf9d7d6ac57f9ed150aab78
2014-12-22Blind fix for MSVC buildStephan Bergmann1-0/+2
Change-Id: Ib5ed5a6bd598df660c3b865782e6a639e2c657ee
2014-12-22remove scmatrix.hxx include from a header fileMarkus Mohrhard1-1/+2
Change-Id: I153abe3a9c7ff784da16785fd9da8045c3581d8a
2014-10-31converity#1249470 Uninitialized scalar fieldEike Rathke1-0/+2
comment it's unnecessary Change-Id: Iebf2d1dbed1f9c1e2e09144f47e73d9628355f2e
2014-10-23Duplication of formula/token.hxx codeStephan Bergmann1-10/+0
...now that ScToken has dissolved into FormulaToken Change-Id: Idd28842125698fde62df7f70079f73105b918bc0
2014-10-23Remove ScToken from the formula::FormulaToken hierarchyStephan Bergmann1-46/+29
...to keep UBSan from complaining about illegal downcasts from FormulaToken to ScToken (which were practically harmless, given that ScToken did not add any data members). Change-Id: I8fdc026eec363442cc4b720b71d65c972b4a4446
2014-10-23Turn ScToken::checkTextEqual into a free functionStephan Bergmann1-2/+0
Change-Id: I03daf7bb68ed33d9610b7ef19d3bd6c18dc8170f
2014-10-23Move virtual ScToken members up to FormulaTokenStephan Bergmann1-27/+0
Change-Id: I20eb3b44d540f459cd1902a7a3b6a5c867e5bc07
2014-10-23Make ScToken::GetSingleRef etc. return * instead of &Stephan Bergmann1-28/+28
...so that default implementations can return nullptr without further ado Change-Id: Idc8778fe868efa00b1de597a54aa07a2e6fa3bc0
2014-10-23Turn virtual ScToken::Dump into a single free function DumpTokenStephan Bergmann1-8/+2
Change-Id: I2c81f24a27ede9922ed8ff16cf0ea4af824e9e59
2014-10-23loplugin:saloverrideStephan Bergmann1-2/+2
Change-Id: I94f330d31f142bbeea2274597c855481cb311e0c
2014-10-23Turn static ScToken::ExtendRangeReference into free functionStephan Bergmann1-14/+14
...and rename to extendRangeReference to avoid confusion with formula::FormulaCompiler::ExtendRangeReference. Change-Id: Ifcad309c14e04a0e37c80ca44462da587387241d
2014-10-23Move FormulaToken::TextEqual overrides down into specific subclassesStephan Bergmann1-2/+4
Change-Id: I5f27054ef2f9fdc4d0be0afe91ad31d053976bcf
2014-10-22Remove unused FormulaToken::Is3DRefStephan Bergmann1-1/+0
Change-Id: Ib720bc4b3bfff8e428d14d65ff73144db82c60e0
2014-06-25remove whitespaceMarkus Mohrhard1-7/+0
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-05-11fix-includes.pl: scThomas Arnhold1-3/+3
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
2014-05-06Let's make this non-inline...Kohei Yoshida1-6/+2
Change-Id: Ib427cea392c953e6bce121bfe82e9215eb1bb99a
2014-04-19fixincludeguards.sh: scThomas Arnhold1-2/+2
sorry, huge one...
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann1-68/+68
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-02-13Drop unnecessary #includeTakeshi Abe1-1/+0
Change-Id: I9bc9c21811100d6cc1ee7e381a3735567e3bda34
2013-10-11Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida1-27/+26
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-09-07iString to OUString in some calc core codeMarkus Mohrhard1-13/+13
Change-Id: I25fc70cfd01f5ad25f7362157796d3ddf06139e1
2013-09-06Wrong place to apply implicit intersection. Do it at the very last.Kohei Yoshida1-0/+7
Change-Id: I4b1e9d136d45f169ad1c1efee2275bab7dfe0f49
2013-09-06Correctly handle implicit intersection in group interpretation.Kohei Yoshida1-0/+24
Change-Id: I2ea6f41ad4036a6f3f5d99097e83fd988aacd105
2013-07-24Remove CalcAbsIfRel() virtual method from ScToken and all its children.Kohei Yoshida1-6/+0
Change-Id: I8d9c869161356a7adad9c57d34b001ebcf8992ce
2013-07-24Add dumping capability for ScTokenArray (for debugging).Kohei Yoshida1-0/+11
Change-Id: Ib3f6a87936a6c00b503f5d72b16b3e4712d7d762
2013-07-24Remove CalcRelFromAbs() virtual method from ScToken and all its child classes.Kohei Yoshida1-6/+0
Change-Id: I5def382f6495f332a0309795cbce8ebbd60ff471
2013-07-02Put the matrix header back in for Windows build...Kohei Yoshida1-8/+5
Change-Id: I676b3d9b702af51bf00dff9ef55d16e7fbdec65e
2013-07-01Reduce dependency on the matrix header.Kohei Yoshida1-41/+15
Change-Id: Iade09d108aec78f8cbe92f9103f206d0c99fab8e
2013-06-23we don't need this hack without inherited number formats, fdo#66076Markus Mohrhard1-14/+0
Change-Id: If315ce28a4182019002141c7330475e0843f9a40
2013-04-30Handle invariant group with single references.Kohei Yoshida1-3/+1
Change-Id: Ifbbac2b11b1023a5cf3d21204c12b9740af09aaf
2013-01-24import inherited number formats with cached values, fdo#59724Markus Mohrhard1-17/+28
Change-Id: I698f60daf4e591b57d8d99c130d2e524dc10c306
2013-01-09fdo#58539: Correctly set cached matrix formula result.Kohei Yoshida1-0/+4
During the import, a cached matrix value only has an empty matrix of correct geometry, plus the token type of the top-left cell. The rest of the elements are imported as hybrid values. For now, this seems to do the trick. In the future we may want to change it to fully populate the matrix cache value during the import, and skip setting the hybrid values for the non-top-left elements. This commit also make several other trivial changes: * Mark pRawToken mutable so that we can mark those IsFoo() methods const. * Move the ScCompiler instance from static instance to member of ScXMLImport. Since we don't need the instance to persist once the import is over, this is more appropriate. Change-Id: I1abde03c0fcd91b02ef4dbf8b5526f7965eaf19c
2012-12-04re-base on ALv2 code. Includes:Michael Meeks1-23/+14
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.
2011-12-20another "ScToken::GetDoubleRef: virtual dummy called"Eike Rathke1-3/+5
When checking for svSingleRef or svDoubleRef, also check for svExternalSingleRef or svExternalDoubleRef. Otherwise the dummy reference is treated.
2011-08-24replace ScNameToken with proper FormulaIndexTokenEike Rathke1-18/+0
2011-08-16update range names/database ranges in formulas cellsMarkus Mohrhard1-2/+3
we need to update range names/database ranges when we copy/paste formula cells otherwise the ScNameToken may point to a different entry
2011-08-14sal_Bool -> bool and cosmeticsEike Rathke1-1/+1
2011-07-19fix for fdo#39333: database ranges don't work in formulasMarkus Mohrhard1-1/+1