You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file ExcelOpenXml.cs, at SupprimerFeuille method
publicvoid SupprimerFeuille(stringNom){//suppression des pivotsDictionary<PivotTableCacheDefinitionPart,string>tablePivots=newDictionary<PivotTableCacheDefinitionPart,string>();foreach(PivotTableCacheDefinitionPart pivot in document.WorkbookPart.PivotTableCacheDefinitionParts){if(pivot.PivotCacheDefinition.Descendants<CacheSource>().Where(s => s.WorksheetSource.Sheet ==Nom).Count()>0)//Sheet is a property, conversion of == must be =
tablePivots.Add(pivot,pivot.ToString());}
Conversion returns
PublicSubSupprimerFeuille(NomAsString)'suppression des pivotsDimtablePivotsAsNewDictionary(OfPivotTableCacheDefinitionPart,String)ForEachpivotAsPivotTableCacheDefinitionPartIndocument.WorkbookPart.PivotTableCacheDefinitionPartsIfpivot.PivotCacheDefinition.Descendants(OfCacheSource)().Where(Function(s)s.WorksheetSource.SheetIsNom).Count()>0Then'== has been converted by istablePivots.Add(pivot,pivot.ToString())EndIfNext
But if I paste the code in the richtextbox SourceCode and convert the snippet, conversion is correct.
The text was updated successfully, but these errors were encountered:
With the same project than issue #70
In file ExcelOpenXml.cs, at SupprimerFeuille method
Conversion returns
But if I paste the code in the richtextbox SourceCode and convert the snippet, conversion is correct.
The text was updated successfully, but these errors were encountered: