LibreOffice Module sc (master)  1
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
oox::xls::SheetDataBuffer Class Reference

Manages the cell contents and cell formatting of a sheet. More...

#include <sheetdatabuffer.hxx>

Inheritance diagram for oox::xls::SheetDataBuffer:
[legend]
Collaboration diagram for oox::xls::SheetDataBuffer:
[legend]

Classes

struct  MergedRange
 Stores information about a merged cell range. More...
 
struct  RowRangeStyle
 
struct  StyleRowRangeComp
 
struct  XfIdRowRange
 Stores information about a range of rows with equal cell formatting. More...
 

Public Member Functions

 SheetDataBuffer (const WorksheetHelper &rHelper)
 
void setColSpans (sal_Int32 nRow, const ValueRangeSet &rColSpans)
 Sets column span information for a row. More...
 
void setBlankCell (const CellModel &rModel)
 Inserts a blank cell (with formatting) into the sheet. More...
 
void setValueCell (const CellModel &rModel, double fValue)
 Inserts a value cell into the sheet. More...
 
void setStringCell (const CellModel &rModel, const OUString &rText)
 Inserts a simple string cell into the sheet. More...
 
void setStringCell (const CellModel &rModel, const RichStringRef &rxString)
 Inserts a rich-string cell into the sheet. More...
 
void setStringCell (const CellModel &rModel, sal_Int32 nStringId)
 Inserts a shared string cell into the sheet. More...
 
void setDateTimeCell (const CellModel &rModel, const css::util::DateTime &rDateTime)
 Inserts a date/time cell into the sheet and adjusts number format. More...
 
void setBooleanCell (const CellModel &rModel, bool bValue)
 Inserts a boolean cell into the sheet and adjusts number format. More...
 
void setErrorCell (const CellModel &rModel, const OUString &rErrorCode)
 Inserts an error cell from the passed error code into the sheet. More...
 
void setErrorCell (const CellModel &rModel, sal_uInt8 nErrorCode)
 Inserts an error cell from the passed BIFF error code into the sheet. More...
 
void setFormulaCell (const CellModel &rModel, const ApiTokenSequence &rTokens)
 Inserts a formula cell into the sheet. More...
 
void setDateCell (const CellModel &rModel, const OUString &rDateString)
 Inserts an ISO 8601 date cell into the sheet. More...
 
void createSharedFormula (const ScAddress &rRange, const ApiTokenSequence &rTokens)
 
void createArrayFormula (const ScRange &rRange, const ApiTokenSequence &rTokens)
 Inserts the passed token array as array formula. More...
 
void createTableOperation (const ScRange &rRange, const DataTableModel &rModel)
 Sets a multiple table operation to the passed range. More...
 
void setRowFormat (sal_Int32 nRow, sal_Int32 nXfId, bool bCustomFormat)
 Sets default cell formatting for the specified range of rows. More...
 
void setMergedRange (const ScRange &rRange)
 Merges the cells in the passed cell range. More...
 
void setCellFormat (const CellModel &rModel)
 Processes the cell formatting data of the passed cell. More...
 
void finalizeImport ()
 Final processing after the sheet has been imported. More...
 
void setCellFormula (const ScAddress &rCellAddr, const ApiTokenSequence &rTokens)
 Sets the passed formula token array into a cell. More...
 
- Public Member Functions inherited from oox::xls::WorksheetHelper
 WorksheetHelper (WorksheetGlobals &rSheetGlob)
 
WorksheetType getSheetType () const
 Returns the type of this sheet. More...
 
SCTAB getSheetIndex () const
 Returns the index of the current sheet. More...
 
const css::uno::Reference< css::sheet::XSpreadsheet > & getSheet () const
 Returns the XSpreadsheet interface of the current sheet. More...
 
css::uno::Reference< css::table::XCell > getCell (const ScAddress &rAddress) const
 Returns the XCell interface for the passed cell address. More...
 
css::uno::Reference< css::table::XCellRange > getCellRange (const ScRange &rRange) const
 Returns the XCellRange interface for the passed cell range address. More...
 
css::uno::Reference< css::drawing::XDrawPage > getDrawPage () const
 Returns the XDrawPage interface of the draw page of the current sheet. More...
 
css::awt::Point getCellPosition (sal_Int32 nCol, sal_Int32 nRow) const
 Returns the absolute cell position in 1/100 mm. More...
 
const css::awt::Size & getDrawPageSize () const
 Returns the size of the entire drawing page in 1/100 mm. More...
 
SheetDataBuffergetSheetData () const
 Returns the buffer for cell contents and cell formatting. More...
 
CondFormatBuffergetCondFormats () const
 Returns the conditional formatting in this sheet. More...
 
CommentsBuffergetComments () const
 Returns the buffer for all cell comments in this sheet. More...
 
AutoFilterBuffergetAutoFilters () const
 Returns the auto filters for the sheet. More...
 
QueryTableBuffergetQueryTables () const
 Returns the buffer for all web query tables in this sheet. More...
 
WorksheetSettingsgetWorksheetSettings () const
 Returns the worksheet settings object. More...
 
PageSettingsgetPageSettings () const
 Returns the page/print settings for this sheet. More...
 
SheetViewSettingsgetSheetViewSettings () const
 Returns the view settings for this sheet. More...
 
VmlDrawinggetVmlDrawing () const
 Returns the VML drawing page for this sheet (OOXML/BIFF12 only). More...
 
ExtLstgetExtLst () const
 
void setPageBreak (const PageBreakModel &rModel, bool bRowBreak)
 Sets a column or row page break described in the passed struct. More...
 
void setHyperlink (const HyperlinkModel &rModel)
 Inserts the hyperlink URL into the spreadsheet. More...
 
void setValidation (const ValidationModel &rModel)
 Inserts the data validation settings into the spreadsheet. More...
 
void setDrawingPath (const OUString &rDrawingPath)
 Sets the path to the DrawingML fragment of this sheet. More...
 
void setVmlDrawingPath (const OUString &rVmlDrawingPath)
 Sets the path to the legacy VML drawing fragment of this sheet. More...
 
void extendUsedArea (const ScAddress &rAddress)
 Extends the used area of this sheet by the passed cell position. More...
 
void extendUsedArea (const ScRange &rRange)
 Extends the used area of this sheet by the passed cell range. More...
 
void extendShapeBoundingBox (const css::awt::Rectangle &rShapeRect)
 Extends the shape bounding box by the position and size of the passed rectangle (in 1/100 mm). More...
 
void setBaseColumnWidth (sal_Int32 nWidth)
 Sets base width for all columns (without padding pixels). More...
 
void setDefaultColumnWidth (double fWidth)
 Sets default width for all columns. More...
 
void setColumnModel (const ColumnModel &rModel)
 Sets column settings for a specific range of columns. More...
 
void setDefaultRowSettings (double fHeight, bool bCustomHeight, bool bHidden, bool bThickTop, bool bThickBottom)
 Sets default height and hidden state for all unused rows in the sheet. More...
 
void setRowModel (const RowModel &rModel)
 Sets row settings for a specific range of rows. More...
 
void putRichString (const ScAddress &rAddress, const RichString &rString, const oox::xls::Font *pFirstPortionFont)
 Inserts a rich-string cell directly into the Calc sheet. More...
 
void putFormulaTokens (const ScAddress &rAddress, const ApiTokenSequence &rTokens)
 Inserts a formula cell directly into the Calc sheet. More...
 
void initializeWorksheetImport ()
 Initial conversion before importing the worksheet. More...
 
void finalizeWorksheetImport ()
 Final conversion after importing the worksheet. More...
 
void finalizeDrawingImport ()
 Final import of drawing objects. More...
 
void setCellFormula (const ScAddress &rTokenAddress, const OUString &)
 
void setCellFormula (const ScAddress &rAddr, sal_Int32 nSharedId, const OUString &rCellValue, sal_Int32 nValueType)
 
void setCellArrayFormula (const ScRange &rRangeAddress, const ScAddress &rTokenAddress, const OUString &rTokenStr)
 
void createSharedFormulaMapEntry (const ScAddress &rAddress, sal_Int32 nSharedId, const OUString &rTokens)
 
void setCellFormulaValue (const ScAddress &rAddress, const OUString &rValueStr, sal_Int32 nCellType)
 
ScDocumentgetScDocument ()
 
- Public Member Functions inherited from oox::xls::WorkbookHelper
 WorkbookHelper (WorkbookGlobals &rBookGlob)
 
virtual ~WorkbookHelper ()
 
 WorkbookHelper (WorkbookHelper const &)=default
 
 WorkbookHelper (WorkbookHelper &&)=default
 
WorkbookHelperoperator= (WorkbookHelper const &)=delete
 
WorkbookHelperoperator= (WorkbookHelper &&)=delete
 
::oox::core::FilterBasegetBaseFilter () const
 Returns the base filter object (base class of all filters). More...
 
SegmentProgressBargetProgressBar () const
 Returns the filter progress bar. More...
 
sal_Int16 getCurrentSheetIndex () const
 Returns the index of the current Calc sheet, if filter currently processes a sheet. More...
 
bool isGeneratorKnownGood () const
 Returns true when reading a file generated by a known good generator. More...
 
void setVbaProjectStorage (const StorageRef &rxVbaPrjStrg)
 Sets the VBA project storage used to import VBA source code and forms. More...
 
void setCurrentSheetIndex (SCTAB nSheet)
 Sets the index of the current Calc sheet, if filter currently processes a sheet. More...
 
void finalizeWorkbookImport ()
 Final conversion after importing the workbook. More...
 
void useInternalChartDataTable (bool bInternal)
 
ScDocumentgetScDocument ()
 
const ScDocumentgetScDocument () const
 
ScDocumentImportgetDocImport ()
 
const ScDocumentImportgetDocImport () const
 
ScEditEngineDefaultergetEditEngine () const
 
const css::uno::Reference< css::sheet::XSpreadsheetDocument > & getDocument () const
 Returns a reference to the source/target spreadsheet document model. More...
 
css::uno::Reference< css::sheet::XSpreadsheet > getSheetFromDoc (sal_Int32 nSheet) const
 Returns a reference to the specified spreadsheet in the document model. More...
 
css::uno::Reference< css::sheet::XSpreadsheet > getSheetFromDoc (const OUString &rSheet) const
 Returns a reference to the specified spreadsheet in the document model. More...
 
css::uno::Reference< css::table::XCellRange > getCellRangeFromDoc (const ScRange &rRange) const
 Returns the XCellRange interface for the passed cell range address. More...
 
css::uno::Reference< css::container::XNameContainer > getCellStyleFamily () const
 Returns the cell styles container from the Calc document. More...
 
css::uno::Reference< css::style::XStyle > getStyleObject (const OUString &rStyleName, bool bPageStyle) const
 Returns the specified cell or page style from the Calc document. More...
 
ScRangeDatacreateNamedRangeObject (OUString &orName, const css::uno::Sequence< css::sheet::FormulaToken > &rTokens, sal_Int32 nIndex, sal_Int32 nNameFlags) const
 Creates and returns a defined name on-the-fly in the Calc document. More...
 
ScRangeDatacreateLocalNamedRangeObject (OUString &orName, const css::uno::Sequence< css::sheet::FormulaToken > &rTokens, sal_Int32 nIndex, sal_Int32 nNameFlags, sal_Int32 nTab) const
 Creates and returns a defined name on-the-fly in the sheet. More...
 
css::uno::Reference< css::sheet::XDatabaseRange > createDatabaseRangeObject (OUString &orName, const ScRange &rRangeAddr) const
 Creates and returns a database range on-the-fly in the Calc document. More...
 
css::uno::Reference< css::sheet::XDatabaseRange > createUnnamedDatabaseRangeObject (const ScRange &rRangeAddr) const
 Creates and returns an unnamed database range on-the-fly in the Calc document. More...
 
ScDBDatafindDatabaseRangeByIndex (sal_uInt16 nIndex) const
 Finds the (already existing) database range of the given formula token index. More...
 
css::uno::Reference< css::style::XStyle > createStyleObject (OUString &orStyleName, bool bPageStyle) const
 Creates and returns a com.sun.star.style.Style object for cells or pages. More...
 
FormulaBuffergetFormulaBuffer () const
 
WorkbookSettingsgetWorkbookSettings () const
 Returns the global workbook settings object. More...
 
ViewSettingsgetViewSettings () const
 Returns the workbook and sheet view settings object. More...
 
WorksheetBuffergetWorksheets () const
 Returns the worksheet buffer containing sheet names and properties. More...
 
ThemeBuffergetTheme () const
 Returns the office theme object read from the theme substorage. More...
 
StylesBuffergetStyles () const
 Returns all cell formatting objects read from the styles substream. More...
 
SharedStringsBuffergetSharedStrings () const
 Returns the shared strings read from the shared strings substream. More...
 
ExternalLinkBuffergetExternalLinks () const
 Returns the external links read from the external links substream. More...
 
DefinedNamesBuffergetDefinedNames () const
 Returns the defined names read from the workbook globals. More...
 
TableBuffergetTables () const
 Returns the tables collection (equivalent to Calc's database ranges). More...
 
ScenarioBuffergetScenarios () const
 Returns the scenarios collection. More...
 
ConnectionsBuffergetConnections () const
 Returns the collection of external data connections. More...
 
PivotCacheBuffergetPivotCaches () const
 Returns the collection of pivot caches. More...
 
PivotTableBuffergetPivotTables () const
 Returns the collection of pivot tables. More...
 
FormulaParsergetFormulaParser () const
 Returns a shared import formula parser (import filter only!). More...
 
FormulaParsercreateFormulaParser () const
 Returns an unshared import formula parser (import filter only!). More...
 
UnitConvertergetUnitConverter () const
 Returns the measurement unit converter. More...
 
AddressConvertergetAddressConverter () const
 Returns the converter for string to cell address/range conversion. More...
 
oox::drawingml::chart::ChartConvertergetChartConverter () const
 Returns the chart object converter. More...
 
PageSettingsConvertergetPageSettingsConverter () const
 Returns the page and print settings converter. More...
 
::oox::core::XmlFilterBasegetOoxFilter () const
 Returns the base OOXML/BIFF12 filter object. More...
 
bool importOoxFragment (const rtl::Reference< oox::core::FragmentHandler > &rxHandler)
 Imports a fragment using the passed fragment handler, which contains the full path to the fragment stream. More...
 
bool importOoxFragment (const rtl::Reference< oox::core::FragmentHandler > &rxHandler, oox::core::FastParser &rParser)
 
rtl_TextEncoding getTextEncoding () const
 Returns the text encoding used to import/export byte strings. More...
 

Private Types

typedef std::pair< ScRange, ApiTokenSequenceArrayFormula
 Stores cell range address and formula token array of an array formula. More...
 
typedef ::std::vector< ArrayFormulaArrayFormulaVector
 
typedef std::pair< ScRange, DataTableModelTableOperation
 Stores cell range address and settings of a table operation. More...
 
typedef ::std::pair< sal_Int32, sal_Int32 > XfIdNumFmtKey
 
typedef ::std::set< RowRangeStyle, StyleRowRangeCompRowStyles
 
typedef ::std::map< sal_Int32, RowStylesColStyles
 
typedef ::std::vector< MergedRangeMergedRangeVector
 

Private Member Functions

ApiTokenSequence resolveSharedFormula (const ScAddress &rMapKey) const
 Creates a formula token array representing the shared formula with the passed identifier. More...
 
void finalizeArrayFormula (const ScRange &rRange, const ApiTokenSequence &rTokens) const
 Inserts the passed array formula into the sheet. More...
 
void finalizeTableOperation (const ScRange &rRange, const DataTableModel &rModel)
 Inserts the passed table operation into the sheet. More...
 
void applyCellMerging (const ScRange &rRange)
 Writes all cell formatting attributes to the passed cell range list. More...
 
void addColXfStyle (sal_Int32 nXfId, sal_Int32 nFormatId, const ScRange &rAddress, bool bProcessRowRange=false)
 

Private Attributes

ColStyles maStylesPerColumn
 
CellBlockBuffer maCellBlocks
 Stores cell styles by column ( in row ranges ) More...
 
ArrayFormulaVector maArrayFormulas
 Manages all open cell blocks. More...
 
std::vector< TableOperationmaTableOperations
 All array formulas in the sheet. More...
 
::std::map< BinAddress, ApiTokenSequencemaSharedFormulas
 All table operations in the sheet. More...
 
ScAddress maSharedFmlaAddr
 Maps shared formula base address to defined name token index. More...
 
ScAddress maSharedBaseAddr
 Address of a cell containing a pending shared formula. More...
 
XfIdRowRange maXfIdRowRange
 Base address of the pending shared formula. More...
 
std::map< XfIdNumFmtKey, ScRangeListmaXfIdRangeLists
 Cached XF identifier for a range of rows. More...
 
MergedRangeVector maMergedRanges
 Collected XF identifiers for cell rangelists. More...
 
MergedRangeVector maCenterFillRanges
 Merged cell ranges. More...
 
bool mbPendingSharedFmla
 Merged cell ranges from 'center across' or 'fill' alignment. More...
 
std::map< sal_Int32, std::vector< ValueRange > > maXfIdRowRangeList
 True = maSharedFmlaAddr and maSharedBaseAddr are valid. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from oox::xls::WorksheetHelper
static WorksheetGlobalsRef constructGlobals (const WorkbookHelper &rHelper, const ISegmentProgressBarRef &rxProgressBar, WorksheetType eSheetType, SCTAB nSheet)
 
static IWorksheetProgressgetWorksheetInterface (const WorksheetGlobalsRef &xRef)
 
- Static Public Member Functions inherited from oox::xls::WorkbookHelper
static WorkbookGlobalsRef constructGlobals (ExcelFilter &rFilter)
 

Detailed Description

Manages the cell contents and cell formatting of a sheet.

Definition at line 95 of file sheetdatabuffer.hxx.

Member Typedef Documentation

Stores cell range address and formula token array of an array formula.

Definition at line 173 of file sheetdatabuffer.hxx.

Definition at line 174 of file sheetdatabuffer.hxx.

typedef ::std::map< sal_Int32, RowStyles > oox::xls::SheetDataBuffer::ColStyles
private

Definition at line 206 of file sheetdatabuffer.hxx.

Definition at line 217 of file sheetdatabuffer.hxx.

Definition at line 205 of file sheetdatabuffer.hxx.

Stores cell range address and settings of a table operation.

Definition at line 177 of file sheetdatabuffer.hxx.

typedef ::std::pair< sal_Int32, sal_Int32 > oox::xls::SheetDataBuffer::XfIdNumFmtKey
private

Definition at line 190 of file sheetdatabuffer.hxx.

Constructor & Destructor Documentation

oox::xls::SheetDataBuffer::SheetDataBuffer ( const WorksheetHelper rHelper)
explicit

Definition at line 111 of file sheetdatabuffer.cxx.

Member Function Documentation

void oox::xls::SheetDataBuffer::addColXfStyle ( sal_Int32  nXfId,
sal_Int32  nFormatId,
const ScRange rAddress,
bool  bProcessRowRange = false 
)
private
void oox::xls::SheetDataBuffer::applyCellMerging ( const ScRange rRange)
private

Writes all cell formatting attributes to the passed cell range list.

(depreciates writeXfIdRangeProperties)

Definition at line 737 of file sheetdatabuffer.cxx.

References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScDocument::DoMerge(), oox::xls::WorksheetHelper::getScDocument(), oox::xls::WorksheetHelper::getSheetIndex(), oox::xls::lcl_SetBorderLine(), and ScAddress::Row().

Referenced by finalizeImport().

void oox::xls::SheetDataBuffer::createArrayFormula ( const ScRange rRange,
const ApiTokenSequence rTokens 
)

Inserts the passed token array as array formula.

Definition at line 281 of file sheetdatabuffer.cxx.

References maArrayFormulas.

Referenced by oox::xls::SheetDataContext::importArray().

void oox::xls::SheetDataBuffer::createSharedFormula ( const ScAddress rRange,
const ApiTokenSequence rTokens 
)
void oox::xls::SheetDataBuffer::createTableOperation ( const ScRange rRange,
const DataTableModel rModel 
)

Sets a multiple table operation to the passed range.

Definition at line 289 of file sheetdatabuffer.cxx.

References maTableOperations.

Referenced by oox::xls::SheetDataContext::importDataTable(), and oox::xls::SheetDataContext::onEndElement().

void oox::xls::SheetDataBuffer::finalizeArrayFormula ( const ScRange rRange,
const ApiTokenSequence rTokens 
) const
private

Inserts the passed array formula into the sheet.

Definition at line 575 of file sheetdatabuffer.cxx.

References oox::xls::WorksheetHelper::getCellRange().

Referenced by finalizeImport().

void oox::xls::SheetDataBuffer::finalizeImport ( )
void oox::xls::SheetDataBuffer::finalizeTableOperation ( const ScRange rRange,
const DataTableModel rModel 
)
private
ApiTokenSequence oox::xls::SheetDataBuffer::resolveSharedFormula ( const ScAddress rMapKey) const
private

Creates a formula token array representing the shared formula with the passed identifier.

Definition at line 568 of file sheetdatabuffer.cxx.

References oox::ContainerHelper::getMapElement(), and maSharedFormulas.

Referenced by createSharedFormula(), and setFormulaCell().

void oox::xls::SheetDataBuffer::setBlankCell ( const CellModel rModel)

Inserts a blank cell (with formatting) into the sheet.

Definition at line 123 of file sheetdatabuffer.cxx.

References setCellFormat().

Referenced by oox::xls::SheetDataContext::importCellBlank(), oox::xls::SheetDataContext::onEndElement(), and setStringCell().

void oox::xls::SheetDataBuffer::setBooleanCell ( const CellModel rModel,
bool  bValue 
)
void oox::xls::SheetDataBuffer::setCellFormat ( const CellModel rModel)
void oox::xls::SheetDataBuffer::setCellFormula ( const ScAddress rCellAddr,
const ApiTokenSequence rTokens 
)

Sets the passed formula token array into a cell.

Definition at line 559 of file sheetdatabuffer.cxx.

References oox::xls::WorksheetHelper::putFormulaTokens().

Referenced by createSharedFormula(), and setFormulaCell().

void oox::xls::SheetDataBuffer::setColSpans ( sal_Int32  nRow,
const ValueRangeSet rColSpans 
)

Sets column span information for a row.

Definition at line 118 of file sheetdatabuffer.cxx.

References maCellBlocks, and oox::xls::CellBlockBuffer::setColSpans().

Referenced by oox::xls::WorksheetGlobals::setRowModel(), and oox::xls::PivotCache::updateSourceDataRow().

void oox::xls::SheetDataBuffer::setDateCell ( const CellModel rModel,
const OUString &  rDateString 
)
void oox::xls::SheetDataBuffer::setDateTimeCell ( const CellModel rModel,
const css::util::DateTime &  rDateTime 
)
void oox::xls::SheetDataBuffer::setErrorCell ( const CellModel rModel,
const OUString &  rErrorCode 
)
void oox::xls::SheetDataBuffer::setErrorCell ( const CellModel rModel,
sal_uInt8  nErrorCode 
)

Inserts an error cell from the passed BIFF error code into the sheet.

Definition at line 205 of file sheetdatabuffer.cxx.

References oox::xls::WorkbookHelper::getUnitConverter(), and setErrorCell().

void oox::xls::SheetDataBuffer::setFormulaCell ( const CellModel rModel,
const ApiTokenSequence rTokens 
)
void oox::xls::SheetDataBuffer::setMergedRange ( const ScRange rRange)

Merges the cells in the passed cell range.

Definition at line 318 of file sheetdatabuffer.cxx.

References maMergedRanges.

Referenced by oox::xls::WorksheetFragment::importMergeCell().

void oox::xls::SheetDataBuffer::setRowFormat ( sal_Int32  nRow,
sal_Int32  nXfId,
bool  bCustomFormat 
)
void oox::xls::SheetDataBuffer::setStringCell ( const CellModel rModel,
const OUString &  rText 
)
void oox::xls::SheetDataBuffer::setStringCell ( const CellModel rModel,
const RichStringRef rxString 
)
void oox::xls::SheetDataBuffer::setStringCell ( const CellModel rModel,
sal_Int32  nStringId 
)

Inserts a shared string cell into the sheet.

Definition at line 158 of file sheetdatabuffer.cxx.

References oox::xls::WorkbookHelper::getSharedStrings(), oox::xls::SharedStringsBuffer::getString(), setBlankCell(), and setStringCell().

void oox::xls::SheetDataBuffer::setValueCell ( const CellModel rModel,
double  fValue 
)

Member Data Documentation

ArrayFormulaVector oox::xls::SheetDataBuffer::maArrayFormulas
private

Manages all open cell blocks.

Definition at line 221 of file sheetdatabuffer.hxx.

Referenced by createArrayFormula(), and finalizeImport().

CellBlockBuffer oox::xls::SheetDataBuffer::maCellBlocks
private

Stores cell styles by column ( in row ranges )

Definition at line 220 of file sheetdatabuffer.hxx.

Referenced by setColSpans().

MergedRangeVector oox::xls::SheetDataBuffer::maCenterFillRanges
private

Merged cell ranges.

Definition at line 232 of file sheetdatabuffer.hxx.

Referenced by finalizeImport(), and setCellFormat().

MergedRangeVector oox::xls::SheetDataBuffer::maMergedRanges
private

Collected XF identifiers for cell rangelists.

Definition at line 231 of file sheetdatabuffer.hxx.

Referenced by finalizeImport(), and setMergedRange().

ScAddress oox::xls::SheetDataBuffer::maSharedBaseAddr
private

Address of a cell containing a pending shared formula.

Definition at line 227 of file sheetdatabuffer.hxx.

Referenced by createSharedFormula(), and setFormulaCell().

ScAddress oox::xls::SheetDataBuffer::maSharedFmlaAddr
private

Maps shared formula base address to defined name token index.

Definition at line 226 of file sheetdatabuffer.hxx.

Referenced by createSharedFormula(), and setFormulaCell().

::std::map< BinAddress, ApiTokenSequence > oox::xls::SheetDataBuffer::maSharedFormulas
private

All table operations in the sheet.

Definition at line 225 of file sheetdatabuffer.hxx.

Referenced by createSharedFormula(), and resolveSharedFormula().

ColStyles oox::xls::SheetDataBuffer::maStylesPerColumn
private

Definition at line 219 of file sheetdatabuffer.hxx.

Referenced by addColXfStyle(), and finalizeImport().

std::vector< TableOperation > oox::xls::SheetDataBuffer::maTableOperations
private

All array formulas in the sheet.

Definition at line 223 of file sheetdatabuffer.hxx.

Referenced by createTableOperation(), and finalizeImport().

std::map< XfIdNumFmtKey, ScRangeList > oox::xls::SheetDataBuffer::maXfIdRangeLists
private

Cached XF identifier for a range of rows.

Definition at line 230 of file sheetdatabuffer.hxx.

Referenced by finalizeImport(), and setCellFormat().

XfIdRowRange oox::xls::SheetDataBuffer::maXfIdRowRange
private

Base address of the pending shared formula.

Definition at line 228 of file sheetdatabuffer.hxx.

Referenced by finalizeImport(), and setRowFormat().

std::map< sal_Int32, std::vector< ValueRange > > oox::xls::SheetDataBuffer::maXfIdRowRangeList
private

True = maSharedFmlaAddr and maSharedBaseAddr are valid.

Definition at line 234 of file sheetdatabuffer.hxx.

Referenced by finalizeImport(), and setRowFormat().

bool oox::xls::SheetDataBuffer::mbPendingSharedFmla
private

Merged cell ranges from 'center across' or 'fill' alignment.

Definition at line 233 of file sheetdatabuffer.hxx.

Referenced by createSharedFormula(), and setFormulaCell().


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