Commit graph

4 commits

Author SHA1 Message Date
Miklos Vajna
423e1ce9c1 sw: no reason why SwModelTestBase can be used only by "extras" tests
So move it one level up, this way more tests can share code in the
future.

Change-Id: I35300b3c88ac9a5c39916f53b1b1743aa85869a0
Reviewed-on: https://gerrit.libreoffice.org/82252
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-11-08 09:04:45 +01:00
Luboš Luňák
2c3f9fa504 use the common system PCH header in sw/
I suppose a number of these should even better use a shared PCH that
also includes Writer headers.

Change-Id: I3227bff71ddc2cd2e59ef18c1481606de16f9ea5
Reviewed-on: https://gerrit.libreoffice.org/79816
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2019-10-04 09:00:05 +02:00
Tor Lillqvist
0ee6b72bf5 SwModule is a convenient (?) place for passing events to Automation clients
Generate Application.DocumentChange and Application.Quit events.

SfxHintId::DocChanged seems to correspond nicely enough to
Application.DocumentChange. It is generated a bit eagerly, but as its
documentation is fairly vague and no specific detailed information is
passed in parameters anyway, it probably doesn't hurt if a client gets
it a bit more often with LO than with some other product.

Can now remove the FIXME-marked Quit event things in SwVbaApplication.

Now need oovbaapi in many makefiles for them to compile.

Change-Id: I4d0c5b93b584f198bcc854002eec7aaba7909ecc
Reviewed-on: https://gerrit.libreoffice.org/55106
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-05-31 10:13:03 +02:00
Jan Holesovsky
0425ccba5b sw txt export: Greatly improve the export of bullets & numbering.
Includes unit testing infrastructure for .txt export too + the actual unit
test.

Change-Id: I19a32955bbc9b97449b4240917fe2505bc3dd54c
Reviewed-on: https://gerrit.libreoffice.org/37295
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-05-10 17:19:32 +02:00