27using namespace ::
cppu;
42 const OUString& Description ,
43 const OUString& SchemaName,
44 const OUString& CatalogName
56 ::osl::MutexGuard aGuard(
m_aMutex );
58 ::std::vector< OUString> aVector;
78 std::vector<Type> aOwnTypes;
79 aOwnTypes.reserve(
aTypes.getLength());
82 const Type* pEnd = pBegin +
aTypes.getLength();
83 for(;pBegin != pEnd;++pBegin)
90 aOwnTypes.push_back(*pBegin);
124 switch(eCursorPosition)
141 :
static_cast<sal_uInt32
>(
m_nFilePos + nOffset);
145 m_nFilePos =
static_cast<sal_uInt32
>(nOffset);
149 if (
m_nFilePos >
static_cast<sal_Int32
>(nNumberOfRecords))
150 m_nFilePos =
static_cast<sal_Int32
>(nNumberOfRecords) + 1;
154 switch(eCursorPosition)
166 else if (nOffset < 0)
Columns implementation for Writer tables and Calc sheets.
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void FileClose() override
virtual void refreshColumns() override
virtual void refreshIndexes() override
virtual sal_Int32 getCurrentLastPos() const override
virtual bool seekRow(IResultSetHelper::Movement eCursorPosition, sal_Int32 nOffset, sal_Int32 &nCurPos) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
OUString SAL_CALL getName() override
::rtl::Reference< OSQLColumns > m_aColumns
std::unique_ptr< OCollection > m_xColumns
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
mutable::osl::Mutex m_aMutex