LibreOffice Module dbaccess (master) 1
|
#include <xmlExport.hxx>
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::AttributeList & | GetAttrList () |
css::uno::Reference< css::xml::sax::XAttributeList > | GetXAttrList () const |
const css::uno::Reference< css::xml::sax::XDocumentHandler > & | GetDocHandler () const |
const OUString & | GetOrigFileName () const |
const SvXMLNamespaceMap & | GetNamespaceMap () const |
size_t | GetInfoID (const OUString sPersonalInfo) const |
const SvXMLUnitConverter & | GetMM100UnitConverter () const |
SvXMLUnitConverter & | GetMM100UnitConverter () |
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 () |
ProgressBarHelper * | GetProgressBarHelper () |
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 |
XMLEventExport & | GetEventExport () |
XMLImageMapExport & | GetImageMapExport () |
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::UnoInterfaceToUniqueIdentifierMapper & | getInterfaceToIdentifierMapper () |
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 SvXMLAutoStylePoolP * | CreateAutoStylePool () 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) |
SvXMLNamespaceMap & | GetNamespaceMap_ () |
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 XMLTextParagraphExport * | CreateTextParagraphExport () |
virtual XMLShapeExport * | CreateShapeExport () |
virtual SvXMLAutoStylePoolP * | CreateAutoStylePool () |
SchXMLExportHelper * | CreateChartExport () |
virtual XMLPageExport * | CreatePageExport () |
virtual XMLFontAutoStylePool * | CreateFontAutoStylePool () |
xmloff::OFormLayerXMLExport * | CreateFormExport () |
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 |
Static Private Member Functions | |
static OUString | implConvertAny (const Any &_rValue) |
Additional Inherited Members | |
Protected Attributes inherited from SvXMLExport | |
bool | mbSaveLinkedSections |
bool | mbAutoStylesCollected |
Definition at line 56 of file xmlExport.hxx.
|
private |
Definition at line 71 of file xmlExport.hxx.
|
private |
Definition at line 58 of file xmlExport.hxx.
|
private |
Definition at line 60 of file xmlExport.hxx.
|
private |
Definition at line 72 of file xmlExport.hxx.
|
privatedelete |
|
inlineoverrideprotectedvirtual |
Definition at line 163 of file xmlExport.hxx.
dbaxml::ODBExport::ODBExport | ( | const Reference< XComponentContext > & | _rxContext, |
OUString const & | implementationName, | ||
SvXMLExportFlags | nExportFlag = SvXMLExportFlags::CONTENT | SvXMLExportFlags::AUTOSTYLES | SvXMLExportFlags::PRETTY | SvXMLExportFlags::FONTDECLS | SvXMLExportFlags::SCRIPTS |
||
) |
Definition at line 143 of file xmlExport.cxx.
References SvXMLNamespaceMap::Add(), SvXMLExport::GetAutoStylePool(), GetCellStylesPropertySetMapper(), GetColumnStylesPropertySetMapper(), SvXMLExport::GetMM100UnitConverter(), SvXMLExport::GetNamespaceMap_(), dbaxml::OXMLHelper::GetRowStylesPropertySetMapper(), GetTableStylesPropertySetMapper(), GetXMLToken(), implementationName, m_xCellExportHelper, m_xColumnExportHelper, m_xExportHelper, m_xRowExportHelper, OASIS, SvXMLUnitConverter::SetCoreMeasureUnit(), SvXMLUnitConverter::SetXMLMeasureUnit(), XML_DATABASE, XML_N_CONFIG, XML_N_DB_OASIS, XML_N_FO_COMPAT, XML_N_NUMBER, XML_N_OFFICE, XML_N_OOO, XML_N_STYLE, XML_N_SVG, XML_N_TABLE, XML_N_XLINK, XML_NAMESPACE_CONFIG, XML_NAMESPACE_DB, XML_NAMESPACE_FO, XML_NAMESPACE_NUMBER, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOO, XML_NAMESPACE_STYLE, XML_NAMESPACE_SVG, XML_NAMESPACE_TABLE, XML_NAMESPACE_XLINK, XML_NP_CONFIG, XML_NP_DB, XML_NP_FO, XML_NP_NUMBER, XML_NP_OFFICE, XML_NP_OOO, XML_NP_STYLE, XML_NP_SVG, XML_NP_TABLE, XML_NP_XLINK, XML_STYLE_FAMILY_TABLE_CELL_STYLES_NAME, XML_STYLE_FAMILY_TABLE_CELL_STYLES_PREFIX, XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME, XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_PREFIX, XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME, XML_STYLE_FAMILY_TABLE_ROW_STYLES_PREFIX, XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME, and XML_STYLE_FAMILY_TABLE_TABLE_STYLES_PREFIX.
|
private |
Definition at line 1331 of file xmlExport.cxx.
References exportQueries(), exportTables(), and m_bAllreadyFilled.
Referenced by ExportAutoStyles_(), and ExportFontDecls_().
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 1309 of file xmlExport.cxx.
|
private |
Definition at line 436 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), exportDataSourceSettings(), exportSequence(), getDataSource(), i, PROPERTY_TABLEFILTER(), PROPERTY_TABLETYPEFILTER(), XML_APPEND_TABLE_ALIAS_NAME, XML_APPLICATION_CONNECTION_SETTINGS, XML_BOOLEAN_COMPARISON_MODE, XML_ENABLE_SQL92_CHECK, XML_IGNORE_DRIVER_PRIVILEGES, XML_IS_TABLE_NAME_LENGTH_LIMITED, XML_MAX_ROW_COUNT, XML_NAMESPACE_DB, XML_SUPPRESS_VERSION_COLUMNS, XML_TABLE_FILTER, XML_TABLE_FILTER_PATTERN, XML_TABLE_INCLUDE_FILTER, XML_TABLE_TYPE, XML_TABLE_TYPE_FILTER, and XML_USE_CATALOG.
Referenced by exportDataSource().
|
private |
Definition at line 700 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), m_oAutoIncrement, XML_ADDITIONAL_COLUMN_STATEMENT, XML_AUTO_INCREMENT, XML_NAMESPACE_DB, and XML_ROW_RETRIEVING_STATEMENT.
Referenced by exportDriverSettings().
|
private |
Definition at line 1062 of file xmlExport.cxx.
References Add, SvXMLExport::addDataStyle(), CTF_DB_COLUMN_TEXT_ALIGN, CTF_DB_NUMBERFORMAT, DBG_UNHANDLED_EXCEPTION, Exception, exportAutoStyle(), exportCollection(), SvXMLExport::GetAutoStylePool(), SvXMLExport::GetFontAutoStylePool(), i, m_aAutoStyleNames, m_aCellAutoStyleNames, m_aCurrentPropertyStates, m_aRowAutoStyleNames, m_aTableDummyColumns, m_xCellExportHelper, m_xColumnExportHelper, m_xExportHelper, m_xRowExportHelper, PROPERTY_FONT(), xColumn, and XML_TOKEN_INVALID.
Referenced by exportAutoStyle(), exportQueries(), and exportTables().
|
overrideprotectedvirtual |
Implements SvXMLExport.
Definition at line 1170 of file xmlExport.cxx.
References collectComponentStyles(), SvXMLExport::exportDataStyles(), SvXMLExport::GetAutoStylePool(), and SvXMLExport::getExportFlags().
|
private |
Definition at line 678 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), m_sCharSet, XML_ENCODING, XML_FONT_CHARSET, and XML_NAMESPACE_DB.
Referenced by exportDriverSettings().
|
private |
Definition at line 746 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), aSeq, exportCollection(), XML_NAME, XML_NAMESPACE_DB, and XML_TABLE_REPRESENTATIONS.
Referenced by exportAutoStyle(), exportCollection(), exportForms(), exportQueries(), exportReports(), and exportTables().
|
private |
Definition at line 898 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::AddAttributeList(), Any, aSeq, sax::Converter::convertAny(), DBG_UNHANDLED_EXCEPTION, Exception, exportStyleName(), SvXMLExport::GetAttrList(), getBOOL(), getLength(), m_aTableDummyColumns, PROPERTY_CONTROLDEFAULT(), PROPERTY_HELPTEXT(), PROPERTY_HIDDEN(), sType, XML_COLUMN, XML_COLUMNS, XML_DEFAULT_VALUE, XML_FALSE, XML_HELP_MESSAGE, XML_NAME, XML_NAMESPACE_DB, XML_TYPE_NAME, and XML_VISIBLE.
Referenced by exportQuery(), and exportTable().
|
private |
Definition at line 777 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), PROPERTY_AS_TEMPLATE(), PROPERTY_PERSISTENT_NAME(), XML_AS_TEMPLATE, XML_COMPONENT, XML_FALSE, XML_HREF, XML_NAMESPACE_DB, XML_NAMESPACE_XLINK, XML_SIMPLE, XML_TRUE, and XML_TYPE.
Referenced by exportForms(), and exportReports().
|
private |
Definition at line 493 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), dbaccess::ODsnTypeCollection::cutPrefix(), DBG_UNHANDLED_EXCEPTION, dbaccess::ODsnTypeCollection::determineType(), dbaccess::DST_MSACCESS, eType, Exception, exportLogin(), dbaccess::ODsnTypeCollection::extractHostNamePort(), svt::OFileNotation::get(), getDataSource(), dbaccess::ODsnTypeCollection::getMediaType(), dbaccess::ODsnTypeCollection::getPrefix(), SvXMLExport::GetRelativeReference(), INFO_TEXTFILEEXTENSION, dbaccess::ODsnTypeCollection::isFileSystemBased(), m_aTypeCollection, svt::OFileNotation::N_URL, PROPERTY_SETTINGS(), PROPERTY_URL(), comphelper::string::stripEnd(), sType, SvtPathOptions::SubstituteVariable(), u, XML_CONNECTION_DATA, XML_CONNECTION_RESOURCE, XML_DATABASE_DESCRIPTION, XML_DATABASE_NAME, XML_EXTENSION, XML_FILE_BASED_DATABASE, XML_HOSTNAME, XML_HREF, XML_LOCAL_SOCKET, XML_MEDIA_TYPE, XML_NAMESPACE_DB, XML_NAMESPACE_XLINK, XML_PORT, XML_SERVER_DATABASE, XML_SIMPLE, and XML_TYPE.
Referenced by exportDataSource().
|
overrideprotectedvirtual |
Implements SvXMLExport.
Definition at line 1156 of file xmlExport.cxx.
References exportDataSource(), exportForms(), exportQueries(), exportReports(), and exportTables().
|
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_().
|
private |
Definition at line 607 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), aSeq, SvXMLExport::Characters(), comphelper::getSequenceElementType(), implConvertAny(), dbaxml::lcl_implGetPropertyXMLType(), m_aDataSourceSettings, XML_DATA_SOURCE_SETTING, XML_DATA_SOURCE_SETTING_IS_LIST, XML_DATA_SOURCE_SETTING_NAME, XML_DATA_SOURCE_SETTING_TYPE, XML_DATA_SOURCE_SETTING_VALUE, XML_DATA_SOURCE_SETTINGS, XML_FALSE, XML_NAMESPACE_DB, and XML_TRUE.
Referenced by exportApplicationConnectionSettings().
|
private |
Definition at line 593 of file xmlExport.cxx.
References SvXMLExport::Characters(), i, implConvertAny(), in, XML_DATA_SOURCE_SETTING_VALUE, and XML_NAMESPACE_DB.
|
private |
Definition at line 688 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), m_aDelimiter, XML_DECIMAL, XML_DELIMITER, XML_FIELD, XML_NAMESPACE_DB, XML_STRING, and XML_THOUSAND.
Referenced by exportDriverSettings().
|
private |
Definition at line 472 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), exportAutoIncrement(), exportCharSet(), exportDelimiter(), XML_BASE_DN, XML_DRIVER_SETTINGS, XML_IS_FIRST_ROW_HEADER_LINE, XML_NAMESPACE_DB, XML_PARAMETER_NAME_SUBSTITUTION, XML_SHOW_DELETED, and XML_SYSTEM_DRIVER_SETTINGS.
Referenced by exportDataSource().
|
private |
Definition at line 883 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::GetAttrList(), getLength(), SAL_WARN_IF, XML_COMMAND, and XML_NAMESPACE_DB.
Referenced by exportQuery(), and exportTable().
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 1324 of file xmlExport.cxx.
References collectComponentStyles(), SvXMLExport::ExportFontDecls_(), and SvXMLExport::GetFontAutoStylePool().
|
private |
Definition at line 976 of file xmlExport.cxx.
References Any, exportCollection(), exportComponent(), getDataSource(), dbtools::getDataSourceSetting(), SvXMLExport::GetModel(), XML_COMPONENT_COLLECTION, and XML_FORMS.
Referenced by ExportContent_().
|
private |
Definition at line 728 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), getDataSource(), PROPERTY_ISPASSWORDREQUIRED(), PROPERTY_USER(), XML_FALSE, XML_IS_PASSWORD_REQUIRED, XML_LOGIN, XML_NAMESPACE_DB, XML_TRUE, and XML_USER_NAME.
Referenced by exportConnectionData().
|
overrideprotectedvirtual |
Implements SvXMLExport.
Definition at line 1165 of file xmlExport.cxx.
References SvXMLExport::GetPageExport().
|
private |
Definition at line 1018 of file xmlExport.cxx.
References Any, exportAutoStyle(), exportCollection(), exportQuery(), getDataSource(), dbtools::getDataSourceSetting(), XML_QUERIES, and XML_QUERY_COLLECTION.
Referenced by collectComponentStyles(), and ExportContent_().
|
private |
Definition at line 796 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), exportColumns(), exportFilter(), exportStyleName(), exportTableName(), SvXMLExport::GetAttrList(), getBOOL(), getString(), PROPERTY_APPLYFILTER(), PROPERTY_APPLYORDER(), PROPERTY_COMMAND(), PROPERTY_ESCAPE_PROCESSING(), PROPERTY_FILTER(), PROPERTY_ORDER(), XML_APPLY_FILTER, XML_APPLY_ORDER, XML_COMMAND, XML_ESCAPE_PROCESSING, XML_FALSE, XML_FILTER_STATEMENT, XML_NAMESPACE_DB, XML_ORDER_STATEMENT, XML_QUERY, and XML_TRUE.
Referenced by exportQueries().
|
private |
Definition at line 997 of file xmlExport.cxx.
References Any, exportCollection(), exportComponent(), getDataSource(), dbtools::getDataSourceSetting(), SvXMLExport::GetModel(), XML_COMPONENT_COLLECTION, and XML_REPORTS.
Referenced by ExportContent_().
|
private |
Definition at line 710 of file xmlExport.cxx.
References SvXMLExport::Characters(), and XML_NAMESPACE_DB.
Referenced by exportApplicationConnectionSettings().
|
private |
|
private |
Definition at line 843 of file xmlExport.cxx.
References exportStyleName(), m_aAutoStyleNames, m_aCellAutoStyleNames, m_aRowAutoStyleNames, XML_DEFAULT_CELL_STYLE_NAME, XML_DEFAULT_ROW_STYLE_NAME, and XML_STYLE_NAME.
Referenced by exportColumns(), exportQuery(), exportStyleName(), and exportTable().
|
private |
Definition at line 820 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), exportColumns(), exportFilter(), exportStyleName(), exportTableName(), SvXMLExport::GetAttrList(), getBOOL(), getString(), PROPERTY_APPLYFILTER(), PROPERTY_APPLYORDER(), PROPERTY_DESCRIPTION(), PROPERTY_FILTER(), PROPERTY_ORDER(), XML_APPLY_FILTER, XML_APPLY_ORDER, XML_DESCRIPTION, XML_FILTER_STATEMENT, XML_NAMESPACE_DB, XML_ORDER_STATEMENT, XML_TABLE_REPRESENTATION, and XML_TRUE.
Referenced by exportTables().
|
private |
Definition at line 862 of file xmlExport.cxx.
References SvXMLExport::AddAttribute(), PROPERTY_CATALOGNAME(), PROPERTY_NAME(), PROPERTY_SCHEMANAME(), PROPERTY_UPDATE_CATALOGNAME(), PROPERTY_UPDATE_SCHEMANAME(), PROPERTY_UPDATE_TABLENAME(), XML_CATALOG_NAME, XML_NAME, XML_NAMESPACE_DB, XML_SCHEMA_NAME, and XML_UPDATE_TABLE.
Referenced by exportQuery(), and exportTable().
|
private |
Definition at line 1044 of file xmlExport.cxx.
References exportAutoStyle(), exportCollection(), exportTable(), getDataSource(), XML_TABLE_REPRESENTATIONS, and XML_TOKEN_INVALID.
Referenced by collectComponentStyles(), and ExportContent_().
rtl::Reference< XMLPropertySetMapper > const & dbaxml::ODBExport::GetCellStylesPropertySetMapper | ( | ) | const |
Definition at line 1291 of file xmlExport.cxx.
References dbaxml::OXMLHelper::GetCellStylesPropertySetMapper(), and m_xCellStylesPropertySetMapper.
Referenced by ODBExport().
rtl::Reference< XMLPropertySetMapper > const & dbaxml::ODBExport::GetColumnStylesPropertySetMapper | ( | ) | const |
Definition at line 1300 of file xmlExport.cxx.
References dbaxml::OXMLHelper::GetColumnStylesPropertySetMapper(), and m_xColumnStylesPropertySetMapper.
Referenced by dbaxml::OXMLAutoStylePoolP::exportStyleAttributes(), and ODBExport().
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 1224 of file xmlExport.cxx.
References Any, Exception, getDataSource(), nLength, and PROPERTY_LAYOUTINFORMATION().
|
inline |
Definition at line 174 of file xmlExport.hxx.
References m_xDataSource.
Referenced by exportApplicationConnectionSettings(), exportConnectionData(), exportDataSource(), exportForms(), exportLogin(), exportQueries(), exportReports(), exportTables(), GetConfigurationSettings(), and GetViewSettings().
|
private |
Definition at line 1282 of file xmlExport.cxx.
References dbaxml::OXMLHelper::GetTableStylesPropertySetMapper(), and m_xTableStylesPropertySetMapper.
Referenced by ODBExport().
|
overrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 1184 of file xmlExport.cxx.
References aSeq, Exception, getDataSource(), i, nLength, PROPERTY_LAYOUTINFORMATION(), and TOOLS_WARN_EXCEPTION.
|
staticprivate |
Definition at line 1250 of file xmlExport.cxx.
References aBuffer, sax::Converter::convertDouble(), getBOOL(), getDouble(), getINT32(), XML_FALSE, and XML_TRUE.
Referenced by exportDataSourceSettings(), and exportDataSourceSettingsSequence().
|
overridevirtual |
Reimplemented from SvXMLExport.
Definition at line 1314 of file xmlExport.cxx.
References m_xDataSource, PROPERTY_NUMBERFORMATSSUPPLIER(), SvXMLExport::SetNumberFormatsSupplier(), and SvXMLExport::setSourceDocument().
|
private |
Definition at line 92 of file xmlExport.hxx.
Referenced by exportAutoStyle(), and exportStyleName().
|
private |
Definition at line 93 of file xmlExport.hxx.
Referenced by exportAutoStyle(), and exportStyleName().
|
private |
Definition at line 91 of file xmlExport.hxx.
Referenced by exportAutoStyle().
|
private |
Definition at line 90 of file xmlExport.hxx.
Referenced by exportDataSource(), and exportDataSourceSettings().
|
private |
Definition at line 89 of file xmlExport.hxx.
Referenced by exportDataSource(), and exportDelimiter().
|
private |
Definition at line 94 of file xmlExport.hxx.
Referenced by exportAutoStyle(), and exportStyleName().
|
private |
Definition at line 95 of file xmlExport.hxx.
Referenced by exportAutoStyle(), and exportColumns().
|
private |
Definition at line 107 of file xmlExport.hxx.
Referenced by exportConnectionData().
|
private |
Definition at line 108 of file xmlExport.hxx.
Referenced by collectComponentStyles().
|
private |
Definition at line 88 of file xmlExport.hxx.
Referenced by exportAutoIncrement(), and exportDataSource().
|
private |
Definition at line 96 of file xmlExport.hxx.
Referenced by exportCharSet(), and exportDataSource().
|
private |
Definition at line 99 of file xmlExport.hxx.
Referenced by exportAutoStyle(), and ODBExport().
|
mutableprivate |
Definition at line 104 of file xmlExport.hxx.
Referenced by GetCellStylesPropertySetMapper().
|
private |
Definition at line 98 of file xmlExport.hxx.
Referenced by exportAutoStyle(), and ODBExport().
|
mutableprivate |
Definition at line 103 of file xmlExport.hxx.
Referenced by GetColumnStylesPropertySetMapper().
|
private |
Definition at line 106 of file xmlExport.hxx.
Referenced by getDataSource(), and setSourceDocument().
|
private |
Definition at line 97 of file xmlExport.hxx.
Referenced by exportAutoStyle(), and ODBExport().
|
private |
Definition at line 100 of file xmlExport.hxx.
Referenced by exportAutoStyle(), and ODBExport().
|
mutableprivate |
Definition at line 102 of file xmlExport.hxx.
Referenced by GetTableStylesPropertySetMapper().