24#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
59 for (
const beans::PropertyValue& rProp : aProps)
76 sal_Int16 nRet = ui::dialogs::ExecutableDialogResults::CANCEL;
78 std::unique_ptr<SvStream> pInStream;
83 if (
auto pXDoc = comphelper::getFromUnoTunnel<SwXTextDocument>(
m_xModel); pXDoc)
84 pDocShell = pXDoc->GetDocShell();
91 if(
RET_OK == pAsciiDlg->Execute())
94 pAsciiDlg->FillOptions( aOptions );
96 nRet = ui::dialogs::ExecutableDialogResults::OK;
122 return "com.sun.star.comp.Writer.FilterOptionsDialog";
132 return {
"com.sun.star.ui.dialogs.FilterOptionsDialog" };
135extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
137 css::uno::Sequence<css::uno::Any>
const &)
constexpr OUStringLiteral FILTER_OPTIONS_NAME
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_Writer_FilterOptionsDialog_get_implementation(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
PropertiesInfo aProperties
static weld::Window * GetFrameWeld(const css::uno::Reference< css::awt::XWindow > &rWindow)
virtual VclPtr< AbstractSwAsciiFilterDlg > CreateSwAsciiFilterDlg(weld::Window *pParent, SwDocShell &rDocSh, SvStream *pStream)=0
static SwAbstractDialogFactory * Create()
void WriteUserData(OUString &) const
css::uno::Reference< css::awt::XWindow > m_xDialogParent
virtual void SAL_CALL setPropertyValues(const css::uno::Sequence< css::beans::PropertyValue > &aProps) override
virtual void SAL_CALL setTargetDocument(const css::uno::Reference< css::lang::XComponent > &xDoc) override
virtual void SAL_CALL setTitle(const OUString &aTitle) override
virtual ~SwXFilterOptions() override
css::uno::Reference< css::io::XInputStream > m_xInputStream
virtual sal_Int16 SAL_CALL execute() override
virtual void SAL_CALL setSourceDocument(const css::uno::Reference< css::lang::XComponent > &xDoc) override
css::uno::Reference< css::lang::XComponent > m_xModel
OUString m_sFilterOptions
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues() override
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &rArguments) override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
static std::unique_ptr< SvStream > CreateStream(const OUString &rFileName, StreamMode eOpenMode, css::uno::Reference< css::awt::XWindow > xParentWin=nullptr)
css::uno::Sequence< css::beans::PropertyValue > InitPropertySequence(::std::initializer_list< ::std::pair< OUString, css::uno::Any > > vInit)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)