LibreOffice Module connectivity (master) 1
|
#include <calc/CTable.hxx>
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#include <com/sun/star/sheet/XCellRangeAddressable.hpp>
#include <com/sun/star/sheet/XCellRangesQuery.hpp>
#include <com/sun/star/sheet/XDatabaseRanges.hpp>
#include <com/sun/star/sheet/XDatabaseRange.hpp>
#include <com/sun/star/sheet/XCellRangeReferrer.hpp>
#include <com/sun/star/sheet/XUsedAreaCursor.hpp>
#include <com/sun/star/sheet/CellFlags.hpp>
#include <com/sun/star/sheet/FormulaResult.hpp>
#include <com/sun/star/util/NumberFormat.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <com/sun/star/text/XText.hpp>
#include <calc/CConnection.hxx>
#include <connectivity/sdbcx/VColumn.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <rtl/math.hxx>
#include <tools/time.hxx>
#include <comphelper/servicehelper.hxx>
Go to the source code of this file.
Functions | |
static void | lcl_UpdateArea (const Reference< XCellRange > &xUsedRange, sal_Int32 &rEndCol, sal_Int32 &rEndRow) |
static void | lcl_GetDataArea (const Reference< XSpreadsheet > &xSheet, sal_Int32 &rColumnCount, sal_Int32 &rRowCount) |
static CellContentType | lcl_GetContentOrResultType (const Reference< XCell > &xCell) |
static Reference< XCell > | lcl_GetUsedCell (const Reference< XSpreadsheet > &xSheet, sal_Int32 nDocColumn, sal_Int32 nDocRow) |
static bool | lcl_HasTextInColumn (const Reference< XSpreadsheet > &xSheet, sal_Int32 nDocColumn, sal_Int32 nDocRow) |
static void | lcl_GetColumnInfo (const Reference< XSpreadsheet > &xSheet, const Reference< XNumberFormats > &xFormats, sal_Int32 nDocColumn, sal_Int32 nStartRow, bool bHasHeaders, OUString &rName, sal_Int32 &rDataType, bool &rCurrency) |
static void | lcl_SetValue (ORowSetValue &rValue, const Reference< XSpreadsheet > &xSheet, sal_Int32 nStartCol, sal_Int32 nStartRow, bool bHasHeaders, const ::Date &rNullDate, sal_Int32 nDBRow, sal_Int32 nDBColumn, sal_Int32 nType) |
static OUString | lcl_GetColumnStr (sal_Int32 nColumn) |
|
static |
avoid duplicate field names
Definition at line 215 of file calc/CTable.cxx.
References Exception, lcl_GetContentOrResultType(), lcl_GetUsedCell(), lcl_HasTextInColumn(), nNumType, and PROPERTY_ID_TYPE.
Referenced by connectivity::calc::OCalcTable::fillColumns().
|
static |
Definition at line 414 of file calc/CTable.cxx.
References aBuffer.
Referenced by connectivity::calc::OCalcTable::fillColumns().
|
static |
Definition at line 134 of file calc/CTable.cxx.
Referenced by lcl_GetColumnInfo(), and lcl_SetValue().
|
static |
Definition at line 85 of file calc/CTable.cxx.
References lcl_UpdateArea().
Referenced by connectivity::calc::OCalcTable::construct().
|
static |
Definition at line 152 of file calc/CTable.cxx.
Referenced by lcl_GetColumnInfo().
|
static |
Definition at line 189 of file calc/CTable.cxx.
Referenced by lcl_GetColumnInfo().
|
static |
Definition at line 300 of file calc/CTable.cxx.
References Date::AddDays(), Date::GetDay(), Date::GetMonth(), Date::GetUNODate(), Date::GetYear(), lcl_GetContentOrResultType(), tools::Time::nanoSecPerDay, tools::Time::nanoSecPerSec, nType, and connectivity::ORowSetValue::setNull().
Referenced by connectivity::calc::OCalcTable::fetchRow().
|
static |
Definition at line 62 of file calc/CTable.cxx.
References i, nCount, and pData.
Referenced by lcl_GetDataArea().