summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2016-06-21sw lok: add LOK_CALLBACK_TEXT_VIEW_SELECTIONMiklos Vajna
So a view can be aware where selections of other views are. Change-Id: I5026b1ff2b99a4eedfd0bde32a05ceb8e2f424bc Reviewed-on: https://gerrit.libreoffice.org/26542 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-21Remove no longer needed vcl::ITiledRenderable::registerCallback()Miklos Vajna
All clients has been changed to use SfxViewShell::registerLibreOfficeKitViewCallback() instead. Change-Id: I2538268dc9c4b449f68b5d2b05a72de584c29fd0 Reviewed-on: https://gerrit.libreoffice.org/26540 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-21lok: Expose LO version informationPranav Kant
Change-Id: Ided924e928c04385457c7a2e231fdf57e7e38970
2016-06-21Use real assert() instead of DBG_ASSERT()Tor Lillqvist
These assertions guard important invariants. We use real assert() also in the neighbouring bitmapaccess.hxx, for instance. Drop annoying exclamation marks. Change-Id: I9d08cb80b18e8f3a922357ec33c1418f8f1b33e6
2016-06-21tdf#89329: use shared_ptr for pImpl in optionsdrawinglayerXisco Fauli
Change-Id: Ic9da196c1dfe138ff6408a37fa8ff70492d00bc2 Reviewed-on: https://gerrit.libreoffice.org/26282 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-21tdf#42949: clean up includes in include/formula with iwyuJorenz Paragas
Change-Id: Ieb601d98be80aeb2239d4f0a330d90e63f1abc43 Reviewed-on: https://gerrit.libreoffice.org/26398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-21sfx2 lok: fix missing view cursors in a new viewMiklos Vajna
When a new view was created, the old views got the position of the new view, but not the other way around. Make sure that the old views notify the new one right after registering the callback. Change-Id: If26edbd57aa939e453d95f4907a0e5722329dd65 Reviewed-on: https://gerrit.libreoffice.org/26523 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-20Restrict tryPropertyValueEnum to enum typesStephan Bergmann
Change-Id: I54a6fdc341185fe4bdb9cc7d1b1a1feb0737bf47
2016-06-20Remove unused includesStephan Bergmann
Change-Id: I25bb67449c8c572075d354e62b1c731e95655b4f
2016-06-20Clean up uses of Any::getValue() in cppuhelperStephan Bergmann
Change-Id: Ibe25c23a273db957905af972dcae64e3a0d3be8a
2016-06-20Remove no longer needed SdrModel::libreOfficeKitCallback()Miklos Vajna
All former clients are changed to call SfxViewShell::libreOfficeKitViewCallback() instead. Change-Id: Ic5dcf0a8a4241338fcd6941f13ce438157676481 Reviewed-on: https://gerrit.libreoffice.org/26521 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-20sw lok: add LOK_CALLBACK_INVALIDATE_VIEW_CURSORMiklos Vajna
So a view can be aware where cursors of other views are. Change-Id: I6133fb55aa2869843c0284b7d76264bab3b3d5da Reviewed-on: https://gerrit.libreoffice.org/26513 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-20GSoC Table Styles, Export Cell StylesJakub Trzebiatowski
Exporting cell-styles Exporting table-template To be able to map SwTableAutoFormat to table-template 1:1 extended table-template by the following elements: loext:first-row-even-column loext:last-row-even-column loext:first-row-end-column loext:first-row-start-column loext:last-row-end-column loext:last-row-start-column Added attributes describing box format to SwXTextCellStyle Change-Id: I2967ba461dfc6f030c1e5cdbba62e2673d3b232b Reviewed-on: https://gerrit.libreoffice.org/26185 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-06-20Clean up uses of Any::getValue() in comphelperStephan Bergmann
Change-Id: I433cca20fb29c6b6ede934edcb2e200f15b060f2
2016-06-20Convert PART to scoped enumNoel Grandin
Change-Id: If4c2849beb207593d3d450ae3846ed24eaf66ca4 Reviewed-on: https://gerrit.libreoffice.org/26173 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-20improper use of this/that just bugs meNoel Grandin
Change-Id: Ie05062cfe384971f5c358769ab16461a76f911cf
2016-06-19LOK: tile rendering regression fixAshod Nakashian
Calc fast rendering requires us to offset the are being rendered and shift all bitmaps accordingly. This however is breaking Impress rendering since the offseting logic is common (in svx and vcl). This adds new API to enable or disable this local rendering (as opposed to rendering a full document as was previously done. The new flag is then set by Calc to enable the offseting logic in isolation without affecting other applications. In one case isolation was achieved by checking the MapModeUnit. Change-Id: Ia0aadfc3f6df7c1a891b97dc731f5897414c9420 Reviewed-on: https://gerrit.libreoffice.org/26367 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 60fdcda65bad242f99895cb453182578250fbdea) Reviewed-on: https://gerrit.libreoffice.org/26378 Tested-by: Jenkins <ci@libreoffice.org>
2016-06-18uitest: loplugin:sallogareasMarkus Mohrhard
Change-Id: Ieb01166fbb0b07d1218072ae8bb953a36582361c
2016-06-18uitest: loplugin:staticmethodsMarkus Mohrhard
Change-Id: I741a41ea12fe0ee70a73e144d4601c8aafe30ac8
2016-06-18uitest: plugin:sallogareasMarkus Mohrhard
Change-Id: Ib0ebd774542129f8a7c68e276f1f03cc46f32fb8
2016-06-18uitest: loplugin:overrideMarkus Mohrhard
Change-Id: I014e036c803ef7eeba265eb36782781c3a62672c
2016-06-18uitest: add wrapper for radio buttonMarkus Mohrhard
Change-Id: I8b4b35ac313796364502f8e9e2e836dc21f48a42
2016-06-18uitest: add missing overrideMarkus Mohrhard
Change-Id: I5f3941550bd9256125d74f25e9e512b302e1e27d
2016-06-18uitest: add method to get all children of a ui objectMarkus Mohrhard
This makes writing ui tests so much easier. Change-Id: Ice7d98c354fc9b68ee4532bc854561b5b9446e3f
2016-06-18add comphelper::string::splitMarkus Mohrhard
Change-Id: Iccc989a786e8e7b8dca1996b635248d7bf7fc5d8
2016-06-18uitest: an enum is a bad idea for the typeMarkus Mohrhard
Change-Id: I1efd59b2f664f0aa9be733466fa7c1057e92ef27
2016-06-18uitest: add initial version of wrapper for tree list boxMarkus Mohrhard
The tree list will also be the first case where we need non-vcl::Window based children. We should create one child for each entry to make it possible to interact with them correctly. Change-Id: I49e1ddf7b271946fd595ebfe2f4f2d0c8a535fdc
2016-06-18uitest: support selecting different tab pages in tab dialogMarkus Mohrhard
Change-Id: I541f83a87f5f3d459b2baf4587b76cb2fce5d5fc
2016-06-18uitest: move declaration for the uitesting wrapper objects to include/ dirMarkus Mohrhard
This allows non-vcl wrapper objects to inherit from the vcl base classes. This is especially important for the WindowUIObject base class object. Change-Id: I91ef69839ff4c031d3bcd21d70b4b9e7d62ad572
2016-06-18uitest: a slightly better approach for the factory problem in the ui testingMarkus Mohrhard
Change-Id: I15dbf2446791c4be9be4e18e63c0d03104d8d405
2016-06-18remove excessive whitespaceMarkus Mohrhard
Change-Id: I184da822985b21e3c4f8157c585b2d0f83770d12
2016-06-18uitest: provide a way for non-vcl modules to register factoriesMarkus Mohrhard
There are still two huge problems around my approach. It still requires to add some code to the existing widget class so that it registers the UI object wrapper. And secondly I have not yet solved the problem of longer inheritance hierarchies. E.g. A <- B <- C. However it is a first version that allows for now to extend the UI testing code into other places. I'm soon moving the header for the ui objects to the public include so that all objects can inherit from the basic vcl wrapper objects. Change-Id: Ifac9d635b4a68737048f50cd2a9d3e8830b165a5
2016-06-18uitest: add spinfield uitest supportMarkus Mohrhard
Change-Id: Id2dae42396beaa4818c60a57ac8aa76e4eddf24d
2016-06-18uitest: initial support for spinbuttons in uitestingMarkus Mohrhard
Change-Id: I4e62cb65cecdff8ac1a89c3f9c3a14e5206a9115
2016-06-18uitest: add initial support for combo boxes to uitestingMarkus Mohrhard
Change-Id: I82aa2d877216bc1bb984bd16e2d1d54a15fcc4fa
2016-06-18uitest: initial work on tab page ui testing supportMarkus Mohrhard
Change-Id: I76fdaad1f84d3b18b130decd7bdb4eef82d341e9
2016-06-18uitest: add initial implementation for ListBoxMarkus Mohrhard
Change-Id: I9fcc884afab63a9601c560f733a13551b5036cbe
2016-06-18uitest: add checkboxes to UI testingMarkus Mohrhard
Change-Id: I923fa22b0395b2f41bffe3798fb3e4eb18fe5dc2
2016-06-18uitest: rename getType to get_typeMarkus Mohrhard
Just for consistency. Change-Id: I13577b9318039493f585268fd7189f5cbc4dec46
2016-06-18uitest: add ui test wrapper for EditMarkus Mohrhard
Change-Id: Ife00f65311c44703edae06971f77faa6b0e2eb3f
2016-06-18uitest: more method documentationsMarkus Mohrhard
Change-Id: I545a9e40f6fb1f07e685d6901d2158b83012331c
2016-06-18uitest: add method to get top level window that has current focusMarkus Mohrhard
This might be a modal dialog (mpLastExecuteDlg) or a modeless dialog/the toplevel window (mpFirstFrame). This window should be used with get_child to find the correct window in the current scope. Change-Id: I0a1e63d0aa19c782069ba5876549f274dabb109b
2016-06-18uitest: add a few more wrappers for ui controlsMarkus Mohrhard
Change-Id: I81d53aaeca83f22887a461dc2151001118dad2e9
2016-06-18uitest: initial work on executing dispatcher commands in ui testsMarkus Mohrhard
Change-Id: Ib46ef5ea31e77d54786c0d732845984ce3c9c07f
2016-06-18uitest: let us use the include/vcl/uitest purely for the interfaceMarkus Mohrhard
All the actual implementations don't need to be exposed to the outside world. Change-Id: If92469b99e6c39493767de947434c6d78ae3804c
2016-06-18uitest: move the uitest files to vclMarkus Mohrhard
This allows us to use them in vcl as well without introducing dependency problems. Change-Id: Ib97af2d559902f1a6b47f9255bb0426411670647
2016-06-18uitest: some more work for the UI testingMarkus Mohrhard
Change-Id: I79193190f8f614b2d6a71032f05a0518eb9d1a1d
2016-06-18uitest: add groundwork for ui testing frameworkMarkus Mohrhard
Change-Id: I51b81da870fd220d56b32c20b9e6c4604912a014
2016-06-18uitest: store the id of each vcl::WindowMarkus Mohrhard
We will use the ID in the UI testing to identify the widget. Change-Id: I4dd79a02355e1de40f3c2ddc6a61a805b4e30778
2016-06-18tdf#89329: use shared_ptr for pImpl in moduleoptionsXisco Fauli
Change-Id: I2dfcdde6ef1782edc22ca6d70d353549706eb14f Reviewed-on: https://gerrit.libreoffice.org/26322 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>