21#include <com/sun/star/task/XInteractionHandler.hpp>
24#include <com/sun/star/task/InteractionClassification.hpp>
25#include <com/sun/star/ucb/InteractiveAppException.hpp>
29using ::com::sun::star::uno::Any;
30using ::com::sun::star::uno::Reference;
31using ::com::sun::star::uno::XInterface;
32using ::com::sun::star::task::InteractionClassification_QUERY;
33using ::com::sun::star::task::XInteractionHandler;
34using ::com::sun::star::ucb::InteractiveAppException;
42 Any aException( InteractiveAppException(
"",
43 Reference <XInterface> (),
44 InteractionClassification_QUERY,
50 ContinuationFlags::Approve | ContinuationFlags::Disapprove );
52 xHandler->handle( xRequest );
56 if ( nResp == ContinuationFlags::Disapprove )
static bool WarningOnPassword(SfxMedium &rMedium)
Opens a query warning dialog.
css::uno::Reference< css::task::XInteractionHandler > GetInteractionHandler(bool bGetAlways=false)
#define ERRCODE_SVX_EXPORT_FILTER_CRYPT