LibreOffice Module dbaccess (master) 1
Classes | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
dbaxml::ODBExport Class Reference

#include <xmlExport.hxx>

Inheritance diagram for dbaxml::ODBExport:
[legend]
Collaboration diagram for dbaxml::ODBExport:
[legend]

Classes

struct  TDelimiter
 
struct  TypedPropertyValue
 

Public Member Functions

 ODBExport (const Reference< XComponentContext > &_rxContext, OUString const &implementationName, SvXMLExportFlags nExportFlag=SvXMLExportFlags::CONTENT|SvXMLExportFlags::AUTOSTYLES|SvXMLExportFlags::PRETTY|SvXMLExportFlags::FONTDECLS|SvXMLExportFlags::SCRIPTS)
 
rtl::Reference< XMLPropertySetMapper > const & GetColumnStylesPropertySetMapper () const
 
rtl::Reference< XMLPropertySetMapper > const & GetCellStylesPropertySetMapper () const
 
virtual void SAL_CALL setSourceDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override
 
const Reference< XPropertySet > & getDataSource () const
 
- Public Member Functions inherited from SvXMLExport
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, sal_Int16 const eDefaultMeasureUnit, const enum ::xmloff::token::XMLTokenEnum eClass, SvXMLExportFlags nExportFlag)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, sal_Int16 const eDefaultMeasureUnit, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler)
 
 SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler, const css::uno::Reference< css::frame::XModel > &, FieldUnit const eDefaultFieldUnit, SvXMLExportFlags nExportFlag)
 
virtual ~SvXMLExport () override
 
virtual void collectAutoStyles ()
 
virtual void SAL_CALL setSourceDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override
 
virtual sal_Bool SAL_CALL filter (const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override
 
virtual void SAL_CALL cancel () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual OUString SAL_CALL getImplementationName () final override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) final override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () final override
 
OUString EnsureNamespace (OUString const &i_rNamespace)
 
void CheckAttrList ()
 
void ClearAttrList ()
 
void AddAttribute (sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue)
 
void AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const OUString &rValue)
 
void AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, enum ::xmloff::token::XMLTokenEnum eValue)
 
void AddAttribute (const OUString &rQName, const OUString &rValue)
 
void AddAttribute (const OUString &rQName, enum ::xmloff::token::XMLTokenEnum eValue)
 
void AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const css::lang::Locale &rLocale, bool bWriteEmpty)
 
void AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const LanguageTag &rLanguageTag, bool bWriteEmpty)
 
void AddAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
comphelper::AttributeListGetAttrList ()
 
css::uno::Reference< css::xml::sax::XAttributeList > GetXAttrList () const
 
const css::uno::Reference< css::xml::sax::XDocumentHandler > & GetDocHandler () const
 
const OUString & GetOrigFileName () const
 
const SvXMLNamespaceMapGetNamespaceMap () const
 
size_t GetInfoID (const OUString sPersonalInfo) const
 
const SvXMLUnitConverterGetMM100UnitConverter () const
 
SvXMLUnitConverterGetMM100UnitConverter ()
 
void addChaffWhenEncryptedStorage ()
 
virtual ErrCode exportDoc (enum ::xmloff::token::XMLTokenEnum eClass=::xmloff::token::XML_TOKEN_INVALID)
 
void collectDataStyles (bool bFromUsedStyles)
 
virtual void addDataStyle (const sal_Int32 nNumberFormat, bool bTimeFormat=false)
 
virtual void exportDataStyles ()
 
virtual void exportAutoDataStyles ()
 
virtual OUString getDataStyleName (const sal_Int32 nNumberFormat, bool bTimeFormat=false) const
 
sal_Int32 dataStyleForceSystemLanguage (sal_Int32 nFormat) const
 
virtual void exportAnnotationMeta (const css::uno::Reference< css::drawing::XShape > &xShape)
 
const css::uno::Reference< css::frame::XModel > & GetModel () const
 
css::uno::Reference< css::util::XNumberFormatsSupplier > & GetNumberFormatsSupplier ()
 
void SetNumberFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &_xNumberFormatSupplier)
 
rtl::Reference< XMLTextParagraphExport > const & GetTextParagraphExport ()
 
rtl::Reference< XMLShapeExport > const & GetShapeExport ()
 
rtl::Reference< SvXMLAutoStylePoolP > const & GetAutoStylePool ()
 
rtl::Reference< XMLPageExport > const & GetPageExport ()
 
rtl::Reference< SchXMLExportHelper > const & GetChartExport ()
 
rtl::Reference< XMLFontAutoStylePool > const & GetFontAutoStylePool ()
 
ProgressBarHelperGetProgressBarHelper ()
 
rtl::Reference< xmloff::OFormLayerXMLExport > const & GetFormExport ()
 
bool HasFormExport () const
 
const css::uno::Reference< css::beans::XPropertySet > & getExportInfo () const
 
const css::uno::Reference< css::task::XStatusIndicator > & GetStatusIndicator () const
 
XMLEventExportGetEventExport ()
 
XMLImageMapExportGetImageMapExport ()
 
OUString AddEmbeddedXGraphic (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType, OUString const &rRequestedName=OUString())
 
bool AddEmbeddedXGraphicAsBase64 (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic)
 
bool GetGraphicMimeTypeFromStream (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType)
 
OUString AddEmbeddedObject (const OUString &rEmbeddedObjectURL)
 
bool AddEmbeddedObjectAsBase64 (const OUString &rEmbeddedObjectURL)
 
OUString EncodeStyleName (const OUString &rName, bool *pEncoded=nullptr) const
 
bool IsSaveLinkedSections () const
 
SvXMLExportFlags getExportFlags () const
 
void ExportEmbeddedOwnObject (css::uno::Reference< css::lang::XComponent > const &rComp)
 
OUString GetRelativeReference (const OUString &rValue)
 
void StartElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSOutside)
 
void StartElement (const OUString &rName, bool bIgnWSOutside)
 
void Characters (const OUString &rChars)
 
void EndElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSInside)
 
void EndElement (const OUString &rName, bool bIgnWSInside)
 
void IgnorableWhitespace ()
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams, const OUString &rExceptionMessage, const css::uno::Reference< css::xml::sax::XLocator > &rLocator)
 
void SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams)
 
virtual void DisposingModel ()
 
::comphelper::UnoInterfaceToUniqueIdentifierMappergetInterfaceToIdentifierMapper ()
 
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 
SvtModuleOptions::EFactory GetModelType () const
 
bool writeOutlineStyleAsNormalListStyle () const
 
css::uno::Reference< css::embed::XStorage > const & GetTargetStorage () const
 
char const * GetODFVersionAttributeValue () const
 
SvtSaveOptions::ODFSaneDefaultVersion getSaneDefaultVersion () const
 
void SAL_DLLPRIVATE AddAttributeIdLegacy (sal_uInt16 const nLegacyPrefix, OUString const &rValue)
 
void AddAttributeXmlId (css::uno::Reference< css::uno::XInterface > const &i_xIfc)
 
void AddAttributesRDFa (css::uno::Reference< css::text::XTextContent > const &i_xTextContent)
 
bool exportTextNumberElement () const
 
bool SetNullDateOnUnitConverter ()
 
OUString const & GetImageFilterName () const
 

Protected Member Functions

virtual void ExportAutoStyles_ () override
 
virtual void ExportContent_ () override
 
virtual void ExportMasterStyles_ () override
 
virtual void ExportFontDecls_ () override
 
virtual SvXMLAutoStylePoolPCreateAutoStylePool () override
 
virtual void GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) override
 
virtual void GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) override
 
virtual ~ODBExport () override
 
- Protected Member Functions inherited from SvXMLExport
void setExportFlags (SvXMLExportFlags nExportFlags)
 
SvXMLNamespaceMapGetNamespaceMap_ ()
 
void ResetNamespaceMap ()
 
virtual void ExportMeta_ ()
 
virtual void ExportScripts_ ()
 
virtual void ExportFontDecls_ ()
 
virtual void ExportStyles_ (bool bUsed)
 
virtual void ExportAutoStyles_ ()=0
 
virtual void ExportMasterStyles_ ()=0
 
virtual void ExportContent_ ()=0
 
OUString const & GetSourceShellID () const
 
OUString const & GetDestinationShellID () const
 
virtual XMLTextParagraphExportCreateTextParagraphExport ()
 
virtual XMLShapeExportCreateShapeExport ()
 
virtual SvXMLAutoStylePoolPCreateAutoStylePool ()
 
SchXMLExportHelperCreateChartExport ()
 
virtual XMLPageExportCreatePageExport ()
 
virtual XMLFontAutoStylePoolCreateFontAutoStylePool ()
 
xmloff::OFormLayerXMLExportCreateFormExport ()
 
virtual void GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps)
 
virtual void GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps)
 
virtual sal_Int32 GetDocumentSpecificSettings (::std::vector< SettingsGroup > &_out_rSettings)
 
const css::uno::Reference< css::document::XEmbeddedObjectResolver > & GetEmbeddedResolver () const
 
void SetEmbeddedResolver (css::uno::Reference< css::document::XEmbeddedObjectResolver > const &_xEmbeddedResolver)
 
const css::uno::Reference< css::document::XGraphicStorageHandler > & GetGraphicStorageHandler () const
 
void SetGraphicStorageHandler (css::uno::Reference< css::document::XGraphicStorageHandler > const &rxGraphicStorageHandler)
 
void SetDocHandler (const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler)
 

Private Types

typedef std::map< ::xmloff::token::XMLTokenEnum, OUString > TSettingsMap
 
typedef std::pair< OUString,OUString > TStringPair
 
typedef std::map< Reference< XPropertySet >,OUString > TPropertyStyleMap
 
typedef std::map< Reference< XPropertySet >,Reference< XPropertySet > > TTableColumnMap
 

Private Member Functions

void exportDataSource ()
 
void exportConnectionData ()
 
void exportDriverSettings (const TSettingsMap &_aSettings)
 
void exportApplicationConnectionSettings (const TSettingsMap &_aSettings)
 
void exportLogin ()
 
void exportSequence (const Sequence< OUString > &_aValue,::xmloff::token::XMLTokenEnum _eTokenFilter,::xmloff::token::XMLTokenEnum _eTokenType)
 
void exportDelimiter ()
 
void exportAutoIncrement ()
 
void exportCharSet ()
 
template<typename T >
void exportDataSourceSettingsSequence (std::vector< TypedPropertyValue >::iterator const &in)
 
void exportDataSourceSettings ()
 
void exportForms ()
 
void exportReports ()
 
void exportQueries (bool _bExportContext)
 
void exportTables (bool _bExportContext)
 
void exportStyleName (XPropertySet *_xProp, comphelper::AttributeList &_rAtt)
 
void exportStyleName (const ::xmloff::token::XMLTokenEnum _eToken, const Reference< XPropertySet > &_xProp, comphelper::AttributeList &_rAtt, TPropertyStyleMap &_rMap)
 
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)
 
void exportComponent (XPropertySet *_xProp)
 
void exportQuery (XPropertySet *_xProp)
 
void exportTable (XPropertySet *_xProp)
 
void exportFilter (XPropertySet *_xProp, const OUString &_sProp, enum ::xmloff::token::XMLTokenEnum _eStatementType)
 
void exportTableName (XPropertySet *_xProp, bool _bUpdate)
 
void exportAutoStyle (XPropertySet *_xProp)
 
void exportColumns (const Reference< XColumnsSupplier > &_xColSup)
 
void collectComponentStyles ()
 
rtl::Reference< XMLPropertySetMapper > const & GetTableStylesPropertySetMapper () const
 
 ODBExport ()=delete
 

Static Private Member Functions

static OUString implConvertAny (const Any &_rValue)
 

Private Attributes

std::optional< TStringPairm_oAutoIncrement
 
std::unique_ptr< TDelimiterm_aDelimiter
 
std::vector< TypedPropertyValuem_aDataSourceSettings
 
std::vector< XMLPropertyStatem_aCurrentPropertyStates
 
TPropertyStyleMap m_aAutoStyleNames
 
TPropertyStyleMap m_aCellAutoStyleNames
 
TPropertyStyleMap m_aRowAutoStyleNames
 
TTableColumnMap m_aTableDummyColumns
 
OUString m_sCharSet
 
rtl::Reference< SvXMLExportPropertyMapperm_xExportHelper
 
rtl::Reference< SvXMLExportPropertyMapperm_xColumnExportHelper
 
rtl::Reference< SvXMLExportPropertyMapperm_xCellExportHelper
 
rtl::Reference< SvXMLExportPropertyMapperm_xRowExportHelper
 
rtl::Reference< XMLPropertySetMapperm_xTableStylesPropertySetMapper
 
rtl::Reference< XMLPropertySetMapperm_xColumnStylesPropertySetMapper
 
rtl::Reference< XMLPropertySetMapperm_xCellStylesPropertySetMapper
 
Reference< XPropertySetm_xDataSource
 
::dbaccess::ODsnTypeCollection m_aTypeCollection
 
bool m_bAllreadyFilled
 

Additional Inherited Members

- Protected Attributes inherited from SvXMLExport
bool mbSaveLinkedSections
 
bool mbAutoStylesCollected
 

Detailed Description

Definition at line 56 of file xmlExport.hxx.

Member Typedef Documentation

◆ TPropertyStyleMap

typedef std::map< Reference<XPropertySet> ,OUString > dbaxml::ODBExport::TPropertyStyleMap
private

Definition at line 71 of file xmlExport.hxx.

◆ TSettingsMap

Definition at line 58 of file xmlExport.hxx.

◆ TStringPair

typedef std::pair< OUString ,OUString> dbaxml::ODBExport::TStringPair
private

Definition at line 60 of file xmlExport.hxx.

◆ TTableColumnMap

typedef std::map< Reference<XPropertySet> ,Reference<XPropertySet> > dbaxml::ODBExport::TTableColumnMap
private

Definition at line 72 of file xmlExport.hxx.

Constructor & Destructor Documentation

◆ ODBExport() [1/2]

dbaxml::ODBExport::ODBExport ( )
privatedelete

◆ ~ODBExport()

virtual dbaxml::ODBExport::~ODBExport ( )
inlineoverrideprotectedvirtual

Definition at line 163 of file xmlExport.hxx.

◆ ODBExport() [2/2]

dbaxml::ODBExport::ODBExport ( const Reference< XComponentContext > &  _rxContext,
OUString const &  implementationName,
SvXMLExportFlags  nExportFlag = SvXMLExportFlags::CONTENT | SvXMLExportFlags::AUTOSTYLES | SvXMLExportFlags::PRETTY | SvXMLExportFlags::FONTDECLS | SvXMLExportFlags::SCRIPTS 
)

Member Function Documentation

◆ collectComponentStyles()

void dbaxml::ODBExport::collectComponentStyles ( )
private

Definition at line 1331 of file xmlExport.cxx.

References exportQueries(), exportTables(), and m_bAllreadyFilled.

Referenced by ExportAutoStyles_(), and ExportFontDecls_().

◆ CreateAutoStylePool()

SvXMLAutoStylePoolP * dbaxml::ODBExport::CreateAutoStylePool ( )
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 1309 of file xmlExport.cxx.

◆ exportApplicationConnectionSettings()

void dbaxml::ODBExport::exportApplicationConnectionSettings ( const TSettingsMap _aSettings)
private

◆ exportAutoIncrement()

void dbaxml::ODBExport::exportAutoIncrement ( )
private

◆ exportAutoStyle()

void dbaxml::ODBExport::exportAutoStyle ( XPropertySet _xProp)
private

◆ ExportAutoStyles_()

void dbaxml::ODBExport::ExportAutoStyles_ ( )
overrideprotectedvirtual

◆ exportCharSet()

void dbaxml::ODBExport::exportCharSet ( )
private

◆ exportCollection()

void dbaxml::ODBExport::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 
)
private

◆ exportColumns()

void dbaxml::ODBExport::exportColumns ( const Reference< XColumnsSupplier > &  _xColSup)
private

◆ exportComponent()

void dbaxml::ODBExport::exportComponent ( XPropertySet _xProp)
private

◆ exportConnectionData()

void dbaxml::ODBExport::exportConnectionData ( )
private

◆ ExportContent_()

void dbaxml::ODBExport::ExportContent_ ( )
overrideprotectedvirtual

Implements SvXMLExport.

Definition at line 1156 of file xmlExport.cxx.

References exportDataSource(), exportForms(), exportQueries(), exportReports(), and exportTables().

◆ exportDataSource()

void dbaxml::ODBExport::exportDataSource ( )
private

Definition at line 209 of file xmlExport.cxx.

References Any, aProperties, dbaxml::ODBExport::TDelimiter::bUsed, DBG_UNHANDLED_EXCEPTION, eToken, Exception, exportApplicationConnectionSettings(), exportConnectionData(), exportDriverSettings(), getBOOL(), SvXMLExport::getComponentContext(), getDataSource(), getDouble(), getINT32(), connectivity::DriversConfig::getProperties(), INFO_ADDITIONALOPTIONS, INFO_ALLOWLONGTABLENAMES, INFO_APPEND_TABLE_ALIAS, INFO_AUTORETRIEVEENABLED, INFO_AUTORETRIEVEVALUE, INFO_CHARSET, INFO_CONN_LDAP_BASEDN, INFO_CONN_LDAP_ROWCOUNT, INFO_DECIMALDELIMITER, INFO_FIELDDELIMITER, INFO_IGNOREDRIVER_PRIV, INFO_PARAMETERNAMESUBST, INFO_SHOWDELETEDROWS, INFO_TEXTDELIMITER, INFO_TEXTFILEHEADER, INFO_THOUSANDSDELIMITER, INFO_USECATALOG, m_aDataSourceSettings, m_aDelimiter, m_oAutoIncrement, m_sCharSet, Property, PROPERTY_AUTOINCREMENTCREATION(), PROPERTY_BOOLEANCOMPARISONMODE(), PROPERTY_ENABLESQL92CHECK(), PROPERTY_SETTINGS(), PROPERTY_SUPPRESSVERSIONCL(), PROPERTY_URL(), dbaxml::ODBExport::TDelimiter::sDecimal, dbaxml::ODBExport::TDelimiter::sField, dbaxml::ODBExport::TDelimiter::sText, dbaxml::ODBExport::TDelimiter::sThousand, XML_APPEND_TABLE_ALIAS_NAME, XML_BASE_DN, XML_BOOLEAN_COMPARISON_MODE, XML_DATA_SOURCE, XML_ENABLE_SQL92_CHECK, XML_FALSE, XML_IGNORE_DRIVER_PRIVILEGES, XML_IS_FIRST_ROW_HEADER_LINE, XML_IS_TABLE_NAME_LENGTH_LIMITED, XML_MAX_ROW_COUNT, XML_NAMESPACE_DB, XML_PARAMETER_NAME_SUBSTITUTION, XML_SHOW_DELETED, XML_SUPPRESS_VERSION_COLUMNS, XML_SYSTEM_DRIVER_SETTINGS, XML_TOKEN_INVALID, XML_TRUE, and XML_USE_CATALOG.

Referenced by ExportContent_().

◆ exportDataSourceSettings()

void dbaxml::ODBExport::exportDataSourceSettings ( )
private

◆ exportDataSourceSettingsSequence()

template<typename T >
void dbaxml::ODBExport::exportDataSourceSettingsSequence ( std::vector< TypedPropertyValue >::iterator const &  in)
private

◆ exportDelimiter()

void dbaxml::ODBExport::exportDelimiter ( )
private

◆ exportDriverSettings()

void dbaxml::ODBExport::exportDriverSettings ( const TSettingsMap _aSettings)
private

◆ exportFilter()

void dbaxml::ODBExport::exportFilter ( XPropertySet _xProp,
const OUString &  _sProp,
enum ::xmloff::token::XMLTokenEnum  _eStatementType 
)
private

◆ ExportFontDecls_()

void dbaxml::ODBExport::ExportFontDecls_ ( )
overrideprotectedvirtual

◆ exportForms()

void dbaxml::ODBExport::exportForms ( )
private

◆ exportLogin()

void dbaxml::ODBExport::exportLogin ( )
private

◆ ExportMasterStyles_()

void dbaxml::ODBExport::ExportMasterStyles_ ( )
overrideprotectedvirtual

Implements SvXMLExport.

Definition at line 1165 of file xmlExport.cxx.

References SvXMLExport::GetPageExport().

◆ exportQueries()

void dbaxml::ODBExport::exportQueries ( bool  _bExportContext)
private

◆ exportQuery()

void dbaxml::ODBExport::exportQuery ( XPropertySet _xProp)
private

◆ exportReports()

void dbaxml::ODBExport::exportReports ( )
private

◆ exportSequence()

void dbaxml::ODBExport::exportSequence ( const Sequence< OUString > &  _aValue,
::xmloff::token::XMLTokenEnum  _eTokenFilter,
::xmloff::token::XMLTokenEnum  _eTokenType 
)
private

Definition at line 710 of file xmlExport.cxx.

References SvXMLExport::Characters(), and XML_NAMESPACE_DB.

Referenced by exportApplicationConnectionSettings().

◆ exportStyleName() [1/2]

void dbaxml::ODBExport::exportStyleName ( const ::xmloff::token::XMLTokenEnum  _eToken,
const Reference< XPropertySet > &  _xProp,
comphelper::AttributeList _rAtt,
TPropertyStyleMap _rMap 
)
private

◆ exportStyleName() [2/2]

void dbaxml::ODBExport::exportStyleName ( XPropertySet _xProp,
comphelper::AttributeList _rAtt 
)
private

◆ exportTable()

void dbaxml::ODBExport::exportTable ( XPropertySet _xProp)
private

◆ exportTableName()

void dbaxml::ODBExport::exportTableName ( XPropertySet _xProp,
bool  _bUpdate 
)
private

◆ exportTables()

void dbaxml::ODBExport::exportTables ( bool  _bExportContext)
private

◆ GetCellStylesPropertySetMapper()

rtl::Reference< XMLPropertySetMapper > const & dbaxml::ODBExport::GetCellStylesPropertySetMapper ( ) const

◆ GetColumnStylesPropertySetMapper()

rtl::Reference< XMLPropertySetMapper > const & dbaxml::ODBExport::GetColumnStylesPropertySetMapper ( ) const

◆ GetConfigurationSettings()

void dbaxml::ODBExport::GetConfigurationSettings ( css::uno::Sequence< css::beans::PropertyValue > &  aProps)
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 1224 of file xmlExport.cxx.

References Any, Exception, getDataSource(), nLength, and PROPERTY_LAYOUTINFORMATION().

◆ getDataSource()

const Reference< XPropertySet > & dbaxml::ODBExport::getDataSource ( ) const
inline

◆ GetTableStylesPropertySetMapper()

rtl::Reference< XMLPropertySetMapper > const & dbaxml::ODBExport::GetTableStylesPropertySetMapper ( ) const
private

◆ GetViewSettings()

void dbaxml::ODBExport::GetViewSettings ( css::uno::Sequence< css::beans::PropertyValue > &  aProps)
overrideprotectedvirtual

Reimplemented from SvXMLExport.

Definition at line 1184 of file xmlExport.cxx.

References aSeq, Exception, getDataSource(), i, nLength, PROPERTY_LAYOUTINFORMATION(), and TOOLS_WARN_EXCEPTION.

◆ implConvertAny()

OUString dbaxml::ODBExport::implConvertAny ( const Any &  _rValue)
staticprivate

◆ setSourceDocument()

void SAL_CALL dbaxml::ODBExport::setSourceDocument ( const css::uno::Reference< css::lang::XComponent > &  xDoc)
overridevirtual

Member Data Documentation

◆ m_aAutoStyleNames

TPropertyStyleMap dbaxml::ODBExport::m_aAutoStyleNames
private

Definition at line 92 of file xmlExport.hxx.

Referenced by exportAutoStyle(), and exportStyleName().

◆ m_aCellAutoStyleNames

TPropertyStyleMap dbaxml::ODBExport::m_aCellAutoStyleNames
private

Definition at line 93 of file xmlExport.hxx.

Referenced by exportAutoStyle(), and exportStyleName().

◆ m_aCurrentPropertyStates

std::vector< XMLPropertyState > dbaxml::ODBExport::m_aCurrentPropertyStates
private

Definition at line 91 of file xmlExport.hxx.

Referenced by exportAutoStyle().

◆ m_aDataSourceSettings

std::vector< TypedPropertyValue > dbaxml::ODBExport::m_aDataSourceSettings
private

Definition at line 90 of file xmlExport.hxx.

Referenced by exportDataSource(), and exportDataSourceSettings().

◆ m_aDelimiter

std::unique_ptr< TDelimiter > dbaxml::ODBExport::m_aDelimiter
private

Definition at line 89 of file xmlExport.hxx.

Referenced by exportDataSource(), and exportDelimiter().

◆ m_aRowAutoStyleNames

TPropertyStyleMap dbaxml::ODBExport::m_aRowAutoStyleNames
private

Definition at line 94 of file xmlExport.hxx.

Referenced by exportAutoStyle(), and exportStyleName().

◆ m_aTableDummyColumns

TTableColumnMap dbaxml::ODBExport::m_aTableDummyColumns
private

Definition at line 95 of file xmlExport.hxx.

Referenced by exportAutoStyle(), and exportColumns().

◆ m_aTypeCollection

::dbaccess::ODsnTypeCollection dbaxml::ODBExport::m_aTypeCollection
private

Definition at line 107 of file xmlExport.hxx.

Referenced by exportConnectionData().

◆ m_bAllreadyFilled

bool dbaxml::ODBExport::m_bAllreadyFilled
private

Definition at line 108 of file xmlExport.hxx.

Referenced by collectComponentStyles().

◆ m_oAutoIncrement

std::optional< TStringPair > dbaxml::ODBExport::m_oAutoIncrement
private

Definition at line 88 of file xmlExport.hxx.

Referenced by exportAutoIncrement(), and exportDataSource().

◆ m_sCharSet

OUString dbaxml::ODBExport::m_sCharSet
private

Definition at line 96 of file xmlExport.hxx.

Referenced by exportCharSet(), and exportDataSource().

◆ m_xCellExportHelper

rtl::Reference< SvXMLExportPropertyMapper> dbaxml::ODBExport::m_xCellExportHelper
private

Definition at line 99 of file xmlExport.hxx.

Referenced by exportAutoStyle(), and ODBExport().

◆ m_xCellStylesPropertySetMapper

rtl::Reference< XMLPropertySetMapper > dbaxml::ODBExport::m_xCellStylesPropertySetMapper
mutableprivate

Definition at line 104 of file xmlExport.hxx.

Referenced by GetCellStylesPropertySetMapper().

◆ m_xColumnExportHelper

rtl::Reference< SvXMLExportPropertyMapper> dbaxml::ODBExport::m_xColumnExportHelper
private

Definition at line 98 of file xmlExport.hxx.

Referenced by exportAutoStyle(), and ODBExport().

◆ m_xColumnStylesPropertySetMapper

rtl::Reference< XMLPropertySetMapper > dbaxml::ODBExport::m_xColumnStylesPropertySetMapper
mutableprivate

Definition at line 103 of file xmlExport.hxx.

Referenced by GetColumnStylesPropertySetMapper().

◆ m_xDataSource

Reference<XPropertySet> dbaxml::ODBExport::m_xDataSource
private

Definition at line 106 of file xmlExport.hxx.

Referenced by getDataSource(), and setSourceDocument().

◆ m_xExportHelper

rtl::Reference< SvXMLExportPropertyMapper> dbaxml::ODBExport::m_xExportHelper
private

Definition at line 97 of file xmlExport.hxx.

Referenced by exportAutoStyle(), and ODBExport().

◆ m_xRowExportHelper

rtl::Reference< SvXMLExportPropertyMapper> dbaxml::ODBExport::m_xRowExportHelper
private

Definition at line 100 of file xmlExport.hxx.

Referenced by exportAutoStyle(), and ODBExport().

◆ m_xTableStylesPropertySetMapper

rtl::Reference< XMLPropertySetMapper > dbaxml::ODBExport::m_xTableStylesPropertySetMapper
mutableprivate

Definition at line 102 of file xmlExport.hxx.

Referenced by GetTableStylesPropertySetMapper().


The documentation for this class was generated from the following files: