summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-04-08TableRef: add pointers to documentationEike Rathke
Change-Id: I248ac1d116ffabc8346fd000c2ae4b0b9c6bd89b
2015-04-08TableRef: table name without items references data onlyEike Rathke
Change-Id: I2d4e534444678ddf8243db7b3fb6fe66af9fa24f
2015-04-08TableRef: match column header rows against DBrange first rowEike Rathke
Change-Id: I10f7806288f817e599876f95af4998ff6f539fc3
2015-04-08TableRef: handle column rangeEike Rathke
Change-Id: Iab87cc3fb2b21b53303e46a227f3a1ae35a3ab6d
2015-04-08TableRef: both column range rows must be table range top rowEike Rathke
Change-Id: I82fcb95c972defde4a854d4c4cce80e6e561bc92
2015-04-08TableRef: push ref only valid after openEike Rathke
Change-Id: I3ea00ddec1a740cbcff9eb22727b1f8ce32bb373
2015-04-08TableRef: limit to specified columnsEike Rathke
Change-Id: I389a0640d6ffefa1b98a9feff86c73775a7771dc
2015-04-08TableRef: keywords come with extra brackets eachEike Rathke
Change-Id: Ie12264c02d178be9bc5752e7ea20b4feff409e68
2015-04-08TableRef: simplify logic a littleEike Rathke
The #All keyword can be prefixing a column range anyway, so needs to be treated like all other keywords. Change-Id: Ic64a5caeff1c6b2d116b21c0c855c7207d649a8d
2015-04-08TableRef: set errNoRef is there is no resulting rangeEike Rathke
Change-Id: I19ec176abf3291b2d4ad5baff06f66518680b378
2015-04-08TableRef: handle #ThisRowEike Rathke
Change-Id: I5009df42fcb640ae6e2808900d7d42bd6dcc8677
2015-04-08A UNO Any can't contain an AnyStephan Bergmann
...and css::uno::makeAny<css::uno::Any>() was never meant to be used. Introduce css::uno::toAny for the (template-code) cases that shall return an Any for both Any and non-Any inputs. Change-Id: Ifa977d73f1da71b2fedde7e8140b19497c4a0257
2015-04-08the attribute name is actually table:database-table-nameMarkus Mohrhard
Change-Id: I9522529d918e143aafa6ea368fdb3fa55416d58b Reviewed-on: https://gerrit.libreoffice.org/15176 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-04-08tdf#90447 vba end() needed to restore activesheet too.Justin Luth
Change-Id: I650a5112511fd57099be3f0a84314d0577deae22 Reviewed-on: https://gerrit.libreoffice.org/15175 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-04-08Fix duplicate widget IDs and sloppy mnemonic IDsKatarina Behrens
Change-Id: I4df3b1e1886e77f7314e034550907ffca58b9ce6
2015-04-08convert RECALCMODE_ constants to scoped enumNoel Grandin
Change-Id: Ice2e45a3db59adc34a160b4b410cc51c750835f2
2015-04-08convert SHADOW_ constants to enum classNoel Grandin
Change-Id: I1d3c144b2438776a31a246a2d0d4fe57b0caeaa3
2015-04-08sc tiled editing: Never show the cell cursor.Jan Holesovsky
With the current behavior, showing the cell cursor is counter-intuitive and counter productive - we focus more on the editing itself. It is still possible to select just one cell though - it is the cell selection that starts and ends in the same cell. Change-Id: Ie6d96783d486c6fcda5b4c4f6acf91c1926cdf6c
2015-04-08sc tiled editing: Allow turning the text selection into cell selection.Jan Holesovsky
When moving the handle outside of the cell editeng, we want to turn the text selection into the cell selection. This patch includes work by Henry Castro - thanks! Change-Id: I081480b7d8b0fde8276f63c261d91bb9f2dc3b96
2015-04-08sc tiled editing: Better setup of drawinglayer, so that images are swapped in.Jan Holesovsky
Change-Id: I6f28ab1e4af91b12005ddfb9e64e984c783081ff
2015-04-07TableRef: implement more keyword casesEike Rathke
Change-Id: Ib37bfb1b8721d3f6729ce5c312863ffa6a1f76d4
2015-04-07TableRef: add Totals to ScDBDataEike Rathke
Change-Id: Ie38eaba48abbfc4f54304b349f5d2b135f4f7046
2015-04-07TableRef: only #Headers,#Data or #Data,#Totals combinations allowedEike Rathke
According to https://msdn.microsoft.com/en-us/library/dd906358.aspx Take them by their words. Change-Id: I832c860695833ad04338ebd56c5b56805f1aa0a0
2015-04-07Remove dead INetProtocol::VimStephan Bergmann
...which removes the need to abstract over the standard URI '%' escape prefix vs. the silly vim '=' special case invention. Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
2015-04-07fix crash on re-export of fdo64646-4.xls back to xlsCaolán McNamara
Change-Id: Ic6d6e7d7d8d42af0fc739d964a1190d40f9dba2e
2015-04-07cppcheck: should be passed by referenceCaolán McNamara
Change-Id: I3d606615769f70ed29884e4c83164ccf15478132
2015-04-07convert SvtModuleOptions::EModule to scoped enumNoel Grandin
Change-Id: I9665fc003cb3a44f4db857b24584fa3a70487259
2015-04-07loplugin:staticmethodsNoel Grandin
Change-Id: Id3d6b50e07ea0850af18ab9bdadfffe0e4602aab
2015-04-07sc tiled editing: Don't crash on desktop.Jan Holesovsky
Change-Id: I4cb63550b3913d097db63b374f0acbea591682e4
2015-04-07sc tiled editing: Fix the conversion so that it works with zoom too.Jan Holesovsky
Change-Id: I80d9ed6abe6b3ddb2bb1e0d6b7c74ce50d0df55a
2015-04-07Revert "sc tiled editing: This got fixed by the recent changes."Jan Holesovsky
Needed again. This reverts commit b11c58889cde10f43a9f239a959eb2c252dc4db7.
2015-04-07sc tiled editing: For now, revert to using the entire doc size.Jan Holesovsky
There are still too many problems with the interaction with the editeng, unfortunately. Change-Id: I5cdbc80dbe1dc3996ecd89f0bca5399cbfb9c9b0
2015-04-07sc tiled editing: Correct position of the selection in far positions.Jan Holesovsky
Before this commit, the selections outside of the aScrSize rectangle did not work - they always degraded to a single cell selection. Change-Id: Ie51da710424bff3691302f5923b141a2f2bea676
2015-04-07sc tiled editing: Changed behaviour double click to click.Henry Castro
In the tiled rendering case, it points the cell cursor, and immediately start the editing. When it is double click, it will only trigger the selection of the cell. Change-Id: Iafcabba408533e8162bd45d780f5e8926c6970bb
2015-04-07sc tiled editing: This correction is not needed, pass the exact values.Jan Holesovsky
Change-Id: Ie73569bf3faefdc9aa6a309423d8048a49dda272
2015-04-07sc tiled editing: Don't show cell selection when dragging shapes.Jan Holesovsky
Change-Id: I367c53e245df8aa720463319a61835c65ff93875
2015-04-07LOK: reimplement lok::Document::postKeyEvent()Miklos Vajna
Instead of posting an event to the main loop of the soffice thread, do what every other methods do: take the solar mutex and execute the task on the thread. This fixes random lost/delayed key events on Android. Change-Id: Ibe819282b5f3bb64e44d4b6f0a92611fe651bb39
2015-04-07sc tiled editing: Changed function to PixelToLogic.Henry Castro
The default DPI is 72 using static function OutputDevice::LogicToLogic. Change-Id: I8aba7e74f745092a34e8b50c4e52f84c1de77695
2015-04-07vcl tiled rendering: don't do anything with disabled mapmode and mm100 mapunitMiklos Vajna
Turns out Impress wants an mm100 -> twips conversion in this case, while Calc wants a pixel -> twips one, so there isn't anything here that can be abstracted in VCL. Change-Id: Ieb961afa97affbf682e13c0a56585396ae09f552
2015-04-07sc tiled editing: Set the 100% zoom in the selection-related methods too.Jan Holesovsky
Change-Id: I3d32edfb62cbe7eaceed823742ecd729dbe2f627
2015-04-07sc: Don't limit the zoom to some funny numbers.Jan Holesovsky
Instead just assert if we get something really really wrong there - and let's fix the root cause. The limits come already from the initial check-in of the OOo code, so maybe the reason why it was there in the first place is long gone anyway. Change-Id: I6e98a6a52eee81bd32d10269aeac76198d30b7c2
2015-04-07Update comment.Jan Holesovsky
Change-Id: I110c0ff8c14d552ecc24dda7b02e4188a7c39d70
2015-04-07sc tiled editing: Use the LogicMapMode even for mouse positions.Jan Holesovsky
Instead of using whatever MapMode value that was used the last time for rendering the tile, set it to something predictable when counting the mouse clicks (100% zoom), and use the value consistently in Calc via GetDrawMapMode(). This fixes clicking the shapes in various zoom levels. Change-Id: Idf83b560f57baab4dc79c45b2ff7c3d75653e102
2015-04-07sc tiled editing: Moving handles in text in drawing shapes in Calc.Jan Holesovsky
Now it is possible to move the cursor or adjust the selection in text in drawing shapes in Calc too. Change-Id: I9ed5b2efa426dda669ec32a2b6aa05d95481ef3d
2015-04-07vcl tiled rendering: fix Writer/Impress invalidation rectangleMiklos Vajna
Both Writer and Impress disable map mode during tiled rendering, i.e. IsMapModeEnabled() always returns false. Nevertheless, using GetMapMode(), it's possible to query what was the map unit before disabling the map mode, which is twips for Writer and mm100 for Impress. If Calc needs anything special here, that's better to be done in ScGridWindow::LogicInvalidate(). Change-Id: I2c10df47d32b80d2cef2b6e6587872fe4126a3f5
2015-04-07sc tiled editing: Make the editing of text in shapes in Calc work.Jan Holesovsky
I suspect the change in svdedxv.cxx is a hack and that the root cause is that we should initialize the pDrawView somehow more / better wrt. the output device that we are passing to BeginDrawLayers. [Probably the AddPaintWindowToPageView() called in ScGridWindow::PaintTile() is not enough.] But otherwise this makes the situation much better, and also makes the code even more on par with the non-tiled-rendering case, so let's live with that for now. Change-Id: I347b0af9e21acacc9aff4ebb7155246abd3beb43
2015-04-07sc tiled editing: This got fixed by the recent changes.Jan Holesovsky
Change-Id: I6a87657749f3dfa494985893fd8c97ffda13581b
2015-04-07sc tiled editing: Don't show the cell selection when editing text in shape.Jan Holesovsky
Change-Id: I1ddaa02e64a912c880faec9f907e9526432f6bcd
2015-04-07sc tiled editing: Don't resize the gridwin to the entire document.Jan Holesovsky
Instead: * resize it only to the tile size * adjust the view area (to the entire document) * never set the "top left cell of the view" Change-Id: I5d9c784315549025cd77042c4763a53e020bcf03
2015-04-07sc tiled editing: Show the cell cursor as a rect, not as a frame.Jan Holesovsky
Change-Id: I323f38fffb354b8f5701780b9078aefbfe3e8040