summaryrefslogtreecommitdiff
path: root/desktop/source
AgeCommit message (Collapse)Author
2015-09-21convert Link<> to typedNoel Grandin
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
2015-09-21lok::Document: register callback in the view, if requestedMiklos Vajna
With this, a postKeyEvent() in one view properly results in one LOK_CALLBACK_INVALIDATE_TILES per view, at least in Writer. Change-Id: Ia0a9a00ea5a98c38f3d399208b9ef028f3036f79
2015-09-21comphelper: add LibreOfficeKit::set/isViewCallback()Miklos Vajna
Change-Id: Iad0b2ee419327daf478f3ddda2378effe0184067
2015-09-21LOK: make getViews() be a member function of DocumentMiklos Vajna
Just to be consistent, as all other view-related member functions are there, too. No real impact, as only the unit test uses this so far, and it always works with a single document. Change-Id: I46f1ed8265ab95017986ab45c1b510e961192241
2015-09-21Use SfxViewFrame::Current()Miklos Vajna
Allows getting rid of vcl::ITiledRenderable::getCurrentViewShell(), which would do the same, just not implemented outside Writer. Change-Id: Id26ceca560fb9002dc2d5c740c411b9c4a149523
2015-09-21lok::Document: add get/setView()Miklos Vajna
Change-Id: Ic3bce8f01d7e048e853c063c4bce1255845c60d0
2015-09-21lok::Document: add destroyView()Miklos Vajna
Change-Id: Id9e92593217541b4123e95279019cec3c958056c
2015-09-21lok::Office: add getViews()Miklos Vajna
Change-Id: Iabfb0f2a19106dc4a6bdae45f9e85d76c68a973e
2015-09-21lok::Document: add createView()Miklos Vajna
Change-Id: Ic871ec41992b611b10958799b2dc12375a91efe4
2015-09-18Some follow-up #include clean-upStephan Bergmann
Change-Id: I4e91748701becfc92a379a490c08e9c7950007e3
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: I48bfd997279586adafe0773de7f4e42c7940257a
2015-09-17boost->stdCaolán McNamara
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-09-15LOK: Avoid crash when the command is not available in the given component.Jan Holesovsky
In that case we get a NULL pSlot. Change-Id: I38783ed198b1ab9860398f59ef872a295cbae6f8
2015-09-15LOK: Sync the list of commands we initialize with those we handle.Jan Holesovsky
A better solution is needed, outlined in tdf#94233. Change-Id: Ie2a58c9c5f5c46566da105ef84d736d7290f4634
2015-09-15lok: initialize UNO url command dispatchHenry Castro
In the tiled rendering case, the desktop is headless, so the toolbar is not created. The toolbar usually initializes all UNO url commands for each tool item attached. This causes that SfxControllerItem that monitor a state, it is not intercepted by InterceptLOKStateChangeEvent so no callback status changes. Change-Id: I5937cda66ef24d31dd92a1edd8c1440081c4b1a4
2015-09-14convert Link<> to typedNoel Grandin
Change-Id: I1c501671d72edd5b998e80c7fa1e91dbeb507af8
2015-09-12desktop: com::sun::star->cssNoel Grandin
Change-Id: Ie94dea9b4f48829132ceadcbf36634eeed191bb9 Reviewed-on: https://gerrit.libreoffice.org/18498 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-11LOK: Implement an own trivial InteractionHandler.Jan Holesovsky
So far it just selects 'Approve' for any interaction that is done through that, later we want to route the information via callbacks to the caller. Change-Id: I7ae3e2dcc04877b8b0197b0396299126e1217a2a
2015-09-10LOK: getFonts methodMihai Varga
Returns a json mapping of the available fonts to their possible font sizes Change-Id: I80c0bdd79e3ef2d814f64b8d38143d6c2b9ca720
2015-09-10LOK: added a general getCommandValues methodMihai Varga
This method returns a JSON mapping of the posible values for the given command (e.g. .uno:StyleApply, etc). returns: {commandName: "cmdName", commandValues: {json_of_cmd_values}} I've fixed the unit test this time Change-Id: I30b0fba8ba1db33dd79f4b46026d293b9ea72402
2015-09-09LOK: moved the decalaration of LibLODocument_Impl to make it visibleMihai Varga
We needed a better way to test LOK methods that are not app specific, but are defined in /desktop/source/lib/init.cxx. So the decalaration needs to be visible. I also moved the `getStyles` test in the new test file Change-Id: I98d97dc17a66e72732ca7bd848c131610790f48e
2015-09-08convert Link<> to typedNoel Grandin
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
2015-09-07cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
2015-09-04Revert "LOK: added a general getCommandValues method"Mihai Varga
This reverts commit 9640dcea46dd3201aa4c27f6a3918f7419288a2a.
2015-09-04LOK: allow float numbers in json -> property value conversionMihai Varga
Change-Id: I866a44fcb71044d27a9bf06e2f55ca2e4135c23b
2015-09-04LOK: added a general getCommandValues methodMihai Varga
This method returns a JSON mapping of the posible values for the given command (e.g. .uno:StyleApply, etc). returns: {commandName: "cmdName", commandValues: {json_of_cmd_values}} Change-Id: Ic8f970d077af6be9bc226f72f725b6cdf2d4c160
2015-09-04convert Link<> to typedNoel Grandin
Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4 Reviewed-on: https://gerrit.libreoffice.org/18306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03typo in prev. commitStephan Bergmann
Change-Id: Ib23aeca54ddb61bb2ac49677d6ccaab6529cbae7
2015-09-03loplugin:stringconstantStephan Bergmann
Change-Id: I97c8075569eccf7ea1c32466ed592337ca7181c4
2015-09-02ditch gnome-vfs2 supportCaolán McNamara
Change-Id: I882c04fd3a255f55511b1884157de26e7574e6db Reviewed-on: https://gerrit.libreoffice.org/18262 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
Change-Id: If839a783a57fb22566cc5e577f0f28463842f5dd
2015-08-28make PostUserEvent Link<> typedNoel Grandin
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-08-27Clean up sEmptyStephan Bergmann
Change-Id: If1b2bfe308caa2bce92e73d2c5c86ee273faed93
2015-08-27Clean up aEmptyStephan Bergmann
Change-Id: I4c4294b7fb1cb537ba3ae3e6e7e747a3333b7469
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-08-20loplugin: defaultparamsNoel Grandin
Change-Id: Ibf0ea539d2a95073a12f84964759d9c7a94baa7b
2015-08-19Consolidate isFileUrl checksStephan Bergmann
Change-Id: I1b74fdfaa09c4d0d6c296253958e83e78b546a9a
2015-08-19Clean up remaining utl::LocalFileHelper::Convert...Stephan Bergmann
together with 58d68a1bc9146334376206ae7ba8b1a6594a1040 "ConvertURLToSystemPath->getSystemPathFromFileURL" and 28f3464a571a23a2c16bd0980e9021b95d011511 "ConvertSystemPathToURL->getFileURLFromSystemPath," this replaces all those Convert... functionality with direct calls to the corresponding osl::FileBase functions. Change-Id: I2876171cd337a5eb939d25d8cf1e0c1253ff73a7
2015-08-18lok::Document getStyles methodMihai Varga
This method returns a JSON mapping of style families to a list of styles from the corresponding family. Will be used to know and apply styles in tiledrendering. Change-Id: I0aa395c40b9573920ade44255f97c077475ae5f1
2015-08-16sal_uLong to sal_Int32/longMatteo Casalin
Change-Id: Ia4ae190da37351b8c2b7ee9fc953508c5b1ab062
2015-08-14loplugin: defaultparamsNoel Grandin
Change-Id: I455b200febc9939f3fb81597938b26c0e9eb5f74
2015-08-10cppcheck: badBitmaskCheckCaolán McNamara
Change-Id: I0a6787379317e5077c5a4520e5144fe091a01538
2015-08-06LOKit: set thread name lo_startmainHenry Castro
It is necessary the thread name for debugging LOKit threads. Change-Id: I713595eb1319234ff90a6eddebcac5ebad912b04
2015-08-04filter,desktop,dbaccess: inline some use-once typedefsNoel Grandin
Change-Id: I35f256a11b211c3cb977ae76b5b561efbfd13b9d
2015-07-27comphelper, desktop: fix MSVC mergedlib link failureMichael Stahl
Duplicate symbols are easily avoided by removing duplicate code. Change-Id: I9b598a44156d6ff71b0691e69ab8163b15e2e26f
2015-07-24-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: Ia1eb84b72cc9aa61639c3efbd55685d781196401
2015-07-23separate variables by scoping instead of reusingLionel Elie Mamane
Change-Id: I2cc889628f9ab25e382a9e891b99a795cd7d4c59
2015-07-23fix regression introduced by 21834f14c97071c5bcf13ef02bf940dc1922663fLionel Elie Mamane
Change-Id: I75b6329e2d308bd0d24201169dcef72301358d81 Reviewed-on: https://gerrit.libreoffice.org/17305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-07-23tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
with the variadic variants in desktop. Change-Id: I84d4c4b36fff95b5e1646f4df731d0b83ee1fe3e Reviewed-on: https://gerrit.libreoffice.org/17301 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-20tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
with the variadic variants, for comphelper. This also includes extra changes in other modules required accordingly. Change-Id: Id1537f46f1c90f760a0d8987a6dafa0e1da03b8f Reviewed-on: https://gerrit.libreoffice.org/16929 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>