LibreOffice Module sc (master) 1
|
#include <XMLExportIterator.hxx>
Public Member Functions | |
ScMyNotEmptyCellsIterator (ScXMLExport &rExport) | |
~ScMyNotEmptyCellsIterator () | |
void | Clear () |
void | SetShapes (ScMyShapesContainer *pNewShapes) |
void | SetNoteShapes (ScMyNoteShapesContainer *pNewNoteShapes) |
void | SetEmptyDatabaseRanges (ScMyEmptyDatabaseRangesContainer *pNewEmptyDatabaseRanges) |
void | SetMergedRanges (ScMyMergedRangesContainer *pNewMergedRanges) |
void | SetAreaLinks (ScMyAreaLinksContainer *pNewAreaLinks) |
void | SetDetectiveObj (ScMyDetectiveObjContainer *pNewDetectiveObj) |
void | SetDetectiveOp (ScMyDetectiveOpContainer *pNewDetectiveOp) |
void | SetCurrentTable (const SCTAB nTable, const css::uno::Reference< css::sheet::XSpreadsheet > &rxTable) |
void | SkipTable (SCTAB nSkip) |
bool | GetNext (ScMyCell &aCell, ScFormatRangeStyles *pCellStyles) |
Private Member Functions | |
ScMyNotEmptyCellsIterator (const ScMyNotEmptyCellsIterator &)=delete | |
const ScMyNotEmptyCellsIterator & | operator= (const ScMyNotEmptyCellsIterator &)=delete |
void | UpdateAddress (ScAddress &rAddress) |
void | SetCellData (ScMyCell &rMyCell, const ScAddress &rAddress) |
void | HasAnnotation (ScMyCell &aCell) |
Private Attributes | |
css::uno::Reference< css::sheet::XSpreadsheet > | xTable |
css::uno::Reference< css::table::XCellRange > | xCellRange |
ScAddress | aLastAddress |
ScMyShapesContainer * | pShapes |
ScMyNoteShapesContainer * | pNoteShapes |
ScMyEmptyDatabaseRangesContainer * | pEmptyDatabaseRanges |
ScMyMergedRangesContainer * | pMergedRanges |
ScMyAreaLinksContainer * | pAreaLinks |
ScMyDetectiveObjContainer * | pDetectiveObj |
ScMyDetectiveOpContainer * | pDetectiveOp |
ScXMLExport & | rExport |
std::unique_ptr< ScHorizontalCellIterator > | mpCellItr |
SCCOL | nCellCol |
SCROW | nCellRow |
SCTAB | nCurrentTable |
Definition at line 316 of file XMLExportIterator.hxx.
|
privatedelete |
|
explicit |
Definition at line 534 of file XMLExportIterator.cxx.
ScMyNotEmptyCellsIterator::~ScMyNotEmptyCellsIterator | ( | ) |
Definition at line 549 of file XMLExportIterator.cxx.
References Clear().
void ScMyNotEmptyCellsIterator::Clear | ( | ) |
Definition at line 554 of file XMLExportIterator.cxx.
References mpCellItr, nCurrentTable, pAreaLinks, pDetectiveObj, pDetectiveOp, pEmptyDatabaseRanges, pMergedRanges, pNoteShapes, pShapes, and SCTAB_MAX.
Referenced by ~ScMyNotEmptyCellsIterator().
bool ScMyNotEmptyCellsIterator::GetNext | ( | ScMyCell & | aCell, |
ScFormatRangeStyles * | pCellStyles | ||
) |
Definition at line 673 of file XMLExportIterator.cxx.
References ScMyCell::aCellAddress, aLastAddress, ScMyCell::bHasEmptyDatabase, ScMyCell::bIsAutoStyle, ScAddress::Col(), ScXMLExport::GetDocument(), ScFormatRangeStyles::GetStyleNameIndex(), HasAnnotation(), ScMyCell::maCellAddress, ScDocument::MaxCol(), ScDocument::MaxRow(), nCurrentTable, ScMyCell::nNumberFormat, ScMyCell::nStyleIndex, ScMyCell::nType, ScMyCell::nValidationIndex, pAreaLinks, pDetectiveObj, pDetectiveOp, pEmptyDatabaseRanges, pMergedRanges, pNoteShapes, pShapes, rExport, ScAddress::Row(), ScMyShapesContainer::SetCellData(), ScMyNoteShapesContainer::SetCellData(), ScMyMergedRangesContainer::SetCellData(), ScMyAreaLinksContainer::SetCellData(), ScMyEmptyDatabaseRangesContainer::SetCellData(), ScMyDetectiveObjContainer::SetCellData(), ScMyDetectiveOpContainer::SetCellData(), SetCellData(), ScAddress::Tab(), UpdateAddress(), ScMyShapesContainer::UpdateAddress(), ScMyNoteShapesContainer::UpdateAddress(), ScMyMergedRangesContainer::UpdateAddress(), ScMyAreaLinksContainer::UpdateAddress(), ScMyEmptyDatabaseRangesContainer::UpdateAddress(), ScMyDetectiveObjContainer::UpdateAddress(), and ScMyDetectiveOpContainer::UpdateAddress().
|
private |
Definition at line 619 of file XMLExportIterator.cxx.
References ScMyCell::bHasAnnotation, ScXMLExport::GetDocument(), ScDocument::GetNote(), ScMyCell::maCellAddress, ScMyCell::pNote, and rExport.
Referenced by GetNext().
|
privatedelete |
|
inline |
Definition at line 358 of file XMLExportIterator.hxx.
References pAreaLinks.
|
private |
Definition at line 576 of file XMLExportIterator.cxx.
References ScMyCell::aCellAddress, ScMyCell::aMatrixRange, ScMyCell::bIsMatrixBase, ScMyCell::bIsMatrixCovered, CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScRefCellValue::clear(), ScAddress::Col(), ScRefCellValue::getType(), ScXMLExport::IsMatrix(), ScMyCell::maBaseCell, ScMyCell::maCellAddress, mpCellItr, nCellCol, nCellRow, ScMyCell::nType, rExport, and ScAddress::Row().
Referenced by GetNext().
void ScMyNotEmptyCellsIterator::SetCurrentTable | ( | const SCTAB | nTable, |
const css::uno::Reference< css::sheet::XSpreadsheet > & | rxTable | ||
) |
Definition at line 631 of file XMLExportIterator.cxx.
References aLastAddress, ScXMLExport::GetDocument(), ScMySharedData::GetLastColumn(), ScMySharedData::GetLastRow(), ScXMLExport::GetSharedData(), mpCellItr, nCurrentTable, rExport, ScAddress::SetCol(), ScAddress::SetRow(), ScAddress::SetTab(), xCellRange, and xTable.
|
inline |
Definition at line 360 of file XMLExportIterator.hxx.
References pDetectiveObj.
|
inline |
Definition at line 362 of file XMLExportIterator.hxx.
References pDetectiveOp.
|
inline |
Definition at line 354 of file XMLExportIterator.hxx.
References pEmptyDatabaseRanges.
|
inline |
Definition at line 356 of file XMLExportIterator.hxx.
References pMergedRanges.
|
inline |
Definition at line 352 of file XMLExportIterator.hxx.
References pNoteShapes.
|
inline |
Definition at line 350 of file XMLExportIterator.hxx.
References pShapes.
void ScMyNotEmptyCellsIterator::SkipTable | ( | SCTAB | nSkip | ) |
Definition at line 652 of file XMLExportIterator.cxx.
References pAreaLinks, pDetectiveObj, pDetectiveOp, pEmptyDatabaseRanges, pMergedRanges, pNoteShapes, pShapes, ScMyShapesContainer::SkipTable(), ScMyNoteShapesContainer::SkipTable(), ScMyMergedRangesContainer::SkipTable(), ScMyAreaLinksContainer::SkipTable(), ScMyEmptyDatabaseRangesContainer::SkipTable(), ScMyDetectiveObjContainer::SkipTable(), and ScMyDetectiveOpContainer::SkipTable().
|
private |
Definition at line 567 of file XMLExportIterator.cxx.
References mpCellItr, nCellCol, nCellRow, ScAddress::SetCol(), and ScAddress::SetRow().
Referenced by GetNext().
|
private |
Definition at line 323 of file XMLExportIterator.hxx.
Referenced by GetNext(), and SetCurrentTable().
|
private |
Definition at line 334 of file XMLExportIterator.hxx.
Referenced by Clear(), SetCellData(), SetCurrentTable(), and UpdateAddress().
|
private |
Definition at line 336 of file XMLExportIterator.hxx.
Referenced by SetCellData(), and UpdateAddress().
|
private |
Definition at line 337 of file XMLExportIterator.hxx.
Referenced by SetCellData(), and UpdateAddress().
|
private |
Definition at line 338 of file XMLExportIterator.hxx.
Referenced by Clear(), GetNext(), and SetCurrentTable().
|
private |
Definition at line 329 of file XMLExportIterator.hxx.
Referenced by Clear(), GetNext(), SetAreaLinks(), and SkipTable().
|
private |
Definition at line 330 of file XMLExportIterator.hxx.
Referenced by Clear(), GetNext(), SetDetectiveObj(), and SkipTable().
|
private |
Definition at line 331 of file XMLExportIterator.hxx.
Referenced by Clear(), GetNext(), SetDetectiveOp(), and SkipTable().
|
private |
Definition at line 327 of file XMLExportIterator.hxx.
Referenced by Clear(), GetNext(), SetEmptyDatabaseRanges(), and SkipTable().
|
private |
Definition at line 328 of file XMLExportIterator.hxx.
Referenced by Clear(), GetNext(), SetMergedRanges(), and SkipTable().
|
private |
Definition at line 326 of file XMLExportIterator.hxx.
Referenced by Clear(), GetNext(), SetNoteShapes(), and SkipTable().
|
private |
Definition at line 325 of file XMLExportIterator.hxx.
Referenced by Clear(), GetNext(), SetShapes(), and SkipTable().
|
private |
Definition at line 333 of file XMLExportIterator.hxx.
Referenced by GetNext(), HasAnnotation(), SetCellData(), and SetCurrentTable().
|
private |
Definition at line 322 of file XMLExportIterator.hxx.
Referenced by SetCurrentTable().
|
private |
Definition at line 321 of file XMLExportIterator.hxx.
Referenced by SetCurrentTable().