43 return css::uno::Sequence<sal_Int8>();
49 return "com.sun.star.comp.PDF.PDFDialog";
55 return {
"com.sun.star.document.PDFDialog" };
79void PDFDialog::runAsync(
const css::uno::Reference< css::ui::dialogs::XDialogClosedListener >& xListener)
84 css::ui::dialogs::DialogClosedEvent
aEvent;
85 aEvent.DialogResult = nResponse;
86 xListener->dialogClosed(
aEvent );
93 if (nExecutionResult && xAsyncDialog)
99 Reference< XPropertySetInfo > xInfo( createPropertySetInfo(
getInfoHelper() ) );
110 Sequence< Property > aProps;
111 describeProperties(aProps);
112 return new ::cppu::OPropertyArrayHelper( aProps );
130 pMediaDescriptor[
i ].Name =
"FilterData";
143 if ( rProp.Name ==
"FilterData" )
157extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
159 css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any>
const&)
161 return cppu::acquire(
new PDFDialog(context));
Reference< XExecutableDialog > m_xDialog
static weld::Window * GetFrameWeld(const css::uno::Reference< css::awt::XWindow > &rWindow)
Sequence< PropertyValue > maFilterData
virtual void runAsync(const css::uno::Reference< css::ui::dialogs::XDialogClosedListener > &xListener) override
virtual void executedDialog(sal_Int16 nExecutionResult) override
virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual ~PDFDialog() override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
Sequence< PropertyValue > maMediaDescriptor
Reference< XComponent > mxSrcDoc
virtual OUString SAL_CALL getImplementationName() override
virtual Sequence< PropertyValue > SAL_CALL getPropertyValues() override
virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo() override
PDFDialog(const Reference< XComponentContext > &rxContext)
virtual std::shared_ptr< SfxTabDialogController > createAsyncDialog(const css::uno::Reference< css::awt::XWindow > &rParent) override
virtual std::unique_ptr< weld::DialogController > createDialog(const css::uno::Reference< css::awt::XWindow > &rParent) override
virtual void SAL_CALL setSourceDocument(const Reference< XComponent > &xDoc) override
virtual void executedAsyncDialog(std::shared_ptr< SfxTabDialogController > xAsyncDialog, sal_Int32 nExecutionResult) override
virtual void SAL_CALL setPropertyValues(const Sequence< PropertyValue > &aProps) override
static bool runAsync(const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)
::cppu::IPropertyArrayHelper * getArrayHelper()
Shape IDs per cluster in DGG atom.
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * filter_PDFDialog_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
::cppu::ImplInheritanceHelper< ::svt::OGenericUnoAsyncDialog< SfxTabDialogController >, XPropertyAccess, XExporter > PDFDialog_Base