LibreOffice Module dbaccess (master) 1
|
#include <TokenWriter.hxx>
Public Member Functions | |
ORTFImportExport (const svx::ODataAccessDescriptor &_aDataDescriptor, const css::uno::Reference< css::uno::XComponentContext > &_rM, const css::uno::Reference< css::util::XNumberFormatter > &_rxNumberF) | |
ORTFImportExport (const SharedConnection &_rxConnection, const css::uno::Reference< css::util::XNumberFormatter > &_rxNumberF, const css::uno::Reference< css::uno::XComponentContext > &_rM) | |
virtual bool | Write () override |
virtual bool | Read () override |
Public Member Functions inherited from dbaui::ODatabaseImportExport | |
void | setStream (SvStream *_pStream) |
void | setSTableName (const OUString &_sTableName) |
virtual bool | Write () |
virtual bool | Read () |
void | initialize (const svx::ODataAccessDescriptor &_aDataDescriptor) |
void | dispose () |
void | enableCheckOnly () |
bool | isCheckEnabled () const |
Private Member Functions | |
void | appendRow (OString const *pHorzChar, sal_Int32 _nColumnCount, sal_Int32 &k, sal_Int32 &kk) |
Additional Inherited Members | |
Protected Member Functions inherited from dbaui::ODatabaseImportExport | |
ODatabaseImportExport (const svx::ODataAccessDescriptor &_aDataDescriptor, const css::uno::Reference< css::uno::XComponentContext > &_rM, const css::uno::Reference< css::util::XNumberFormatter > &_rxNumberF) | |
ODatabaseImportExport (SharedConnection _xConnection, const css::uno::Reference< css::util::XNumberFormatter > &_rxNumberF, const css::uno::Reference< css::uno::XComponentContext > &_rM) | |
virtual | ~ODatabaseImportExport () override |
virtual void | initialize () |
Protected Attributes inherited from dbaui::ODatabaseImportExport | |
css::uno::Sequence< css::uno::Any > | m_aSelection |
bool | m_bBookmarkSelection |
SvStream * | m_pStream |
css::awt::FontDescriptor | m_aFont |
css::uno::Reference< css::beans::XPropertySet > | m_xObject |
SharedConnection | m_xConnection |
css::uno::Reference< css::sdbc::XResultSet > | m_xResultSet |
css::uno::Reference< css::sdbc::XRow > | m_xRow |
css::uno::Reference< css::sdbcx::XRowLocate > | m_xRowLocate |
css::uno::Reference< css::sdbc::XResultSetMetaData > | m_xResultSetMetaData |
css::uno::Reference< css::container::XIndexAccess > | m_xRowSetColumns |
css::uno::Reference< css::util::XNumberFormatter > | m_xFormatter |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
OUString | m_sName |
OUString | m_sDefaultTableName |
OUString | m_sDataSourceName |
sal_Int32 | m_nCommandType |
bool | m_bNeedToReInitialize |
rtl_TextEncoding | m_eDestEnc |
bool | m_bInInitialize |
bool | m_bCheckOnly |
Definition at line 115 of file TokenWriter.hxx.
|
inline |
Definition at line 120 of file TokenWriter.hxx.
|
inline |
Definition at line 126 of file TokenWriter.hxx.
|
private |
Definition at line 496 of file TokenWriter.cxx.
References CELL_X, Exception, dbtools::FormattedColumnValue::getFormattedValue(), i, dbaui::ODatabaseImportExport::m_aFont, dbaui::ODatabaseImportExport::m_eDestEnc, dbaui::ODatabaseImportExport::m_pStream, dbaui::ODatabaseImportExport::m_xContext, dbaui::ODatabaseImportExport::m_xRow, dbaui::ODatabaseImportExport::m_xRowSetColumns, OOO_STRING_SVTOOLS_RTF_B, OOO_STRING_SVTOOLS_RTF_CELL, OOO_STRING_SVTOOLS_RTF_I, OOO_STRING_SVTOOLS_RTF_INTBL, OOO_STRING_SVTOOLS_RTF_PARD, OOO_STRING_SVTOOLS_RTF_ROW, OOO_STRING_SVTOOLS_RTF_STRIKE, OOO_STRING_SVTOOLS_RTF_TRGAPH, OOO_STRING_SVTOOLS_RTF_TROWD, OOO_STRING_SVTOOLS_RTF_UL, RTFOutFuncs::Out_String(), SAL_NEWLINE_STRING, SAL_WARN, SvStream::WriteChar(), SvStream::WriteNumberAsString(), SvStream::WriteOString(), and xColumn.
Referenced by Write().
|
overridevirtual |
Reimplemented from dbaui::ODatabaseImportExport.
Definition at line 556 of file TokenWriter.cxx.
References dbaui::ODatabaseImportExport::isCheckEnabled(), dbaui::ODatabaseImportExport::m_pStream, dbaui::ODatabaseImportExport::m_xConnection, dbaui::ODatabaseImportExport::m_xContext, dbaui::ODatabaseImportExport::m_xFormatter, and dbaui::ODatabaseImportExport::Read().
|
overridevirtual |
Reimplemented from dbaui::ODatabaseImportExport.
Definition at line 320 of file TokenWriter.cxx.
References aName, Any, appendRow(), CELL_X, ERRCODE_NONE, StyleSettings::GetAppFont(), Color::GetBlue(), vcl::Font::GetFamilyName(), Color::GetGreen(), Color::GetRed(), Application::GetSettings(), AllSettings::GetStyleSettings(), o3tl::getToken(), i, dbaui::ODatabaseImportExport::m_aFont, dbaui::ODatabaseImportExport::m_aSelection, dbaui::ODatabaseImportExport::m_bBookmarkSelection, dbaui::ODatabaseImportExport::m_eDestEnc, dbaui::ODatabaseImportExport::m_pStream, dbaui::ODatabaseImportExport::m_xObject, dbaui::ODatabaseImportExport::m_xResultSet, dbaui::ODatabaseImportExport::m_xResultSetMetaData, dbaui::ODatabaseImportExport::m_xRowLocate, nCount, nPos, OOO_STRING_SVTOOLS_RTF_ANSI, OOO_STRING_SVTOOLS_RTF_ANSICPG, OOO_STRING_SVTOOLS_RTF_B, OOO_STRING_SVTOOLS_RTF_BLUE, OOO_STRING_SVTOOLS_RTF_CELL, OOO_STRING_SVTOOLS_RTF_COLORTBL, OOO_STRING_SVTOOLS_RTF_GREEN, OOO_STRING_SVTOOLS_RTF_I, OOO_STRING_SVTOOLS_RTF_INTBL, OOO_STRING_SVTOOLS_RTF_PARD, OOO_STRING_SVTOOLS_RTF_QC, OOO_STRING_SVTOOLS_RTF_QL, OOO_STRING_SVTOOLS_RTF_QR, OOO_STRING_SVTOOLS_RTF_RED, OOO_STRING_SVTOOLS_RTF_ROW, OOO_STRING_SVTOOLS_RTF_RTF, OOO_STRING_SVTOOLS_RTF_STRIKE, OOO_STRING_SVTOOLS_RTF_TRGAPH, OOO_STRING_SVTOOLS_RTF_TROWD, OOO_STRING_SVTOOLS_RTF_UL, OUStringToOString(), RTFOutFuncs::Out_String(), pChar, PROPERTY_ALIGN(), PROPERTY_TEXTCOLOR(), SAL_NEWLINE_STRING, dbaui::ODatabaseImportExport::Write(), SvStream::WriteChar(), SvStream::WriteNumberAsString(), SvStream::WriteOString(), SvStream::WriteUChar(), and xColumn.