diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-03-22 12:46:56 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-31 10:13:03 +0200 |
commit | 0ee6b72bf50337157e603d42e33b4a1e6a2ec715 (patch) | |
tree | 8522b058bb15890c1d0703b939826db20b2e8b6d /sc | |
parent | ae50762741a967a20bae9f39f1f8f7aa7dd4e763 (diff) |
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>
Diffstat (limited to 'sc')
28 files changed, 92 insertions, 16 deletions
diff --git a/sc/CppunitTest_sc_addin_functions_test.mk b/sc/CppunitTest_sc_addin_functions_test.mk index 2b17d33b793d..66489b67d626 100644 --- a/sc/CppunitTest_sc_addin_functions_test.mk +++ b/sc/CppunitTest_sc_addin_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_addin_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_addin_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_addin_functions_test)) diff --git a/sc/CppunitTest_sc_anchor_test.mk b/sc/CppunitTest_sc_anchor_test.mk index d7942c19d8f6..c942128a0bf9 100644 --- a/sc/CppunitTest_sc_anchor_test.mk +++ b/sc/CppunitTest_sc_anchor_test.mk @@ -59,7 +59,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_anchor_test,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_anchor_test)) +$(eval $(call gb_CppunitTest_use_api,sc_anchor_test,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_anchor_test)) $(eval $(call gb_CppunitTest_use_vcl,sc_anchor_test)) diff --git a/sc/CppunitTest_sc_array_functions_test.mk b/sc/CppunitTest_sc_array_functions_test.mk index a00e61325459..8d1f26442c82 100644 --- a/sc/CppunitTest_sc_array_functions_test.mk +++ b/sc/CppunitTest_sc_array_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_array_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_array_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_array_functions_test)) diff --git a/sc/CppunitTest_sc_bugfix_test.mk b/sc/CppunitTest_sc_bugfix_test.mk index 69c4278994c4..d671e4b3e90b 100644 --- a/sc/CppunitTest_sc_bugfix_test.mk +++ b/sc/CppunitTest_sc_bugfix_test.mk @@ -61,7 +61,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_bugfix_test,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_bugfix_test)) +$(eval $(call gb_CppunitTest_use_api,sc_bugfix_test,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_bugfix_test)) $(eval $(call gb_CppunitTest_use_vcl,sc_bugfix_test)) diff --git a/sc/CppunitTest_sc_chart2dataprovider.mk b/sc/CppunitTest_sc_chart2dataprovider.mk index 3747da585444..8a9b7fae8282 100644 --- a/sc/CppunitTest_sc_chart2dataprovider.mk +++ b/sc/CppunitTest_sc_chart2dataprovider.mk @@ -62,7 +62,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_chart2dataprovider,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_chart2dataprovider)) +$(eval $(call gb_CppunitTest_use_api,sc_chart2dataprovider,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_chart2dataprovider)) $(eval $(call gb_CppunitTest_use_vcl,sc_chart2dataprovider)) diff --git a/sc/CppunitTest_sc_cond_format_merge.mk b/sc/CppunitTest_sc_cond_format_merge.mk index 429010e6e40f..c86b204d1c31 100644 --- a/sc/CppunitTest_sc_cond_format_merge.mk +++ b/sc/CppunitTest_sc_cond_format_merge.mk @@ -59,7 +59,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_cond_format_merge,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_cond_format_merge)) +$(eval $(call gb_CppunitTest_use_api,sc_cond_format_merge,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_cond_format_merge)) $(eval $(call gb_CppunitTest_use_vcl,sc_cond_format_merge)) diff --git a/sc/CppunitTest_sc_copypaste.mk b/sc/CppunitTest_sc_copypaste.mk index 18728202e69b..e7759957df86 100644 --- a/sc/CppunitTest_sc_copypaste.mk +++ b/sc/CppunitTest_sc_copypaste.mk @@ -61,7 +61,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_copypaste,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_copypaste)) +$(eval $(call gb_CppunitTest_use_api,sc_copypaste,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_copypaste)) $(eval $(call gb_CppunitTest_use_vcl,sc_copypaste)) diff --git a/sc/CppunitTest_sc_database_functions_test.mk b/sc/CppunitTest_sc_database_functions_test.mk index 401984182064..0b6b04ff0c64 100644 --- a/sc/CppunitTest_sc_database_functions_test.mk +++ b/sc/CppunitTest_sc_database_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_database_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_database_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_database_functions_test)) diff --git a/sc/CppunitTest_sc_dataprovider.mk b/sc/CppunitTest_sc_dataprovider.mk index 90ea8cb4a452..71fa6ea30fed 100644 --- a/sc/CppunitTest_sc_dataprovider.mk +++ b/sc/CppunitTest_sc_dataprovider.mk @@ -67,7 +67,11 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sc_dataprovider,\ officecfg/registry \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_dataprovider)) +$(eval $(call gb_CppunitTest_use_api,sc_dataprovider,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_dataprovider)) $(eval $(call gb_CppunitTest_use_vcl,sc_dataprovider)) diff --git a/sc/CppunitTest_sc_datatransformation.mk b/sc/CppunitTest_sc_datatransformation.mk index 3624e56d8109..c1e44a2a3870 100644 --- a/sc/CppunitTest_sc_datatransformation.mk +++ b/sc/CppunitTest_sc_datatransformation.mk @@ -67,7 +67,11 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sc_datatransformation,\ officecfg/registry \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_datatransformation)) +$(eval $(call gb_CppunitTest_use_api,sc_datatransformation,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_datatransformation)) $(eval $(call gb_CppunitTest_use_vcl,sc_datatransformation)) diff --git a/sc/CppunitTest_sc_datetime_functions_test.mk b/sc/CppunitTest_sc_datetime_functions_test.mk index 7534e4f50936..cccf938015c5 100644 --- a/sc/CppunitTest_sc_datetime_functions_test.mk +++ b/sc/CppunitTest_sc_datetime_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_datetime_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_datetime_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_datetime_functions_test)) diff --git a/sc/CppunitTest_sc_filters_test.mk b/sc/CppunitTest_sc_filters_test.mk index b2d837798f63..0a2b9a757362 100644 --- a/sc/CppunitTest_sc_filters_test.mk +++ b/sc/CppunitTest_sc_filters_test.mk @@ -63,7 +63,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_filters_test,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_filters_test)) +$(eval $(call gb_CppunitTest_use_api,sc_filters_test,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_filters_test)) $(eval $(call gb_CppunitTest_use_vcl,sc_filters_test)) diff --git a/sc/CppunitTest_sc_financial_functions_test.mk b/sc/CppunitTest_sc_financial_functions_test.mk index 23d8054911ff..ee83a271b5d1 100644 --- a/sc/CppunitTest_sc_financial_functions_test.mk +++ b/sc/CppunitTest_sc_financial_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_financial_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_financial_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_financial_functions_test)) diff --git a/sc/CppunitTest_sc_functions_test_old.mk b/sc/CppunitTest_sc_functions_test_old.mk index 5113bf61c55e..3d0dc40d186b 100644 --- a/sc/CppunitTest_sc_functions_test_old.mk +++ b/sc/CppunitTest_sc_functions_test_old.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_functions_test_old,\ $(eval $(call gb_CppunitTest_use_api,sc_functions_test_old,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_functions_test_old)) diff --git a/sc/CppunitTest_sc_html_export_test.mk b/sc/CppunitTest_sc_html_export_test.mk index 711d39d86771..4111f519a078 100644 --- a/sc/CppunitTest_sc_html_export_test.mk +++ b/sc/CppunitTest_sc_html_export_test.mk @@ -57,7 +57,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_html_export_test,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_html_export_test)) +$(eval $(call gb_CppunitTest_use_api,sc_html_export_test,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_html_export_test)) $(eval $(call gb_CppunitTest_use_vcl,sc_html_export_test)) diff --git a/sc/CppunitTest_sc_information_functions_test.mk b/sc/CppunitTest_sc_information_functions_test.mk index b108339d087a..043e9ea99852 100644 --- a/sc/CppunitTest_sc_information_functions_test.mk +++ b/sc/CppunitTest_sc_information_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_information_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_information_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_information_functions_test)) diff --git a/sc/CppunitTest_sc_logical_functions_test.mk b/sc/CppunitTest_sc_logical_functions_test.mk index 642e1e966eed..50094ac9e3d5 100644 --- a/sc/CppunitTest_sc_logical_functions_test.mk +++ b/sc/CppunitTest_sc_logical_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_logical_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_logical_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_logical_functions_test)) diff --git a/sc/CppunitTest_sc_mathematical_functions_test.mk b/sc/CppunitTest_sc_mathematical_functions_test.mk index f3c14bc930fd..613dd84b1a26 100644 --- a/sc/CppunitTest_sc_mathematical_functions_test.mk +++ b/sc/CppunitTest_sc_mathematical_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_mathematical_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_mathematical_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_mathematical_functions_test)) diff --git a/sc/CppunitTest_sc_opencl_test.mk b/sc/CppunitTest_sc_opencl_test.mk index 93925602e0d8..65b63c136ff5 100644 --- a/sc/CppunitTest_sc_opencl_test.mk +++ b/sc/CppunitTest_sc_opencl_test.mk @@ -59,7 +59,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_opencl_test,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_opencl_test)) +$(eval $(call gb_CppunitTest_use_api,sc_opencl_test,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_opencl_test)) $(eval $(call gb_CppunitTest_use_vcl,sc_opencl_test)) diff --git a/sc/CppunitTest_sc_parallelism.mk b/sc/CppunitTest_sc_parallelism.mk index 247bd9adfeb2..6c574799180c 100644 --- a/sc/CppunitTest_sc_parallelism.mk +++ b/sc/CppunitTest_sc_parallelism.mk @@ -59,7 +59,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_parallelism,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_parallelism)) +$(eval $(call gb_CppunitTest_use_api,sc_parallelism,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_custom_headers,sc_parallelism,\ officecfg/registry \ diff --git a/sc/CppunitTest_sc_pivottable_filters_test.mk b/sc/CppunitTest_sc_pivottable_filters_test.mk index 8cfc91cd88b4..108da0ef5420 100644 --- a/sc/CppunitTest_sc_pivottable_filters_test.mk +++ b/sc/CppunitTest_sc_pivottable_filters_test.mk @@ -58,7 +58,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_pivottable_filters_test,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_pivottable_filters_test)) +$(eval $(call gb_CppunitTest_use_api,sc_pivottable_filters_test,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_pivottable_filters_test)) $(eval $(call gb_CppunitTest_use_vcl,sc_pivottable_filters_test)) diff --git a/sc/CppunitTest_sc_spreadsheet_functions_test.mk b/sc/CppunitTest_sc_spreadsheet_functions_test.mk index 16713bcffc07..46da6a00566e 100644 --- a/sc/CppunitTest_sc_spreadsheet_functions_test.mk +++ b/sc/CppunitTest_sc_spreadsheet_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_spreadsheet_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_spreadsheet_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_spreadsheet_functions_test)) diff --git a/sc/CppunitTest_sc_statistical_functions_test.mk b/sc/CppunitTest_sc_statistical_functions_test.mk index 436ac62885de..78fab057d27c 100644 --- a/sc/CppunitTest_sc_statistical_functions_test.mk +++ b/sc/CppunitTest_sc_statistical_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_statistical_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_statistical_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_statistical_functions_test)) diff --git a/sc/CppunitTest_sc_subsequent_export_test.mk b/sc/CppunitTest_sc_subsequent_export_test.mk index aab29559ff4b..9f826307044d 100644 --- a/sc/CppunitTest_sc_subsequent_export_test.mk +++ b/sc/CppunitTest_sc_subsequent_export_test.mk @@ -58,7 +58,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_subsequent_export_test,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_subsequent_export_test)) +$(eval $(call gb_CppunitTest_use_api,sc_subsequent_export_test,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_subsequent_export_test)) $(eval $(call gb_CppunitTest_use_vcl,sc_subsequent_export_test)) diff --git a/sc/CppunitTest_sc_subsequent_filters_test.mk b/sc/CppunitTest_sc_subsequent_filters_test.mk index d8d0600e11c8..2127e1e81f42 100644 --- a/sc/CppunitTest_sc_subsequent_filters_test.mk +++ b/sc/CppunitTest_sc_subsequent_filters_test.mk @@ -62,7 +62,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_subsequent_filters_test,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_subsequent_filters_test)) +$(eval $(call gb_CppunitTest_use_api,sc_subsequent_filters_test,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_ure,sc_subsequent_filters_test)) $(eval $(call gb_CppunitTest_use_vcl,sc_subsequent_filters_test)) diff --git a/sc/CppunitTest_sc_text_functions_test.mk b/sc/CppunitTest_sc_text_functions_test.mk index 58d183edfb73..fe50b4f8acc7 100644 --- a/sc/CppunitTest_sc_text_functions_test.mk +++ b/sc/CppunitTest_sc_text_functions_test.mk @@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_text_functions_test,\ $(eval $(call gb_CppunitTest_use_api,sc_text_functions_test,\ offapi \ udkapi \ + oovbaapi \ )) $(eval $(call gb_CppunitTest_use_ure,sc_text_functions_test)) diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk index 48fb912c4335..0258d9117814 100644 --- a/sc/CppunitTest_sc_ucalc.mk +++ b/sc/CppunitTest_sc_ucalc.mk @@ -82,7 +82,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_ucalc,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_use_sdk_api,sc_ucalc)) +$(eval $(call gb_CppunitTest_use_api,sc_ucalc,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_CppunitTest_use_custom_headers,sc_ucalc,\ officecfg/registry \ diff --git a/sc/Library_scqahelper.mk b/sc/Library_scqahelper.mk index 0e209024b398..f91ec28c224a 100644 --- a/sc/Library_scqahelper.mk +++ b/sc/Library_scqahelper.mk @@ -32,7 +32,11 @@ $(eval $(call gb_Library_add_defs,scqahelper,\ -DSCQAHELPER_DLLIMPLEMENTATION \ )) -$(eval $(call gb_Library_use_sdk_api,scqahelper)) +$(eval $(call gb_Library_use_api,scqahelper,\ + udkapi \ + offapi \ + oovbaapi \ +)) $(eval $(call gb_Library_use_libraries,scqahelper,\ comphelper \ |