summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2015-03-16sc tiled editing: EndTracking() is necessary in the tiled rendering case.Henry Castro1-0/+5
Change-Id: I0fc550ed669e08787b968ec03c09c1d8ad04dd65
2015-03-16sc tiled rendering: Avoid warnings about a non-existing SdrPaintWindow.Henry Castro1-0/+8
Change-Id: Idb9695515d9a829fb63ea37e02f4bf2b111bf6bf
2015-03-16Small cleanup - no need to have 2 OpenURL's.Jan Holesovsky3-14/+10
Change-Id: Ib76729004f36e087aaf5a6089a60675c606e9070
2015-03-16make format consistent with the rest of the file...Siqi Liu1-3/+1
2015-03-16tdf#89705: make hyperlinks clickable on impress/calcSiqi Liu3-3/+18
Change-Id: I3d35918a43dff789fad703cfc6b594a6dd3df47b
2015-03-16sc tiled mouse events: Fix the click coordinates in non-100% zooms.Jan Holesovsky1-1/+1
Change-Id: Ic535aaf9c1cac303dbade4dab7500d176aaaab2b
2015-03-16sc tiled rendering: Don't adjust the text width according to printer.Jan Holesovsky1-27/+35
When we don't set the 'wysiwyg' text, tiled rendering gets confused, because nPrtToScreenFactor is not 1.0, and everything gets horizontally shrunk. There is still a problem with vertical direction unfortunately - in order to have the same height of all the cells, the zooms where it does not fit the pixels can lead to an offset there too; but still this commit improves the situation a lot already. Also sort the includes when touching this, otherwise no idea where to add the inputopt.hxx :-) Change-Id: I15bf367af72a898248af81f34dc857ceb66187af
2015-03-16sc tiled rendering: RefreshZoom() is called already in SetZoom().Jan Holesovsky1-1/+1
Change-Id: I985275e3a1a944dffebe3987dee748f604e065f9
2015-03-14Related to tdf#89387 remove unused stuffŁukasz Hryniuk1-18/+14
Change-Id: I7c8963385874af1233a704faca1f5b173220ba37 Reviewed-on: https://gerrit.libreoffice.org/14861 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-03-13add items to ScTableRefTokenEike Rathke1-3/+24
Change-Id: I23ddec273f7d3df0d5342b73c54ae411b9ef3782
2015-03-13add ScTableRefToken::AddItem()Eike Rathke2-0/+6
Change-Id: Iab74e027d9929bc100ad92c2126c17fca1e2e46a
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann4-7/+17
...for a 32-bit build, similar to what ee11e221d2108212619e1bbe7f029e7d9afdba32 "tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit build Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
2015-03-13TableRef: scan whatever (translated) item name up to the next ']' closerEike Rathke1-1/+25
Change-Id: Ifd18e4dd369a0fbe98da7a7b972c012f5269af3e
2015-03-13V803 decreased performance postfix incrementMichael Stahl1-2/+2
These are pretty silly anyway, but apparently it complains even about integer variables which make this rather a waste of time. Change-Id: I15e847d33d5decd2adcab04e4f1567d3997d28a2
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann3-8/+9
...in preparation of enabling the __attribute__((format(...))) in sal_detail_logFormat (include/sal/detail/log.h) Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86
2015-03-13Presumably this is what was intendedStephan Bergmann1-1/+1
...in 70af05cf740d3b4639f110489dc0e9e1e7571931 "Convert Calc page header/footer content to Widget UI" Change-Id: I327318b6fc45a2e63c6398d657e766ac9b471324
2015-03-12TableRef: use existing ALL instead of yet another bitEike Rathke1-1/+1
Change-Id: I7f8cdba40d1d455927557c31867b822afb9dff7e
2015-03-12TableRef: parse away an optional #All in entire tableEike Rathke1-1/+2
Change-Id: Ibe7c67b608ab97c83fcac6adf95d67e00a74fd72
2015-03-12sc: PVS-Studio V595 'pCode' pointer could be nullMichael Stahl1-2/+1
Change-Id: I2400fde32a41395f5c118f80661ae2c2f21df7ad
2015-03-12TableRef: parse item specifiersEike Rathke2-0/+31
Change-Id: If1419844544be08fa14b6c78c755abba35fff353
2015-03-12speed-up shortcut for non-alnum one character operators and separatorsEike Rathke1-0/+6
Change-Id: I57281f8e98a7427a562ede1d2dcd9ed4624f33e1
2015-03-12init and compare opcode hashmap with uppercase symbolsEike Rathke1-5/+6
This is necessary now there are TableRef items like #All that need to be matched case insensitive but displayed preserving the case as coded / translated. As a side effect, OOXML functions with _xlfn. prefix are now matched in case that prefix was uppercase. Change-Id: Ie14700d13c40c3e39e6d6aff560bcdfe23707196
2015-03-12Enhancement tdf#87972 : Cannot repeat items labels on a pivot tableDeena Francis22-50/+242
Change-Id: I44b2521ea548b51a1b3e9b42cfa64c5f50d7798a Reviewed-on: https://gerrit.libreoffice.org/14504 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2015-03-11TableRef: possible item combinationsEike Rathke1-6/+10
Change-Id: Id02fb58bbb9419d7c70d8265cb990ffc8ebc68ec
2015-03-11utl::ConfigItem::Commit() should call ClearModified()Michael Stahl14-15/+26
Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
2015-03-11Clean up previous commitStephan Bergmann5-34/+6
Change-Id: Ibb7d689bd175959a195d27130db1a29d30f423bf
2015-03-11sc: use constructor syntax in scd.componentChris Sherlock7-77/+15
Change-Id: I997701eb56ca13ff0806f7284e1634c755f06fd5 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-11surely this check should preceed deref of pActiveViewShCaolán McNamara1-3/+2
Change-Id: Iaed1dafbae75fa61b15349aedda50a7b2d895719
2015-03-11TableRef: need to distinguish between entire table and All specifiedEike Rathke2-7/+8
Change-Id: I507b6dfc0ce1a7b0f28142b05e15834ad6e6ac80
2015-03-11add TableRef stackEike Rathke2-2/+33
Change-Id: If781e6ab13eb5ad175352e330379776d6ca4fcd8
2015-03-11Clean up previous commitStephan Bergmann5-37/+6
Change-Id: Ie64d47123200c23a1aa2c0a81135b265d09c0f63
2015-03-11sc: use constructor syntax in scfilt.componentChris Sherlock7-64/+23
Change-Id: I673c8daabb6438f833571b0c70df1e73e6b8d273 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-11correct b0rken logic that accidentally worked neverthelessEike Rathke1-3/+3
... because sFormula1 in such cases usually (?) is not empty. Change-Id: Idc0b71e258018b4728e3d7e7f8942e0c09b22e5c
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara5-146/+127
Change-Id: I7783d96e40de7a8df794f143d2c7830bf3314218
2015-03-10virtual ScTableRefToken::SetIndex(); of course..Eike Rathke2-0/+6
Change-Id: I4a43ea664e9db2bb44e0e7f089a71abf6f572b1e
2015-03-10replace an OSL_ENSURE() with assert(), tdf#89319 relatedEike Rathke1-1/+1
Commit 8e2293e06adba3f22e824acad99983fb5b997e4d changed STREAM_SEEK_TO_END logic, ensure that in a dbgutil build we catch unnoticed corner cases with assert() instead of just another fly-by warning. Change-Id: If6c4fb4d2467f7dc7b8177caf7353d0b0e56ed0d
2015-03-10V668 no sense in testing the result of new against nullCaolán McNamara2-14/+8
Change-Id: I1cff71d15f4d1b5ee47cc734b3fc2168d7f99201
2015-03-10V668 no sense in testing the result of new against nullCaolán McNamara1-3/+0
Change-Id: I85993df91bd14966f9175c356966fbd8eb1a927d
2015-03-10Add unit test for bb0c05cebed131805d04919fac2b83030087451bTor Lillqvist2-0/+35
Change-Id: I2b21a488a7f597603b65fac0ff3c6b05c3660994
2015-03-10Revert "Ifdef out testSharedFormulaXLS() for now, fails for me with ..."Tor Lillqvist1-8/+0
"... OpenCL on CPU" I can't reproduce the problem any more. It was likely fixed by fa4ce83f567cfb735bdfd2319458585ded4cd554. This reverts commit 219f2dc83f40afb7470bffc307371925e8fae018. Change-Id: Ib6d3a42137bcf21b0edec2173cf483ade6104b0b
2015-03-10Fix issue in re-use of ScTokenArray objects from a TokenPoolTor Lillqvist3-1/+8
The TokenPool::operator[] is used to initialise and take into use an object from the pool. Which is a fascinating thing as such and probably not entirely in good style. Anyway, the objects in the pool are of type ScTokenArray, a class derived from FormulaTokenArray. The operator[] called the FormulaTokenArray::Clear() function to initialise the object. This left the fields added in ScTokenArray uninitialised, having whatever value the previous use of the object had set. Which of course is bad. In practice, this showed up in the handling of formulas in the .xls input filter. If an earlier (or the first?) formula had happened to be one for which we don't want to use OpenCL, the meVectorState of its ScTokenArray object in the pool had been set to FormulaVectorDisabled. When the same pool object was later re-used for another formula, it kept that same meVectorState, even if there was no reason to. Thus formula groups that should have been OpenCL accelerated weren't. This can have a significant impact on performance of document loading and recalculation for large documents. I added a function to ScTokenArray to clear (initialise) such an object, both the FormulaTokenArray part and the ScTokenArray-specific part, and call that instead. This fixes the issue. I named the added function ClearScTokenArray() to make it clear that it is a separate function. Sure, possibly Clear() should be made into a virtual of FormulaTokenArry and overridden in ScTokenArray, and the overriding Clear() would first call the base class's Clear(). But I can't be sure that there aren't other calls of FormulaTokenArray::Clear() that *must* mean the base class one. Better safe than sorry. And of course, I did *not* want to name the function in ScTokenArray also "Clear()", like in the base class, without it being virtual. That is horrible style in my opinion, even if there certainly is precedence for such even in the very same classes, i.e. the Clone() function... Change-Id: I0e0e13e5ca705603005a1e0a46866f095cd2ac4d
2015-03-10Also relative row references need to wrap around, like fdo#84556 for columnsTor Lillqvist1-1/+10
Change-Id: I07400d6dead66ec437436b5ea8b49491f8048335
2015-03-10GridWindow: change pNoteMarker to unique_ptrTomaž Vajngerl4-27/+25
Change-Id: I1e141632172f53ddbd2f5f434206646c9a1e9cf0
2015-03-10GridWindow: unique_ptr for overlaysTomaž Vajngerl2-28/+28
Change-Id: I84d997997100af4e21eafc5b458ff98d99c7dbbd
2015-03-10ScGridWindow: scoped_ptr -> unique_ptrTomaž Vajngerl4-21/+17
Change-Id: I6a888b58668ccb64c5a9c3270d06c3b9bcf8ce64
2015-03-10put local functions into anonymous namespaceTomaž Vajngerl1-2/+6
Change-Id: Ia076670e7356c378c6e8feb5970033638d2ba0b7
2015-03-10GridWindow: use unique_ptr for filter box and floatTomaž Vajngerl2-81/+85
Change-Id: Iaf203682e6d3b18d8b25c6ee2755710615fe5f08
2015-03-10clean-up ScGridWindowTomaž Vajngerl2-33/+36
Change-Id: I006b17efd78334c71c0dddbeb6f906cb955a3f39
2015-03-10translate some commentsTomaž Vajngerl3-36/+33
Change-Id: Ia050a9a0fe5219964ba4d1460260e07fc4ab4fbb
2015-03-10add option to disable animations, use in dashed border overlayTomaž Vajngerl1-1/+2
There are use cases when it is useful to disable animations (using LO in remote display when the bandwidth is limited). This adds an option that will allow to disable all animations. Currently only animation when copying cells in Calc (dashed border overlay) uses this option. Change-Id: Ia8cd3783140428e921c3151c2f462d3862440edd