LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | List of all members
dbaui::ORTFImportExport Class Reference

#include <TokenWriter.hxx>

Inheritance diagram for dbaui::ORTFImportExport:
[legend]
Collaboration diagram for dbaui::ORTFImportExport:
[legend]

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
 
SvStreamm_pStream
 
css::awt::FontDescriptor m_aFont
 
css::uno::Reference< css::beans::XPropertySetm_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
 

Detailed Description

Definition at line 115 of file TokenWriter.hxx.

Constructor & Destructor Documentation

◆ ORTFImportExport() [1/2]

dbaui::ORTFImportExport::ORTFImportExport ( const svx::ODataAccessDescriptor _aDataDescriptor,
const css::uno::Reference< css::uno::XComponentContext > &  _rM,
const css::uno::Reference< css::util::XNumberFormatter > &  _rxNumberF 
)
inline

Definition at line 120 of file TokenWriter.hxx.

◆ ORTFImportExport() [2/2]

dbaui::ORTFImportExport::ORTFImportExport ( const SharedConnection _rxConnection,
const css::uno::Reference< css::util::XNumberFormatter > &  _rxNumberF,
const css::uno::Reference< css::uno::XComponentContext > &  _rM 
)
inline

Definition at line 126 of file TokenWriter.hxx.

Member Function Documentation

◆ appendRow()

void ORTFImportExport::appendRow ( OString const *  pHorzChar,
sal_Int32  _nColumnCount,
sal_Int32 &  k,
sal_Int32 &  kk 
)
private

◆ Read()

bool ORTFImportExport::Read ( )
overridevirtual

◆ Write()

bool ORTFImportExport::Write ( )
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.


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