22#include <com/sun/star/container/XNamed.hpp>
23#include <com/sun/star/document/XFilter.hpp>
24#include <com/sun/star/document/XImporter.hpp>
25#include <com/sun/star/beans/XPropertySet.hpp>
26#include <com/sun/star/lang/XComponent.hpp>
27#include <com/sun/star/io/XActiveDataSource.hpp>
37#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
58 typedef std::map< ::xmloff::token::XMLTokenEnum, OUString>
TSettingsMap;
72 typedef std::map< Reference<XPropertySet> ,Reference<XPropertySet> >
TTableColumnMap;
122 std::vector< TypedPropertyValue >::iterator
const & in);
131 ,enum ::xmloff::token::XMLTokenEnum _eComponents
132 ,enum ::xmloff::token::XMLTokenEnum _eSubComponents
133 ,
bool _bExportContext
134 ,const ::comphelper::mem_fun1_t<ODBExport,XPropertySet* >& _aMemFunc
140 ,
const OUString& _sProp
141 ,enum ::xmloff::token::XMLTokenEnum _eStatementType);
144 void exportColumns(
const Reference<XColumnsSupplier>& _xColSup);
160 virtual void GetViewSettings(css::uno::Sequence<css::beans::PropertyValue>& aProps)
override;
166 ODBExport(
const Reference< XComponentContext >& _rxContext, OUString
const & implementationName,
SvXMLExportFlags nExportFlag = SvXMLExportFlags::CONTENT | SvXMLExportFlags::AUTOSTYLES | SvXMLExportFlags::PRETTY | SvXMLExportFlags::FONTDECLS | SvXMLExportFlags::SCRIPTS );
172 virtual void SAL_CALL
setSourceDocument(
const css::uno::Reference< css::lang::XComponent >& xDoc )
override;
std::map< Reference< XPropertySet >,Reference< XPropertySet > > TTableColumnMap
virtual void GetViewSettings(css::uno::Sequence< css::beans::PropertyValue > &aProps) override
std::map< ::xmloff::token::XMLTokenEnum, OUString > TSettingsMap
Reference< XPropertySet > m_xDataSource
void exportDriverSettings(const TSettingsMap &_aSettings)
rtl::Reference< SvXMLExportPropertyMapper > m_xCellExportHelper
void exportTable(XPropertySet *_xProp)
std::map< Reference< XPropertySet >,OUString > TPropertyStyleMap
rtl::Reference< XMLPropertySetMapper > const & GetTableStylesPropertySetMapper() const
rtl::Reference< SvXMLExportPropertyMapper > m_xRowExportHelper
rtl::Reference< XMLPropertySetMapper > m_xTableStylesPropertySetMapper
void exportQuery(XPropertySet *_xProp)
rtl::Reference< SvXMLExportPropertyMapper > m_xColumnExportHelper
virtual void ExportContent_() override
virtual void SAL_CALL setSourceDocument(const css::uno::Reference< css::lang::XComponent > &xDoc) override
void exportDataSourceSettingsSequence(std::vector< TypedPropertyValue >::iterator const &in)
std::pair< OUString,OUString > TStringPair
void exportCollection(const Reference< XNameAccess > &_xCollection, enum ::xmloff::token::XMLTokenEnum _eComponents, enum ::xmloff::token::XMLTokenEnum _eSubComponents, bool _bExportContext, const ::comphelper::mem_fun1_t< ODBExport, XPropertySet * > &_aMemFunc)
virtual void ExportFontDecls_() override
std::vector< TypedPropertyValue > m_aDataSourceSettings
::dbaccess::ODsnTypeCollection m_aTypeCollection
void exportTables(bool _bExportContext)
void exportColumns(const Reference< XColumnsSupplier > &_xColSup)
void exportTableName(XPropertySet *_xProp, bool _bUpdate)
void exportComponent(XPropertySet *_xProp)
void exportFilter(XPropertySet *_xProp, const OUString &_sProp, enum ::xmloff::token::XMLTokenEnum _eStatementType)
void exportStyleName(XPropertySet *_xProp, comphelper::AttributeList &_rAtt)
rtl::Reference< SvXMLExportPropertyMapper > m_xExportHelper
void exportAutoIncrement()
std::unique_ptr< TDelimiter > m_aDelimiter
virtual SvXMLAutoStylePoolP * CreateAutoStylePool() override
TPropertyStyleMap m_aCellAutoStyleNames
rtl::Reference< XMLPropertySetMapper > m_xCellStylesPropertySetMapper
void exportSequence(const Sequence< OUString > &_aValue,::xmloff::token::XMLTokenEnum _eTokenFilter,::xmloff::token::XMLTokenEnum _eTokenType)
void exportDataSourceSettings()
void exportStyleName(const ::xmloff::token::XMLTokenEnum _eToken, const Reference< XPropertySet > &_xProp, comphelper::AttributeList &_rAtt, TPropertyStyleMap &_rMap)
TPropertyStyleMap m_aAutoStyleNames
void exportQueries(bool _bExportContext)
rtl::Reference< XMLPropertySetMapper > m_xColumnStylesPropertySetMapper
rtl::Reference< XMLPropertySetMapper > const & GetColumnStylesPropertySetMapper() const
const Reference< XPropertySet > & getDataSource() const
void collectComponentStyles()
void exportConnectionData()
virtual void ExportAutoStyles_() override
std::optional< TStringPair > m_oAutoIncrement
virtual void ExportMasterStyles_() override
TTableColumnMap m_aTableDummyColumns
std::vector< XMLPropertyState > m_aCurrentPropertyStates
void exportAutoStyle(XPropertySet *_xProp)
static OUString implConvertAny(const Any &_rValue)
void exportApplicationConnectionSettings(const TSettingsMap &_aSettings)
virtual ~ODBExport() override
TPropertyStyleMap m_aRowAutoStyleNames
virtual void GetConfigurationSettings(css::uno::Sequence< css::beans::PropertyValue > &aProps) override
rtl::Reference< XMLPropertySetMapper > const & GetCellStylesPropertySetMapper() const
TypedPropertyValue(OUString _name, const css::uno::Type &_type, css::uno::Any _value)