diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:46:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:08 +0100 |
commit | 7fca7325543415e53e9db2a95e6a1ea5e77f429e (patch) | |
tree | 1b563a8dc50c4eb5429328c8238a6994853c5830 /xmloff | |
parent | 8ccd11e1ae7248071184bfbeb2bced9ce096d52b (diff) |
New loplugin:dynexcspec: Add @throws documentation, xmloff
Change-Id: Idf9db7108514e91fb4fe3abeca55fbab844c770a
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/facreg.hxx | 51 | ||||
-rw-r--r-- | xmloff/source/text/XMLAutoTextEventImport.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/transform/OOo2Oasis.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/transform/XMLFilterRegistration.hxx | 209 |
4 files changed, 227 insertions, 36 deletions
diff --git a/xmloff/inc/facreg.hxx b/xmloff/inc/facreg.hxx index fac39c28078c..1a15986d8669 100644 --- a/xmloff/inc/facreg.hxx +++ b/xmloff/inc/facreg.hxx @@ -36,26 +36,31 @@ namespace com { namespace sun { namespace star { // impress oasis import OUString SAL_CALL XMLImpressImportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressImportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressImportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressStylesImportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressStylesImportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressStylesImportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressContentImportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressContentImportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressContentImportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressMetaImportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressMetaImportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressMetaImportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressSettingsImportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressSettingsImportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressSettingsImportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -63,26 +68,31 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressSettingsImportOasis // impress oasis export OUString SAL_CALL XMLImpressExportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressExportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressExportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressStylesExportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressStylesExportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressStylesExportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressContentExportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressContentExportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressContentExportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressMetaExportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressMetaExportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressMetaExportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressSettingsExportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressSettingsExportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressSettingsExportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -92,26 +102,31 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressSettingsExportOasis // impress OOo export OUString SAL_CALL XMLImpressExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressStylesExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressStylesExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressStylesExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressContentExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressContentExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressContentExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressMetaExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressMetaExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressMetaExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLImpressSettingsExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressSettingsExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressSettingsExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -119,26 +134,31 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressSettingsExportOOO_c // draw oasis import OUString SAL_CALL XMLDrawImportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawImportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawImportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawStylesImportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawStylesImportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawStylesImportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawContentImportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawContentImportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawContentImportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawMetaImportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawMetaImportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawMetaImportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawSettingsImportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawSettingsImportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawSettingsImportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -146,26 +166,31 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawSettingsImportOasis_cr // draw oasis export OUString SAL_CALL XMLDrawExportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawExportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawExportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawStylesExportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawStylesExportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawStylesExportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawContentExportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawContentExportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawContentExportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawMetaExportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawMetaExportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawMetaExportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawSettingsExportOasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawSettingsExportOasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawSettingsExportOasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -175,26 +200,31 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawSettingsExportOasis_cr // draw OOo export OUString SAL_CALL XMLDrawExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawStylesExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawStylesExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawStylesExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawContentExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawContentExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawContentExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawMetaExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawMetaExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawMetaExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL XMLDrawSettingsExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawSettingsExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawSettingsExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -202,6 +232,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawSettingsExportOOO_crea // impress animation import OUString SAL_CALL AnimationsImport_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL AnimationsImport_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL AnimationsImport_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -209,6 +240,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL AnimationsImport_createInstan // drawing layer export OUString SAL_CALL XMLDrawingLayerExport_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLDrawingLayerExport_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawingLayerExport_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -216,6 +248,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLDrawingLayerExport_createI // impress xml clipboard export OUString SAL_CALL XMLImpressClipboardExport_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLImpressClipboardExport_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressClipboardExport_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -223,21 +256,25 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLImpressClipboardExport_cre // chart oasis import OUString SAL_CALL SchXMLImport_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLImport_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLImport_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL SchXMLImport_Meta_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLImport_Meta_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLImport_Meta_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL SchXMLImport_Styles_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLImport_Styles_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLImport_Styles_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL SchXMLImport_Content_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLImport_Content_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLImport_Content_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -245,21 +282,25 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLImport_Content_createIn // chart oasis export OUString SAL_CALL SchXMLExport_Oasis_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Oasis_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Oasis_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL SchXMLExport_Oasis_Meta_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Oasis_Meta_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Oasis_Meta_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL SchXMLExport_Oasis_Styles_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Oasis_Styles_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Oasis_Styles_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL SchXMLExport_Oasis_Content_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Oasis_Content_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Oasis_Content_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -269,16 +310,19 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Oasis_Content_cr // chart OOo export OUString SAL_CALL SchXMLExport_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLExport_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL SchXMLExport_Styles_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Styles_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Styles_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); OUString SAL_CALL SchXMLExport_Content_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL SchXMLExport_Content_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Content_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -286,6 +330,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL SchXMLExport_Content_createIn // meta export OOo OUString SAL_CALL XMLMetaExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLMetaExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLMetaExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -293,6 +338,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLMetaExportOOO_createInstan // writer autotext event export OUString SAL_CALL XMLAutoTextEventExport_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLAutoTextEventExport_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventExport_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -300,6 +346,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventExport_create // writer autotext event import OUString SAL_CALL XMLAutoTextEventImport_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLAutoTextEventImport_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventImport_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -307,6 +354,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventImport_create // writer autotext event export OOo OUString SAL_CALL XMLAutoTextEventExportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLAutoTextEventExportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventExportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -314,6 +362,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventExportOOO_cre // writer autotext event import OOo OUString SAL_CALL XMLAutoTextEventImportOOO_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL XMLAutoTextEventImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventImportOOO_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -321,6 +370,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL XMLAutoTextEventImportOOO_cre // Oasis2OOo transformer OUString SAL_CALL Oasis2OOoTransformer_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL Oasis2OOoTransformer_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL Oasis2OOoTransformer_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); @@ -328,6 +378,7 @@ css::uno::Reference<css::uno::XInterface> SAL_CALL Oasis2OOoTransformer_createIn // OOo2Oasis transformer OUString SAL_CALL OOo2OasisTransformer_getImplementationName() throw(); css::uno::Sequence<OUString> SAL_CALL OOo2OasisTransformer_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception css::uno::Reference<css::uno::XInterface> SAL_CALL OOo2OasisTransformer_createInstance( css::uno::Reference<css::lang::XMultiServiceFactory> const & rSMgr) throw (css::uno::Exception); diff --git a/xmloff/source/text/XMLAutoTextEventImport.hxx b/xmloff/source/text/XMLAutoTextEventImport.hxx index a61e8b64de2d..79be6557c02d 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.hxx +++ b/xmloff/source/text/XMLAutoTextEventImport.hxx @@ -75,6 +75,7 @@ css::uno::Sequence< OUString > SAL_CALL OUString SAL_CALL XMLAutoTextEventImport_getImplementationName() throw(); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL XMLAutoTextEventImport_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & ) diff --git a/xmloff/source/transform/OOo2Oasis.hxx b/xmloff/source/transform/OOo2Oasis.hxx index f355cacbca45..14c4bcfae20a 100644 --- a/xmloff/source/transform/OOo2Oasis.hxx +++ b/xmloff/source/transform/OOo2Oasis.hxx @@ -89,6 +89,8 @@ public: virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor ) throw (css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL cancel( ) throw (css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void SAL_CALL Initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw(css::uno::Exception, css::uno::RuntimeException); // css::xml::sax::XDocumentHandler diff --git a/xmloff/source/transform/XMLFilterRegistration.hxx b/xmloff/source/transform/XMLFilterRegistration.hxx index cb583ecf200a..813c431288cf 100644 --- a/xmloff/source/transform/XMLFilterRegistration.hxx +++ b/xmloff/source/transform/XMLFilterRegistration.hxx @@ -22,42 +22,179 @@ #include <sal/config.h> -#define DECLARE_SERVICE( classname ) \ - OUString SAL_CALL classname##_getImplementationName() throw(); \ - css::uno::Sequence< OUString > SAL_CALL classname##_getSupportedServiceNames() throw(); \ - css::uno::Reference< css::uno::XInterface > SAL_CALL classname##_createInstance( \ - const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); - -DECLARE_SERVICE( OOo2OasisTransformer ) -DECLARE_SERVICE( Oasis2OOoTransformer ) - -DECLARE_SERVICE( XMLAutoTextEventImportOOO ) -DECLARE_SERVICE( XMLMetaImportOOO ) -DECLARE_SERVICE( XMLMathSettingsImportOOO ) -DECLARE_SERVICE( XMLMathMetaImportOOO ) -DECLARE_SERVICE( XMLCalcSettingsImportOOO ) -DECLARE_SERVICE( XMLCalcMetaImportOOO ) -DECLARE_SERVICE( XMLCalcContentImportOOO ) -DECLARE_SERVICE( XMLCalcStylesImportOOO ) -DECLARE_SERVICE( XMLCalcImportOOO ) -DECLARE_SERVICE( XMLWriterSettingsImportOOO ) -DECLARE_SERVICE( XMLWriterMetaImportOOO ) -DECLARE_SERVICE( XMLWriterContentImportOOO ) -DECLARE_SERVICE( XMLWriterStylesImportOOO ) -DECLARE_SERVICE( XMLWriterImportOOO ) -DECLARE_SERVICE( XMLChartContentImportOOO ) -DECLARE_SERVICE( XMLChartStylesImportOOO ) -DECLARE_SERVICE( XMLChartImportOOO ) -DECLARE_SERVICE( XMLDrawSettingsImportOOO ) -DECLARE_SERVICE( XMLDrawMetaImportOOO ) -DECLARE_SERVICE( XMLDrawContentImportOOO ) -DECLARE_SERVICE( XMLDrawStylesImportOOO ) -DECLARE_SERVICE( XMLDrawImportOOO ) -DECLARE_SERVICE( XMLImpressSettingsImportOOO ) -DECLARE_SERVICE( XMLImpressMetaImportOOO ) -DECLARE_SERVICE( XMLImpressContentImportOOO ) -DECLARE_SERVICE( XMLImpressStylesImportOOO ) -DECLARE_SERVICE( XMLImpressImportOOO ) +OUString SAL_CALL OOo2OasisTransformer_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL OOo2OasisTransformer_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL OOo2OasisTransformer_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL Oasis2OOoTransformer_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL Oasis2OOoTransformer_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL Oasis2OOoTransformer_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLAutoTextEventImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLAutoTextEventImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLAutoTextEventImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLMetaImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLMetaImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLMetaImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLMathSettingsImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLMathSettingsImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLMathSettingsImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLMathMetaImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLMathMetaImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLMathMetaImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLCalcSettingsImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLCalcSettingsImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLCalcSettingsImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLCalcMetaImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLCalcMetaImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLCalcMetaImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLCalcContentImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLCalcContentImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLCalcContentImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLCalcStylesImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLCalcStylesImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLCalcStylesImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLCalcImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLCalcImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLCalcImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLWriterSettingsImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLWriterSettingsImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLWriterSettingsImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLWriterMetaImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLWriterMetaImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLWriterMetaImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLWriterContentImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLWriterContentImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLWriterContentImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLWriterStylesImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLWriterStylesImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLWriterStylesImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLWriterImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLWriterImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLWriterImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLChartContentImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLChartContentImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLChartContentImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLChartStylesImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLChartStylesImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLChartStylesImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLChartImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLChartImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLChartImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLDrawSettingsImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLDrawSettingsImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLDrawSettingsImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLDrawMetaImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLDrawMetaImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLDrawMetaImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLDrawContentImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLDrawContentImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLDrawContentImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLDrawStylesImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLDrawStylesImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLDrawStylesImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLDrawImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLDrawImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLDrawImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLImpressSettingsImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLImpressSettingsImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLImpressSettingsImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLImpressMetaImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLImpressMetaImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLImpressMetaImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLImpressContentImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLImpressContentImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLImpressContentImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLImpressStylesImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLImpressStylesImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLImpressStylesImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); + +OUString SAL_CALL XMLImpressImportOOO_getImplementationName() throw(); +css::uno::Sequence< OUString > SAL_CALL XMLImpressImportOOO_getSupportedServiceNames() throw(); +/// @throws css::uno::Exception +css::uno::Reference< css::uno::XInterface > SAL_CALL XMLImpressImportOOO_createInstance( + const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception ); #endif |