LibreOffice Module filter (master) 1
Functions
xmlfiltersettingsdialog.cxx File Reference
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/util/XFlushable.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <comphelper/propertyvalue.hxx>
#include <o3tl/string_view.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <tools/urlobj.hxx>
#include <unotools/pathoptions.hxx>
#include <unotools/streamwrap.hxx>
#include <osl/file.hxx>
#include <o3tl/enumrange.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <sfx2/filedlghelper.hxx>
#include <tools/stream.hxx>
#include <rtl/uri.hxx>
#include <algorithm>
#include <memory>
#include <strings.hrc>
#include "xmlfiltersettingsdialog.hxx"
#include "xmlfiltertabdialog.hxx"
#include "xmlfiltertestdialog.hxx"
#include "xmlfilterjar.hxx"
#include <strings.hxx>
Include dependency graph for xmlfiltersettingsdialog.cxx:

Go to the source code of this file.

Functions

 IMPL_LINK (XMLFilterSettingsDialog, ClickHdl_Impl, weld::Button &, rButton, void)
 
 IMPL_LINK_NOARG (XMLFilterSettingsDialog, SelectionChangedHdl_Impl, weld::TreeView &, void)
 
 IMPL_LINK_NOARG (XMLFilterSettingsDialog, DoubleClickHdl_Impl, weld::TreeView &, bool)
 
static Sequence< OUString > createExtensionsSequence (const OUString &rExtensions)
 helper to create a sequence of strings from an extensions strings "ext1;ext2;ext3" will become { "ext1", "ext2", "ext3" } More...
 
std::vector< application_info_impl > const & getApplicationInfos ()
 
const application_info_implgetApplicationInfo (std::u16string_view rServiceName)
 
OUString getApplicationUIName (std::u16string_view rServiceName)
 
OUString string_encode (const OUString &rText)
 
OUString string_decode (const OUString &rText)
 
bool copyStreams (const Reference< XInputStream > &xIS, const Reference< XOutputStream > &xOS)
 
bool createDirectory (std::u16string_view rURL)
 

Function Documentation

◆ copyStreams()

bool copyStreams ( const Reference< XInputStream > &  xIS,
const Reference< XOutputStream > &  xOS 
)

Definition at line 1317 of file xmlfiltersettingsdialog.cxx.

References Exception, and TOOLS_WARN_EXCEPTION.

Referenced by XMLFilterSettingsDialog::insertOrEdit().

◆ createDirectory()

bool createDirectory ( std::u16string_view  rURL)

◆ createExtensionsSequence()

static Sequence< OUString > createExtensionsSequence ( const OUString &  rExtensions)
static

helper to create a sequence of strings from an extensions strings "ext1;ext2;ext3" will become { "ext1", "ext2", "ext3" }

Definition at line 250 of file xmlfiltersettingsdialog.cxx.

References gentoken::i, and nLength.

Referenced by XMLFilterSettingsDialog::insertOrEdit().

◆ getApplicationInfo()

const application_info_impl * getApplicationInfo ( std::u16string_view  rServiceName)

◆ getApplicationInfos()

std::vector< application_info_impl > const & getApplicationInfos ( )

◆ getApplicationUIName()

OUString getApplicationUIName ( std::u16string_view  rServiceName)

◆ IMPL_LINK()

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

Definition at line 114 of file xmlfiltersettingsdialog.cxx.

References m_xDialog, and RET_CLOSE.

◆ IMPL_LINK_NOARG() [1/2]

IMPL_LINK_NOARG ( XMLFilterSettingsDialog  ,
DoubleClickHdl_Impl  ,
weld::TreeView ,
bool   
)

Definition at line 155 of file xmlfiltersettingsdialog.cxx.

◆ IMPL_LINK_NOARG() [2/2]

IMPL_LINK_NOARG ( XMLFilterSettingsDialog  ,
SelectionChangedHdl_Impl  ,
weld::TreeView ,
void   
)

Definition at line 150 of file xmlfiltersettingsdialog.cxx.

◆ string_decode()

OUString string_decode ( const OUString &  rText)

Definition at line 1312 of file xmlfiltersettingsdialog.cxx.

Referenced by XMLFilterTabPageBasic::SetInfo().

◆ string_encode()

OUString string_encode ( const OUString &  rText)

Definition at line 1302 of file xmlfiltersettingsdialog.cxx.

Referenced by XMLFilterTabPageBasic::FillInfo().