LibreOffice Module connectivity (master) 1
|
Classes | |
class | ODbaseCatalog |
class | ODbaseColumns |
class | ODbaseConnection |
class | ODbaseDatabaseMetaData |
class | ODbaseIndex |
class | ODbaseIndexColumns |
class | ODbaseIndexes |
class | ODbasePreparedStatement |
class | ODbaseResultSet |
class | ODbaseStatement |
class | ODbaseTable |
class | ODbaseTables |
class | ODriver |
class | OIndexIterator |
class | ONDXKey |
class | ONDXNode |
class | ONDXPage |
class | ONDXPagePtr |
Typedefs | |
typedef sdbcx::OIndex | ODbaseIndex_BASE |
typedef sdbcx::OCollection | ODbaseIndexes_BASE |
typedef file::OOperand | ONDXKey_BASE |
typedef ::cppu::ImplHelper2< css::sdbcx::XRowLocate, css::sdbcx::XDeleteRows > | ODbaseResultSet_BASE |
typedef file::OResultSet | ODbaseResultSet_BASE2 |
typedef ::comphelper::OPropertyArrayUsageHelper< ODbaseResultSet > | ODbaseResultSet_BASE3 |
typedef file::OFileTable | ODbaseTable_BASE |
typedef file::OTables | ODbaseTables_BASE |
Enumerations | |
enum | DBFType { dBaseIII = 0x03 , dBaseIV = 0x04 , dBaseV = 0x05 , VisualFoxPro = 0x30 , VisualFoxProAuto = 0x31 , dBaseFS = 0x43 , dBaseFSMemo = 0xB3 , dBaseIIIMemo = 0x83 , dBaseIVMemo = 0x8B , dBaseIVMemoSQL = 0x8E , FoxProMemo = 0xF5 } |
Functions | |
bool | dbfDecodeCharset (rtl_TextEncoding &_out_nCharset, sal_uInt8 nType, sal_uInt8 nCodepage) |
decode a DBase file's codepage byte to a RTL charset More... | |
bool | dbfReadCharset (rtl_TextEncoding &nCharSet, SvStream *dbf_Stream) |
decode a DBase file's codepage byte to a RTL charset More... | |
css::uno::Reference< css::uno::XInterface > | ODriver_CreateInstance (const css::uno::Reference< css::lang::XMultiServiceFactory > &_rxFactory) |
SvStream & | WriteODbaseIndex (SvStream &rStream, const ODbaseIndex &) |
SvStream & | operator>> (SvStream &rStream, ODbaseIndex &) |
void | ReadHeader (SvStream &rStream, ODbaseIndex::NDXHeader &rHeader) |
SvStream & | WriteONDXPagePtr (SvStream &rStream, const ONDXPagePtr &) |
SvStream & | operator>> (SvStream &rStream, ONDXPagePtr &) |
SvStream & | operator>> (SvStream &rStream, ONDXPage &rPage) |
SvStream & | WriteONDXPage (SvStream &rStream, const ONDXPage &rPage) |
Definition at line 33 of file DIndex.hxx.
Definition at line 29 of file DIndexes.hxx.
typedef ::cppu::ImplHelper2< css::sdbcx::XRowLocate, css::sdbcx::XDeleteRows> connectivity::dbase::ODbaseResultSet_BASE |
Definition at line 31 of file DResultSet.hxx.
Definition at line 32 of file DResultSet.hxx.
typedef ::comphelper::OPropertyArrayUsageHelper<ODbaseResultSet> connectivity::dbase::ODbaseResultSet_BASE3 |
Definition at line 33 of file DResultSet.hxx.
Definition at line 29 of file DTable.hxx.
Definition at line 26 of file DTables.hxx.
Definition at line 38 of file dindexnode.hxx.
Enumerator | |
---|---|
dBaseIII | |
dBaseIV | |
dBaseV | |
VisualFoxPro | |
VisualFoxProAuto | |
dBaseFS | |
dBaseFSMemo | |
dBaseIIIMemo | |
dBaseIVMemo | |
dBaseIVMemoSQL | |
FoxProMemo |
Definition at line 821 of file dbtools.hxx.
OOO_DLLPUBLIC_DBTOOLS bool connectivity::dbase::dbfDecodeCharset | ( | rtl_TextEncoding & | _out_nCharset, |
sal_uInt8 | nType, | ||
sal_uInt8 | nCodepage | ||
) |
decode a DBase file's codepage byte to a RTL charset
_out_nCharset | in case of success, the decoded RTL charset is written there. else, this is not written to. |
nType | the file's type byte |
nCodepage | the file's codepage byte |
Definition at line 1989 of file dbtools.cxx.
References dBaseFS, dBaseFSMemo, dBaseIII, dBaseIIIMemo, dBaseIV, dBaseIVMemoSQL, dBaseV, FoxProMemo, nType, VisualFoxPro, and VisualFoxProAuto.
Referenced by dbfReadCharset(), and connectivity::dbase::ODbaseTable::readHeader().
OOO_DLLPUBLIC_DBTOOLS bool connectivity::dbase::dbfReadCharset | ( | rtl_TextEncoding & | nCharSet, |
SvStream * | dbf_Stream | ||
) |
decode a DBase file's codepage byte to a RTL charset
_out_nCharset | in case of success, the decoded RTL charset is written there. else, this is not written to. |
dbf_Stream | pointer to a SvStream encapsulating the DBase file. The stream will be rewinded and read from. No guarantee is made on its position afterwards. Caller must reposition it itself. |
Definition at line 2052 of file dbtools.cxx.
References dbfDecodeCharset(), SvStream::eof(), nType, SvStream::ReadUChar(), SvStream::Seek(), and STREAM_SEEK_TO_BEGIN.
css::uno::Reference< css::uno::XInterface > connectivity::dbase::ODriver_CreateInstance | ( | const css::uno::Reference< css::lang::XMultiServiceFactory > & | _rxFactory | ) |
css::uno::Exception |
SvStream & connectivity::dbase::operator>> | ( | SvStream & | rStream, |
ODbaseIndex & | rIndex | ||
) |
Definition at line 333 of file DIndex.cxx.
References connectivity::dbase::ODbaseIndex::NDXHeader::db_pagecount, connectivity::dbase::ODbaseIndex::NDXHeader::db_rootpage, connectivity::dbase::ODbaseIndex::m_aHeader, connectivity::dbase::ODbaseIndex::m_nPageCount, connectivity::dbase::ODbaseIndex::m_nRootPage, ReadHeader(), and SvStream::Seek().
Definition at line 870 of file dindexnode.cxx.
References connectivity::dbase::ONDXPage::aChild, DINDEX_PAGE_SIZE, connectivity::dbase::ONDXPage::GetIndex(), connectivity::dbase::ONDXPage::GetPagePos(), i, connectivity::dbase::ONDXPage::nCount, nValue, Read, SvStream::ReadUInt32(), and SvStream::Seek().
SvStream & connectivity::dbase::operator>> | ( | SvStream & | rStream, |
ONDXPagePtr & | rPage | ||
) |
Definition at line 792 of file dindexnode.cxx.
References connectivity::dbase::ONDXPagePtr::nPagePos, and SvStream::ReadUInt32().
void connectivity::dbase::ReadHeader | ( | SvStream & | rStream, |
ODbaseIndex::NDXHeader & | rHeader | ||
) |
Definition at line 314 of file DIndex.cxx.
References connectivity::dbase::ODbaseIndex::NDXHeader::db_free, connectivity::dbase::ODbaseIndex::NDXHeader::db_free1, connectivity::dbase::ODbaseIndex::NDXHeader::db_keylen, connectivity::dbase::ODbaseIndex::NDXHeader::db_keyrec, connectivity::dbase::ODbaseIndex::NDXHeader::db_keytype, connectivity::dbase::ODbaseIndex::NDXHeader::db_maxkeys, connectivity::dbase::ODbaseIndex::NDXHeader::db_name, connectivity::dbase::ODbaseIndex::NDXHeader::db_pagecount, connectivity::dbase::ODbaseIndex::NDXHeader::db_rootpage, connectivity::dbase::ODbaseIndex::NDXHeader::db_unique, DINDEX_PAGE_SIZE, SvStream::GetError(), SvStream::ReadBytes(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), and SvStream::Tell().
Referenced by connectivity::dbase::ODbaseIndexes::createObject(), and operator>>().
SvStream & connectivity::dbase::WriteODbaseIndex | ( | SvStream & | rStream, |
const ODbaseIndex & | rIndex | ||
) |
Definition at line 343 of file DIndex.cxx.
References connectivity::dbase::ODbaseIndex::NDXHeader::db_free, connectivity::dbase::ODbaseIndex::NDXHeader::db_free1, connectivity::dbase::ODbaseIndex::NDXHeader::db_keylen, connectivity::dbase::ODbaseIndex::NDXHeader::db_keyrec, connectivity::dbase::ODbaseIndex::NDXHeader::db_keytype, connectivity::dbase::ODbaseIndex::NDXHeader::db_maxkeys, connectivity::dbase::ODbaseIndex::NDXHeader::db_name, connectivity::dbase::ODbaseIndex::NDXHeader::db_pagecount, connectivity::dbase::ODbaseIndex::NDXHeader::db_rootpage, connectivity::dbase::ODbaseIndex::NDXHeader::db_unique, DINDEX_PAGE_SIZE, SvStream::GetError(), connectivity::dbase::ODbaseIndex::m_aHeader, SAL_WARN_IF, SvStream::Seek(), SvStream::Tell(), SvStream::WriteBytes(), SvStream::WriteUChar(), SvStream::WriteUInt16(), and SvStream::WriteUInt32().
Definition at line 882 of file dindexnode.cxx.
References connectivity::dbase::ONDXPage::aChild, connectivity::dbase::ODbaseIndex::NDXHeader::db_maxkeys, DINDEX_PAGE_SIZE, SvStream::GetBufferSize(), connectivity::dbase::ODbaseIndex::getHeader(), connectivity::dbase::ONDXPage::GetPagePos(), i, connectivity::dbase::ONDXPage::nCount, nValue, connectivity::dbase::ONDXPage::rIndex, SvStream::Seek(), SvStream::SetStreamSize(), SvStream::Tell(), SvStream::TellEnd(), Write, SvStream::WriteBytes(), WriteONDXPagePtr(), and SvStream::WriteUInt32().
SvStream & connectivity::dbase::WriteONDXPagePtr | ( | SvStream & | rStream, |
const ONDXPagePtr & | rPage | ||
) |
Definition at line 798 of file dindexnode.cxx.
References connectivity::dbase::ONDXPagePtr::nPagePos, and SvStream::WriteUInt32().
Referenced by connectivity::dbase::ONDXNode::Write(), and WriteONDXPage().