summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-09cleanup header tbcontrl.hxxTomaž Vajngerl
Change-Id: I8b424a21b7a1fcc72b607fec00cbfaa6a6961c8b
2015-04-09WaE: ‘LibreOfficeKit* lok_init(const char*)’ defined but not usedTor Lillqvist
Change-Id: I1b5594173b912c8ac54bb54718ce06bee47e2ed9
2015-04-08Related tdf#88056: Add a warning when id service unknownJulien Nabet
Change-Id: I6e027027e78770e32aa484bb1598ebd8c2f291de
2015-04-08Add lok_init_2() that takes also the path to a user profile to useTor Lillqvist
In some LibreOfficeKit use cases it will be useful to use a separate (initially empty) user profile each time, instead of whatever the default might turn out to be. (When using the "instdir" of a LibreOffice build tree, the user profile is the "instdir/user" directory.) Also add a corresponding new function to be looked up, libreofficekit_hook_2. I did not bother with any more descriptive name. After all, "lok_init" already is quite terse, so calling the new function "lok_init_with_user_profile" or something similarly verbose would in my humble opinion have been inconsistent. (And if/when we need to extend the LibreOfficeKit initialisation function with even more parameters, the name would become really long.) But feel free to change this if you feel like it... Make sure to stay backward-compatible with source code calling lok_init() and with binaries looking for only the libreofficekit_hook entry point. Change-Id: Ifa9ce8f72c2f60554fb3431d522e5784afa8d8d3
2015-04-08sc tiled editing: Reuse the selection method.Jan Holesovsky
Change-Id: I05175f0d8c37994658e0dcdf355a753bf7c840b8
2015-04-08sc tiled editing: Double click in the cell selects the entire cell.Jan Holesovsky
Change-Id: Ib537d5e4a0c7c9ed6a6b2520512d32da6c651188
2015-04-08fix assert on exporting fdo79938-1.ott to .docCaolán McNamara
Change-Id: I93f331bd1c57bd016948e3ed784530724a1028b4
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-08tdf#88812 sw: speed up SwDoc::MakeFlyAndMove()Miklos Vajna
In this function the anchor is not set by the time CopyRange() is called, so the check always returns false, but in worst case it's O(n^3) wrt. the number of fly frames in the document, so it's a significant cost to perform that check. Before: $ time OOO_EXIT_POST_STARTUP=1 instdir/program/soffice.bin --headless /home/vmiklos/orig.rtf real 0m46.833s After: $ time OOO_EXIT_POST_STARTUP=1 instdir/program/soffice.bin --headless /home/vmiklos/orig.rtf real 0m26.832s Change-Id: I7ab9565634e4df7e0adc701908815f778dc59d32 Reviewed-on: https://gerrit.libreoffice.org/15197 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-04-08MM: fixed invalid UNO-Reference as return value of UNO MailMergeServiceChristoph Lutz
This fix is regarding 9835bb562 "MM: export the SwDocShell mail merge via UNO": In case of using the new output type MailMergeType.SHELL, the UNO MailMergeService returned a XTextDocument instance that was not correctly initialized. In particular after calling doc.getCurrentController() (with doc = the returned instance) we recieved NULL. The reason was, that the previous implementation used to create a new SwXTextDocument instance instead of just returning the BaseModel that is already associated with the internal SwDocShell. This is fixed in this patch. I also tested this patch with the unit test sw/CppunitTest_sw_mailmerge and everything seems to be fine now. doc.getCurrentController() no longer returns NULL. Change-Id: Ic116f8f25ab9686ef56950e97ba202a55ab81fb8 Reviewed-on: https://gerrit.libreoffice.org/15207 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-04-08solenv: there are no more SvArrays in need of pretty printingMichael Stahl
Change-Id: Ic4d59228f3295e8400bcacf637ff4def7669b775
2015-04-08solenv: add GDB pretty printer for SfxItemSetMichael Stahl
Change-Id: Ibd74c58efa7f1a24de409820655fb98b4fc13df3
2015-04-08svl: move SfxItemSet methods togetherMichael Stahl
Change-Id: I3f47273f7b648e8c8d261217ba3f9ea8d366b61b
2015-04-08svl: translate some comment in itemset.cxxMichael Stahl
Change-Id: I0d306854ed295826418ad88ea5c0c72b949eeb22
2015-04-08svl: prefix members of SfxItemIterMichael Stahl
Change-Id: I0d2bcf306a789f1eaa0760c69ced427c0ec70ef8
2015-04-08svl: prefix members of SfxItemSetMichael Stahl
Change-Id: I801aaa8ad9a4ff08dedd2f92b09d98c870c725b8
2015-04-08xmloff: also print what is duplicateMichael Stahl
Change-Id: I87b5122b8f1f4e26ba16ebc1228fb77f8b7800d9
2015-04-08tdf#43157: remove osl/diagnose.h dependency from sal/osl/unx/socket.cxxJorge Cunha Mendes
Change-Id: I2becc1cbb875270e2a1e8ed6b7cb0f9b6bdbf2f9 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
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-08-Werror=maybe-uninitializedStephan Bergmann
Change-Id: I7d3c36e564b3a5286ebd32527575472313119587
2015-04-08text:p is not allowed as child element of draw:frameMarkus Mohrhard
Regression from #i118485#. Change-Id: Ib242ca1417f46b731d62d117132cbed6c02448fb Reviewed-on: https://gerrit.libreoffice.org/15173 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-04-08only try to export text:p for elements that really support itMarkus Mohrhard
Change-Id: Ie2c072c67ecaa0c0ec45c804ebbd4b3bcd631a13 Reviewed-on: https://gerrit.libreoffice.org/15172 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
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-08tdf#88169: Do not return ..._INFO_SRCBUFFERTOSMALL when ..._FLAGS_FLUSHStephan Bergmann
...in accordance with <http://www.openoffice.org/udk/cpp/man/spec/textconversion.html> Change-Id: I62013f89c421722770123db8a5794e63d3572e6b
2015-04-08These function templates want to be inlineStephan Bergmann
Change-Id: I138919fff6e78ab8f751c5363ff73d6830f40222
2015-04-08Updated coreAndras Timar
Project: dictionaries 7991db3dd76ae9fe15faadbd25efb9bceed44e63
2015-04-08fix shadow errorNoel Grandin
introduced by my commit 216fdcbdb4c17f349ffd68abd1f372bea3287fad "convert RECALCMODE_ constants to scoped enum" Change-Id: Ie7db053741205faeac70e3d21757774567f43ce0
2015-04-08convert CapType to scoped enumNoel Grandin
Change-Id: I88fa3672a1f933ae818368c9bc400c6a845babb6
2015-04-08convert DIC_ERR_ constants to scoped enumNoel Grandin
Change-Id: I083f1b7f21b18c5067b01c82fa8fec467a3d0c50
2015-04-08convert PATH_FLAG to scoped enumNoel Grandin
and move it inside the linguistic module, since it is not used externally Change-Id: I5e405bd921c090277e75e3bcff81638af0845ece
2015-04-08android: update emulator / debugging documentationMiklos Vajna
Change-Id: I402e9073f15dccb3618c06e355559b9f8ff7f763
2015-04-08Fix duplicate widget IDs and sloppy mnemonic IDsKatarina Behrens
Change-Id: I4df3b1e1886e77f7314e034550907ffca58b9ce6
2015-04-08SwViewShell::PaintTile: avoid incomplete tiles when layout is not readyMiklos Vajna
The problem was that in SwViewShell::Paint(), in case CheckInvalidForPaint() returns true, we don't paint anything, but rely on invalidations to call Paint() again and hand out an incomplete tile. For tiled rendering, we want to hand out complete tiles all the time, so call CheckInvalidForPaint() early in SwViewShell::PaintTile() that will ensure that by the time SwViewShell::Paint() is called, the layout is ready for that tile. Without this, when opening any larger document with the Android viewer, about at least once out of 5 times an incomplete tile (e.g. almost totally white) was shown for the first page, and the user had to work around this by zooming out + in again to force a re-draw with valid layout. Change-Id: Ic7d3a6ddbf9f04beae9ecaa9563d3f5b4d22cc5c
2015-04-08convert RECALCMODE_ constants to scoped enumNoel Grandin
Change-Id: Ice2e45a3db59adc34a160b4b410cc51c750835f2
2015-04-08convert SV_ITEMSTATE constants to SvItemState scoped enumNoel Grandin
Change-Id: I7d7d516f37cbb5e28a842bbc6bff54916d450dbb
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