21#include <com/sun/star/container/XNameContainer.hpp>
22#include <com/sun/star/uno/XComponentContext.hpp>
33 const css::uno::Reference< css::uno::XComponentContext >& rxContext);
73 css::uno::Reference< css::uno::XComponentContext >
mxContext;
void incBusy(const weld::Widget *pIgnore)
DECL_LINK(SelectionChangedHdl_Impl, weld::TreeView &, void)
void onEdit()
is called when the user clicks on the "Edit" Button
OUString m_sDocTypePrefix
TopLevelWindowLocker maBusy
bool insertOrEdit(filter_info_impl *pNewInfo, const filter_info_impl *pOldInfo=nullptr)
inserts a new filter into the ui and configuration if pOldInfo is NULL.
css::uno::Reference< css::uno::XComponentContext > mxContext
void onTest()
is called when the user clicks the "Test" button
virtual ~XMLFilterSettingsDialog() override
css::uno::Reference< css::container::XNameContainer > mxTypeDetection
DECL_LINK(DoubleClickHdl_Impl, weld::TreeView &, bool)
void onNew()
is called when the user clicks on the "New" button
DECL_LINK(ClickHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::TreeView > m_xFilterListBox
css::uno::Reference< css::container::XNameContainer > mxFilterContainer
std::unique_ptr< weld::Button > m_xPBEdit
SvtModuleOptions maModuleOpt
OUString createUniqueInterfaceName(const OUString &rInterfaceName)
checks if the given name is a unique ui name inside the filter factory.
XMLFilterSettingsDialog(weld::Window *pParent, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
OUString createUniqueTypeName(const OUString &rTypeName)
checks if the given name is unique inside the type detection.
void changeEntry(const filter_info_impl *pInfo)
std::unique_ptr< weld::Button > m_xPBDelete
std::unique_ptr< weld::Button > m_xPBTest
OUString createUniqueFilterName(const OUString &rUIName)
checks if the given name is unique inside the filter factory.
css::uno::Reference< css::container::XNameContainer > mxExtendedTypeDetection
std::unique_ptr< weld::Button > m_xPBClose
std::unique_ptr< weld::Button > m_xPBSave
void addFilterEntry(const filter_info_impl *pInfo)
adds a new filter info entry to the ui filter list
static OUString getEntryString(const filter_info_impl *pInfo)
std::unique_ptr< weld::Button > m_xPBNew
std::unique_ptr< weld::Button > m_xPBOpen
std::vector< std::unique_ptr< filter_info_impl > > maFilterVector
std::shared_ptr< weld::Dialog > m_xDialog