LibreOffice Module sc (master) 1
|
#include <XMLChangeTrackingExportHelper.hxx>
Public Member Functions | |
ScChangeTrackingExportHelper (ScXMLExport &rExport) | |
~ScChangeTrackingExportHelper () | |
void | CollectAutoStyles () |
void | CollectAndWriteChanges () |
Static Private Member Functions | |
static OUString | GetChangeID (const sal_uInt32 nActionNumber) |
Private Attributes | |
ScXMLExport & | rExport |
ScChangeTrack * | pChangeTrack |
rtl::Reference< ScEditEngineTextObj > | pEditTextObj |
Definition at line 38 of file XMLChangeTrackingExportHelper.hxx.
|
explicit |
Definition at line 43 of file XMLChangeTrackingExportHelper.cxx.
References ScDocument::GetChangeTrack(), ScXMLExport::GetDocument(), pChangeTrack, and rExport.
ScChangeTrackingExportHelper::~ScChangeTrackingExportHelper | ( | ) |
Definition at line 50 of file XMLChangeTrackingExportHelper.cxx.
|
private |
Definition at line 459 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), ScChangeAction::GetBigRange(), ScChangeActionDel::GetDx(), ScChangeActionDel::GetDy(), ScChangeAction::GetNext(), ScChangeAction::GetType(), ScBigRange::GetVars(), ScChangeActionDel::IsMultiDelete(), p, rExport, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_DELETE_TABS, XML_COLUMN, XML_MULTI_DELETION_SPANNED, XML_NAMESPACE_TABLE, XML_POSITION, XML_ROW, XML_TABLE, and XML_TYPE.
Referenced by WriteDeletion().
|
private |
Definition at line 393 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), ScChangeAction::GetBigRange(), ScChangeAction::GetType(), ScBigRange::GetVars(), nCount, rExport, SC_CAT_INSERT_COLS, SC_CAT_INSERT_ROWS, SC_CAT_INSERT_TABS, XML_COLUMN, XML_COUNT, XML_NAMESPACE_TABLE, XML_POSITION, XML_ROW, XML_TABLE, and XML_TYPE.
Referenced by WriteInsertion().
|
private |
Definition at line 598 of file XMLChangeTrackingExportHelper.cxx.
References CollectCellAutoStyles(), ScChangeAction::GetActionNumber(), ScChangeAction::GetType(), ScChangeAction::IsDeletedIn(), ScChangeTrack::IsGenerated(), pChangeTrack, and SC_CAT_CONTENT.
Referenced by CollectAutoStyles().
void ScChangeTrackingExportHelper::CollectAndWriteChanges | ( | ) |
Definition at line 666 of file XMLChangeTrackingExportHelper.cxx.
References ScChangeTrack::GetFirst(), ScChangeTrack::GetLast(), ScChangeAction::GetNext(), pChangeTrack, rExport, WorkWithChangeAction(), XML_NAMESPACE_TABLE, and XML_TRACKED_CHANGES.
void ScChangeTrackingExportHelper::CollectAutoStyles | ( | ) |
Definition at line 641 of file XMLChangeTrackingExportHelper.cxx.
References CollectActionAutoStyles(), ScChangeTrack::GetActionMax(), ScChangeTrack::GetFirst(), ScChangeTrack::GetFirstGenerated(), ScChangeTrack::GetLast(), ScChangeAction::GetNext(), nCount, and pChangeTrack.
|
private |
Definition at line 586 of file XMLChangeTrackingExportHelper.cxx.
References CELLTYPE_EDIT, ScCellValue::getEditText(), SvXMLExport::GetTextParagraphExport(), ScCellValue::getType(), pEditTextObj, and rExport.
Referenced by CollectActionAutoStyles().
|
private |
Definition at line 59 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), ScChangeAction::IsAccepted(), ScChangeAction::IsRejected(), rExport, XML_ACCEPTANCE_STATE, XML_ACCEPTED, XML_NAMESPACE_TABLE, and XML_REJECTED.
Referenced by WorkWithChangeAction().
|
staticprivate |
Definition at line 54 of file XMLChangeTrackingExportHelper.cxx.
Referenced by WorkWithChangeAction(), WriteContentChange(), WriteCutOffs(), WriteDeleted(), and WriteDepending().
|
private |
Definition at line 203 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), SvXMLUnitConverter::convertDateTime(), sax::Converter::convertDouble(), sax::Converter::convertDuration(), ScXMLExport::GetDocument(), ScDocument::GetFormatTable(), SvXMLExport::GetMM100UnitConverter(), SvXMLExport::GetModel(), SvNumberFormatter::GetType(), SvNumberFormatter::IsNumberFormat(), nIndex, nType, rExport, SvXMLUnitConverter::setNullDate(), XML_DATE, XML_DATE_VALUE, XML_FLOAT, XML_NAMESPACE_OFFICE, XML_TIME, XML_TIME_VALUE, XML_VALUE, and XML_VALUE_TYPE.
Referenced by WriteFormulaCell(), and WriteValueCell().
|
private |
Definition at line 613 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::CheckAttrList(), GetAcceptanceState(), ScChangeAction::GetActionNumber(), GetChangeID(), ScChangeAction::GetRejectAction(), ScChangeAction::GetType(), ScChangeAction::IsDeleteType(), ScChangeAction::IsInsertType(), ScChangeAction::IsRejecting(), rExport, SAL_WARN, SC_CAT_CONTENT, SC_CAT_MOVE, SC_CAT_NONE, SC_CAT_REJECT, WriteContentChange(), WriteDeletion(), WriteInsertion(), WriteMovement(), WriteRejection(), XML_ID, XML_NAMESPACE_TABLE, and XML_REJECTING_CHANGE_ID.
Referenced by CollectAndWriteChanges().
|
private |
Definition at line 67 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), aName, ScBigRange::GetVars(), rExport, XML_COLUMN, XML_END_COLUMN, XML_END_ROW, XML_END_TABLE, XML_NAMESPACE_TABLE, XML_ROW, XML_START_COLUMN, XML_START_ROW, XML_START_TABLE, and XML_TABLE.
Referenced by WriteContentChange(), WriteGenerated(), and WriteMovement().
|
private |
Definition at line 349 of file XMLChangeTrackingExportHelper.cxx.
References CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScCellValue::getType(), ScCellValue::isEmpty(), WriteEditCell(), WriteEmptyCell(), WriteFormulaCell(), WriteStringCell(), and WriteValueCell().
Referenced by WriteContentChange(), WriteDeleted(), and WriteGenerated().
|
private |
Definition at line 95 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::Characters(), ScXMLConverter::ConvertDateTimeToString(), ScChangeAction::GetComment(), ScChangeAction::GetDateTimeUTC(), SvXMLExport::GetTextParagraphExport(), ScChangeAction::GetUser(), rExport, XML_CHANGE_INFO, XML_CREATOR, XML_DATE, XML_NAMESPACE_DC, XML_NAMESPACE_OFFICE, XML_NAMESPACE_TEXT, and XML_P.
Referenced by WriteContentChange(), WriteDeletion(), WriteInsertion(), WriteMovement(), and WriteRejection().
|
private |
Definition at line 376 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), ScChangeAction::GetActionNumber(), ScChangeAction::GetBigRange(), GetChangeID(), ScXMLExport::GetDocument(), rExport, WriteBigRange(), WriteCell(), WriteChangeInfo(), WriteDependings(), XML_CELL_ADDRESS, XML_CELL_CONTENT_CHANGE, XML_ID, XML_NAMESPACE_TABLE, and XML_PREVIOUS.
Referenced by WorkWithChangeAction().
|
private |
Definition at line 528 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), ScChangeActionLinkEntry::GetAction(), ScChangeAction::GetActionNumber(), GetChangeID(), ScChangeActionDel::GetCutOffCount(), ScChangeActionDelMoveEntry::GetCutOffFrom(), ScChangeActionDel::GetCutOffInsert(), ScChangeActionDelMoveEntry::GetCutOffTo(), ScChangeActionDel::GetFirstMoveEntry(), ScChangeActionDelMoveEntry::GetNext(), rExport, XML_CUT_OFFS, XML_END_POSITION, XML_ID, XML_INSERTION_CUT_OFF, XML_MOVEMENT_CUT_OFF, XML_NAMESPACE_TABLE, XML_POSITION, and XML_START_POSITION.
Referenced by WriteDeletion().
|
private |
Definition at line 136 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), ScChangeAction::GetActionNumber(), GetChangeID(), ScXMLExport::GetDocument(), ScChangeActionContent::GetNewCell(), ScChangeActionContent::GetNewString(), ScChangeAction::GetType(), ScChangeAction::IsDeletedIn(), ScChangeTrack::IsGenerated(), pChangeTrack, rExport, SC_CAT_CONTENT, WriteCell(), WriteGenerated(), XML_CELL_CONTENT_DELETION, XML_CHANGE_DELETION, XML_ID, and XML_NAMESPACE_TABLE.
Referenced by WriteDependings().
|
private |
Definition at line 559 of file XMLChangeTrackingExportHelper.cxx.
References AddDeletionAttributes(), rExport, WriteChangeInfo(), WriteCutOffs(), WriteDependings(), XML_DELETION, and XML_NAMESPACE_TABLE.
Referenced by WorkWithChangeAction().
|
private |
Definition at line 165 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), ScChangeAction::GetActionNumber(), GetChangeID(), rExport, XML_DEPENDENCY, XML_ID, and XML_NAMESPACE_TABLE.
Referenced by WriteDependings().
|
private |
Definition at line 174 of file XMLChangeTrackingExportHelper.cxx.
References ScChangeActionLinkEntry::GetAction(), ScChangeAction::GetFirstDeletedEntry(), ScChangeAction::GetFirstDependentEntry(), ScChangeActionLinkEntry::GetNext(), ScChangeAction::HasDeleted(), ScChangeAction::HasDependent(), rExport, WriteDeleted(), WriteDepending(), XML_DELETIONS, XML_DEPENDENCIES, and XML_NAMESPACE_TABLE.
Referenced by WriteContentChange(), WriteDeletion(), WriteInsertion(), WriteMovement(), and WriteRejection().
|
private |
Definition at line 275 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), CELLTYPE_EDIT, ScXMLExport::GetDocument(), ScCellValue::getEditText(), ScEditUtil::GetString(), SvXMLExport::GetTextParagraphExport(), ScCellValue::getType(), pEditTextObj, rExport, XML_CHANGE_TRACK_TABLE_CELL, XML_NAMESPACE_OFFICE, XML_NAMESPACE_TABLE, XML_STRING, and XML_VALUE_TYPE.
Referenced by WriteCell().
|
private |
Definition at line 198 of file XMLChangeTrackingExportHelper.cxx.
References rExport, XML_CHANGE_TRACK_TABLE_CELL, and XML_NAMESPACE_TABLE.
Referenced by WriteCell().
|
private |
Definition at line 294 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), ScFormulaCell::aPos, CELLTYPE_FORMULA, formula::FormulaGrammar::CONV_OOO, Formula, ScXMLExport::GetDocument(), ScCellValue::getFormula(), ScFormulaCell::GetFormula(), ScFormulaCell::GetMatColsRows(), ScFormulaCell::GetMatrixFlag(), SvXMLExport::GetNamespaceMap(), SvXMLNamespaceMap::GetQNameByKey(), ScDocument::GetStorageGrammar(), ScFormulaCell::GetString(), svl::SharedString::getString(), ScRangeStringConverter::GetStringFromAddress(), SvXMLExport::GetTextParagraphExport(), ScCellValue::getType(), ScFormulaCell::GetValue(), formula::FormulaGrammar::GRAM_ODFF, ScFormulaCell::IsValue(), NONE, rExport, SetValueAttributes(), sFormula, XML_CELL_ADDRESS, XML_CHANGE_TRACK_TABLE_CELL, XML_FORMULA, XML_MATRIX_COVERED, XML_NAMESPACE_OF, XML_NAMESPACE_OFFICE, XML_NAMESPACE_OOOC, XML_NAMESPACE_TABLE, XML_NAMESPACE_TEXT, XML_NUMBER_MATRIX_COLUMNS_SPANNED, XML_NUMBER_MATRIX_ROWS_SPANNED, XML_P, XML_STRING, XML_TRUE, and XML_VALUE_TYPE.
Referenced by WriteCell().
|
private |
Definition at line 124 of file XMLChangeTrackingExportHelper.cxx.
References ScChangeAction::GetActionNumber(), ScChangeAction::GetBigRange(), ScXMLExport::GetDocument(), ScChangeTrack::IsGenerated(), pChangeTrack, rExport, WriteBigRange(), WriteCell(), XML_CELL_ADDRESS, XML_CELL_CONTENT_DELETION, and XML_NAMESPACE_TABLE.
Referenced by WriteDeleted().
|
private |
Definition at line 451 of file XMLChangeTrackingExportHelper.cxx.
References AddInsertionAttributes(), rExport, WriteChangeInfo(), WriteDependings(), XML_INSERTION, and XML_NAMESPACE_TABLE.
Referenced by WorkWithChangeAction().
|
private |
Definition at line 569 of file XMLChangeTrackingExportHelper.cxx.
References ScChangeAction::GetBigRange(), ScChangeActionMove::GetFromRange(), rExport, WriteBigRange(), WriteChangeInfo(), WriteDependings(), XML_MOVEMENT, XML_NAMESPACE_TABLE, XML_SOURCE_RANGE_ADDRESS, and XML_TARGET_RANGE_ADDRESS.
Referenced by WorkWithChangeAction().
|
private |
Definition at line 579 of file XMLChangeTrackingExportHelper.cxx.
References rExport, WriteChangeInfo(), WriteDependings(), XML_NAMESPACE_TABLE, and XML_REJECTION.
Referenced by WorkWithChangeAction().
|
private |
Definition at line 261 of file XMLChangeTrackingExportHelper.cxx.
References SvXMLExport::AddAttribute(), CELLTYPE_STRING, ScCellValue::getSharedString(), svl::SharedString::getString(), SvXMLExport::GetTextParagraphExport(), ScCellValue::getType(), svl::SharedString::isEmpty(), rExport, XML_CHANGE_TRACK_TABLE_CELL, XML_NAMESPACE_OFFICE, XML_NAMESPACE_TABLE, XML_NAMESPACE_TEXT, XML_P, XML_STRING, and XML_VALUE_TYPE.
Referenced by WriteCell().
|
private |
Definition at line 253 of file XMLChangeTrackingExportHelper.cxx.
References CELLTYPE_VALUE, ScCellValue::getDouble(), ScCellValue::getType(), rExport, SetValueAttributes(), XML_CHANGE_TRACK_TABLE_CELL, and XML_NAMESPACE_TABLE.
Referenced by WriteCell().
|
private |
Definition at line 42 of file XMLChangeTrackingExportHelper.hxx.
Referenced by CollectActionAutoStyles(), CollectAndWriteChanges(), CollectAutoStyles(), ScChangeTrackingExportHelper(), WriteDeleted(), and WriteGenerated().
|
private |
Definition at line 43 of file XMLChangeTrackingExportHelper.hxx.
Referenced by CollectCellAutoStyles(), and WriteEditCell().
|
private |
Definition at line 40 of file XMLChangeTrackingExportHelper.hxx.
Referenced by AddDeletionAttributes(), AddInsertionAttributes(), CollectAndWriteChanges(), CollectCellAutoStyles(), GetAcceptanceState(), ScChangeTrackingExportHelper(), SetValueAttributes(), WorkWithChangeAction(), WriteBigRange(), WriteChangeInfo(), WriteContentChange(), WriteCutOffs(), WriteDeleted(), WriteDeletion(), WriteDepending(), WriteDependings(), WriteEditCell(), WriteEmptyCell(), WriteFormulaCell(), WriteGenerated(), WriteInsertion(), WriteMovement(), WriteRejection(), WriteStringCell(), and WriteValueCell().