more OOXML export validation fixes, fdo#71971
Change-Id: Ic322d58817986887bbcd666ac3abc416609adf5c
This commit is contained in:
@@ -561,6 +561,7 @@ void ExcTable::FillAsXmlTable( SCTAB nCodeNameIdx )
|
||||
aRecList.AppendRecord( mxCellTable );
|
||||
|
||||
// label ranges
|
||||
// missing SaveXML
|
||||
Add( new XclExpLabelranges( GetRoot() ) );
|
||||
|
||||
// DFF not needed in MSOOXML export
|
||||
@@ -572,15 +573,23 @@ void ExcTable::FillAsXmlTable( SCTAB nCodeNameIdx )
|
||||
// Add( rR.pObjRecs );
|
||||
|
||||
// pivot tables
|
||||
// not in the worksheet file
|
||||
aRecList.AppendRecord( GetPivotTableManager().CreatePivotTablesRecord( mnScTab ) );
|
||||
|
||||
// list of NOTE records, generated by the cell table
|
||||
// not in the worksheet file
|
||||
if( mxNoteList != 0 && !mxNoteList->IsEmpty() )
|
||||
aRecList.AppendNewRecord( new XclExpComments( mnScTab, *mxNoteList ) );
|
||||
|
||||
// web queries
|
||||
// missing SaveXML implementation
|
||||
Add( new XclExpWebQueryBuffer( GetRoot() ) );
|
||||
|
||||
ScDocument& rDoc = GetDoc();
|
||||
const ScTableProtection* pTabProtect = rDoc.GetTabProtection(mnScTab);
|
||||
if (pTabProtect && pTabProtect->isProtected())
|
||||
Add( new XclExpSheetProtection(true, mnScTab) );
|
||||
|
||||
lcl_AddScenariosAndFilters( aRecList, GetRoot(), mnScTab );
|
||||
|
||||
// MERGEDCELLS record, generated by the cell table
|
||||
@@ -589,11 +598,6 @@ void ExcTable::FillAsXmlTable( SCTAB nCodeNameIdx )
|
||||
// conditional formats
|
||||
Add( new XclExpCondFormatBuffer( GetRoot(), xExtLst ) );
|
||||
|
||||
ScDocument& rDoc = GetDoc();
|
||||
const ScTableProtection* pTabProtect = rDoc.GetTabProtection(mnScTab);
|
||||
if (pTabProtect && pTabProtect->isProtected())
|
||||
Add( new XclExpSheetProtection(true, mnScTab) );
|
||||
|
||||
if( HasVbaStorage() )
|
||||
if( nCodeNameIdx < GetExtDocOptions().GetCodeNameCount() )
|
||||
Add( new XclCodename( GetExtDocOptions().GetCodeName( nCodeNameIdx ) ) );
|
||||
|
Reference in New Issue
Block a user