LibreOffice Module filter (master) 1
Functions
xmlfiltertestdialog.cxx File Reference
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/document/XExporter.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XGraphicStorageHandler.hpp>
#include <com/sun/star/document/XEmbeddedObjectResolver.hpp>
#include <com/sun/star/frame/theGlobalEventBroadcaster.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/system/SystemShellExecute.hpp>
#include <com/sun/star/system/SystemShellExecuteFlags.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/xml/XImportFilter.hpp>
#include <com/sun/star/xml/XExportFilter.hpp>
#include <com/sun/star/xml/sax/Writer.hpp>
#include <comphelper/oslfile2streamwrap.hxx>
#include <comphelper/propertyvalue.hxx>
#include <vcl/svapp.hxx>
#include <sfx2/filedlghelper.hxx>
#include <osl/file.hxx>
#include <unotools/tempfile.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <tools/debug.hxx>
#include <tools/urlobj.hxx>
#include <comphelper/processfactory.hxx>
#include "xmlfiltercommon.hxx"
#include "xmlfiltertestdialog.hxx"
Include dependency graph for xmlfiltertestdialog.cxx:

Go to the source code of this file.

Functions

static bool checkComponent (Reference< XComponent > const &rxComponent, const OUString &rServiceName)
 returns true if the given component supports the given service More...
 
static OUString getFileNameFromURL (std::u16string_view rURL)
 
 IMPL_LINK (XMLFilterTestDialog, ClickHdl_Impl, weld::Button &, rButton, void)
 

Function Documentation

◆ checkComponent()

static bool checkComponent ( Reference< XComponent > const &  rxComponent,
const OUString &  rServiceName 
)
static

returns true if the given component supports the given service

Definition at line 108 of file xmlfiltertestdialog.cxx.

References Exception, and TOOLS_WARN_EXCEPTION.

Referenced by XMLFilterTestDialog::getFrontMostDocument(), and XMLFilterTestDialog::updateCurrentDocumentButtonState().

◆ getFileNameFromURL()

static OUString getFileNameFromURL ( std::u16string_view  rURL)
static

◆ IMPL_LINK()

IMPL_LINK ( XMLFilterTestDialog  ,
ClickHdl_Impl  ,
weld::Button ,
rButton  ,
void   
)

Definition at line 618 of file xmlfiltertestdialog.cxx.

References m_xDialog, and RET_CLOSE.